Skip to content
Snippets Groups Projects
Verified Commit 5f1f105d authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

update template creation instructions, use template created from them

parent 2ee35097
No related branches found
No related tags found
No related merge requests found
......@@ -17,5 +17,5 @@ python3 -m openappstack $HOSTNAME create \
--ssh-key-id $SSH_KEY_ID \
--create-domain-records \
--subdomain $SUBDOMAIN \
--disk-image-id '-7351' \
--disk-image-id '-7473' \
--truncate-subdomain
......@@ -8,7 +8,8 @@ for details.
## Preparing the development environment
Make sure you have development dependencies installed in your development environment.
Make sure you have development dependencies installed in your development
environment.
```
pip install -r requirements-dev.txt
......@@ -80,8 +81,8 @@ 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:
3. Log into your machine and clean up the k3s server, then delete the cluster
data:
```
# Clean up running containers and firewall
/usr/local/bin/k3s-killall.sh
......@@ -94,8 +95,10 @@ use it. This is a manual process for now. Follow these steps:
1. Change the Disk Label to something like `k3s-template`
2. Set VPS to `-- not assigned --`
3. Click 'make template'
4. Remember the disk image ID that you can see in the current URL as `id=...`
5. Click save
4. Choose "Linux Latest LTS" as the kernel
5. Choose OS type Debian 10
6. Remember the disk image ID that you can see in the current URL as `id=...`
7. Click save
6. Change the `--disk-image-id` argument in `.gitlab/ci_scripts/create_vps.sh`
to your current disk-image-id **with a minus in front of it**. This is
because custom images are negative integers, whereas Greenhost's disk images
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment