mirror of
https://github.com/coder/coder.git
synced 2025-07-23 21:32:07 +00:00
chore(docs): AWS EKS load balancer setup steps (#7665)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user