aboutsummaryrefslogtreecommitdiff
path: root/danneri/README.md
diff options
context:
space:
mode:
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.