While going through the CKA Course Solution for Node Affinity ( CKA 063, Udemy ) . . .

R Banerjee:
While going through the CKA Course Solution for Node Affinity ( CKA 063, Udemy ), I saw that the deployment was deleted and recreated at around 4:15. What I was thinking was that we can also just edit the deployment file and move on. Isnt that an easier way than to delete and create the deployment again? Or does direct edit of the deployment file have any side effects ( maybe pod eviction, but that’s a normal use case, I think )

unnivkn:
no side effect. You can edit deployment on the fly.

R Banerjee:
Thought so too, but wanted to confirm.
I think yes, the deletion of deployment would be a cleaner way, else pod would be told to “get out” of the node by editing the deployment :smile: . Thank you :slightly_smiling_face: