Changes for page XWiki (Helm)
Last modified by Itzhak Daniel on 2024/04/29 16:35
From version 14.1
edited by Itzhak Daniel
on 2024/04/29 00:25
on 2024/04/29 00:25
Change comment:
Uploaded new attachment "values.yaml", version 1.1
To version 15.1
edited by Itzhak Daniel
on 2024/04/29 00:38
on 2024/04/29 00:38
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -166,7 +166,7 @@ 166 166 167 167 You can download our example from the attachment area. 168 168 169 -Once you have your custom //values.yaml// file, deploy the app with Helm: 169 +Once you have your custom [[//values.yaml//>>attach:values.yaml]] file, deploy the app with Helm: 170 170 171 171 {{code language="sh" layout="LINENUMBERS" title="# Helm install"}} 172 172 helm install --namespace behemoth-wiki --create-namespace \ ... ... @@ -174,7 +174,39 @@ 174 174 behemoth-xwiki xwiki-helm/xwiki 175 175 {{/code}} 176 176 177 - 177 +=== Upgrading === 178 + 179 +To upgrade XWiki, you should read the content in [[XWiki official Helm pages regarding upgrades>>https://extensions.xwiki.org/xwiki/bin/view/Extension/XWikiHelm/#HUpgrading]]. 180 + 181 +Theoretically, if there aren't any breaking changes or prerequisites, you can run: 182 + 183 +{{code language="sh" layout="LINENUMBERS" title="# Helm upgrade"}} 184 +helm upgrade --namespace behemoth-wiki \ 185 + --values values.yaml \ 186 + behemoth-xwiki xwiki-helm/xwiki 187 + 188 +{{/code}} 189 + 190 +=== Uninstalling === 191 + 192 +To fully remove XWiki, use the following commands: 193 + 194 +{{code language="sh" layout="LINENUMBERS" title="# Uninstalling"}} 195 +helm uninstall --namespace behemoth-wiki behemoth-xwiki 196 +kubectl -n behemoth-wiki delete pvc/data-behemoth-xwiki-mysql-0 197 +kubectl -n behemoth-wiki delete pvc/xwiki-data-behemoth-xwiki-0 198 +kubectl delete -f pv_storage.yaml 199 +kubectl delete namespace behemoth-wiki 200 +{{/code}} 201 + 202 +This will uninstall the chart, delete the PVCs, delete the PVs and lastly, delete the namespace. 203 + 204 +== Links == 205 + 206 +1. [[Github - XWiki - Docker>>https://github.com/xwiki/xwiki-docker/]] 207 +1. [[Docker Hub - XWiki - Official>>https://hub.docker.com/_/xwiki]] 208 +1. [[Docker Hub - Behemoth LTD - Custom XWiki Non-root Image>>https://hub.docker.com/repository/docker/behemothil/xwiki-mysql-tomcat-nonroot/general]] 209 +1. 178 178 ))) 179 179 180 180 (% class="col-xs-12 col-sm-4" %)