Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mvandenburgh committed Nov 8, 2024
1 parent b6e2492 commit 45c4766
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions k8s/production/ingress-nginx/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,12 @@ spec:
# configMapNamespace: ""

nodeSelector:
spack.io/node-pool: beefy
spack.io/node-pool: nginx

tolerations:
- key: "nginx"
operator: "Exists"
effect: "NoSchedule"

resources:
requests:
Expand All @@ -54,8 +59,8 @@ spec:
minAvailable: 1

autoscaling:
enabled: true
minReplicas: 2
enabled: false
minReplicas: 1
maxReplicas: 40
targetCPUUtilizationPercentage: 50
targetMemoryUtilizationPercentage: 50
Expand All @@ -74,6 +79,19 @@ spec:
# kube-proxy doesn't seem to work right on Windows nodes.
"service.beta.kubernetes.io/aws-load-balancer-target-node-labels": "kubernetes.io/os=linux"


service.beta.kubernetes.io/aws-load-balancer-name: spack-eks-load-balancer
service.beta.kubernetes.io/aws-load-balancer-type: nlb
# Disable client IP preservation - see https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-troubleshooting.html#intermittent-connection-failure
service.beta.kubernetes.io/aws-load-balancer-target-group-attributes: "preserve_client_ip.enabled=false"
service.beta.kubernetes.io/aws-load-balancer-scheme: internet-facing
service.beta.kubernetes.io/aws-load-balancer-nlb-target-type: ip

# service.beta.kubernetes.io/aws-load-balancer-target-node-labels: enable-nginx-ingress=true
# service.beta.kubernetes.io/aws-load-balancer-healthcheck-protocol: http
# service.beta.kubernetes.io/aws-load-balancer-healthcheck-path: /healthz
# service.beta.kubernetes.io/aws-load-balancer-healthcheck-port: 10254

labels: {}

enableHttp: true
Expand Down Expand Up @@ -103,7 +121,7 @@ spec:

## Default 404 backend
defaultBackend:
enabled: true
enabled: false
replicaCount: 3
minAvailable: 1
nodeSelector:
Expand Down

0 comments on commit 45c4766

Please sign in to comment.