From d86d9d6ca68361fd3482174360b1404169c00359 Mon Sep 17 00:00:00 2001
From: Varac <varac@varac.net>
Date: Fri, 10 Apr 2020 10:08:58 +0200
Subject: [PATCH] Add instructions how to change IP of cluster

---
 .gitlab/issue_templates/new_app.md | 4 ++++
 docs/maintenance.md                | 9 +++++++++
 2 files changed, 13 insertions(+)

diff --git a/.gitlab/issue_templates/new_app.md b/.gitlab/issue_templates/new_app.md
index 935eaa7c8..44d1c1611 100644
--- a/.gitlab/issue_templates/new_app.md
+++ b/.gitlab/issue_templates/new_app.md
@@ -11,6 +11,10 @@
 * [ ] Add app to `docs/installation_instructions.md`
 * [ ] Add app to `docs/testing_instructions.md`
 
+## Etc
+
+* [ ] Add should use a PV `existingClaim`
+
 ## Tests
 
 * [ ] Add behave feature (`tests/behave/feature`)
diff --git a/docs/maintenance.md b/docs/maintenance.md
index 2816e2782..f8299aa6b 100644
--- a/docs/maintenance.md
+++ b/docs/maintenance.md
@@ -106,3 +106,12 @@ backup the whole `/var/lib/OpenAppStack/` directory.
 
 Restore instructions will follow, please [reach out to us](https://openappstack.net/contact.html)
 if you need assistance.
+
+
+## Change the IP of your cluster
+
+* `rke etcd snapshot-save --config /var/lib/OpenAppStack/rke/cluster.yml --name test`
+* Change IP in `/var/lib/OpenAppStack/rke/cluster.yml`
+* `/usr/local/bin/rke up --config=/var/lib/OpenAppStack/rke/cluster.yml`
+* `rke etcd snapshot-restore --config /var/lib/OpenAppStack/rke/cluster.yml --name test`
+* `/usr/local/bin/rke up --config=/var/lib/OpenAppStack/rke/cluster.yml`
-- 
GitLab