From 5f664274ec10dbd2d207b3764a3d42117aba2759 Mon Sep 17 00:00:00 2001 From: Marcin Szwed Date: Thu, 6 Jul 2023 14:09:16 +0200 Subject: [PATCH] Add annotations in pod template to bypass Istio sidecar for metrics (#337) Add annotations in pod template spec for Istio --- config/manager/manager.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/manager/manager.yaml b/config/manager/manager.yaml index dd3fce06e..63e555e72 100644 --- a/config/manager/manager.yaml +++ b/config/manager/manager.yaml @@ -14,6 +14,8 @@ spec: metadata: annotations: kubectl.kubernetes.io/default-container: manager + traffic.sidecar.istio.io/includeInboundPorts: '*' + traffic.sidecar.istio.io/excludeInboundPorts: "8080" labels: app.kubernetes.io/component: btp-manager.kyma-project.io spec: