Skip to content

Latest commit

 

History

History
49 lines (39 loc) · 1.43 KB

README.md

File metadata and controls

49 lines (39 loc) · 1.43 KB

Cluster API Provider Meta (CAPM)

What is Cluster API Provider Meta

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.

Getting started

These are the recommended steps for engineers to get started when working on the project:

  1. Ensure Tilt and kind are installed
  2. Clone the Cluster API Repo. Make sure you use the main branch.
  3. Clone this repo
  4. Create a tilt-settings.yaml file in the cloned cluster-api repo
  5. 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
  1. Open a terminal in this repo and run:
make kind-cluster
  1. Wait for the command to complete
  2. Open a second terminal in the cluster-api repo and run:
tilt up
  1. Press the Space key and use the Tilt web ui to watch everything start. Everything should turn green.