Difference between revisions of "Ubuntu kubectl installation"

From wikieduonline
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
Using snap:
 
* <code>[[snap install kubectl --classic]]</code>
 
* <code>[[snap install kubectl --classic]]</code>
 +
 +
Installing from <code>[[k8s.io]]</code>:
 
* <code>[[curl -LO]] "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"</code>
 
* <code>[[curl -LO]] "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"</code>
 
* <code>[[chmod +x kubectl]]; mv kubectl [[/bin/]]</code>
 
* <code>[[chmod +x kubectl]]; mv kubectl [[/bin/]]</code>
  
 +
== Related ==
 +
* <code>touch [[~/.kube/config]]</code>
  
 +
== See also ==
 +
* {{kubectl}}
  
{{kubectl}}
+
[[Category:K8s]]

Latest revision as of 09:28, 12 January 2024

Advertising: