Update cilium_setup.sh
This commit is contained in:
parent
6d882c191c
commit
9908615373
@ -1,10 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
## Initialize Kubernetes
|
|
||||||
kubeadm init --ignore-preflight-errors=SystemVerification
|
|
||||||
mkdir -p $HOME/.kube
|
|
||||||
cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
|
|
||||||
chown $(id -u):$(id -g) $HOME/.kube/config
|
|
||||||
|
|
||||||
## Apply Cilium CNI plugin
|
## Apply Cilium CNI plugin
|
||||||
kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.4/examples/kubernetes/1.13/cilium.yaml
|
kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.4/examples/kubernetes/1.13/cilium.yaml
|
||||||
|
Loading…
Reference in New Issue
Block a user