Skip to content

Commit

Permalink
doc(module): fix admin guide vmclass (#304)
Browse files Browse the repository at this point in the history
doc: fix admin guide vmclass

Signed-off-by: Nikita korolev <nikita.korolev@flant.com>
  • Loading branch information
universal-itengineer authored Aug 23, 2024
1 parent ca8ba52 commit 1f2f380
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions docs/ADMIN_GUIDE.ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -229,10 +229,11 @@ metadata:
spec:
cpu:
discovery:
matchExpressions:
- key: group
operator: In
values: ["green"]
nodeSelector:
matchExpressions:
- key: group
operator: In
values: ["green"]
type: Discovery
sizingPolicies: { ... }
```
Expand All @@ -250,9 +251,10 @@ spec:
cpu:
# сконфигурировать универсальный vCPU для заданного набора узлов
discovery:
matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: DoesNotExist
nodeSelector:
matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: DoesNotExist
type: Discovery
# разрешать запуск ВМ с данным классом только на узлах группы worker
nodeSelector:
Expand Down Expand Up @@ -333,9 +335,10 @@ spec:
spec:
cpu:
discovery:
matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: DoesNotExist
nodeSelector:
matchExpressions:
- key: node-role.kubernetes.io/control-plane
operator: DoesNotExist
type: Discovery
```

Expand Down

0 comments on commit 1f2f380

Please sign in to comment.