Skip to content

Instantly share code, notes, and snippets.

@tonidy
Created August 25, 2025 13:22
Show Gist options
  • Save tonidy/365c2b0af6dbff3eb590ba5a60dff34e to your computer and use it in GitHub Desktop.
Save tonidy/365c2b0af6dbff3eb590ba5a60dff34e to your computer and use it in GitHub Desktop.
lab playground
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
@tonidy
Copy link
Author

tonidy commented Aug 25, 2025

kubeadm join 192.168.0.8:6443 --token 06gv5d.fbbldrjwr1bjiocj
--discovery-token-ca-cert-hash sha256:3ee191eca3208de514b14c1d6500d9acc171ce6fc829a3860c79bd6f6ead04a9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment