feat(cilium): Deploy on Ekman

This commit is contained in:
2026-03-03 14:23:33 +01:00
parent 592733ad80
commit 2fccd6e206
6 changed files with 65 additions and 11 deletions
+12
View File
@@ -0,0 +1,12 @@
cilium:
enabled: true
envoy:
enabled: true
# kube-proxy stays running during migration; disable replacement until done.
# TODO: set to true after migration
kubeProxyReplacement: false
# Direct apiserver connection -- do not rely on the kubernetes service IP
# during migration since we are touching the CNI layer.
# TODO: remove k8sServiceHost / k8sServicePort (or keep pointing at apiserver localhost)
k8sServiceHost: 10.255.241.99
k8sServicePort: 6443
+10
View File
@@ -0,0 +1,10 @@
cilium:
enabled: true
nodePort:
enabled: true
l2announcement:
enabled: true
loadbalancerPool:
enabled: false
cidr:
- 10.255.241.11/32
@@ -0,0 +1,33 @@
# Installs Cilium without writing the CNI config file.
# Flannel keeps serving pods on unmigrated nodes.
# TODO: Remove after migration
#cni:
#customConf: false
# Routes cross-CNI traffic via the host network stack so Flannel pods
# and Cilium pods can reach each other during the transition.
# TODO: Remove after migration
#bpf:
#hostLegacyRouting: false
# NOTE: Use Geneve so Cilium's overlay is distinct from Flannel's VXLAN.
# This is required for cross-CNI pod connectivity during migration.
routingMode: tunnel
tunnelProtocol: geneve
# New pod CIDR exclusively for Cilium (must not overlap):
# Flannel pod CIDR: 10.100.0.0/16 (clusterCidr in k8s config)
# Service CIDR: 10.0.0.0/22
# Node networks: 10.255.241.0/24, 10.255.242.0/24, 10.255.243.0/24, 10.255.244.0/24
# TODO: after migration switch ipam.mode to kubernetes
ipam:
mode: cluster-pool
operator:
clusterPoolIPv4PodCIDRList:
- "10.100.0.0/16"
clusterPoolIPv4MaskSize: 24
# NOTE: Rate limit Cilium's k8s API client ekman has ~30 nodes.
k8sClientRateLimit:
qps: 5
burst: 10
+8 -9
View File
@@ -15,6 +15,14 @@ encryption:
type: {{ .Values.cilium.encryption.type}}
envoy:
enabled: {{ .Values.cilium.envoy.enabled }}
securityContext:
capabilities:
keepCapNetBindService: true
envoy:
- SYS_ADMIN
- NET_ADMIN
- BPF
- NET_BIND_SERVICE
prometheus:
serviceMonitor:
enabled: {{ .Values.cilium.envoy.enabled }}
@@ -70,15 +78,6 @@ gatewayAPI:
nodes:
matchLabels:
ingresshost: "cilium"
envoy:
enabled: true
securityContext:
capabilities:
keepCapNetBindService: true
envoy:
- NET_ADMIN
- BPF
- NET_BIND_SERVICE
{{- end}}
ingressController:
enabled: {{ .Values.cilium.ingressController.enabled }}