Five replicas spread by hostname on kx

Predict the outcome

Difficulty 3 of 3Not solved yet

You apply this Deployment to kx: one control-plane node with the usual node-role.kubernetes.io/control-plane:NoSchedule taint and three workers with plenty of free CPU and memory. What do you see once the scheduler settles?

Your first answer is the one that counts. After a miss you can try again, or ask for the answer.

apiVersion: apps/v1
kind: Deployment
metadata:
name: api
spec:
replicas: 5
selector:
matchLabels:
app: api
template:
metadata:
labels:
app: api
spec:
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: DoNotSchedule
labelSelector:
matchLabels:
app: api
containers:
- name: api
image: nginx:1.30
resources:
requests:
cpu: 100m
memory: 64Mi
Your prediction