kubeless/deploy/cilium_setup.sh

11 lines
348 B
Bash
Raw Normal View History

2019-03-05 18:33:23 +01:00
#!/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
kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.4/examples/kubernetes/1.13/cilium.yaml