kubectl create secret generic regcred     --from-file=.dockerconfigjson=faas/config.json     --type=kubernetes.io/dockerconfigjson

kubectl config view --minify --raw > kube_config

# Copy this kube_config to ~/.kube/config and use kubectl to access my kubernetes cluster.

kubectl delete service <name>

sudo kubeadm token create --print-join-command

# Run this command to join.

