Created
August 25, 2025 13:22
-
-
Save tonidy/365c2b0af6dbff3eb590ba5a60dff34e to your computer and use it in GitHub Desktop.
lab playground
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This is a sandbox environment. Using personal credentials | |
| is HIGHLY! discouraged. Any consequences of doing so, are | |
| completely the user's responsibilites. | |
| You can bootstrap a cluster as follows: | |
| 1. Initializes cluster master node: | |
| kubeadm init --apiserver-advertise-address $(hostname -i) --pod-network-cidr 10.5.0.0/16 | |
| 2. Initialize cluster networking: | |
| kubectl apply -f https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/daemonset/kubeadm-kuberouter.yaml | |
| 3. (Optional) Create an nginx deployment: | |
| kubectl apply -f https://raw.githubusercontent.com/kubernetes/website/master/content/en/examples/application/nginx-app.yaml | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
kubeadm join 192.168.0.8:6443 --token 06gv5d.fbbldrjwr1bjiocj
--discovery-token-ca-cert-hash sha256:3ee191eca3208de514b14c1d6500d9acc171ce6fc829a3860c79bd6f6ead04a9