Skip to content

Commit 1f040a2

Browse files
badal773Badal Kumar Prusty
andauthored
doc: Update Helm Installation Command (#4429)
* addded helm repo update * modified config.md --------- Co-authored-by: Badal Kumar Prusty <[email protected]>
1 parent accad1b commit 1f040a2

File tree

7 files changed

+64
-13
lines changed

7 files changed

+64
-13
lines changed

config.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,18 +45,18 @@
4545
| ACD_TIMEOUT | 300 | Argocd timeout. |
4646
| ACD_SKIP_VERIFY | true | Skip Argocd verification. |
4747
| GIT_WORKING_DIRECTORY | /tmp/gitops/ | Git working directory. |
48-
| CD_LIMIT_CI_CPU | 0.5 | CI CPU limit for post-build workflow. |
49-
| CD_LIMIT_CI_MEM | 3G | CI memory limit for post-build workflow. |
50-
| CD_REQ_CI_CPU | 0.5 | CI CPU request for post-build workflow. |
51-
| CD_REQ_CI_MEM | 1G | CI memory request for post-build workflow. |
52-
| CD_NODE_TAINTS_KEY | dedicated | CI node taints key. |
53-
| CD_NODE_LABEL_SELECTOR | kubernetes.io/os=linux | CI node label selector. |
54-
| CD_WORKFLOW_SERVICE_ACCOUNT | cd-runner | CI workflow service account. |
55-
| CD_NODE_TAINTS_VALUE | ci | CI node taints value. |
56-
| DEFAULT_CD_ARTIFACT_KEY_LOCATION | devtron/cd-artifacts | Default location for CI artifacts. |
57-
| CD_ARTIFACT_LOCATION_FORMAT | %d/%d.zip | Format for CI artifact locations. |
58-
| DEFAULT_CD_NAMESPACE | devtron-cd | Default namespace for CI. |
59-
| DEFAULT_CD_TIMEOUT | 3600 | Default timeout for CI. |
48+
| CD_LIMIT_CI_CPU | 0.5 | CD CPU limit for post/pre-deploy workflow. |
49+
| CD_LIMIT_CI_MEM | 3G | CD memory limit for post/pre-deploy workflow. |
50+
| CD_REQ_CI_CPU | 0.5 | CD CPU request for post/pre-deploy workflow. |
51+
| CD_REQ_CI_MEM | 1G | CD memory request for post/pre-deploy workflow. |
52+
| CD_NODE_TAINTS_KEY | dedicated | CD node taints key. |
53+
| CD_NODE_LABEL_SELECTOR | kubernetes.io/os=linux | CD node label selector. |
54+
| CD_WORKFLOW_SERVICE_ACCOUNT | cd-runner | CD workflow service account. |
55+
| CD_NODE_TAINTS_VALUE | ci | CD node taints value. |
56+
| DEFAULT_CD_ARTIFACT_KEY_LOCATION | devtron/cd-artifacts | Default location for CD artifacts. |
57+
| CD_ARTIFACT_LOCATION_FORMAT | %d/%d.zip | Format for CD artifact locations. |
58+
| DEFAULT_CD_NAMESPACE | devtron-cd | Default namespace for CD. |
59+
| DEFAULT_CD_TIMEOUT | 3600 | Default timeout for CD. |
6060
| ENABLE_BUILD_CONTEXT | true | Enable build context in Devtron. |
6161
| DEFAULT_CI_IMAGE | quay.io/devtron/ci-runner:d8d774c3-138-16238 | Default image for CI pods. |
6262
| WF_CONTROLLER_INSTANCE_ID | devtron-runner | Workflow controller instance ID. |

docs/setup/install/Install-devtron-on-Minikube-Microk8s-K3s-Kind.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ Before we get started and install Devtron, you must set up the cluster in you se
2828
```bash
2929
helm repo add devtron https://helm.devtron.ai
3030

31+
helm repo update devtron
32+
3133
helm install devtron devtron/devtron-operator \
3234
--create-namespace --namespace devtroncd \
3335
--set components.devtron.service.type=NodePort --set installer.arch=multi-arch
@@ -43,6 +45,8 @@ kubectl apply -f https://raw.githubusercontent.com/rancher/local-path-provisione
4345

4446
helm repo add devtron https://helm.devtron.ai
4547

48+
helm repo update devtron
49+
4650
helm install devtron devtron/devtron-operator \
4751
--create-namespace --namespace devtroncd \
4852
--set components.devtron.service.type=NodePort
@@ -120,6 +124,8 @@ source .bashrc
120124
```bash
121125
helm repo add devtron https://helm.devtron.ai
122126

127+
helm repo update devtron
128+
123129
helm install devtron devtron/devtron-operator \
124130
--create-namespace --namespace devtroncd \
125131
--set components.devtron.service.type=NodePort

docs/setup/install/install-devtron-helm-3.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ Install [Helm3](https://helm.sh/docs/intro/install/).
77
## Installing Devtron using Helm
88

99
1. Add Devtron repository
10-
2. Install Devtron
10+
2. Update Devtron repository
11+
3. Install Devtron
12+
1113

1214
{% tabs %}
1315
{% tab title="Install with default configurations" %}
@@ -16,6 +18,8 @@ This installation will use Minio for storing build logs and cache.
1618
```bash
1719
helm repo add devtron https://helm.devtron.ai
1820

21+
helm repo update devtron
22+
1923
helm install devtron devtron/devtron-operator --create-namespace --namespace devtroncd \
2024
--set installer.modules={cicd}
2125
```
@@ -26,6 +30,7 @@ This installation will use AWS s3 buckets for storing build logs and cache. Refe
2630

2731
```bash
2832
helm repo add devtron https://helm.devtron.ai
33+
helm repo update devtron
2934
helm install devtron devtron/devtron-operator --create-namespace --namespace devtroncd \
3035
--set installer.modules={cicd} \
3136
--set configs.BLOB_STORAGE_PROVIDER=S3 \
@@ -42,6 +47,7 @@ Refer to the `Azure specific` parameters on the [Storage for Logs and Cache](./i
4247

4348
```bash
4449
helm repo add devtron https://helm.devtron.ai
50+
helm repo update devtron
4551
helm install devtron devtron/devtron-operator --create-namespace --namespace devtroncd \
4652
--set installer.modules={cicd} \
4753
--set secrets.AZURE_ACCOUNT_KEY=xxxxxxxxxx \

docs/setup/install/install-devtron-with-cicd-with-gitops.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Run the following command to install the latest version of Devtron with CI/CD al
1515
```bash
1616
helm repo add devtron https://helm.devtron.ai
1717

18+
helm repo update devtron
19+
1820
helm install devtron devtron/devtron-operator \
1921
--create-namespace --namespace devtroncd \
2022
--set installer.modules={cicd} \
@@ -53,6 +55,8 @@ Run the following command to install Devtron along with MinIO for storing logs a
5355
```bash
5456
helm repo add devtron https://helm.devtron.ai
5557

58+
helm repo update devtron
59+
5660
helm install devtron devtron/devtron-operator \
5761
--create-namespace --namespace devtroncd \
5862
--set installer.modules={cicd} \
@@ -76,6 +80,8 @@ Run the following command to install Devtron along with AWS S3 buckets for stori
7680
```bash
7781
helm repo add devtron https://helm.devtron.ai
7882

83+
helm repo update devtron
84+
7985
helm install devtron devtron/devtron-operator \
8086
--create-namespace --namespace devtroncd \
8187
--set installer.modules={cicd} \
@@ -92,6 +98,8 @@ helm install devtron devtron/devtron-operator \
9298
```bash
9399
helm repo add devtron https://helm.devtron.ai
94100

101+
helm repo update devtron
102+
95103
helm install devtron devtron/devtron-operator \
96104
--create-namespace --namespace devtroncd \
97105
--set installer.modules={cicd} \
@@ -110,6 +118,8 @@ helm install devtron devtron/devtron-operator \
110118
```bash
111119
helm repo add devtron https://helm.devtron.ai
112120

121+
helm repo update devtron
122+
113123
helm install devtron devtron/devtron-operator \
114124
--create-namespace --namespace devtroncd \
115125
--set installer.modules={cicd} \
@@ -135,6 +145,8 @@ Run the following command to install Devtron along with Azure Blob Storage for s
135145
```bash
136146
helm repo add devtron https://helm.devtron.ai
137147

148+
helm repo update devtron
149+
138150
helm install devtron devtron/devtron-operator \
139151
--create-namespace --namespace devtroncd \
140152
--set installer.modules={cicd} \
@@ -158,6 +170,8 @@ Run the following command to install Devtron along with Google Cloud Storage for
158170
```bash
159171
helm repo add devtron https://helm.devtron.ai
160172

173+
helm repo update devtron
174+
161175
helm install devtron devtron/devtron-operator \
162176
--create-namespace --namespace devtroncd \
163177
--set installer.modules={cicd} \

docs/setup/install/install-devtron-with-cicd.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ Run the following command to install the latest version of Devtron along with th
3131
```bash
3232
helm repo add devtron https://helm.devtron.ai
3333

34+
helm repo update devtron
35+
3436
helm install devtron devtron/devtron-operator \
3537
--create-namespace --namespace devtroncd \
3638
--set installer.modules={cicd}
@@ -72,6 +74,8 @@ Run the following command to install Devtron along with MinIO for storing logs a
7274
```bash
7375
helm repo add devtron https://helm.devtron.ai
7476

77+
helm repo update devtron
78+
7579
helm install devtron devtron/devtron-operator \
7680
--create-namespace --namespace devtroncd \
7781
--set installer.modules={cicd} \
@@ -94,6 +98,8 @@ Run the following command to install Devtron along with AWS S3 buckets for stori
9498
```bash
9599
helm repo add devtron https://helm.devtron.ai
96100

101+
helm repo update devtron
102+
97103
helm install devtron devtron/devtron-operator \
98104
--create-namespace --namespace devtroncd \
99105
--set installer.modules={cicd} \
@@ -109,6 +115,8 @@ helm install devtron devtron/devtron-operator \
109115
```bash
110116
helm repo add devtron https://helm.devtron.ai
111117

118+
helm repo update devtron
119+
112120
helm install devtron devtron/devtron-operator \
113121
--create-namespace --namespace devtroncd \
114122
--set installer.modules={cicd} \
@@ -126,6 +134,8 @@ helm install devtron devtron/devtron-operator \
126134
```bash
127135
helm repo add devtron https://helm.devtron.ai
128136

137+
helm repo update devtron
138+
129139
helm install devtron devtron/devtron-operator \
130140
--create-namespace --namespace devtroncd \
131141
--set installer.modules={cicd} \
@@ -150,6 +160,8 @@ Run the following command to install Devtron along with Azure Blob Storage for s
150160
```bash
151161
helm repo add devtron https://helm.devtron.ai
152162

163+
helm repo update devtron
164+
153165
helm install devtron devtron/devtron-operator \
154166
--create-namespace --namespace devtroncd \
155167
--set installer.modules={cicd} \
@@ -171,6 +183,8 @@ Run the following command to install Devtron along with Google Cloud Storage for
171183
```bash
172184
helm repo add devtron https://helm.devtron.ai
173185

186+
helm repo update devtron
187+
174188
helm install devtron devtron/devtron-operator \
175189
--create-namespace --namespace devtroncd \
176190
--set installer.modules={cicd} \

docs/setup/install/install-devtron.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ Install [Helm](https://helm.sh/docs/intro/install/) if you have not installed it
1414
helm repo add devtron https://helm.devtron.ai
1515
```
1616

17+
## Update Helm Repo
18+
```bash
19+
helm repo update devtron
20+
```
21+
1722
## Install Helm Dashboard by Devtron
1823

1924
**Note**: This installation command will not install CI/CD integration. For CI/CD, refer [install Devtron with CI/CD](https://docs.devtron.ai/install/install-devtron-with-cicd) section.

docs/setup/install/installation-configuration.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ Use the following command to configure MinIO for storing logs and cache.
137137
helm repo update
138138

139139
helm upgrade devtron devtron/devtron-operator --namespace devtroncd \
140+
--reuse-values \
140141
--set installer.modules={cicd} \
141142
--set minio.enabled=true
142143
```
@@ -153,6 +154,7 @@ Use the following command to configure AWS S3 bucket for storing build logs and
153154
```bash
154155
helm repo update
155156
helm upgrade devtron devtron/devtron-operator --namespace devtroncd \
157+
--reuse-values \
156158
--set installer.modules={cicd} \
157159
--set configs.BLOB_STORAGE_PROVIDER=S3 \
158160
--set configs.DEFAULT_CACHE_BUCKET=demo-s3-bucket \
@@ -167,6 +169,7 @@ helm upgrade devtron devtron/devtron-operator --namespace devtroncd \
167169
helm repo update
168170

169171
helm upgrade devtron devtron/devtron-operator --namespace devtroncd \
172+
--reuse-values \
170173
--set installer.modules={cicd} \
171174
--set configs.BLOB_STORAGE_PROVIDER=S3 \
172175
--set configs.DEFAULT_CACHE_BUCKET=demo-s3-bucket \
@@ -183,6 +186,7 @@ helm upgrade devtron devtron/devtron-operator --namespace devtroncd \
183186
helm repo update
184187

185188
helm upgrade devtron devtron/devtron-operator --namespace devtroncd \
189+
--reuse-values \
186190
--set installer.modules={cicd} \
187191
--set configs.BLOB_STORAGE_PROVIDER=S3 \
188192
--set configs.DEFAULT_CACHE_BUCKET=demo-s3-bucket \
@@ -203,6 +207,7 @@ Refer to the `Azure specific` parameters on the [Storage for Logs and Cache](#az
203207
```bash
204208
helm repo update
205209
helm upgrade devtron devtron/devtron-operator --namespace devtroncd \
210+
--reuse-values \
206211
--set installer.modules={cicd} \
207212
--set secrets.AZURE_ACCOUNT_KEY=xxxxxxxxxx \
208213
--set configs.BLOB_STORAGE_PROVIDER=AZURE \
@@ -221,6 +226,7 @@ Refer to the `Google Cloud specific` parameters on the [Storage for Logs and Cac
221226
helm repo update
222227

223228
helm upgrade devtron devtron/devtron-operator --namespace devtroncd \
229+
--reuse-values \
224230
--set installer.modules={cicd} \
225231
--set configs.BLOB_STORAGE_PROVIDER=GCP \
226232
--set secrets.BLOB_STORAGE_GCP_CREDENTIALS_JSON=eyJ0eXBlIjogInNlcnZpY2VfYWNjb3VudCIsInByb2plY3RfaWQiOiAiPHlvdXItcHJvamVjdC1pZD4iLCJwcml2YXRlX2tleV9pZCI6ICI8eW91ci1wcml2YXRlLWtleS1pZD4iLCJwcml2YXRlX2tleSI6ICI8eW91ci1wcml2YXRlLWtleT4iLCJjbGllbnRfZW1haWwiOiAiPHlvdXItY2xpZW50LWVtYWlsPiIsImNsaWVudF9pZCI6ICI8eW91ci1jbGllbnQtaWQ+IiwiYXV0aF91cmkiOiAiaHR0cHM6Ly9hY2NvdW50cy5nb29nbGUuY29tL28vb2F1dGgyL2F1dGgiLCJ0b2tlbl91cmkiOiAiaHR0cHM6Ly9vYXV0aDIuZ29vZ2xlYXBpcy5jb20vdG9rZW4iLCJhdXRoX3Byb3ZpZGVyX3g1MDlfY2VydF91cmwiOiAiaHR0cHM6Ly93d3cuZ29vZ2xlYXBpcy5jb20vb2F1dGgyL3YxL2NlcnRzIiwiY2xpZW50X3g1MDlfY2VydF91cmwiOiAiPHlvdXItY2xpZW50LWNlcnQtdXJsPiJ9Cg== \

0 commit comments

Comments
 (0)