mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Comment on QHint for CSILimit when CSINodes are added (#122758)
Signed-off-by: utam0k <k0ma@utam0k.jp>
This commit is contained in:
parent
4a4f5dbc07
commit
3a4c35cc89
@ -76,6 +76,8 @@ func (pl *CSILimits) Name() string {
|
|||||||
// failed by this plugin schedulable.
|
// failed by this plugin schedulable.
|
||||||
func (pl *CSILimits) EventsToRegister() []framework.ClusterEventWithHint {
|
func (pl *CSILimits) EventsToRegister() []framework.ClusterEventWithHint {
|
||||||
return []framework.ClusterEventWithHint{
|
return []framework.ClusterEventWithHint{
|
||||||
|
// We don't register any `QueueingHintFn` intentionally
|
||||||
|
// because any new CSINode could make pods that were rejected by CSI volumes schedulable.
|
||||||
{Event: framework.ClusterEvent{Resource: framework.CSINode, ActionType: framework.Add}},
|
{Event: framework.ClusterEvent{Resource: framework.CSINode, ActionType: framework.Add}},
|
||||||
{Event: framework.ClusterEvent{Resource: framework.Pod, ActionType: framework.Delete}},
|
{Event: framework.ClusterEvent{Resource: framework.Pod, ActionType: framework.Delete}},
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user