Skip to content

Commit b6604e8

Browse files
authored
chore(docs): AWS EKS load balancer setup steps (#7665)
1 parent 71c52ea commit b6604e8

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/install/kubernetes.md

+13-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ to log in and manage templates.
112112
> [values.yaml](https://github.com/coder/coder/blob/main/helm/values.yaml)
113113
> file directly.
114114
115-
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.
115+
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.
116116

117117
```yaml
118118
coder:
@@ -121,6 +121,18 @@ to log in and manage templates.
121121
sessionAffinity: None
122122
```
123123
124+
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:
125+
126+
```yaml
127+
coder:
128+
service:
129+
externalTrafficPolicy: Local
130+
sessionAffinity: None
131+
annotations: {
132+
service.beta.kubernetes.io/aws-load-balancer-type: "nlb"
133+
}
134+
```
135+
124136
1. Run the following command to install the chart in your cluster.
125137

126138
```console

0 commit comments

Comments
 (0)