Skip to content

Commit

Permalink
[docs] Fixes in docs (#47)
Browse files Browse the repository at this point in the history
Signed-off-by: v.oleynikov <vasily.oleynikov@flant.com>
  • Loading branch information
duckhawk authored Jun 26, 2024
1 parent 0cbdd30 commit 5c53a9c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ EOF
- Wait for it to become `Ready`. At this stage, you do NOT need to check the pods in the `d8-sds-node-configurator` namespace.

```shell
kubectl get mc sds-node-configurator -w
kubectl get modules sds-node-configurator -w
```

- Enable the `sds-local-volume` module. Refer to the [configuration](./configuration.html) to learn more about module settings. In the example below, the module is launched with the default settings. This will result This will cause the service pads of the `sds-local-volume` components to be launched on all nodes of the cluster.
Expand Down Expand Up @@ -111,9 +111,9 @@ dev-6c5abbd549100834c6b1668c8f89fb97872ee2b1 worker-2 false 894006140
```yaml
kubectl apply -f - <<EOF
apiVersion: storage.deckhouse.io/v1alpha1
kind: LvmVolumeGroup
kind: LVMVolumeGroup
metadata:
name: "vg-1-on-worker-0" # The name can be any fully qualified resource name in Kubernetes. This LvmVolumeGroup resource name will be used to create LocalStorageClass in the future
name: "vg-1-on-worker-0" # The name can be any fully qualified resource name in Kubernetes. This LVMVolumeGroup resource name will be used to create LocalStorageClass in the future
spec:
type: Local
blockDeviceNames: # specify the names of the BlockDevice resources that are located on the target node and whose CONSUMABLE is set to true. Note that the node name is not specified anywhere since it is derived from BlockDevice resources.
Expand All @@ -136,7 +136,7 @@ kubectl get lvg vg-1-on-worker-0 -w
```yaml
kubectl apply -f - <<EOF
apiVersion: storage.deckhouse.io/v1alpha1
kind: LvmVolumeGroup
kind: LVMVolumeGroup
metadata:
name: "vg-1-on-worker-1"
spec:
Expand All @@ -161,7 +161,7 @@ kubectl get lvg vg-1-on-worker-1 -w
```yaml
kubectl apply -f - <<EOF
apiVersion: storage.deckhouse.io/v1alpha1
kind: LvmVolumeGroup
kind: LVMVolumeGroup
metadata:
name: "vg-1-on-worker-2"
spec:
Expand Down
14 changes: 7 additions & 7 deletions docs/README.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ EOF
- Дождаться, когда модуль перейдет в состояние `Ready`. На этом этапе НЕ нужно проверять поды в namespace `d8-sds-node-configurator`.

```shell
kubectl get mc sds-node-configurator -w
kubectl get modules sds-node-configurator -w
```

- Включить модуль `sds-local-volume`. Возможные настройки модуля рекомендуем посмотреть в [конфигурации](./configuration.html). В примере ниже модуль запускается с настройками по умолчанию. Это приведет к тому, что на всех узлах кластера будут запущены служебные поды компонентов `sds-local-volume`.
Expand Down Expand Up @@ -109,16 +109,16 @@ kubectl -n d8-sds-node-configurator get pod -o wide -w
```yaml
kubectl apply -f - <<EOF
apiVersion: storage.deckhouse.io/v1alpha1
kind: LvmVolumeGroup
kind: LVMVolumeGroup
metadata:
name: "vg-1-on-worker-0" # The name can be any fully qualified resource name in Kubernetes. This LvmVolumeGroup resource name will be used to create LocalStorageClass in the future
name: "vg-1-on-worker-0" # The name can be any fully qualified resource name in Kubernetes. This LVMVolumeGroup resource name will be used to create LocalStorageClass in the future
spec:
type: Local
blockDeviceNames: # specify the names of the BlockDevice resources that are located on the target node and whose CONSUMABLE is set to true. Note that the node name is not specified anywhere since it is derived from BlockDevice resources.
- dev-ef4fb06b63d2c05fb6ee83008b55e486aa1161aa
- dev-0cfc0d07f353598e329d34f3821bed992c1ffbcd
actualVGNameOnTheNode: "vg-1" # the name of the LVM VG to be created from the above block devices on the node
EOF
EOF
```

- Дождаться, когда созданный ресурс `LVMVolumeGroup` перейдет в состояние `Operational`:
Expand All @@ -134,7 +134,7 @@ kubectl get lvg vg-1-on-worker-0 -w
```yaml
kubectl apply -f - <<EOF
apiVersion: storage.deckhouse.io/v1alpha1
kind: LvmVolumeGroup
kind: LVMVolumeGroup
metadata:
name: "vg-1-on-worker-1"
spec:
Expand All @@ -159,7 +159,7 @@ kubectl get lvg vg-1-on-worker-1 -w
```yaml
kubectl apply -f - <<EOF
apiVersion: storage.deckhouse.io/v1alpha1
kind: LvmVolumeGroup
kind: LVMVolumeGroup
metadata:
name: "vg-1-on-worker-2"
spec:
Expand Down Expand Up @@ -196,7 +196,7 @@ spec:
type: Thick
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
EOF
EOF
```

- Дождаться, когда созданный ресурс `LocalStorageClass` перейдет в состояние `Created`:
Expand Down

0 comments on commit 5c53a9c

Please sign in to comment.