mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 14:02:56 +09:00
feat(kilo): add Cilium compatibility variant (#2055)
## Summary - Add a new `cilium` variant to the kilo PackageSource - When selected, kilo is deployed with `--compatibility=cilium` flag - This enables Cilium-aware IPIP encapsulation where outer packets are routed through Cilium's VxLAN overlay instead of the host network ## Changes - `packages/core/platform/sources/kilo.yaml` — new `cilium` variant with `values-cilium.yaml` - `packages/system/kilo/values-cilium.yaml` — sets `kilo.compatibility: cilium` - `packages/system/kilo/templates/kilo.yaml` — conditional `--compatibility` flag ## Test plan - [x] Tested on a cluster with Cilium networking and kilo `--compatibility=cilium` - [x] Verified IPIP tunneling works through Cilium's VxLAN overlay - [x] Confirmed `kubectl exec` connectivity to worker nodes across WireGuard mesh
This commit is contained in:
4 files changed
+19
-1
No files matched your search
@@ -20,3 +20,16 @@ spec:
|
||||
privileged: true
|
||||
namespace: cozy-kilo
|
||||
releaseName: kilo
|
||||
- name: cilium
|
||||
dependsOn:
|
||||
- cozystack.networking
|
||||
components:
|
||||
- name: kilo
|
||||
path: system/kilo
|
||||
valuesFiles:
|
||||
- values.yaml
|
||||
- values-cilium.yaml
|
||||
install:
|
||||
privileged: true
|
||||
namespace: cozy-kilo
|
||||
releaseName: kilo
|
||||
@@ -29,6 +29,9 @@ spec:
|
||||
- --hostname=$(NODE_NAME)
|
||||
- --cni=false
|
||||
- --clean-up-interface={{ .Values.kilo.cleanUpInterface | default "false" }}
|
||||
{{- with .Values.kilo.compatibility }}
|
||||
- --compatibility={{ . }}
|
||||
{{- end }}
|
||||
- --encapsulate=crosssubnet
|
||||
- --local=false
|
||||
- --mesh-granularity={{ .Values.kilo.meshGranularity | default "location" }}
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
kilo:
|
||||
compatibility: cilium
|
||||
@@ -1,7 +1,7 @@
|
||||
kilo:
|
||||
image:
|
||||
pullPolicy: IfNotPresent
|
||||
tag: v0.8.0@sha256:d673c46ba0ff762bc31491f53b81c7e5f59b6b58560eb258df7cf55e480ebdd4
|
||||
tag: v0.8.1@sha256:56602fa796eccea0d0e005c29e5c7094ae46d15bd5306b02b829672b178dcd5c
|
||||
repository: ghcr.io/cozystack/cozystack/kilo
|
||||
podCIDR: 10.244.0.0/16
|
||||
serviceCIDR: 10.96.0.0/16
|
||||
|
||||
Reference in new issue
Block a user