From 40d78b783d50fb19e931ccead4e741d1e6327ebe Mon Sep 17 00:00:00 2001 From: Maarten de Waard <maarten@greenhost.nl> Date: Tue, 20 Apr 2021 15:52:23 +0200 Subject: [PATCH] change instructions to create template and use template created with those instructions --- .gitlab/ci_scripts/create_vps.sh | 2 +- CONTRIBUTING.md | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitlab/ci_scripts/create_vps.sh b/.gitlab/ci_scripts/create_vps.sh index 123755568..7a2bd7422 100644 --- a/.gitlab/ci_scripts/create_vps.sh +++ b/.gitlab/ci_scripts/create_vps.sh @@ -17,5 +17,5 @@ python3 -m openappstack $HOSTNAME create \ --ssh-key-id $SSH_KEY_ID \ --create-domain-records \ --subdomain $SUBDOMAIN \ - --disk-image-id '-7121' \ + --disk-image-id '-7351' \ --truncate-subdomain diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index b22e60dca..6f2300da9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -80,6 +80,14 @@ use it. This is a manual process for now. Follow these steps: ``` $ python3 -m openappstack <cluster> install --install-kubernetes --no-install-openappstack ``` +3. Log into your machine and delete the coredns and metrics-server deployments, + then delete the cluster data: + ``` + # Clean up running containers and firewall + /usr/local/bin/k3s-killall.sh + # Remove k3s state + rm -rf /var/lib/rancher/k3s + ``` 3. Log into Cosmos with the OpenAppStack account 4. Go to VPS Cloud -> VPS and shut down your VPS 5. Go to VPS Cloud -> Disk Images and click edit for your VPSs disk image -- GitLab