Difference between revisions of "Kubectl edit"
Jump to navigation
Jump to search
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Draft}} | {{Draft}} | ||
{{lowercase}} | {{lowercase}} | ||
+ | * https://kubernetes.io/docs/reference/kubectl/generated/kubectl_edit/ | ||
+ | |||
+ | kubectl edit deployment/mydeployment -o yaml --save-config | ||
[[kubectl edit --help]] | [[kubectl edit --help]] | ||
Line 9: | Line 12: | ||
* <code>[[kubectl edit -n kube-system configmap/aws-auth]]</code> | * <code>[[kubectl edit -n kube-system configmap/aws-auth]]</code> | ||
+ | * <code>[[kubectl -n kube-system edit cm kube-proxy]]</code> | ||
* <code>[[kubectl edit service]]</code> | * <code>[[kubectl edit service]]</code> | ||
Line 15: | Line 19: | ||
== Related == | == Related == | ||
+ | * <code>[[kubectl patch]]</code> | ||
* <code>[[kubectl apply]]</code> | * <code>[[kubectl apply]]</code> | ||
* <code>[[ConfigMap]]</code> | * <code>[[ConfigMap]]</code> | ||
+ | [[kubectl create]] | ||
== See also == | == See also == |
Latest revision as of 10:32, 21 April 2024
This article is a Draft. Help us to complete it.
kubectl edit deployment/mydeployment -o yaml --save-config
kubectl edit --help
Related[edit]
kubectl create
See also[edit]
kubectl edit [ service | configmaps ]
kubectl
: [cp | config | create
|delete
|edit | explain |
apply
|exec
|get
|set
|drain | uncordon | rolling-update
|rollout
|logs
|run
|auth
|label | annotate
|version
|top
|diff
|debug
|replace
|describe
|port-forward | proxy
|scale
|rollout
|api-resources
| expose deployment | expose | patch | attach | get endpoints | ~/.kube/config | kubectl logs --help | kubectl --help, kubectl-convert, kubectl autoscale, kubectl.kubernetes.io
Advertising: