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 3: Line 3:
  
 
== Installation ==
 
== Installation ==
* To install in [[macOS]] execute: <code>[[brew install kubernetes-cli]]</code>
+
* To install in MacOS execute: <code>brew install kubernetes-cli</code>
* [[Kubectl in Amazon Linux]]
+
* Ubuntu [[Kubernetes installation]]: <code>[[snap install kubectl --classic]]</code>
* [[Ubuntu kubectl installation]]
 
 
* <code>[[~/.kube/config]]</code>
 
* <code>[[~/.kube/config]]</code>
* [[scoop install kubectl]]
 
  
 
== Commands ==
 
== Commands ==
 
* <code>[[kubectl --help]]</code>
 
* <code>[[kubectl --help]]</code>
* <code>[[kubectl api-versions]]</code>
 
 
* <code>[[kubectl apply]]</code>
 
* <code>[[kubectl apply]]</code>
 
* <code>[[kubectl auth]]</code>
 
* <code>[[kubectl auth]]</code>
 
* <code>[[kubectl create]]</code>
 
* <code>[[kubectl create]]</code>
 
* <code>[[kubectl completion]]</code>
 
* <code>[[kubectl completion]]</code>
* <code>[[kubectl config]]</code>: <code>[[kubectl config use-context|config-use-context]]</code>
+
* <code>[[kubectl config]]</code>
* <code>[[kubectl cp]]</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 19:
 
* <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 explain]]</code>
 
 
* <code>[[kubectl expose]]</code>
 
* <code>[[kubectl expose]]</code>
 
* <code>[[kubectl exec]]</code>
 
* <code>[[kubectl exec]]</code>
Line 29: Line 24:
 
* <code>[[kubectl label]]</code>
 
* <code>[[kubectl label]]</code>
 
* <code>[[kubectl logs]]</code>
 
* <code>[[kubectl logs]]</code>
* <code>[[kubectl patch]]</code>
 
 
* <code>[[kubectl port-forward]]</code>
 
* <code>[[kubectl port-forward]]</code>
 
* <code>[[kubectl proxy]]</code>
 
* <code>[[kubectl proxy]]</code>
Line 105: Line 99:
 
* Read official <code>kubectl</code> cheat sheet: https://kubernetes.io/docs/reference/kubectl/cheatsheet/
 
* Read official <code>kubectl</code> cheat sheet: https://kubernetes.io/docs/reference/kubectl/cheatsheet/
 
* 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
 
* [[Kubernetes quiz]]
 
* [[Merge multiple kubeconfigs]]: <code>[[~/.kube/config]]s</code> into one using <code>[[kubectl konfig merge]]</code>
 
  
 
== Related ==
 
== Related ==
 
* [[Krew]]
 
* [[Krew]]
* <code>[[kops]]</code>
+
* [[kops]]
* [[Kots]] kubectl plugin
+
* <code>[[aws eks]] --region $(terraform output -raw region) [[update-kubeconfig]] --name $(terraform output -raw cluster_name)</code>
* [[K9s]]
+
* [[kubectl-convert]]
* <code>[[aws eks]] --region $([[terraform output -raw]] region) [[update-kubeconfig]] --name $([[terraform output -raw]] cluster_name)</code>
 
* <code>[[kubectl-convert]]</code>
 
 
* <code>[[kubeadm]]</code>
 
* <code>[[kubeadm]]</code>
* <code>[[Error: flags cannot be place before plugin name]]</code>
 
* <code>[[kubectl.kubernetes.io]]</code>
 
* [[kubectl (alias)]]
 
* [[Terraform: kubectl provider]]
 
  
 
== See also ==
 
== See also ==
 
* {{Kubernetes components}}
 
* {{Kubernetes components}}
 
* {{kubectl}}
 
* {{kubectl}}
 +
* {{k8s}}
  
 
[[Category: Kubernetes]]
 
[[Category: Kubernetes]]

Please note that all contributions to wikieduonline may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see Wikieduonline:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)

Advertising: