You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: crds/doc-ru-nfsstorageclass.yaml
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -50,6 +50,16 @@ spec:
50
50
volumeBindingMode:
51
51
description: |
52
52
Режим создания тома. Может быть Immediate (запрос при создании PVC) или WaitForFirstConsumer (до появления первого Pod)
53
+
nodeSelector:
54
+
description: |
55
+
Селектор узлов для определения правил выбора узлов, на которых Persistent Volumes (PVs), созданные этим StorageClass, могут подключаться. Комбинирует простое сопоставление меток и сложные выражения для фильтрации узлов.
56
+
properties:
57
+
matchLabels:
58
+
description: |
59
+
Карта меток, которые должны точно совпадать с метками узла. Узлы, которые не соответствуют хотя бы одной из указанных меток, будут исключены.
60
+
matchExpressions:
61
+
description: |
62
+
Список сложных условий выбора узлов. Каждое условие задаёт ключ, оператор и, при необходимости, значения для фильтрации узлов на основе их меток или других полей.
Copy file name to clipboardExpand all lines: crds/nfsstorageclass.yaml
+37Lines changed: 37 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -129,6 +129,43 @@ spec:
129
129
enum:
130
130
- Immediate
131
131
- WaitForFirstConsumer
132
+
workloadNodes:
133
+
type: object
134
+
minProperties: 1
135
+
properties:
136
+
nodeSelector:
137
+
type: object
138
+
minProperties: 1
139
+
description: |
140
+
Node selector to specify rules for selecting nodes where Persistent Volumes (PVs) created by this StorageClass are allowed to connect. Combines simple label matches and advanced matching expressions.
141
+
If this parameter is omitted, NFS shares can be mounted on any node in the cluster running the `Linux` OS.
142
+
properties:
143
+
matchLabels:
144
+
type: object
145
+
description: |
146
+
A map of labels that must match exactly with the labels of a node. Nodes that do not match any of the specified labels will be excluded.
147
+
additionalProperties:
148
+
type: string
149
+
matchExpressions:
150
+
type: array
151
+
description: |
152
+
A list of advanced node selector requirements. Each requirement specifies a key, an operator, and optional values for filtering nodes based on their labels or other fields.
0 commit comments