Skip to content

Commit

Permalink
kuma: add ingress annotaions as custom metadata
Browse files Browse the repository at this point in the history
Signed-off-by: Sanskar Jaiswal <[email protected]>
  • Loading branch information
aryan9600 committed Jul 22, 2024
1 parent 2855d30 commit d49e39a
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion test/kuma/test-canary.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit d49e39a

Please sign in to comment.