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
value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
56
-
-->
57
-
-**value** (int32),必需
58
-
59
-
`value` 表示此优先级的整数值。这是 Pod 在其 Pod 规约中有此类名称时收到的实际优先级。
preemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.
86
-
87
-
Possible enum values:
88
-
- `"Never"` means that pod never preempts other pods with lower priority.
89
-
- `"PreemptLowerPriority"` means that pod can preempt other pods with lower priority.
90
77
-->
91
78
-**preemptionPolicy** (string)
92
79
93
80
`preemptionPolicy` 是与抢占优先级较低的 Pod 相关的策略。
94
81
可选值:Never、PreemptLowerPriority。
95
82
如果未设置,则默认为 PreemptLowerPriority。
96
83
97
-
可能的枚举值:
98
-
-`"Never"` 表示 Pod 永远不会抢占具有较低优先级的其他 Pod。
99
-
-`"PreemptLowerPriority"` 表示 Pod 可以抢占具有较低优先级的其他 Pod。
84
+
<!--
85
+
- **value** (int32), required
86
+
87
+
value represents the integer value of this priority class. This is the actual priority that pods receive when they have the name of this class in their pod spec.
88
+
-->
89
+
-**value** (int32),必需
90
+
91
+
`value` 表示此优先级的整数值。这是 Pod 在其 Pod 规约中有此类名称时收到的实际优先级。
100
92
101
93
<!--
102
94
## PriorityClassList {#PriorityClassList}
@@ -178,10 +170,6 @@ GET /apis/scheduling.k8s.io/v1/priorityclasses/{name}
178
170
179
171
<!--
180
172
#### Response
181
-
182
-
200 (<a href="{{< ref "../workload-resources/priority-class-v1#PriorityClass" >}}">PriorityClass</a>): OK
183
-
184
-
401: Unauthorized
185
173
-->
186
174
#### 响应
187
175
@@ -196,8 +184,6 @@ GET /apis/scheduling.k8s.io/v1/priorityclasses/{name}
196
184
197
185
<!--
198
186
#### HTTP Request
199
-
200
-
GET /apis/scheduling.k8s.io/v1/priorityclasses
201
187
-->
202
188
#### HTTP 请求
203
189
@@ -289,6 +275,15 @@ GET /apis/scheduling.k8s.io/v1/priorityclasses
0 commit comments