kubernetes/edit-resource

Edit Resource

Edit resource live

configuration
edit

Command

kubectl edit <resource>/<name>

Explanation

Opens editor to live-modify resource in cluster.

Examples

Edit deployment in-cluster

kubectl edit deployment nginx-deploy