Hi Guys, I wanna ask. Now I am doing quiz nodeaffinity. Before there is no taint . . .

Huda Ridwan:
Hi Guys, I wanna ask. Now I am doing quiz nodeaffinity. Before there is no taint available in Master. so blue deployment can be scheduled in controlplane and node01

but why when I did edit blue deployment, with NodeAffinity key:color values:blue using requiredDuringSchedulingIgnoredDuringExecution

pod in controlplane terminated and moved to node01 ?. as far I learned from mumshad video this is covered by requiredDuringSchedulingRequiredDuringExecution ?.
Am I Wrong ?

Dinesh:
Since you edited the deployment it would delete the earlier pods and create new ones. That’s the reason now new pods are in node01.

Mohamed Ayman:
Every edit in the deployment, will recreate the PODs to made the changes and will use nodeAffinity for scheduling.

Huda Ridwan:
Now, I understand. thanks for explanation