mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 10:20:51 +00:00
Merge pull request #112827 from SataQiu/clean-scheduler-20221003
scheduler: cleanup the unused event types about Service
This commit is contained in:
commit
27344212ce
@ -64,7 +64,6 @@ const (
|
|||||||
Node GVK = "Node"
|
Node GVK = "Node"
|
||||||
PersistentVolume GVK = "PersistentVolume"
|
PersistentVolume GVK = "PersistentVolume"
|
||||||
PersistentVolumeClaim GVK = "PersistentVolumeClaim"
|
PersistentVolumeClaim GVK = "PersistentVolumeClaim"
|
||||||
Service GVK = "Service"
|
|
||||||
StorageClass GVK = "storage.k8s.io/StorageClass"
|
StorageClass GVK = "storage.k8s.io/StorageClass"
|
||||||
CSINode GVK = "storage.k8s.io/CSINode"
|
CSINode GVK = "storage.k8s.io/CSINode"
|
||||||
CSIDriver GVK = "storage.k8s.io/CSIDriver"
|
CSIDriver GVK = "storage.k8s.io/CSIDriver"
|
||||||
|
@ -80,12 +80,6 @@ var (
|
|||||||
CSIStorageCapacityAdd = framework.ClusterEvent{Resource: framework.CSIStorageCapacity, ActionType: framework.Add, Label: "CSIStorageCapacityAdd"}
|
CSIStorageCapacityAdd = framework.ClusterEvent{Resource: framework.CSIStorageCapacity, ActionType: framework.Add, Label: "CSIStorageCapacityAdd"}
|
||||||
// CSIStorageCapacityUpdate is the event when a CSI storage capacity is updated in the cluster.
|
// CSIStorageCapacityUpdate is the event when a CSI storage capacity is updated in the cluster.
|
||||||
CSIStorageCapacityUpdate = framework.ClusterEvent{Resource: framework.CSIStorageCapacity, ActionType: framework.Update, Label: "CSIStorageCapacityUpdate"}
|
CSIStorageCapacityUpdate = framework.ClusterEvent{Resource: framework.CSIStorageCapacity, ActionType: framework.Update, Label: "CSIStorageCapacityUpdate"}
|
||||||
// ServiceAdd is the event when a service is added in the cluster.
|
|
||||||
ServiceAdd = framework.ClusterEvent{Resource: framework.Service, ActionType: framework.Add, Label: "ServiceAdd"}
|
|
||||||
// ServiceUpdate is the event when a service is updated in the cluster.
|
|
||||||
ServiceUpdate = framework.ClusterEvent{Resource: framework.Service, ActionType: framework.Update, Label: "ServiceUpdate"}
|
|
||||||
// ServiceDelete is the event when a service is deleted in the cluster.
|
|
||||||
ServiceDelete = framework.ClusterEvent{Resource: framework.Service, ActionType: framework.Delete, Label: "ServiceDelete"}
|
|
||||||
// WildCardEvent semantically matches all resources on all actions.
|
// WildCardEvent semantically matches all resources on all actions.
|
||||||
WildCardEvent = framework.ClusterEvent{Resource: framework.WildCard, ActionType: framework.All, Label: "WildCardEvent"}
|
WildCardEvent = framework.ClusterEvent{Resource: framework.WildCard, ActionType: framework.All, Label: "WildCardEvent"}
|
||||||
// UnschedulableTimeout is the event when a pod stays in unschedulable for longer than timeout.
|
// UnschedulableTimeout is the event when a pod stays in unschedulable for longer than timeout.
|
||||||
|
Loading…
Reference in New Issue
Block a user