aboutsummaryrefslogtreecommitdiff
path: root/danneri/README.md
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2024-11-23 06:57:01 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2024-11-23 06:57:01 +0100
commit285520a1cea24d81ce3d90cecc0cb10452a22359 (patch)
tree011519cfc1cf398a9213f12f27acdc26f96b6853 /danneri/README.md
parent822f8d1a691ce1d24327b8d0fb8ffade2843b80a (diff)
downloadinfra-285520a1cea24d81ce3d90cecc0cb10452a22359.tar.gz
infra-285520a1cea24d81ce3d90cecc0cb10452a22359.tar.bz2
infra-285520a1cea24d81ce3d90cecc0cb10452a22359.tar.xz
infra-285520a1cea24d81ce3d90cecc0cb10452a22359.zip
danneri
Diffstat (limited to 'danneri/README.md')
-rw-r--r--danneri/README.md32
1 files changed, 23 insertions, 9 deletions
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.