Upgrade oas.gh to flux2
Todo
-
Lower the DNS TTL of oas.greenhost.net
and*.oas.greenhost.net
to ~5mins -
Create new VM ( 213.108.108.57
) -
Shutdown nextcloud deployment (make sure the mariadb pod is not running) -
Backup PVCs to new VM:
-
oas-apps_nextcloud-files
-
oas-apps_nextcloud-mariadb
-
oas_single-sign-on-userbackend
-
-
Switch DNS to new VM (@maarten) -
Deploy OAS to new VM
python3 -m openappstack oas.greenhost.net install --install-kubernetes --no-install-openappstack
export CLUSTER_DIR=clusters/oas.greenhost.net
export KUBECONFIG=/home/varac/projects/work/greenhost/openappstack/clusters/oas.greenhost.net/secrets/kube_config_cluster.yml
cp install/kustomization.yaml ${CLUSTER_DIR}
kubectl apply -k ${CLUSTER_DIR}
install/install-openappstack.sh
install/install-nextcloud.sh
-
Shutdown nextcloud and single-sign-on deployment (make sure the mariadb pod is not running) - Restore PVCs in new VM:
-
oas-apps_nextcloud-files
2,6G -
oas-apps_nextcloud-mariadb
195M -
oas_single-sign-on-userbackend
79M
-
-
Increase the DNS TTL of oas.greenhost.net
and*.oas.greenhost.net
to 1h again (@maarten) -
Shutdown old VM ( 213.108.105.219
)
Later
-
Remove old VM
Edited by Varac