Editing Kubectl
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 4: | Line 4: | ||
== Installation == | == Installation == | ||
* To install in [[macOS]] execute: <code>[[brew install kubernetes-cli]]</code> | * To install in [[macOS]] execute: <code>[[brew install kubernetes-cli]]</code> | ||
− | * [[ | + | * Ubuntu [[Kubernetes installation]]: <code>[[snap install kubectl --classic]]</code> |
− | |||
* <code>[[~/.kube/config]]</code> | * <code>[[~/.kube/config]]</code> | ||
− | |||
== Commands == | == Commands == | ||
Line 16: | Line 14: | ||
* <code>[[kubectl create]]</code> | * <code>[[kubectl create]]</code> | ||
* <code>[[kubectl completion]]</code> | * <code>[[kubectl completion]]</code> | ||
− | * <code>[[kubectl config | + | * <code>[[kubectl config]]</code> |
− | |||
* <code>[[kubectl debug]]</code> (since [[v1.18]], March 2020) | * <code>[[kubectl debug]]</code> (since [[v1.18]], March 2020) | ||
* <code>[[kubectl delete]]</code> | * <code>[[kubectl delete]]</code> | ||
Line 23: | Line 20: | ||
* <code>[[kubectl diff]]</code> (since [[v1.18]], March 2020) | * <code>[[kubectl diff]]</code> (since [[v1.18]], March 2020) | ||
* <code>[[kubectl edit]]</code> | * <code>[[kubectl edit]]</code> | ||
− | |||
* <code>[[kubectl expose]]</code> | * <code>[[kubectl expose]]</code> | ||
* <code>[[kubectl exec]]</code> | * <code>[[kubectl exec]]</code> | ||
Line 106: | Line 102: | ||
* Check examples: https://www.codegrepper.com/code-examples/shell/kubectl+describe+ingress+output+yaml | * Check examples: https://www.codegrepper.com/code-examples/shell/kubectl+describe+ingress+output+yaml | ||
* https://stackoverflow.com/questions/tagged/kubectl?tab=Votes | * https://stackoverflow.com/questions/tagged/kubectl?tab=Votes | ||
− | |||
− | |||
== Related == | == Related == | ||
* [[Krew]] | * [[Krew]] | ||
− | * | + | * [[kops]] |
− | + | * <code>[[aws eks]] --region $(terraform output -raw region) [[update-kubeconfig]] --name $(terraform output -raw cluster_name)</code> | |
− | + | * [[kubectl-convert]] | |
− | * <code>[[aws eks]] --region $( | ||
− | * | ||
* <code>[[kubeadm]]</code> | * <code>[[kubeadm]]</code> | ||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
* {{Kubernetes components}} | * {{Kubernetes components}} | ||
* {{kubectl}} | * {{kubectl}} | ||
+ | * {{k8s}} | ||
[[Category: Kubernetes]] | [[Category: Kubernetes]] |
Advertising: