Shell/Bash: install kubernetes on ubuntu Example


Shell/Bash Example: This is the "install kubernetes on ubuntu" Example. compiled from many sources on the internet by

install kubernetes on ubuntu

# Installing Kubectl
curl -LO`curl -s`/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
kubectl version --client
# Installing Minikube
curl -Lo minikube \
  && 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

instal kubectl ubutu

curl -LO "$(curl -s"

install kubernetes on ubuntu

sudo apt-add-repository "deb kubernetes-xenial main"

install kubectl ubuntu

sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates curl

install kubernetes on ubuntu

sudo apt-mark hold kubeadm kubelet kubectl

install kubernetes on ubuntu

sudo systemctl start docker

Xem thêm: active directory user kopieren per powershell

* Summary: This "install kubernetes on ubuntu" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!