Skip to content

Instantly share code, notes, and snippets.

@iul1an
Last active August 12, 2024 15:44
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' 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
@nasirkamal
Copy link

--no-flannel flag is not recognized anymore. You can update this script.

@iul1an
Copy link
Author

iul1an commented Aug 12, 2024

--no-flannel flag is not recognized anymore. You can update this script.

Updated. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment