Kubectl: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:
</source>
</source>


sudo apt update && sudo apt install -y apt-transport-https curl
<source lang="bash">
sudo apt install -y docker-ce=5:20.10.14~3-0~ubuntu-focal\
sudo apt update && sudo apt install -y apt-transport-https curl
  kubelet=1.23.5-00 kubeadm=1.23.5-00 kubectl=1.23.5-00
sudo apt install -y docker-ce=5:20.10.14~3-0~ubuntu-focal\
sudo apt-mark hold docker-ce kubelet kubeadm kubectl
kubelet=1.23.5-00 kubeadm=1.23.5-00 kubectl=1.23.5-00
sudo apt install docker-compose
 
sudo apt-mark hold docker-ce kubelet kubeadm kubectl
sudo apt install docker-compose
</source>


==References==
==References==
Line 31: Line 34:
|-
|-
| valign="top" |
| valign="top" |
* [[Docker on Windows]]
* [[Docker Compose]]
* [[Kubernetes]]
* [[Kubernetes]]
* [[Minikube]]
* [[Minikube]]
* [[ZA Proxy]]
* [[ZA Proxy]]
* [[Docker]]
* [[JMeter]]
* [[JMeter]]
* [[Helm]]
* [[Helm]]

Revision as of 00:51, 13 April 2023

sudo curl -fsSLo /etc/apt/keyrings/kubernetes-archive-keyring.gpg\
 https://packages.cloud.google.com/apt/doc/apt-key.gpg

cat << EOF | sudo tee /etc/apt/sources.list.d/kubernetes.list >/dev/null
deb [arch=$(dpkg --print-architecture)\
 signed-by=/etc/apt/keyrings/kubernetes-archive-keyring.gpg]\
 https://apt.kubernetes.io/ kubernetes-xenial main
EOF
sudo apt update && sudo apt install -y apt-transport-https curl
sudo apt install -y docker-ce=5:20.10.14~3-0~ubuntu-focal\
 kubelet=1.23.5-00 kubeadm=1.23.5-00 kubectl=1.23.5-00

sudo apt-mark hold docker-ce kubelet kubeadm kubectl
sudo apt install docker-compose

References