How do you view and edit a running resource, and why is that risky?
BeginnerScenarioHelm, operators and GitOps
Answer
Situation read → A developer edited a Deployment live.
What I'd do →
kubectl edit deploy webopens the live object- The change is not in Git and will be reverted or lost
- Use
kubectl diffto compare - Make the change in Git
- Use RBAC to limit edits in production
Why → Live edits create drift.
Interview tip → Mention ArgoCD self-heal.
More on Helm, operators and GitOps
A `helm upgrade` failed halfway. How do you see state and recover?BeginnerHelm says `cannot re-use a name that is still in use` or `another operation is in progress`. What now?IntermediateHow do you review what a Helm upgrade will change before running it?IntermediateWhere do you keep chart values for multiple environments?BeginnerWhat does `helm template` do and how is it different from `helm install`?BeginnerA Helm chart upgrade changed an immutable field and failed. How do you proceed?Advanced