Skip to content

Commit 809e19e

Browse files
authored
Added Steps for Upgrading Devtron using Kubectl for 0.3.x (#1459)
1 parent 53c01e6 commit 809e19e

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

docs/setup/upgrade/devtron-upgrade-0.3.x-0.3.x.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ If you want to check the current version of Devtron you are using, please use th
66
kubectl -n devtroncd get installers installer-devtron -o jsonpath='{.status.sync.data}' | grep "^LTAG=" | cut -d"=" -f2-
77
```
88

9-
## Follow the below mentioned steps to upgrade the Devtron version
9+
## Follow the below mentioned steps to upgrade the Devtron version using Helm
1010

1111
1. Fetch the latest Devtron helm chart
1212

@@ -25,3 +25,18 @@ DEVTRON_TARGET_VERSION=v0.3.x
2525
```bash
2626
helm upgrade devtron devtron/devtron-operator --namespace devtroncd --set installer.release=$DEVTRON_TARGET_VERSION
2727
```
28+
29+
30+
## Follow the below mentioned steps to upgrade the Devtron version using Kubectl
31+
32+
1. Input the target Devtron version that you want to upgrade to. You can find the latest releases from Devtron on Github https://github.com/devtron-labs/devtron/releases
33+
34+
```bash
35+
DEVTRON_TARGET_VERSION=v0.3.x
36+
```
37+
38+
2. Patch Devtron Installer
39+
40+
```bash
41+
kubectl patch -n devtroncd installer installer-devtron --type='json' -p='[{"op": "add", "path": "/spec/reSync", "value": true },{"op": "replace", "path": "/spec/url", "value": "https://raw.githubusercontent.com/devtron-labs/devtron/$DEVTRON_TARGET_VERSION/manifests/installation-script"}]'
42+
```

0 commit comments

Comments
 (0)