|
|
@ -16,36 +16,39 @@ service: |
|
|
|
ingress: |
|
|
|
enabled: true |
|
|
|
annotations: |
|
|
|
kubernetes.io/ingress.class: alb |
|
|
|
alb.ingress.kubernetes.io/actions.root-service: | |
|
|
|
{ |
|
|
|
"Type":"forward", |
|
|
|
"ForwardConfig":{ |
|
|
|
"TargetGroups":[ |
|
|
|
{ |
|
|
|
"Weight":20, |
|
|
|
"ServiceName":"canary-service", |
|
|
|
"ServicePort":"{{ .Values.service.port }}" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"Weight":40, |
|
|
|
"ServiceName":"canary-service", |
|
|
|
"ServicePort":"{{ .Values.service.port }}" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"Weight":60, |
|
|
|
"ServiceName":"canary-service", |
|
|
|
"ServicePort":"{{ .Values.service.port }}" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"Weight":80, |
|
|
|
"ServiceName":"stable-service", |
|
|
|
"ServicePort":"{{ .Values.service.port }}" |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
} |
|
|
|
# kubernetes.io/ingress.class: nginx |
|
|
|
# kubernetes.io/ingress.class: alb |
|
|
|
# alb.ingress.kubernetes.io/actions.root-service: | |
|
|
|
# { |
|
|
|
# "Type":"forward", |
|
|
|
# "ForwardConfig":{ |
|
|
|
# "TargetGroups":[ |
|
|
|
# { |
|
|
|
# "Weight":20, |
|
|
|
# "ServiceName":"canary-service", |
|
|
|
# "ServicePort":"{{ .Values.service.port }}" |
|
|
|
# }, |
|
|
|
# { |
|
|
|
# "Weight":40, |
|
|
|
# "ServiceName":"canary-service", |
|
|
|
# "ServicePort":"{{ .Values.service.port }}" |
|
|
|
# }, |
|
|
|
# { |
|
|
|
# "Weight":60, |
|
|
|
# "ServiceName":"canary-service", |
|
|
|
# "ServicePort":"{{ .Values.service.port }}" |
|
|
|
# }, |
|
|
|
# { |
|
|
|
# "Weight":80, |
|
|
|
# "ServiceName":"stable-service", |
|
|
|
# "ServicePort":"{{ .Values.service.port }}" |
|
|
|
# } |
|
|
|
# ] |
|
|
|
# } |
|
|
|
# } |
|
|
|
# nginx.ingress.kubernetes.io/canary: "true" |
|
|
|
kubernetes.io/ingress.class: nginx |
|
|
|
# nginx.ingress.kubernetes.io/canary-by-header: "Region" |
|
|
|
# nginx.ingress.kubernetes.io/canary-by-header-pattern: "aspc|eu" |
|
|
|
# kubernetes.io/tls-acme: "true" |
|
|
|
path: / |
|
|
|
hosts: |
|
|
|