kubectl set image

Change a container image

high risk

interactive breakdown — edit the command and press Explain
$ 
⚠ Risks & cautions
Safer / dry-run alternatives
kubectl rollout status deploy/<name>Watch the rollout
kubectl rollout undo deploy/<name>Roll back
What it does

Updates a workload’s image. See the flags and examples below, and run `man kubectl` for the full reference.

Examples
kubectl set image deploy/web web=nginx:1.27Update · explain & risk-check →
Related
kubectl rollout
Open the full explainer →More in Kubernetes & Helm

Reference text is hand-written and may be incomplete — check man kubectl for your version. Test destructive commands on a non-production system first.