Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5412a0c

Browse files
committed
values.yaml step and small edits
1 parent735e221 commit5412a0c

File tree

1 file changed

+78
-6
lines changed

1 file changed

+78
-6
lines changed

‎docs/install/rancher.md

Lines changed: 78 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ You can deploy Coder on Rancher as a
6161
postgres://coder:coder@coder-db-postgresql.coder.svc.cluster.local:5432/coder?sslmode=disable
6262
```
6363

64-
You can optionally use the
64+
Optionally, you can use the
6565
[Postgres operator](https://github.com/zalando/postgres-operator) to manage
6666
PostgreSQL deployments on your Kubernetes cluster.
6767

@@ -79,21 +79,93 @@ You can deploy Coder on Rancher as a
7979

8080
1. Select the target workload K8s cluster for Coder in the Rancher Manager console and access the Kubectl shell.
8181

82-
1. From the Cluster Manager console, go to**Apps** >**Charts** and select**Partners**.
82+
1. From the**Cluster Manager** console, go to**Apps** >**Charts**
8383

84-
1.FromtheChart providers,search for Coder.
84+
1.Select**Partners** fromthedrop-down menu andsearch for`Coder`.
8585

8686
1. Select**Coder**, then**Install**.
8787

8888
1. Select the target namespace you created for Coder and select**Customize Helm options before install**, then**Next**.
8989

90-
1. Configure Values used by Helm that help define the Coder App. Review step 4 from the standard Kubernetes installation for suggested values, then Next.
90+
1. Configure Values used by Helm that help define the Coder App.
91+
92+
Select**Edit YAML** and enter configuration settings for your deployment.
93+
94+
<details><summary>Expand for an example `values.yaml`</summary>
95+
96+
<!-- from kubernetes.md-->
97+
98+
```yaml
99+
coder:
100+
# You can specify any environment variables you'd like to pass to Coder
101+
# here. Coder consumes environment variables listed in
102+
# `coder server --help`, and these environment variables are also passed
103+
# to the workspace provisioner (so you can consume them in your Terraform
104+
# templates for auth keys etc.).
105+
#
106+
# Please keep in mind that you should not set `CODER_HTTP_ADDRESS`,
107+
# `CODER_TLS_ENABLE`, `CODER_TLS_CERT_FILE` or `CODER_TLS_KEY_FILE` as
108+
# they are already set by the Helm chart and will cause conflicts.
109+
env:
110+
-name:CODER_PG_CONNECTION_URL
111+
valueFrom:
112+
secretKeyRef:
113+
# You'll need to create a secret called coder-db-url with your
114+
# Postgres connection URL like:
115+
# postgres://coder:password@postgres:5432/coder?sslmode=disable
116+
name:coder-db-url
117+
key:url
118+
119+
# (Optional) For production deployments the access URL should be set.
120+
# If you're just trying Coder, access the dashboard via the service IP.
121+
# - name: CODER_ACCESS_URL
122+
# value: "https://coder.example.com"
123+
124+
#tls:
125+
# secretNames:
126+
# - my-tls-secret-name
127+
```
128+
129+
>You can view our
130+
>[Helm README](https://github.com/coder/coder/blob/main/helm#readme) for
131+
>details on the values that are available, or you can view the
132+
>[values.yaml](https://github.com/coder/coder/blob/main/helm/coder/values.yaml)
133+
>file directly.
134+
135+
We support two release channels: mainline and stable - read the
136+
[Releases](./releases.md) page to learn more about which best suits your team.
137+
138+
-**Mainline** Coder release:
139+
140+
<!-- autoversion(mainline): "--version [version]"-->
141+
142+
```shell
143+
helm install coder coder-v2/coder \
144+
--namespace coder \
145+
--values values.yaml \
146+
--version 2.19.0
147+
```
148+
149+
-**Stable** Coder release:
150+
151+
<!-- autoversion(stable):"--version [version]" -->
152+
153+
```shell
154+
helm install coder coder-v2/coder \
155+
--namespace coder \
156+
--values values.yaml \
157+
--version 2.18.5
158+
```
159+
160+
</details>
161+
162+
Select**Next** when you're done.
91163
92-
1.Accept thedefaults onthelast pane and select Install.
164+
1.On the**Supply additional deployment options** screen, acceptthedefault settings, then select**Install**.
93165
94166
A Helm install output shell will be displayed and should indicate success when completed.
95167
96-
1. Toupdate a Coder deployment, select Coder fromtheInstalled Apps andupdate as desired.
168+
In the future, if you need toupdate a Coder deployment, select Coder from**Installed Apps** anduse the options in the **⋮** menu.
97169
98170
## Next steps
99171

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp