Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
fix: trying to use an NLB again
Browse files Browse the repository at this point in the history
  • Loading branch information
Smana committed Sep 10, 2023
1 parent 484763f commit 077a7e8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ spec:
retries: 3
values:
clusterName: ${cluster_name}
# Mandatory in order to be able to use Classic LB
# https://github.com/cilium/cilium/issues/27493
enableServiceMutatorWebhook: false
serviceAccount:
# Has to match the policy created using terraform (IRSA)
name: load-balancer-controller
Expand Down
2 changes: 2 additions & 0 deletions security/mycluster-0/echo-gw-clusterpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ spec:
external-dns.alpha.kubernetes.io/hostname: echo.${domain_name}
service.beta.kubernetes.io/aws-load-balancer-scheme: "internet-facing"
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
spec:
loadBalancerClass: service.k8s.aws/nlb
2 changes: 2 additions & 0 deletions security/mycluster-0/echo-tls-gw-clusterpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ spec:
external-dns.alpha.kubernetes.io/hostname: tls-echo-1.${domain_name}
service.beta.kubernetes.io/aws-load-balancer-scheme: "internet-facing"
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
spec:
loadBalancerClass: service.k8s.aws/nlb
2 changes: 2 additions & 0 deletions security/mycluster-0/platform-gw-clusterpolicy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,5 @@ spec:
external-dns.alpha.kubernetes.io/hostname: gitops-${cluster_name}.${domain_name},grafana-${cluster_name}.${domain_name}
service.beta.kubernetes.io/aws-load-balancer-scheme: "internet-facing"
service.beta.kubernetes.io/aws-load-balancer-backend-protocol: tcp
spec:
loadBalancerClass: service.k8s.aws/nlb

0 comments on commit 077a7e8

Please sign in to comment.