How to uninstall Kubernetes completely

0 votes

Hi Guys,

I have configured a Kubernetes Cluster in the local system. Now I want to remove the cluster completely. How can I do that?

Oct 6, 2020 in Kubernetes by akhtar
• 38,260 points
22,159 views

1 answer to this question.

0 votes

Hi Akhtar,

You can follow the below steps to remove Kubernetes Cluster from your system.

$ kubeadm reset
# sudo yum purge kubeadm kubectl kubelet kubernetes-cni kube*   
$ sudo yum autoremove  
$ sudo rm -rf .kube

For further details, refer to the Kubernetes Course.

answered Oct 6, 2020 by MD
• 95,460 points

Related Questions In Kubernetes

0 votes
1 answer

How to use gravitational teleport in a container/kubernetes environment?

You can use teleport to augment kubernetes ...READ MORE

answered Jun 28, 2018 in Kubernetes by ajs3033
• 7,300 points
2,497 views
0 votes
1 answer

How do I sign-in to kubernetes dashboard?

Since version 1.7 Dashboard uses more secure ...READ MORE

answered Sep 7, 2018 in Kubernetes by DareDev
• 6,890 points
2,323 views
0 votes
1 answer

How to rewrite all non-www traffic to www subdomain?-kubernetes ingress

The ingress.kubernetes.io/rewrite-target is used for rewriting the request URI, ...READ MORE

answered Sep 11, 2018 in Kubernetes by Kalgi
• 52,350 points
3,741 views
0 votes
2 answers
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17, 2019 in Others by anonymous
15,577 views
0 votes
1 answer

permissions related to AWS ECR

if you add allowContainerRegistry: true, kops will add those permissions ...READ MORE

answered Oct 9, 2018 in Kubernetes by Kalgi
• 52,350 points
1,433 views
0 votes
1 answer

How to create deployment build in kubernetes?

Hi@akhtar, To create any resources in kubernetes you ...READ MORE

answered May 18, 2020 in Kubernetes by MD
• 95,460 points
1,239 views
0 votes
1 answer

How to change default Namespace in Kubernetes?

Hi@akhtar, Kubernetes will automatically create one namespace named ...READ MORE

answered Jul 5, 2020 in Kubernetes by MD
• 95,460 points
9,566 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP