StarlingX System Configuration Management
7e281afa39
Building on top of the previous commit which added the helm chart for the galera arbitrator, this does essentially three things: 1) Add the galera arbitrator (aka "garbd") helm chart to the stx-openstack application manifests as part of the mariadb chart group. 2) Modify the mariadb system overrides to specify a number of replicas equal to the number of controller nodes. 3) Modify sysinv to remove the garbd helm chart from the mariadb chart group if there is only one controller node (for the AIO-SX use-case). The rationale for this is that galera requires three DB nodes to allow for a quorum if a Kubernetes node goes down. The mariadb replicas use StatefulSets and are therefore pinned to specific Kubernetes nodes which is problematic for the third DB node--if its host node goes down it won't be moved to the remaining Kubernetes node. By running a galera arbitrator as the third DB node, we avoid this problem (because the arbitrator is stateless and can be restarted on the remaining Kubernetes node). The third item was a bit tricky and required testing a few different approaches. Just setting the chart manifests to "disabled" should have worked, but Armada got stuck waiting for resources that didn't exist. Newer Armada supports explicitly setting an empty list of resources to wait for, but that would require an Armada upgrade and would still require a meta-override to specify the wait parameters. Ultimately the path chosen was to add the ability for each helm class in sysinv to specify meta-overrides as well as regular values overrides. This allows them to change non-values portions of the "chart" section of the manifest, as well as the "chartgroup" section or even the main "manifest" section. Change-Id: I1fe66985a4af18d624aa54d45e91db7c121333f5 Story: 2004712 Task: 28743 Task: 29055 Task: 29056 Signed-off-by: Chris Friesen <chris.friesen@windriver.com> |
||
---|---|---|
api-ref/source | ||
config-gate | ||
configutilities | ||
controllerconfig | ||
devstack | ||
doc | ||
kubernetes | ||
playbooks/tox-puppet-lint | ||
puppet-manifests | ||
puppet-modules-wrs | ||
releasenotes | ||
storageconfig | ||
sysinv | ||
tmp/patch-scripts/EXAMPLE_SYSINV/scripts | ||
worker-utils | ||
workerconfig | ||
.gitignore | ||
.gitreview | ||
.yamllint | ||
.zuul.yaml | ||
centos_helm.inc | ||
centos_iso_image.inc | ||
centos_pike_wheels.inc | ||
centos_pkg_dirs | ||
centos_pkg_dirs_containers | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
test-requirements.txt | ||
tox.ini |
stx-config
StarlingX Configuration Management