Skip to content

Commit

Permalink
feature: enable to switch nlb zone affinity
Browse files Browse the repository at this point in the history
see also doc PR zalando-incubator/kube-ingress-aws-controller#695

Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
  • Loading branch information
szuecs committed Apr 30, 2024
1 parent 05008f5 commit 5ef62c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions cluster/config-defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ kube_aws_ingress_controller_deregistration_delay_timeout: "10s"
# This opens skipper-ingress ports 9998 and 9999 on all worker nodes
kube_aws_ingress_controller_nlb_enabled: "true"
kube_aws_ingress_controller_nlb_cross_zone: "true"
kube_aws_ingress_controller_nlb_zone_affinity: "any_availability_zone"
kube_aws_ingress_controller_cert_polling_interval: "2m"
# sets the default LB type: "network" or "application" are valid choices (overwritten by nlb_switch)
kube_aws_ingress_default_lb_type: "application"
Expand Down
3 changes: 2 additions & 1 deletion cluster/manifests/ingress-controller/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# {{ $version := "v0.15.13" }}
# {{ $version := "v0.15.15" }}

apiVersion: apps/v1
kind: Deployment
Expand Down Expand Up @@ -42,6 +42,7 @@ spec:
# {{ if eq .Cluster.ConfigItems.kube_aws_ingress_controller_nlb_cross_zone "true" }}
- --nlb-cross-zone
# {{ end }}
- --nlb-zone-affinity={{ .Cluster.ConfigItems.kube_aws_ingress_controller_nlb_zone_affinity }}
- --cluster-local-domain=cluster.local
- --deny-internal-domains
- --additional-stack-tags=InfrastructureComponent=true
Expand Down

0 comments on commit 5ef62c7

Please sign in to comment.