Kibectl edit pod web-color how to save after editing

Vinay Reddy:
kibectl edit pod web-color
how to save after editing

Ashok Kumar:
same as how you save your vi or vim editor
press esc – > type --> : wq!

Note: With pods sometimes it will not allow you to edit its attributes as pods are simple objects however deployments on the other hand gives you more power on editing as it will rollout new each time.

  1. Esc
  2. : wq

Thanks, it works!