mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-10-31 02:08:13 +00:00 
			
		
		
		
	Merge pull request #112827 from SataQiu/clean-scheduler-20221003
scheduler: cleanup the unused event types about Service
This commit is contained in:
		| @@ -64,7 +64,6 @@ const ( | ||||
| 	Node                  GVK = "Node" | ||||
| 	PersistentVolume      GVK = "PersistentVolume" | ||||
| 	PersistentVolumeClaim GVK = "PersistentVolumeClaim" | ||||
| 	Service               GVK = "Service" | ||||
| 	StorageClass          GVK = "storage.k8s.io/StorageClass" | ||||
| 	CSINode               GVK = "storage.k8s.io/CSINode" | ||||
| 	CSIDriver             GVK = "storage.k8s.io/CSIDriver" | ||||
|   | ||||
| @@ -80,12 +80,6 @@ var ( | ||||
| 	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 = 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 = framework.ClusterEvent{Resource: framework.WildCard, ActionType: framework.All, Label: "WildCardEvent"} | ||||
| 	// UnschedulableTimeout is the event when a pod stays in unschedulable for longer than timeout. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Kubernetes Prow Robot
					Kubernetes Prow Robot