Skip to content

Commit

Permalink
chore(docs): AWS EKS load balancer setup steps (#7665)
Browse files Browse the repository at this point in the history
  • Loading branch information
sharkymark committed May 24, 2023
1 parent 71c52ea commit b6604e8
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/install/kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit b6604e8

Please sign in to comment.