Cluster API Provider for Canonical Metal-As-A-Service maas.io
You're welcome to join the upcoming webinar for capmaas!
Spectro Cloud public images
Refer image-generation/
- Create kind cluster
kind create cluster
-
Install clusterctl v1beta1 https://release-1-1.cluster-api.sigs.k8s.io/user/quick-start.html
-
Run
clusterctl init --infrastructure maas:v0.4.0
- Create kind cluster
kind create cluster
-
Install clusterctl v1 depending on the version you are working with
-
Makefile set IMG=
-
Run
make docker-build && make docker-push
- Generate dev manifests
make dev-manifests
- Move _build/dev/ directory contents to ~/.clusterapi/overrides v0.4.0 depending on version you are working with
.
├── clusterctl.yaml
├── overrides
│ ├── infrastructure-maas
│ └── v0.4.0
│ ├── cluster-template.yaml
│ ├── infrastructure-components.yaml
│ └── metadata.yaml
└── version.yaml
- Run
clusterctl init --infrastructure maas:v0.4.0
- Generate cluster using
clusterctl generate cluster t-cluster --infrastructure=maas:v0.4.0 | kubectl apply -f -
or
clusterctl generate cluster t-cluster --infrastructure=maas:v0.4.0 --kubernetes-version v1.24.3 > my_cluster.yaml
kubectl apply -f my_cluster.yaml
or
clusterctl generate cluster t-cluster --infrastructure=maas:v0.4.0 --kubernetes-version v1.24.3 --control-plane-machine-count=1 --worker-machine-count=3 > my_cluster.yaml
kubectl apply -f my_cluster.yaml