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
The effect of the taint on claims that do not tolerate the taint and through such claims on the pods using them. Valid effects are NoSchedule and NoExecute. PreferNoSchedule as used for nodes is not valid here.
90
-
91
-
- **taint.key** (string), required
92
-
93
-
The taint key to be applied to a device. Must be a label name.
- `"NoExecute"` Evict any already-running pods that do not tolerate the device taint.
101
+
- `"NoSchedule"` Do not allow new pods to schedule which use a tainted device unless they tolerate the taint, but allow all pods submitted to Kubelet without going through the scheduler to start, and allow all already-running pods to continue running.
102
+
-->
103
+
104
+
可能的枚举值:
105
+
106
+
-`"NoExecute"` 驱逐所有已经运行且不容忍设备污点的 Pod。
107
+
-`"NoSchedule"` 不允许调度新的、使用存在污点设备的 Pod,除非它们能容忍该污点,
108
+
但允许所有直接提交给 kubelet 而不通过调度器的 Pod 启动,
109
+
并允许所有已经在运行的 Pod 继续运行。
110
+
111
+
<!--
112
+
- **taint.key** (string), required
113
+
114
+
The taint key to be applied to a device. Must be a label name.
DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satisfied for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.
149
+
DeviceSelector defines which device(s) the taint is applied to. All selector criteria must be satified for a device to match. The empty selector matches all devices. Without a selector, no devices are matches.
135
150
136
151
<a name="DeviceTaintSelector"></a>
137
152
*DeviceTaintSelector defines which device(s) a DeviceTaintRule applies to. The empty selector matches all devices. Without a selector, no devices are matched.*
Example: Consider a device with driver="dra.example.com", which exposes two attributes named "model" and "ext.example.com/family" and which exposes one capacity named "modules". This input to this expression would have the following fields:
If an unknown prefix is used as a lookup in either device.attributes or device.capacity, an empty map will be returned. Any reference to an unknown field will cause an evaluation error and allocation to abort.
0 commit comments