Skip to content

Commit d67dae7

Browse files
authored
Updated REDME for v1beta1 (#68)
1 parent 4b0bc04 commit d67dae7

File tree

1 file changed

+17
-65
lines changed

1 file changed

+17
-65
lines changed

README.md

Lines changed: 17 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -35,41 +35,7 @@ https://release-1-1.cluster-api.sigs.k8s.io/user/quick-start.html
3535

3636
run
3737
```bash
38-
clusterctl init --infrastructure maas:v0.3.0
39-
```
40-
41-
42-
43-
### v1alph4
44-
create kind cluster
45-
46-
```bash
47-
kind create cluster
48-
```
49-
50-
install clusterctl v1alpha4
51-
https://release-0-4.cluster-api.sigs.k8s.io/user/quick-start.html
52-
53-
run
54-
```bash
55-
clusterctl init --infrastructure maas:v0.2.0
56-
```
57-
58-
59-
### v1alpha3
60-
61-
create kind cluster
62-
63-
```shell
64-
kind create cluster
65-
```
66-
67-
install clusterctl v1alpha3
68-
https://release-0-3.cluster-api.sigs.k8s.io/user/quick-start.html
69-
70-
run
71-
```shell
72-
clusterctl init --infrastructure maas:v0.1.1
38+
clusterctl init --infrastructure maas:v0.4.0
7339
```
7440

7541

@@ -80,7 +46,7 @@ create kind cluster
8046
kind create cluster
8147
```
8248

83-
install clusterctl v3/v4 depending on the version you are working with
49+
install clusterctl v1 depending on the version you are working with
8450

8551
Makefile set IMG=<your docker repo>
8652
run
@@ -96,22 +62,14 @@ make dev-manifests
9662
move
9763
_build/dev/
9864

99-
directory contents to ~/.clusterapi/overrides v0.1.0 or v0.2.0 or v0.3.0 depending on version you are working with
65+
directory contents to ~/.clusterapi/overrides v0.4.0 depending on version you are working with
10066

10167
```text
10268
.
10369
├── clusterctl.yaml
10470
├── overrides
10571
│   ├── infrastructure-maas
106-
│   ├── v0.1.1
107-
│   │   ├── cluster-template.yaml
108-
│   │   ├── infrastructure-components.yaml
109-
│   │   └── metadata.yaml
110-
│   ├── v0.2.0
111-
│   │   ├── cluster-template.yaml
112-
│   │   ├── infrastructure-components.yaml
113-
│   │   └── metadata.yaml
114-
│   └── v0.3.0
72+
│   └── v0.4.0
11573
│   ├── cluster-template.yaml
11674
│   ├── infrastructure-components.yaml
11775
│   └── metadata.yaml
@@ -122,30 +80,24 @@ directory contents to ~/.clusterapi/overrides v0.1.0 or v0.2.0 or v0.3.0 dependi
12280

12381
run
12482
```shell
125-
clusterctl init --infrastructure maas:v0.1.1
126-
or
127-
clusterctl init --infrastructure maas:v0.2.0
128-
or
129-
clusterctl init --infrastructure maas:v0.3.0
83+
clusterctl init --infrastructure maas:v0.4.0
13084
```
13185

13286

133-
## install CRDs
134-
135-
### v1alpha3 v0.1.1 release
136-
run example from for v1alpha3 or v0.1.0 release
137-
```shell
138-
kubectl apply -f examples/sample-with-workerpool.yaml
139-
```
87+
## install CRDs
14088

141-
### v1alpah4 v0.2.0 release
89+
### v1beta1 v0.4.0 release
14290
generate cluster using
14391
```shell
144-
clusterctl generate cluster t-cluster --infrastructure=maas:v0.2.0
92+
clusterctl generate cluster t-cluster --infrastructure=maas:v0.4.0 | kubectl apply -f -
14593
```
146-
147-
### v1beta1 v0.3.0 release
148-
generate cluster using
149-
```shell
150-
clusterctl generate cluster t-cluster --infrastructure=maas:v0.3.0
94+
or
95+
```
96+
clusterctl generate cluster t-cluster --infrastructure=maas:v0.4.0 --kubernetes-version v1.24.3 > my_cluster.yaml
97+
kubectl apply -f my_cluster.yaml
98+
```
99+
or
151100
```
101+
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
102+
kubectl apply -f my_cluster.yaml
103+
```

0 commit comments

Comments
 (0)