mirror of
https://gitlab.opencode.de/bmi/opendesk/deployment/opendesk.git
synced 2025-12-06 07:21:36 +01:00
3.8 KiB
3.8 KiB
Upgrade migrations
Disclaimer
We do not offer support for upgrades before we reach openDesk 1.0.
Though we try to ease the pain when it comes to 0.x upgrades. That is what this document is for.
Limitations:
- We assume that the PV reclaim policy is set to
delete, so expect that PVs get deleted as soon as the related PVC was deleted and will cover an explicit delete for PVs.
From v0.9.0
Automated migrations
Updated IAM component Nubus
openDesk is integrating the latest Nubus development from Univention. The new redundant and scalable LDAP requires migration activities. These have been automated to avoid manual interaction. The run_2 of the openDesk
upgrade migrations executes the following steps
- Stage PRE:
- Delete service
ums-keycloak, as it will be recreated headless. - Scale down
statefulset/ums-ldap-serverandstatefulset/ums-ldap-notifierin preparation or the next step: - Create two new PVCs
shared-data-ums-ldap-server-primary-0andshared-data-ums-ldap-server-primary-1for the new LDAP primary pods as copy from the existingshared-data-ums-ldap-server-0. The LDAP secondaries will sync from the primary nodes.
- Delete service
- Stage POST:
- Restart Keycloak.
Manual cleanup
Currently we do not execute possible cleanup steps as part of the migrations POST stage. So you might want to remove the no longer used PVCs after successful upgrade:
NAMESPACE=<your_namespace>
kubectl -n ${NAMESPACE} delete pvc shared-data-ums-ldap-server-0
kubectl -n ${NAMESPACE} delete pvc shared-run-ums-ldap-server-0
From v0.8.1
Updated cluster.networking.cidr
- Action:
cluster.networking.cidris now an array (was a string until 0.8.1), please update your setup accordingly if you explicitly set this value. - Reference:cluster.yaml
Updated customizable template attributes
- Action: Please ensure you update you custom deployment values according with the updated default value structure.
- References:
functional.prefix forauthentication.*,externalServices.*,admin.*andfilestore.*, see functional.yaml.debug.prefix forcleanup.*, see debug.yaml.monitoring.prefix forprometheus.*andgraphana.*, see monitoring.yaml.smtp.prefix forlocalpartNoReply, see smtp.yaml.
migrations S3 bucket
- Action: For self managed/external S3/object storages, please ensure you add a bucket
migrationsto your S3. - Reference:
objectstores.migrationsin objectstores.yaml