Skip to content

Commit b38a81b

Browse files
committed
docs: update cluster-api deployment section
- Old section didn't work anymore - replace it with a link to the quick start guide - Suggest/note that we assume the user will use kind and clusterctl init, which will install cert-manager automatically. - Update Condition status example to match what a kubectl describe currently shows Signed-off-by: cprivitere <23177737+cprivitere@users.noreply.github.com>
1 parent 2343838 commit b38a81b

File tree

1 file changed

+6
-23
lines changed

1 file changed

+6
-23
lines changed

docs/book/src/developer/providers/getting-started/building-running-and-testing.md

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,12 @@ make docker-push IMG=ghcr.io/your-org/your-repo:dev
1010

1111
## Deployment
1212

13-
### cert-manager
14-
15-
Cluster API uses [cert-manager] to manage the certificates it needs for its webhooks.
16-
Before you apply Cluster API's yaml, you should [install `cert-manager`][cm-install]
17-
18-
[cert-manager]: https://github.com/cert-manager/cert-manager
19-
[cm-install]: https://cert-manager.io/docs/installation/
20-
21-
```bash
22-
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/<version>/cert-manager.yaml
23-
```
24-
2513
### Cluster API
2614

2715
Before you can deploy the infrastructure controller, you'll need to deploy Cluster API itself to the management cluster.
2816

29-
You can use a precompiled manifest from the [release page][releases], run `clusterctl init`, or clone [`cluster-api`][capi] and apply its manifests using `kustomize`:
17+
Follow the [quick start guide](https://cluster-api.sigs.k8s.io/user/quick-start) up to and including the step of [creating the management cluster](https://cluster-api.sigs.k8s.io/user/quick-start#initialize-the-management-cluster). We will proceed presuming you created a cluster with kind and initalized cluster-api with `clusterctl init`.
3018

31-
```bash
32-
cd cluster-api
33-
make envsubst
34-
kustomize build config/default | ./hack/tools/bin/envsubst | kubectl apply -f -
35-
```
3619

3720
Check the status of the manager to make sure it's running properly:
3821

@@ -41,11 +24,11 @@ kubectl describe -n capi-system pod | grep -A 5 Conditions
4124
```
4225
```bash
4326
Conditions:
44-
Type Status
45-
Initialized True
46-
Ready True
47-
ContainersReady True
48-
PodScheduled True
27+
Type Status
28+
PodReadyToStartContainers True
29+
Initialized True
30+
Ready True
31+
ContainersReady True
4932
```
5033

5134
[capi]: https://github.com/kubernetes-sigs/cluster-api

0 commit comments

Comments
 (0)