From 308e2ed97a1a1f3c8455097a1361aeaffc686d50 Mon Sep 17 00:00:00 2001 From: Chris Kim Date: Wed, 26 Aug 2020 16:20:52 -0700 Subject: [PATCH] Disable XDP in canal Signed-off-by: Chris Kim --- packages/rke2-canal/charts/templates/daemonset.yaml | 2 ++ packages/rke2-canal/charts/values.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/rke2-canal/charts/templates/daemonset.yaml b/packages/rke2-canal/charts/templates/daemonset.yaml index 92f9108..66abde7 100644 --- a/packages/rke2-canal/charts/templates/daemonset.yaml +++ b/packages/rke2-canal/charts/templates/daemonset.yaml @@ -151,6 +151,8 @@ spec: # enable promentheus metrics - name: FELIX_PROMETHEUSMETRICSENABLED value: {{ .Values.calico.felixPrometheusMetricsEnabled | quote }} + - name: FELIX_XDPENABLED + value: {{ .Values.calico.felixXDPEnabled | quote }} securityContext: privileged: true resources: diff --git a/packages/rke2-canal/charts/values.yaml b/packages/rke2-canal/charts/values.yaml index 7238623..6344e6b 100644 --- a/packages/rke2-canal/charts/values.yaml +++ b/packages/rke2-canal/charts/values.yaml @@ -58,6 +58,8 @@ calico: felixHealthEnabled: true # Enable prometheus metrics felixPrometheusMetricsEnabled: true + # Disable XDP Acceleration as we do not support it with our ubi7 base image + felixXDPEnabled: false # Whether or not to masquerade traffic to destinations not within # the pod network. masquerade: true