From 285520a1cea24d81ce3d90cecc0cb10452a22359 Mon Sep 17 00:00:00 2001 From: Trygve Laugstøl Date: Sat, 23 Nov 2024 06:57:01 +0100 Subject: danneri --- danneri/README.md | 32 +++++++++++++++++++++++--------- 1 file changed, 23 insertions(+), 9 deletions(-) (limited to 'danneri/README.md') diff --git a/danneri/README.md b/danneri/README.md index 62c5fc7..b674857 100644 --- a/danneri/README.md +++ b/danneri/README.md @@ -8,16 +8,30 @@ Copy /etc/rancher/k3s/k3s.yaml to ~/.kube/config. Adjust `server:` url. # Installing Cilium: - cilium install --set enable.ipv6=true --set enable.ipv4=false --set k8sServiceHost=fdb1:4242:3538:2008:9422:d355:95b7:f170 --set k8sServicePort=6443 - -NOTE: Should probably use something like this - - --set=ipam.operator.clusterPoolIPv4PodCIDRList="10.42.0.0/16" - -with - - fdb1:4242:3538:2008:aaaa:aaaa:aaaa:0/112 + cilium install \ + --set routingMode=native \ + --set ipv4.enabled=true \ + --set ipam.operator.clusterPoolIPv4PodCIDRList=10.0.0.0/8 \ + --set ipv4NativeRoutingCIDR=10.0.0.0/8 \ + --set ipv6.enabled=true \ + --set enableIPv6Masquerade=false \ + --set k8s.requireIPv6PodCIDR=true \ + --set ipam.operator.clusterPoolIPv6PodCIDRList=fdb1:4242:3538:2008:aaaa:aaaa:aaaa::/96 \ + --set ipam.operator.clusterPoolIPv6MaskSize=112 \ + --set ipv6NativeRoutingCIDR=fdb1:4242:3538:2008::/64 \ + --set k8sServiceHost=fdb1:4242:3538:2008:9422:d355:95b7:f170 \ + --set k8sServicePort=6443 # Uninstalling Run: `k3s-uninstall.sh`. Note that this will delete everything, including `/etc/rancher/k3s/config.yaml`. + + rm -rf \ + /var/lib/cni \ + /etc/cni \ + /var/lib/rancher \ + /run/cilium \ + /run/containerd \ + /etc/sysctl.d/99-zzz-override_cilium.conf + +and then do a reboot to really stop Cilium from running. -- cgit v1.2.3