Move from weave to kube-router to keep things simple
This commit is contained in:
@@ -9,13 +9,12 @@
|
|||||||
|
|
||||||
1. Initializes cluster master node:
|
1. Initializes cluster master node:
|
||||||
|
|
||||||
kubeadm init --apiserver-advertise-address $(hostname -i)
|
kubeadm init --apiserver-advertise-address $(hostname -i) --pod-network-cidr 10.5.0.0/16
|
||||||
|
|
||||||
|
|
||||||
2. Initialize cluster networking:
|
2. Initialize cluster networking:
|
||||||
|
|
||||||
kubectl apply -n kube-system -f \
|
kubectl apply -f https://raw.githubusercontent.com/cloudnativelabs/kube-router/master/daemonset/kubeadm-kuberouter.yaml
|
||||||
"https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')"
|
|
||||||
|
|
||||||
|
|
||||||
3. (Optional) Create an nginx deployment:
|
3. (Optional) Create an nginx deployment:
|
||||||
|
|||||||
Reference in New Issue
Block a user