Cluster API Provider Meta (CAPM) is a Cluster API infrastructure provider that can be used to create a cluster where different infrastructure providers are used.
NOTE: this provider is currently a proof-of-concept and is not suitable for usage.
These are the recommended steps for engineers to get started when working on the project:
- Ensure Tilt and kind are installed
- Clone the Cluster API Repo. Make sure you use the main branch.
- Clone this repo
- Create a
tilt-settings.yaml
file in the cloned cluster-api repo - Add the following contents (see here for additional settings):
default_registry: gcr.io/yourname
provider_repos:
- ../cluster-api-provider-meta
enable_providers:
- meta
- kubeadm-bootstrap
- kubeadm-control-plane
kustomize_substitutions:
EXP_CLUSTER_RESOURCE_SET: "true"
EXP_MACHINE_POOL: "true"
debug:
meta:
continue: true
port: 30000
profiler_port: 40000
metrics_port: 40001
- Open a terminal in this repo and run:
make kind-cluster
- Wait for the command to complete
- Open a second terminal in the cluster-api repo and run:
tilt up
- Press the Space key and use the Tilt web ui to watch everything start. Everything should turn green.