Skip to content

hw1186/K8S-remove-and-cleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubernetes Cluster CleanUp and Remove

How to create and join new Node

Setting File Permissions to 777

chmod 777 [FILENAME]

in master node

kubeadm token create 
openssl x509 -pubkey -in /etc/kubernetes/pki/ca.crt | openssl rsa -pubin -outform der 2>/dev/null | \
   openssl dgst -sha256 -hex | sed 's/^.* //'
sudo kubeadm join [Master Host IP]:6443 --token [Your Token] \
        --discovery-token-ca-cert-hash sha256:[Your hash] 

command, verify that the node has joined the cluster successfully :

kubectl get nodes -o wide

About

Kubernetes Cluster CleanUp and Remove

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages