- Home
- All questions
- Question 522
CKA study material · question 522 of 1000
A namespace contains both a Deployment and a Job, and both controllers create Pods. What stops the Job controller from deleting the Deployment's Pods?
Show the answer
Answer: A. Labels, which let each controller recognise its own Pods
Controllers use label information to tell apart the objects that belong to their own controlling resource, which is why several controllers can create the same kind of object without interfering.
Source: Controllers (Kubernetes) — Design