Skip to content

Add/alb/targetgroupsbindings#582

Open
wcarlsen wants to merge 7 commits into
mainfrom
add/alb/targetgroupsbindings
Open

Add/alb/targetgroupsbindings#582
wcarlsen wants to merge 7 commits into
mainfrom
add/alb/targetgroupsbindings

Conversation

@wcarlsen

@wcarlsen wcarlsen commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Below is the introduction copied from this PR in infrastructure-modules:
In our current setup all nodes are target for the load balancers in place exposing two nodeports each. The targetgroup registration is happening through an autoscalinggroup attachment. This makes all nodes go through a registration and deregistration process and adding on top of this all requests are very, very likely to make an extra network jump from the node to a node that actually has Traefik running.

Things done:

  • change service type from nodeport to clusterip for Traefik green variant
  • add targetgroupbinding for registering Traefik green pods to the correct targetgroup in AWS. Note that we are adding kustomize label to make sure the is overwritten because spec.targetGroupArn is immutable
  • add readiness probe gate label to Traefik green namespace to ensure that status ready for pods is only set if the pod is a healthy registered target for the targetgroup in AWS see https://kubernetes-sigs.github.io/aws-load-balancer-controller/v3.4/deploy/pod_readiness_gate/ for docs

wcarlsen added 5 commits May 20, 2026 13:20
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
@wcarlsen wcarlsen requested a review from a team as a code owner June 2, 2026 13:48
@wcarlsen wcarlsen requested review from rifisdfds and removed request for a team June 10, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant