Skip to content

Instantly share code, notes, and snippets.

@krainet
Last active January 1, 2019 16:08
Show Gist options
  • Save krainet/1c5e9a5ed06c9887c19ad329b21d0cc9 to your computer and use it in GitHub Desktop.
Save krainet/1c5e9a5ed06c9887c19ad329b21d0cc9 to your computer and use it in GitHub Desktop.
Setup K8S nodes and link with manager.
#!/bin/bash
kubeadm join 192.168.1.142:6443 --token 0gx03i.bkjfviauhce6q3ns --discovery-token-ca-cert-hash sha256:bed83e5c33b66416d8d6081b7416d8f7d25777238bcfe9efd1fa88c2ddb79974
#is you lost your join command yo can retriew with (on master):
#kubeadm token create --print-join-command
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment