If you see "/var/lib/etcd is not empty" message while initiating Kubernetes, then remove /var/lib/etcd directory.

 

References

https://github.com/kubernetes/kubeadm/issues/1642

# kubeadm reset

# sudo apt-get purge kubeadm kubectl kubelet kubernetes-cni kube*

# sudo apt-get autoremove

# sudo rm -rf ~/.kube

 

References

https://stackoverflow.com/questions/44698283/how-to-completely-uninstall-kubernetes

(Recommended) https://medium.com/finda-tech/overview-8d169b2a54ff

 

쿠버네티스(Kubernetes) 설치 및 환경 구성하기

How to configure a Kubernetes cluster

medium.com

https://hiseon.me/linux/ubuntu/ubuntu-kubernetes-install/

 

우분투 Kubernetes 설치 방법 - HiSEON

우분투 Kubernetes 설치 방법 Kubernetes를 설치 후 Master 노드를 초기화하고, Pod Network 를 추가 한 뒤에 Slave 노드를 추가하도록 하겠습니다. 그리고 마지막으로 Dashboard를 설정하는 방법까지 함께 설명

hiseon.me

https://ssup2.github.io/record/Kubernetes_%EC%84%A4%EC%B9%98_kubeadm_Ubuntu_16.04/

 

Kubernetes 설치 / kubeadm 이용 / Ubuntu 16.04 환경

Ssup2's Personal Blog

ssup2.github.io

https://etrioss.kr/thkimetri/ksb19.03-manual/blob/a42d53a657b5930007f40c762c0c929c63a2f3a8/manual1903/1.6.KSB_K8s_install_Guide.md

 

manual1903/1.6.KSB_K8s_install_Guide.md · a42d53a657b5930007f40c762c0c929c63a2f3a8 · TAE HWAN KIM / KSB_AI_Framework_1903

ETRI OSS 외부 클라우드 저장소

etrioss.kr

 

수정 필요

 

https://git.wisoft.io/seongwon/kubernetes-installation

https://likefree.tistory.com/13

'가상 머신 > Kubernetes' 카테고리의 다른 글

Kubernetes Installation Guide  (0) 2020.11.10
Kubernetes (Kubeadm) Installation Shell Script  (0) 2020.11.10
Install Kubernetes via K3S on VirtualBox  (0) 2020.11.10
MiniKube vs. Kubeadm vs. Kind vs. K3S  (0) 2020.11.10
Uninstall K3S  (0) 2020.11.10

https://coffeewhale.com/kubernetes/cluster/virtualbox/2020/08/31/k8s-virtualbox/

https://www.padok.fr/en/blog/minikube-kubeadm-kind-k3s

# To uninstall K3s from a server node, run:

$ /usr/local/bin/k3s-uninstall.sh

 

# To uninstall K3s from an agent node, run:

$ /usr/local/bin/k3s-agent-uninstall.sh

 

References

https://rancher.com/docs/k3s/latest/en/installation/uninstall/

sudo apt-get install -qy kubelet=<version> kubectl=<version> kubeadm=<version>

sudo apt-get install -qy kubelet=1.9.6-00 kubectl=1.9.6-00 kubeadm=1.9.6-00

 

References

https://stackoverflow.com/questions/49721708/how-to-install-specific-version-of-kubernetes

sudo apt-get purge -y docker-engine docker docker.io docker-ce docker-ce-cli

sudo apt-get autoremove -y --purge docker-engine docker docker.io docker-ce

 

sudo rm -rf /var/lib/docker /etc/docker

sudo rm /etc/apparmor.d/docker

sudo groupdel docker

sudo rm -rf /var/run/docker.sock

 

 

References

https://askubuntu.com/questions/935569/how-to-completely-uninstall-docker

+ Recent posts