You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -5,11 +5,11 @@ The Cluster API provider for metal-stack (CAPMS) implements the declarative mana
5
5
> [!CAUTION]
6
6
> This project is currently under heavy development and is not advised to be used in production any time soon.
7
7
> Please use our stack on top of [Gardener](https://docs.metal-stack.io/stable/installation/deployment/#Gardener-with-metal-stack) instead.
8
-
> User documentation will follow as soon. Until then head to our [CONTRIBUTING.md](/CONTRIBUTING.md)
8
+
> User documentation will follow as soon. Until then, head to our [CONTRIBUTING.md](/CONTRIBUTING.md).
9
9
10
-
Currently we provide the following custom resources:
10
+
Currently, we provide the following custom resources:
11
11
12
-
-[`MetalStackCluster`](./api/v1alpha1/metalstackcluster_types.go) can be used as [infrastructure cluster](https://cluster-api.sigs.k8s.io/developer/providers/contracts/infra-cluster) and ensures that the metal-stack network and firewall are being prepared.
12
+
-[`MetalStackCluster`](./api/v1alpha1/metalstackcluster_types.go) can be used as [infrastructure cluster](https://cluster-api.sigs.k8s.io/developer/providers/contracts/infra-cluster) and ensures that there is a control plane IP for the cluster.
13
13
-[`MetalStackMachine`](./api/v1alpha1/metalstackmachine_types.go) bridges between [infrastructure machines](https://cluster-api.sigs.k8s.io/developer/providers/contracts/infra-machine) and metal-stack machines.
14
14
15
15
> [!note]
@@ -20,42 +20,172 @@ Currently we provide the following custom resources:
20
20
21
21
**Prerequisites:**
22
22
23
-
- a running metal-stack installation
24
-
- CRDs for Prometheus
25
-
- CRDs for the Firewall Controller Manager
23
+
- Running metal-stack installation. See our [installation](https://docs.metal-stack.io/stable/installation/deployment/) section on how to get started with metal-stack.
24
+
- Management cluster (with network access to the metal-stack infrastructure).
25
+
- CLI metalctl installed for communicating with the metal-api. Installation instructions can be found in the corresponding [repository](https://github.com/metal-stack/metalctl).
26
+
- CLI clusterctl
26
27
27
-
First add the metal-stack infrastructure provider to your `clusterctl.yaml`:
28
+
First, add the metal-stack infrastructure provider to your `clusterctl.yaml`:
Apply the generated manifest from the `clusterctl` output.
90
+
91
+
```bash
92
+
kubectl apply -f <manifest>
93
+
```
94
+
95
+
Once your control plane and worker machines have been provisioned, you need to install your CNI of choice into your created cluster. This is required due to CAPI. An example is provided below:
96
+
97
+
```bash
98
+
# get the kubeconfig
99
+
clusterctl get kubeconfig metal-test > capms-cluster.kubeconfig
3. You need to install your CNI of choice. This is required due to CAPI.
127
+
Additionally, the `metal-ccm` has to be deployed for the machines to reach `Running` phase. For this use the [template](capi-lab/metal-ccm.yaml) and fill in the required variables.
0 commit comments