Tuesday, 26 July 2022

KUBE worker SETUP

 root@kubernetes-worker:/home/ubuntu# history

    1  sudo apt update

    2  sudo apt install docker.io

    3  sudo systemctl start docker

    4  sudo systemctl enable docker

    5  sudo apt install apt-transport-https curl

    6  curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add

    7  sudo apt-add-repository "deb http://apt.kubernetes.io/ kubernetes-xenial main"

    8  sudo apt install kubeadm kubelet kubectl kubernetes-cni

    9  sudo swapoff -a

   10  sudo hostnamectl set-hostname kubernetes-worker

   11  hostname


   21  kubeadm join 172.3.230:6443 --token b683jdx2fpzby --discovery-token-ca-cert-hash sha256:57151584e5bfdc0a7168cadc19b298f5a5aab3f3ad90f5d0a2921d54

   22  history

root@kubernetes-worker:/home/ubuntu#

No comments:

Post a Comment

Git

1 git add ↳ It lets you add changes from the working directory into the staging area 2 git commit ↳ It lets you save a snapshot of currently...