chore(docs): AWS EKS load balancer setup steps (#7665)

This commit is contained in:
sharkymark
2023-05-24 10:19:45 -05:00
committed by GitHub
parent 71c52ea93c
commit b6604e8845

View File

@ -112,7 +112,7 @@ to log in and manage templates.
> [values.yaml](https://github.com/coder/coder/blob/main/helm/values.yaml)
> file directly.
If you are deploying Coder on AWS EKS and service is set to LoadBalancer, the load balancer external IP will be stuck in a pending status unless sessionAffinity is set to None.
If you are deploying Coder on AWS EKS and service is set to `LoadBalancer`, AWS will default to the Classic load balancer. The load balancer external IP will be stuck in a pending status unless sessionAffinity is set to None.
```yaml
coder:
@ -121,6 +121,18 @@ to log in and manage templates.
sessionAffinity: None
```
AWS however recommends a Network load balancer in lieu of the Classic load balancer. Use the following `values.yaml` settings to request a Network load balancer:
```yaml
coder:
service:
externalTrafficPolicy: Local
sessionAffinity: None
annotations: {
service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
}
```
1. Run the following command to install the chart in your cluster.
```console