-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #176 from johannesfrey/document-v3-v4-platform-upg…
…rade Document how to upgrade from v3 to v4 regarding project prefix
- Loading branch information
Showing
3 changed files
with
62 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import Tabs from "@theme/Tabs"; | ||
import TabItem from "@theme/TabItem"; | ||
|
||
Upgrade vCluster Platform from v3 to v4 via: | ||
|
||
<Tabs | ||
defaultValue="cli" | ||
values={[ | ||
{ label: 'CLI', value: 'cli', }, | ||
{ label: 'helm', value: 'helm', }, | ||
] | ||
}> | ||
<TabItem value="cli"> | ||
|
||
To upgrade vCluster Platform from v3 to v4 via vCluster CLI, run: | ||
|
||
|
||
```bash | ||
# First set the project namespace prefix to use the v3 format | ||
cat > /tmp/vcluster-platform.yaml <<EOF | ||
config: | ||
projectNamespacePrefix: loft-p- | ||
EOF | ||
|
||
vcluster platform start --upgrade --version=$VERSION --values=/tmp/vcluster-platform.yaml | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="helm"> | ||
|
||
To upgrade vCluster Platform from v3 to v4 via `helm`, run: | ||
|
||
```bash | ||
# First set the project namespace prefix to use the v3 format | ||
cat > /tmp/vcluster-platform.yaml <<EOF | ||
config: | ||
projectNamespacePrefix: loft-p- | ||
EOF | ||
|
||
helm upgrade loft vcluster-platform -n vcluster-platform --repository-config '' --repo https://charts.loft.sh \ | ||
--version $VERSION \ | ||
--reuse-values \ | ||
-f /tmp/vcluster-platform.yaml | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters