Skip to content

Add elasticLoadBalancing to kubernetesNetworkConfig - #8909

Open
jupdec wants to merge 1 commit into
eksctl-io:mainfrom
jupdec:dev/elastic-load-balancing-gateway-api
Open

jupdec wants to merge 1 commit into
eksctl-io:mainfrom
jupdec:dev/elastic-load-balancing-gateway-api

Conversation

@jupdec

@jupdec jupdec commented Oct 22, 2026 •

Copy link
Copy Markdown

Description

Add elasticLoadBalancing to kubernetesNetworkConfig to support Gateway API opt in for Auto Mode LBC

Testing -

  1. created cluster elb-pr8909 successfully
2026-10-27 04:19:52 [ℹ]  using Kubernetes version 1.37
2026-10-27 04:19:52 [ℹ]  creating EKS cluster "elb-pr8909" in "us-west-2" region with 
2026-10-27 04:19:52 [ℹ]  if you encounter any issues, check CloudFormation console or try 'eksctl utils describe-stacks --region=us-west-2 --cluster=elb-pr8909'
2026-10-27 04:19:52 [ℹ]  Kubernetes API endpoint access will use default of {publicAccess=true, privateAccess=false} for cluster "elb-pr8909" in "us-west-2"
2026-10-27 04:19:52 [ℹ]  CloudWatch logging will not be enabled for cluster "elb-pr8909" in "us-west-2"
2026-10-27 04:19:52 [ℹ]  you can enable it with 'eksctl utils update-cluster-logging --enable-types={SPECIFY-YOUR-LOG-TYPES-HERE (e.g. all)} --region=us-west-2 --cluster=elb-pr8909'
2026-10-27 04:19:52 [ℹ]  default addons metrics-server were not specified, will install them as EKS addons
2026-10-27 04:19:52 [ℹ]  
..
2026-10-27 04:32:54 [ℹ]  no tasks
2026-10-27 04:32:54 [✔]  all EKS cluster resources for "elb-pr8909" have been created
2026-10-27 04:32:54 [ℹ]  creating addon: metrics-server
2026-10-27 04:32:54 [ℹ]  successfully created addon: metrics-server
2026-10-27 04:32:55 [ℹ]  kubectl command should work with "/home/kaposmee/.kube/config", try 'kubectl get nodes'
2026-10-27 04:32:55 [✔]  EKS cluster "elb-pr8909" in "us-west-2" region is ready
rc=0
aws eks describe-cluster --region us-west-2 --name elb-pr8909 --debug 2>&1 \
  | grep -m1 'Response body' -A2 | grep -o '"elasticLoadBalancing.\{0,120\}'
# "elasticLoadBalancing" : { "enabled" : true, "gatewayApi" : { "crds" : { "managed" : true ...
  1. Add IT tests pass successfully
ok  	github.com/weaveworks/eksctl/pkg/apis/eksctl.io/v1alpha5	0.245s
?   	github.com/weaveworks/eksctl/pkg/apis/eksctl.io/v1alpha5/fakes	[no test files]
ok  	github.com/weaveworks/eksctl/pkg/cfn/builder	0.436s
?   	github.com/weaveworks/eksctl/pkg/cfn/builder/fakes	[no test files]
ok  	github.com/weaveworks/eksctl/pkg/actions/automode	0.076s
?   	github.com/weaveworks/eksctl/pkg/actions/automode/mocks	[no test files]
ok  	github.com/weaveworks/eksctl/pkg/ctl/utils	0.058s
?   	github.com/weaveworks/eksctl/pkg/ctl/utils/mocks	[no test files]
ok  	github.com/weaveworks/eksctl/pkg/ctl/cmdutils	0.123s
ok  	github.com/weaveworks/eksctl/pkg/ctl/cmdutils/filter	0.039s
?   	github.com/weaveworks/eksctl/pkg/ctl/cmdutils/filter/fakes	[no test files]
?   	github.com/weaveworks/eksctl/pkg/ctl/cmdutils/filter/filterfakes	[no test files]

created a dev cluster

Checklist

  • Added tests that cover your change (if possible)
  • Added/modified documentation as required (such as the README.md, or the userdocs directory)
  • Manually tested
  • Made sure the title of the PR is a good description that can go into the release notes
  • (Core team) Added labels for change area (e.g. area/nodegroup) and kind (e.g. kind/improvement)

BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯

  • Backfilled missing tests for code in same general area 🎉
  • Refactored something and made the world a better place 🌟

@github-actions

Copy link
Copy Markdown
Contributor

Hello jupdec 👋 Thank you for opening a Pull Request in eksctl project. The team will review the Pull Request and aim to respond within 1-10 business days. Meanwhile, please read about the Contribution and Code of Conduct guidelines here. You can find out more information about eksctl on our website

@jupdec
jupdec marked this pull request as ready for review October 27, 2026 04:44
@jupdec
jupdec force-pushed the dev/elastic-load-balancing-gateway-api branch 2 times, most recently from 96fc51d to 65b205c Compare October 27, 2026 05:57
if err := ValidateElasticLoadBalancing(c); err != nil {
return err
}
// TODO: drop this once AWS::EKS::Cluster supports ElasticLoadBalancing.GatewayApi.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can drop this :)

@jupdec
jupdec force-pushed the dev/elastic-load-balancing-gateway-api branch from 65b205c to 7deafb0 Compare October 29, 2026 00:04
@jupdec
jupdec force-pushed the dev/elastic-load-balancing-gateway-api branch from 7deafb0 to b8c8ea0 Compare October 29, 2026 00:05

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants