Skip to content

Conversation

dkoshkin
Copy link
Contributor

@dkoshkin dkoshkin commented Oct 6, 2025

What problem does this PR solve?:
Add support for deploying https://kubernetes-sigs.github.io/aws-load-balancer-controller/latest/.
While we work on finalizing the API, the handler will always deploy the controller in EKS clusters.

Which issue(s) this PR fixes:
Fixes #

How Has This Been Tested?:

Deployed a Deployment and Service

$ kubectl get svc
NAME                                                      TYPE           CLUSTER-IP     EXTERNAL-IP                                                                   PORT(S)        AGE
cluster-autoscaler-0199bac8-d50f-7889-bbd8-fab1f853bd7c   ClusterIP      172.20.53.99   <none>                                                                        8085/TCP       22m
kubernetes                                                ClusterIP      172.20.0.1     <none>                                                                        443/TCP        24m
test-app                                                  LoadBalancer   172.20.90.40   k8s-default-testapp-038ab69da9-08a89fe0eeadfd48.elb.us-west-2.amazonaws.com   80:30577/TCP   3m50s

$ curl http://k8s-default-testapp-038ab69da9-08a89fe0eeadfd48.elb.us-west-2.amazonaws.com
NOW: 2025-10-06 19:01:55.459707791 +0000 UTC m=+234.997554945
apiVersion: apps/v1
kind: Deployment
metadata:
  name: test-app
  namespace: default
spec:
  replicas: 1
  selector:
    matchLabels:
      app: test-app
  template:
    metadata:
      labels:
        app: test-app
    spec:
      containers:
      - name: test-app
        image: k8s.gcr.io/e2e-test-images/agnhost:2.33
        args:
        - netexec
        - --http-port=8080
        ports:
        - name: http
          containerPort: 8080
---
apiVersion: v1
kind: Service
metadata:
  name: test-app
  namespace: default
  annotations:
    service.beta.kubernetes.io/aws-load-balancer-scheme: internal
spec:
  type: LoadBalancer
  selector:
    app: test-app
  ports:
  - name: http
    port: 80
    protocol: TCP
    targetPort: 8080
  loadBalancerClass: service.k8s.aws/nlb

Special notes for your reviewer:

@dkoshkin dkoshkin force-pushed the dkoshkin/feat-aws-load-balancer-controller branch from 970832c to d8ecab1 Compare October 6, 2025 19:49
@dkoshkin dkoshkin force-pushed the dkoshkin/feat-aws-load-balancer-controller branch from d8ecab1 to 7ecbf46 Compare October 6, 2025 19:54
@github-actions github-actions bot added feature and removed feature labels Oct 6, 2025
@dkoshkin dkoshkin force-pushed the dkoshkin/feat-aws-load-balancer-controller branch from 7ecbf46 to 0976521 Compare October 6, 2025 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant