airshipctl/manifests/function/k8scontrol
Pallav Gupta 13c4e82f7e AIAP multinode deployment
It deploys 3 controlplane and 2 worker nodes using AIAP gate.

+ kubectl --context target-cluster get node
NAME     STATUS   ROLES                  AGE   VERSION
node01   Ready    control-plane,master   48m   v1.21.2
node03   Ready    worker                 43s   v1.21.2
node04   Ready    control-plane,master   16m   v1.21.2
node05   Ready    control-plane,master   26m   v1.21.2
node06   Ready    worker                 54s   v1.21.2

Tested with 32 GB node.
https://zuul.opendev.org/t/openstack/build/da1c2c440d3d4026ab454de73ee518e2/logs

Closes: #652
Closes: #228

Change-Id: Ie2267e15ed75b57e2e27f45b9be19ddcf7b0a0a8
2022-03-03 14:10:57 +00:00
..
replacements Nextgen secrets implementation with separation per cluster 2021-09-03 20:46:15 +00:00
cluster.yaml Integrate capi v0.4.2 and capm3 v0.5.0 2021-10-13 13:30:52 -05:00
controlplane.yaml AIAP multinode deployment 2022-03-03 14:10:57 +00:00
kustomization.yaml Move CAPI resources to target-infra namespace 2021-06-03 23:40:00 +00:00
namespace.yaml Move CAPI resources to target-infra namespace 2021-06-03 23:40:00 +00:00
README.md Define structural schema for VersionsCatalogue 2021-02-24 18:00:28 +00:00

Function: k8scontrol

This function defines a KubeADM and Metal3 control plane, including Cluster, Metal3Cluster, KubeadmControlPlane, and Metal3MachineTemplate resources.

Optional: a versions-airshipctl VersionsCatalogue may be used to override the default Kubernetes version and controlplane disk image. A base example for this catalogue can be found in the airshipctl-base-catalogues function. If using the catalogue, apply the replacements/ entrypoint at the site level, as a Kubernetes transformer.

Optional: a networking VariableCatalogue may be used to override some Kubernetes networking configuration. A base example for this catalogue can be found in the airshipctl-base-catalogues function. If using the catalogue, apply the replacements/ entrypoint at the site level, as a Kustomize transformer.