CmdID

CmdID / Commands

kubectl-edit

Edit Kubernetes resources. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Edit a pod in the default namespace

kubectl edit [po/pod_nameIdentify

Edit a deployment in the default namespace

kubectl edit [deploy/deployment_nameIdentify

Edit a service in the default namespace

kubectl edit [svc/service_nameIdentify

Edit all entries of a given resource in a given namespace

kubectl edit resource --namespace namespaceIdentify
--namespaceIf present, the namespace scope for this CLI request kubectl reference

Edit a resource using a specific editor

KUBE_EDITOR=nano kubectl edit resource/resource_nameIdentify

Edit a resource in JSON format

kubectl edit resource/resource_name --output jsonIdentify
--outputOutput format. kubectl reference