Skip to content

Instantly share code, notes, and snippets.

@johndiego
Forked from iul1an/install.sh
Created June 30, 2023 14:56
Show Gist options
  • Save johndiego/c3e9d980afc1b9e29f38221f57ae03a1 to your computer and use it in GitHub Desktop.
Save johndiego/c3e9d980afc1b9e29f38221f57ae03a1 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