From 5c98191bbcf53c051fabe874a2b1655a8c06740a Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Fri, 13 Aug 2021 18:23:35 +0200 Subject: [PATCH] [opennebula] ++notes --- apps/opennebula/README.md | 9 +++++++++ apps/opennebula/templates/deployment.yaml | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/apps/opennebula/README.md b/apps/opennebula/README.md index fc0ea3c..0201b54 100644 --- a/apps/opennebula/README.md +++ b/apps/opennebula/README.md @@ -14,6 +14,15 @@ Storage: - mysql pvc (prod: 65G!) +DB upgrade to be run when upgrading opennebula: + +``` +sh-4.4# onedb upgrade -S 127.0.0.1 -P 3306 -u root -d opennebula +``` + +## Tests / Migration + + ## Containers done ### Scheduler diff --git a/apps/opennebula/templates/deployment.yaml b/apps/opennebula/templates/deployment.yaml index 8285312..834d083 100644 --- a/apps/opennebula/templates/deployment.yaml +++ b/apps/opennebula/templates/deployment.yaml @@ -90,7 +90,7 @@ spec: command: - "/bin/sh" - "-c" - - "cp /tmp/one/oned.conf /etc/one/ && mkdir -p /run/lock/one && sleep 15; oned -f" + - "cp /tmp/one/oned.conf /etc/one/ && mkdir -p /run/lock/one && sleep 15; oned -f; sleep 86400" - name: sunstone image: "opennebula/opennebula:{{ .Chart.AppVersion }}" ports: