Answers for "installing kubernetes on ubuntu 20.04"

5

install kubernetes on ubuntu

# Installing Kubectl
curl -LO https://storage.googleapis.com/kubernetes-release/release/`curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt`/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
kubectl version --client
# Installing Minikube
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 \
  && chmod +x minikube
sudo mkdir -p /usr/local/bin/
sudo install minikube /usr/local/bin/
minikube start --driver=none 
# If this fails with a message "requires conntrack to be installed in root's path"
sudo apt install conntrack
# then try again
sudo minikube start --driver=none
#check the status
sudo minikube status
# Output:
#host: Running
#kubelet: Running
#apiserver: Running
#kubeconfig: Configured

#It is suggested (by minikube) to change the ownership and
#permissions of ~/.kube and ~/.minikube after the installation.

sudo chown -R $USER $HOME/.kube
sudo chown -R $USER $HOME/.minikube
Posted by: Guest on May-03-2020
1

kubectl install ubuntu 20.04

sudo apt update
sudo apt -y install curl apt-transport-https
curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add -
echo "deb https://apt.kubernetes.io/ kubernetes-xenial main" | sudo tee /etc/apt/sources.list.d/kubernetes.list
sudo apt update
sudo apt install kubectl
Posted by: Guest on December-22-2020
0

installing kubernetes on ubuntu 20.04

sudo apt update
sudo apt -y upgrade && sudo systemctl reboot
Posted by: Guest on May-07-2021
0

install kubernetes on ubuntu

sudo apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main"
Posted by: Guest on August-30-2020
0

install kubectl on ubuntu 20

Intsll Kubectl on ubuntu
Posted by: Guest on June-03-2021

Code answers related to "installing kubernetes on ubuntu 20.04"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language