Skip to content

Instantly share code, notes, and snippets.

@100daysofdevops
Created April 22, 2019 04:45
Show Gist options
  • Select an option

  • Save 100daysofdevops/15b25827f241d839a9fb7e81dcba13c7 to your computer and use it in GitHub Desktop.

Select an option

Save 100daysofdevops/15b25827f241d839a9fb7e81dcba13c7 to your computer and use it in GitHub Desktop.
# kubeadm join 172.31.16.235:6443 --token XXXXXXXXX \
> --discovery-token-ca-cert-hash sha256:d21bd6cf64da2eda73bf4c1039f55038e144eea2cca9f3f2f0615d85ed9aae77
[preflight] Running pre-flight checks
[preflight] Reading configuration from the cluster...
[preflight] FYI: You can look at this config file with 'kubectl -n kube-system get cm kubeadm-config -oyaml'
[kubelet-start] Downloading configuration for the kubelet from the "kubelet-config-1.14" ConfigMap in the kube-system namespace
[kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
[kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
[kubelet-start] Activating the kubelet service
[kubelet-start] Waiting for the kubelet to perform the TLS Bootstrap...
This node has joined the cluster:
* Certificate signing request was sent to apiserver and a response was received.
* The Kubelet was informed of the new secure connection details.
Run 'kubectl get nodes' on the control-plane to see this node join the cluster.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment