Open raj868-dev opened 3 years ago
HI while installing the kubeadm in aws ubuntu 18.04 ec2 instance, i am facing this issues
i used the below steps to install the kubeadm
sudo su -
apt-get update -y apt-get install -y apt-transport-https curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - cat </etc/apt/sources.list.d/kubernetes.list deb https://apt.kubernetes.io/ kubernetes-xenial main EOF apt-get update -y
swapoff -a sed -i '/ swap / s/^(.*)$/#\1/g' /etc/fstab
apt install docker.io -y usermod -aG docker ubuntu systemctl restart docker systemctl enable docker.service
apt-get install -y kubelet kubeadm kubectl kubernetes-cni
systemctl daemon-reload systemctl start kubelet systemctl enable kubelet.service
===========In Master Node Start====================
kubeadm init
@raj868-dev follow these steps : 1.kubeadm reset
HI while installing the kubeadm in aws ubuntu 18.04 ec2 instance, i am facing this issues
i used the below steps to install the kubeadm
sudo su -
Install Required packages and apt keys.
apt-get update -y apt-get install -y apt-transport-https curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg | apt-key add - cat </etc/apt/sources.list.d/kubernetes.list
deb https://apt.kubernetes.io/ kubernetes-xenial main
EOF
apt-get update -y
Turn Off Swap Space
swapoff -a sed -i '/ swap / s/^(.*)$/#\1/g' /etc/fstab
Install And Enable Docker
apt install docker.io -y usermod -aG docker ubuntu systemctl restart docker systemctl enable docker.service
Install kubeadm, Kubelet And Kubectl
apt-get install -y kubelet kubeadm kubectl kubernetes-cni
Enable and start kubelet service
systemctl daemon-reload systemctl start kubelet systemctl enable kubelet.service
===========In Master Node Start====================
Steps Only For Kubernetes Master
Switch to the root user.
sudo su -
Initialize Kubernates master by executing below commond.
kubeadm init