Skip to content

Commit bca2a07

Browse files
ericpaulsenKatie Horne
and
Katie Horne
authored
chore: update air gapped deploy command & values (#764)
* update air gapped deploy command & values * edit text, fix envbox path Co-authored-by: Katie Horne <katie@coder.com>
1 parent b2f8ba9 commit bca2a07

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

setup/air-gapped/index.md

+22-5
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,32 @@ platform images are hosted in Coder's Docker Hub repo.
117117
docker push my-registry.com/coderenvs/coder-service:<version>
118118
```
119119

120+
1. If necessary, create an `offline.values.yaml` file that includes the image
121+
paths for each of the Coder containers and proxy configuration similar to the
122+
following:
123+
124+
```yaml
125+
coderd:
126+
image: my-registry.com/coderenvs/coder-service:<version>
127+
# Coder will use this proxy for all outbound HTTP/HTTPS connections
128+
# such as when checking for updated images in the image registry.
129+
# However, note that images are pulled from the Kubernetes container runtime,
130+
# and may require a different setting.
131+
proxy:
132+
http: http://proxy.internal:8888
133+
exempt: cluster.local
134+
postgres:
135+
default:
136+
image: my-registry.com/coderenvs/timescale:<version>
137+
envbox:
138+
image: my-registry.com/coderenvs/envbox:<version>
139+
```
140+
120141
1. Once all of the resources are in your air-gapped network, run the following
121142
to deploy Coder to your Kubernetes cluster:
122143
123144
```console
124-
kubectl create namespace coder
125-
helm --namespace coder install coder /path/to/coder-X.Y.Z.tgz \
126-
--set postgres.default.image=my-registry.com/coderenvs/coder-service:<version> \
127-
--set timescale.image=my-registry.com/coderenvs/timescale:<version> \
128-
--set envbox.image=my-registry.com/coderenvs/envbox:<version>
145+
helm install coder . --create-namespace --namespace coder --values=offline.values.yaml
129146
```
130147

131148
If you'd like to run this command after navigating _into_ the `coder.tgz`

0 commit comments

Comments
 (0)