df2fff0acf
K8s control plane is deployed by KubeadmControlPlane controller. This controller creates CAPI machines and infrastructure objects (Metal3Machine). Metal3Machine objects are created based on a template which contins host selector label. Control plane label is assigned to a particular BareMetalHots object defined inside of the shared kustomization. Relates-To: #149 Closes: #221 Change-Id: I3be1750aacf9736ece2944045c036f405e404561
10 lines
338 B
YAML
10 lines
338 B
YAML
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
resources:
|
|
# TODO (dukov) It's recocommended to upload BareMetalHost objects separately
|
|
# otherwise nodes will hang in 'registering' state for quite a long time
|
|
- nodes
|
|
- ../../../../function/k8scontrol
|
|
patchesStrategicMerge:
|
|
- control-machine-template-patch.yaml
|