Skip to content

Instantly share code, notes, and snippets.

@iul1an
Created June 17, 2020 19:10
Show Gist options
  • Save iul1an/95587a087dbc6bf06bfdaf6c60eb1d3e to your computer and use it in GitHub Desktop.
Save iul1an/95587a087dbc6bf06bfdaf6c60eb1d3e to your computer and use it in GitHub Desktop.
install k3s with cilium CNI
#!/bin/bash
curl -sfL https://get.k3s.io | INSTALL_K3S_EXEC='--flannel-backend=none --no-flannel' sh -s - \
--disable-network-policy \
--disable "servicelb" \
--disable "traefik" \
--disable "metrics-server"
sudo cat /etc/rancher/k3s/k3s.yaml > ~/.kube/config
kubectl create -f https://raw.githubusercontent.com/cilium/cilium/v1.7/install/kubernetes/quick-install.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment