To list all deployments:
kubectl get deployments --all-namespaces
To delete deployment:
kubectl delete -n NAMESPACE deployment DEPLOYMENT
To get admin user token dashboard
kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}')
Allow master to run pod
kubectl taint nodes --all node-role.kubernetes.io/master-
To join master node
kubeadm join --token <some-token> <host-master>:6443 --discovery-token-ca-cert-hash sha256:<some-sha256-hash>