29 lines
747 B
Plaintext
29 lines
747 B
Plaintext
|
|
WARNING!!!!
|
|
|
|
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
|
|
|
|
|
|
The PWK team.
|
|
|
|
|
|
|