From d49e39a317c7230c5d1752b87538d82d208a25ce Mon Sep 17 00:00:00 2001 From: Sanskar Jaiswal Date: Mon, 22 Jul 2024 18:57:26 +0530 Subject: [PATCH] kuma: add ingress annotaions as custom metadata Signed-off-by: Sanskar Jaiswal --- test/kuma/test-canary.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/test/kuma/test-canary.sh b/test/kuma/test-canary.sh index 7030fb468..67e6cef64 100755 --- a/test/kuma/test-canary.sh +++ b/test/kuma/test-canary.sh @@ -41,12 +41,18 @@ spec: apex: annotations: 9898.service.kuma.io/protocol: "http" + ingress.kubernetes.io/service-upstream: "true" + nginx.ingress.kubernetes.io/service-upstream: "true" canary: annotations: 9898.service.kuma.io/protocol: "http" + ingress.kubernetes.io/service-upstream: "true" + nginx.ingress.kubernetes.io/service-upstream: "true" primary: annotations: 9898.service.kuma.io/protocol: "http" + ingress.kubernetes.io/service-upstream: "true" + nginx.ingress.kubernetes.io/service-upstream: "true" analysis: interval: 15s threshold: 15 @@ -156,15 +162,21 @@ spec: apex: annotations: 9898.service.kuma.io/protocol: "http" + ingress.kubernetes.io/service-upstream: "true" + nginx.ingress.kubernetes.io/service-upstream: "true" canary: annotations: 9898.service.kuma.io/protocol: "http" + ingress.kubernetes.io/service-upstream: "true" + nginx.ingress.kubernetes.io/service-upstream: "true" primary: annotations: 9898.service.kuma.io/protocol: "http" + ingress.kubernetes.io/service-upstream: "true" + nginx.ingress.kubernetes.io/service-upstream: "true" analysis: interval: 15s - threshold: 15 + threshold: 5 maxWeight: 50 stepWeight: 10 metrics: