Skip to content

Commit 45c4766

Browse files
committed
wip
1 parent b6e2492 commit 45c4766

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

k8s/production/ingress-nginx/release.yaml

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,12 @@ spec:
4343
# configMapNamespace: ""
4444

4545
nodeSelector:
46-
spack.io/node-pool: beefy
46+
spack.io/node-pool: nginx
47+
48+
tolerations:
49+
- key: "nginx"
50+
operator: "Exists"
51+
effect: "NoSchedule"
4752

4853
resources:
4954
requests:
@@ -54,8 +59,8 @@ spec:
5459
minAvailable: 1
5560

5661
autoscaling:
57-
enabled: true
58-
minReplicas: 2
62+
enabled: false
63+
minReplicas: 1
5964
maxReplicas: 40
6065
targetCPUUtilizationPercentage: 50
6166
targetMemoryUtilizationPercentage: 50
@@ -74,6 +79,19 @@ spec:
7479
# kube-proxy doesn't seem to work right on Windows nodes.
7580
"service.beta.kubernetes.io/aws-load-balancer-target-node-labels": "kubernetes.io/os=linux"
7681

82+
83+
service.beta.kubernetes.io/aws-load-balancer-name: spack-eks-load-balancer
84+
service.beta.kubernetes.io/aws-load-balancer-type: nlb
85+
# Disable client IP preservation - see https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-troubleshooting.html#intermittent-connection-failure
86+
service.beta.kubernetes.io/aws-load-balancer-target-group-attributes: "preserve_client_ip.enabled=false"
87+
service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing
88+
service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip
89+
90+
# service.beta.kubernetes.io/aws-load-balancer-target-node-labels: enable-nginx-ingress=true
91+
# service.beta.kubernetes.io/aws-load-balancer-healthcheck-protocol: http
92+
# service.beta.kubernetes.io/aws-load-balancer-healthcheck-path: /healthz
93+
# service.beta.kubernetes.io/aws-load-balancer-healthcheck-port: 10254
94+
7795
labels: {}
7896

7997
enableHttp: true
@@ -103,7 +121,7 @@ spec:
103121

104122
## Default 404 backend
105123
defaultBackend:
106-
enabled: true
124+
enabled: false
107125
replicaCount: 3
108126
minAvailable: 1
109127
nodeSelector:

0 commit comments

Comments
 (0)