You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
111
+
1. Run the following command to install the chart in your cluster.
116
112
117
-
```yaml
118
-
coder:
119
-
service:
120
-
type: LoadBalancer
121
-
sessionAffinity: None
113
+
```console
114
+
helm install coder coder-v2/coder \
115
+
--namespace coder \
116
+
--values values.yaml
122
117
```
123
118
119
+
You can watch Coder start up by running `kubectl get pods -n coder`. Once Coder has
120
+
started, the `coder-*` pods should enter the `Running` state.
121
+
122
+
1. Log in to Coder
123
+
124
+
Use `kubectl get svc -n coder` to get the IP address of the
125
+
LoadBalancer. Visit this in the browser to set up your first account.
126
+
127
+
If you do not have a domain, you should set `CODER_ACCESS_URL`
128
+
to this URL in the Helm chart and upgrade Coder (see below).
129
+
This allows workspaces to connect to the proper Coder URL.
130
+
131
+
## Upgrading Coder via Helm
132
+
133
+
To upgrade Coder in the future or change values,
134
+
you can run the following command:
135
+
136
+
```console
137
+
helm repo update
138
+
helm upgrade coder coder-v2/coder \
139
+
--namespace coder \
140
+
-f values.yaml
141
+
```
142
+
124
143
## Load balancing considerations
125
144
126
145
### AWS
127
146
128
-
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:
147
+
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.
148
+
149
+
```yaml
150
+
coder:
151
+
service:
152
+
type: LoadBalancer
153
+
sessionAffinity: None
154
+
```
155
+
156
+
AWS recommends a Network load balancer in lieu of the Classic load balancer. Use the following `values.yaml` settings to request a Network load balancer:
129
157
130
158
```yaml
131
159
coder:
@@ -152,26 +180,6 @@ coder:
152
180
value: 10.0.0.1/8 # this will be the CIDR range of your Load Balancer IP address
153
181
```
154
182
155
-
1. Run the following command to install the chart in your cluster.
156
-
157
-
```console
158
-
helm install coder coder-v2/coder \
159
-
--namespace coder \
160
-
--values values.yaml
161
-
```
162
-
163
-
You can watch Coder start up by running `kubectl get pods -n coder`. Once Coder has
164
-
started, the `coder-*` pods should enter the `Running` state.
165
-
166
-
1. Log in to Coder
167
-
168
-
Use `kubectl get svc -n coder` to get the IP address of the
169
-
LoadBalancer. Visit this in the browser to set up your first account.
170
-
171
-
If you do not have a domain, you should set `CODER_ACCESS_URL`
172
-
to this URL in the Helm chart and upgrade Coder (see below).
173
-
This allows workspaces to connect to the proper Coder URL.
174
-
175
183
### Azure
176
184
177
185
In certain enterprise environments, the [Azure Application Gateway](https://learn.microsoft.com/en-us/azure/application-gateway/ingress-controller-overview) was needed. The Application Gateway supports:
> More information on connecting to PostgreSQL databases using certificates can be found [here](https://www.postgresql.org/docs/current/libpq-ssl.html#LIBPQ-SSL-CLIENTCERT).
214
222
215
-
## Upgrading Coder via Helm
216
-
217
-
To upgrade Coder in the future or change values,
218
-
you can run the following command:
219
-
220
-
```console
221
-
helm repo update
222
-
helm upgrade coder coder-v2/coder \
223
-
--namespace coder \
224
-
-f values.yaml
225
-
```
226
-
227
223
## Troubleshooting
228
224
229
225
You can view Coder's logs by getting the pod name from `kubectl get pods` and then running `kubectl logs <pod name>`. You can also
0 commit comments