mirror of
https://github.com/optim-enterprises-bv/homelab.git
synced 2025-11-02 19:08:03 +00:00
feat(cilium): enable maglev loadBalancer
Maglev Consistent Hashing should improve resiliency in case of failures https://docs.cilium.io/en/stable/network/kubernetes/kubeproxy-free/\#maglev-consistent-hashing
This commit is contained in:
@@ -9,8 +9,8 @@ k8sServiceHost: localhost
|
|||||||
k8sServicePort: 7445
|
k8sServicePort: 7445
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
ciliumAgent: [ CHOWN,KILL,NET_ADMIN,NET_RAW,IPC_LOCK,SYS_ADMIN,SYS_RESOURCE,DAC_OVERRIDE,FOWNER,SETGID,SETUID ]
|
ciliumAgent: [ CHOWN, KILL, NET_ADMIN, NET_RAW, IPC_LOCK, SYS_ADMIN, SYS_RESOURCE, DAC_OVERRIDE, FOWNER, SETGID, SETUID ]
|
||||||
cleanCiliumState: [ NET_ADMIN,SYS_ADMIN,SYS_RESOURCE ]
|
cleanCiliumState: [ NET_ADMIN, SYS_ADMIN, SYS_RESOURCE ]
|
||||||
|
|
||||||
cgroup:
|
cgroup:
|
||||||
autoMount:
|
autoMount:
|
||||||
@@ -57,16 +57,17 @@ externalIPs:
|
|||||||
|
|
||||||
enableCiliumEndpointSlice: true
|
enableCiliumEndpointSlice: true
|
||||||
|
|
||||||
|
loadBalancer:
|
||||||
|
# https://docs.cilium.io/en/stable/network/kubernetes/kubeproxy-free/#maglev-consistent-hashing
|
||||||
|
algorithm: maglev
|
||||||
|
|
||||||
gatewayAPI:
|
gatewayAPI:
|
||||||
enabled: true
|
enabled: true
|
||||||
envoy:
|
envoy:
|
||||||
securityContext:
|
securityContext:
|
||||||
capabilities:
|
capabilities:
|
||||||
keepCapNetBindService: true
|
keepCapNetBindService: true
|
||||||
envoy:
|
envoy: [ NET_ADMIN, PERFMON, BPF ]
|
||||||
- NET_ADMIN
|
|
||||||
- PERFMON
|
|
||||||
- BPF
|
|
||||||
|
|
||||||
hubble:
|
hubble:
|
||||||
enabled: true
|
enabled: true
|
||||||
@@ -79,6 +80,11 @@ hubble:
|
|||||||
|
|
||||||
ingressController:
|
ingressController:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
default: true
|
||||||
|
loadbalancerMode: shared
|
||||||
|
service:
|
||||||
|
annotations:
|
||||||
|
io.cilium/lb-ipam-ips: 192.168.1.223
|
||||||
|
|
||||||
# mTLS
|
# mTLS
|
||||||
authentication:
|
authentication:
|
||||||
|
|||||||
Reference in New Issue
Block a user