From 93e8693299bc1c8642c4ffbf091cf7ebf8ceca98 Mon Sep 17 00:00:00 2001 From: JJGadgets Date: Tue, 21 Mar 2023 12:59:06 +0800 Subject: [PATCH] fix(cilium): minecraft service not working Signed-off-by: JJGadgets --- .../1-core/01-networking/cilium/install.yaml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/kube/3-deploy/1-core/01-networking/cilium/install.yaml b/kube/3-deploy/1-core/01-networking/cilium/install.yaml index 07bf369a..b98bf700 100644 --- a/kube/3-deploy/1-core/01-networking/cilium/install.yaml +++ b/kube/3-deploy/1-core/01-networking/cilium/install.yaml @@ -83,7 +83,7 @@ spec: chart: spec: chart: cilium - version: 1.13.1 + version: 1.13.0 sourceRef: kind: HelmRepository name: cilium-charts @@ -113,10 +113,10 @@ spec: cluster: name: "${CLUSTER_NAME}" - id: "${CLUSTER_ID}" - tunnel: disabled - autoDirectNodeRoutes: true - ipv4NativeRoutingCIDR: "${IP_POD_CIDR_V4}" + id: 1 + tunnel: vxlan + autoDirectNodeRoutes: false + # ipv4NativeRoutingCIDR: "${IP_POD_CIDR_V4}" localRedirectPolicy: true ipam: mode: kubernetes @@ -136,12 +136,13 @@ spec: # bgpControlPlane is newer GoBGP implementation, `bgp.enabled: true` and `bgp.announce` uses older MetalLB BGP implementation that is planned to be deprecated in Cilium v1.15. loadBalancer: algorithm: maglev - mode: dsr + mode: snat + # mode: dsr nodePort: enabled: true range: 80,32767 bandwidthManager: - enabled: true + enabled: false l7Proxy: true kubeProxyReplacement: strict k8sServiceHost: ${IP_CLUSTER_VIP}