@@ -29,25 +29,15 @@ resources from
29
29
> Both the Big Bang and Ironbank repositories are one release behind the latest
30
30
> version of Coder.
31
31
32
- ## Create the Coder namespace (optional)
32
+ ## Install Coder
33
33
34
- We recommend running Coder in a separate
35
- [ namespace] ( https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ ) ;
36
- to do so, run
34
+ 1 . Create the Coder [ namespace] ( https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/ ) :
37
35
38
36
``` console
39
37
kubectl create namespace coder
40
38
```
41
39
42
- Next, change the kubectl context to point to your newly created namespace:
43
-
44
- ``` console
45
- kubectl config set-context --current --namespace=coder
46
- ```
47
-
48
- ## Install Coder
49
-
50
- 1 . Add the Coder Helm repo
40
+ 1 . Add the Coder Helm repo:
51
41
52
42
``` console
53
43
helm repo add coder https://helm.coder.com
@@ -59,7 +49,7 @@ kubectl config set-context --current --namespace=coder
59
49
60
50
> This step will install Coder with the default configuration. This does not
61
51
> set up dev URLs, TLS, ingress controllers, or an external database. To
62
- > configure these recommended features, please go to step 4 .
52
+ > configure these recommended features, please see the following sections .
63
53
64
54
``` console
65
55
helm install coder coder/coder --namespace coder --version=<VERSION>
@@ -91,13 +81,15 @@ kubectl config set-context --current --namespace=coder
91
81
1 . Create a ` values.yaml ` file to configure Coder:
92
82
93
83
``` console
94
- helm show values coder/coder --version=<VERSION> > values.yaml
84
+ helm show values coder/coder --namespace coder -- version=<VERSION> > values.yaml
95
85
```
96
86
97
87
> View the
98
88
> [ configuration options available in the ` values.yaml ` file.] ( https://github.com/coder/enterprise-helm#values )
99
89
100
- 1 . ** Optional** : change the admin user password by updating ` values.yaml ` as
90
+ ## Set the super admin password
91
+
92
+ ** Optional** : change the admin user password by updating ` values.yaml ` as
101
93
follows:
102
94
103
95
``` yaml
@@ -115,7 +107,9 @@ kubectl config set-context --current --namespace=coder
115
107
key : " password"
116
108
` ` `
117
109
118
- 1. **Optional**: To configure an externally hosted database, set the following
110
+ ## Connect an external database
111
+
112
+ **Optional**: To configure an externally hosted database, set the following
119
113
in ` values.yaml`:
120
114
121
115
> Ensure that you have superuser privileges to your PostgreSQL database.
@@ -151,15 +145,19 @@ kubectl config set-context --current --namespace=coder
151
145
For more detailed configuration instructions,
152
146
[see our PostgreSQL setup guide](../guides/deployments/postgres.md).
153
147
154
- 1. **Optional** : Enable dev URL usage.
148
+ # # Enable dev URLs
149
+
150
+ **Optional**: Enable dev URL usage.
155
151
[You must provide a wildcard domain in the Helm chart](../admin/devurls.md).
156
152
157
153
` ` ` yaml
158
154
coderd:
159
155
devurlsHost: "*.my-custom-domain.io"
160
156
` ` `
161
157
162
- 1. **Optional:** To set up TLS :
158
+ # # Enable TLS
159
+
160
+ **Optional:** To set up TLS:
163
161
164
162
a. You will need to create a TLS secret. To do so, run the following with the
165
163
`.pem` files provided by your certificate :
@@ -180,7 +178,9 @@ kubectl config set-context --current --namespace=coder
180
178
devurlsHostSecretName: <tls-secret>
181
179
` ` `
182
180
183
- 1. **Optional:** If you cannot use a load balancer, you may need an ingress
181
+ # # Set up an ingress controller
182
+
183
+ **Optional:** If you cannot use a load balancer, you may need an ingress
184
184
controller. To configure one with Coder, set the following in `values.yaml` :
185
185
186
186
> We assume that you already have an ingress controller installed in your
@@ -206,11 +206,24 @@ kubectl config set-context --current --namespace=coder
206
206
annotations: {}
207
207
` ` `
208
208
209
- 1. Once you've implemented all of the changes in `values.yaml`, install Coder
210
- with the following command :
209
+ # # Configure a proxy
210
+
211
+ **Optional:** To have Coder initiate outbound connections via a proxy, set
212
+ the following (applicable) values :
213
+
214
+ ` ` ` yaml
215
+ coderd:
216
+ proxy:
217
+ http: ""
218
+ https: ""
219
+ exempt: "cluster.local"
220
+ ` ` `
221
+
222
+ Once you've implemented all of the changes in `values.yaml`, upgrade Coder
223
+ with the following command :
211
224
212
225
` ` ` console
213
- helm install coder coder/coder --namespace coder --version=<VERSION> -f values.yaml
226
+ helm upgrade coder coder/coder --namespace coder --version=<VERSION> -f values.yaml
214
227
` ` `
215
228
216
229
# # Logging
0 commit comments