aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--danneri/README.md20
-rw-r--r--danneri/cilium.yaml12
-rw-r--r--danneri/futar-deployment.yml4
3 files changed, 31 insertions, 5 deletions
diff --git a/danneri/README.md b/danneri/README.md
index 153e248..26a9e85 100644
--- a/danneri/README.md
+++ b/danneri/README.md
@@ -6,8 +6,28 @@ Run: `curl -sfL https://get.k3s.io | bash`
Copy /etc/rancher/k3s/k3s.yaml to ~/.kube/config. Adjust `server:` url.
+Reinstalling:
+
+ k3s-uninstall.sh
+
+Reboot
+
+ cd /etc
+ git restore rancher/k3s/config.yaml
+ cd
+ curl -sfL https://get.k3s.io | bash
+
+# Get kubeconfig
+
+ ssh danneri.dn42.trygvis.io sudo cat /etc/rancher/k3s/k3s.yaml |\
+ sed s,https://.*,https://danneri.dn42.trygvis.io:6443, > ~/.kube/config
+
# Installing Cilium:
+ cilium install -f cilium.yaml
+
+old:
+
cilium install \
--set routingMode=native \
--set ipv4.enabled=true \
diff --git a/danneri/cilium.yaml b/danneri/cilium.yaml
index 03f9c23..144e819 100644
--- a/danneri/cilium.yaml
+++ b/danneri/cilium.yaml
@@ -1,7 +1,9 @@
# https://yolops.net/k3s-at-home.html
# https://yolops.net/k8s-dualstack-cilium.html
+# https://www.jeffgeerling.com/blog/2022/quick-hello-world-http-deployment-testing-k3s-and-traefik
+# https://www.redpill-linpro.com/techblog/2024/01/03/cilium-dual-stack-k3s-pi-setup.html
---
-k8sServiceHost: fdb1:4242:3538:2010::ffff
+k8sServiceHost: fdb1:4242:3538:2008:9422:d355:95b7:f170
k8sServicePort: 6443
ipv4:
enabled: false
@@ -12,17 +14,21 @@ ipam:
operator:
# clusterPoolIPv4PodCIDRList: "10.96.0.0/16"
# clusterPoolIPv4MaskSize: 24
- clusterPoolIPv6PodCIDRList: "fdb1:4242:3538:2009::/112"
+ clusterPoolIPv6PodCIDRList: "fdb1:4242:3538:2008:cccc:cccc::/96"
clusterPoolIPv6MaskSize: 112
bpf:
masquerade: false
enableIPv6Masquerade: false
kubeProxyReplacement: true
+
+# new
+ipv6NativeRoutingCIDR: fdb1:4242:3538:2008::/64
+
extraConfig:
enable-ipv6-ndp: "true"
ipv6-mcast-device: "enp1s0"
- ipv6-service-range: "fdb1:4242:3538:2010::/112"
+ ipv6-service-range: "fdb1:4242:3538:2008:5555:5555:5555::/112"
routing-mode: "native"
operator:
replicas: 1
diff --git a/danneri/futar-deployment.yml b/danneri/futar-deployment.yml
index 14c2fed..00a07ca 100644
--- a/danneri/futar-deployment.yml
+++ b/danneri/futar-deployment.yml
@@ -44,7 +44,7 @@ spec:
app: futar
ports:
- protocol: TCP
- port: 80
+ port: 8080
---
apiVersion: v1
@@ -57,4 +57,4 @@ spec:
type: LoadBalancer
ports:
- protocol: TCP
- port: 80
+ port: 8080