Scheduling
Schedule a
nginx
pod on specific node usingNodeName
Schedule a
nginx
pod based on node label usingnodeSelector
Taint a node with key=spray,
value=mortein
andeffect=NoSchedule
. Check that new pods are not scheduled on itCreate another pod called
nginx-toleration
withnginx
image, which tolerates the above taintCreate a DaemonSet using image
fluentd-elasticsearch:1.20
Add label
color=blue
to one node and createnginx
deployment calledblue
with5 replicas
and node Affinity rule to place the pods onto the labeled node
Last updated
Was this helpful?