Skip to content

Commit 056b910

Browse files
author
Mercurio
committed
Improve docs in kind and Add suffix for serveral files
1 parent 82ae93a commit 056b910

File tree

3 files changed

+32
-18
lines changed

3 files changed

+32
-18
lines changed
File renamed without changes.

kind/readme.MD

+26-14
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
1-
### create host cluster
2-
./create_cluster.sh
3-
### generate cluster specs
4-
cd cluster-api
5-
./generate_workload_cluster.sh
6-
kubectl apply -f capi-quickstart.yaml
7-
### check
8-
docker ps|grep control-plane
9-
b107b11771e5 kindest/haproxy:v20210715-a6da3463 "haproxy -sf 7 -W -d…" 4 minutes ago Up 4 minutes 40295/tcp, 0.0.0.0:40295->6443/tcp capi-quickstart-lb
10-
clusterctl get kubeconfig capi-quickstart > capi-quickstart.kubeconfig
11-
k get no --kubeconfig capi-quickstart.kubeconfig --server https://127.0.0.1:40295
12-
NAME STATUS ROLES AGE VERSION
13-
capi-quickstart-control-plane-6slwd NotReady control-plane,master 4m19s v1.22.0
14-
capi-quickstart-md-0-765cf784c5-6klwr NotReady <none> 3m41s v1.22.0
1+
### Create host cluster
2+
3+
```shell
4+
$ ./create_cluster.sh
5+
```
6+
7+
### Generate cluster specs
8+
9+
```shell
10+
$ cd cluster-api
11+
$ ./generate_workload_cluster.sh
12+
$ kubectl apply -f capi-quickstart.yaml
13+
```
14+
15+
### Check
16+
17+
```shell
18+
$ docker ps|grep control-plane
19+
b107b11771e5 kindest/haproxy:v20210715-a6da3463 "haproxy -sf 7 -W -d…" 4 minutes ago Up 4 minutes 40295/tcp, 0.0.0.0:40295->6443/tcp capi-quickstart-lb
20+
21+
$ clusterctl get kubeconfig capi-quickstart > capi-quickstart.kubeconfig
22+
$ k get no --kubeconfig capi-quickstart.kubeconfig --server https://127.0.0.1:40295
23+
NAME STATUS ROLES AGE VERSION
24+
capi-quickstart-control-plane-6slwd NotReady control-plane,master 4m19s v1.22.0
25+
capi-quickstart-md-0-765cf784c5-6klwr NotReady <none> 3m41s v1.22.0
26+
```
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1-
discover
2-
pkg/daemon/discover/discover.go
1+
# Discover
2+
3+
`pkg/daemon/discover/discover.go`
4+
5+
```shell
36
## discover device
47
$ lsblk --all --noheadings --list --output KNAME
58
$ lsblk /dev/vdd --bytes --nodeps --pairs --paths --output SIZE,ROTA,RO,TYPE,PKNAME,NAME,KNAME
@@ -9,5 +12,4 @@ $ lsblk --noheadings --pairs /dev/vdd
912
$ ceph-volume inventory --format json
1013
if device has ceph inv, device.CephVolumeData = CVData
1114
## put device info into configmap per node
12-
13-
15+
```

0 commit comments

Comments
 (0)