mirror of https://github.com/volcano-sh/apis.git
				
				
				
			Merge pull request #92 from jinzhejz/1.5-dev
add queue type and node group label
This commit is contained in:
		
						commit
						04ee883069
					
				|  | @ -132,6 +132,13 @@ const ( | |||
| 	CloseQueueAction QueueAction = "CloseQueue" | ||||
| ) | ||||
| 
 | ||||
| const ( | ||||
| 	// SharedQueueType is the type of queue that could use share resource pool
 | ||||
| 	SharedQueueType = "share" | ||||
| 	// ExclusiveQueueType is the type of queue that could use exclusive resource pool
 | ||||
| 	ExclusiveQueueType = "exclusive" | ||||
| ) | ||||
| 
 | ||||
| // +genclient
 | ||||
| // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
 | ||||
| 
 | ||||
|  |  | |||
|  | @ -35,7 +35,7 @@ const QueueNameAnnotationKey = GroupName + "/queue-name" | |||
| // PodPreemptable is the key of preemptable
 | ||||
| const PodPreemptable = "volcano.sh/preemptable" | ||||
| 
 | ||||
| //RevocableZone is the key of revocable-zone
 | ||||
| // RevocableZone is the key of revocable-zone
 | ||||
| const RevocableZone = "volcano.sh/revocable-zone" | ||||
| 
 | ||||
| // JDBMinAvailable is the key of min available pod number
 | ||||
|  | @ -48,4 +48,8 @@ const JDBMaxUnavailable = "volcano.sh/jdb-max-unavailable" | |||
| const NumaPolicyKey = "volcano.sh/numa-topology-policy" | ||||
| 
 | ||||
| // TopologyDecisionAnnotation is the key of topology decision about pod request resource
 | ||||
| const TopologyDecisionAnnotation = "volcano.sh/topology-decision" | ||||
| const TopologyDecisionAnnotation = "volcano.sh/topology-decision" | ||||
| 
 | ||||
| // NodeGroupLabelKey is the label key of Node to identify
 | ||||
| // which resource pool it belongs to
 | ||||
| const NodeGroupLabelKey = "volcano.sh/nodegroup-name" | ||||
|  |  | |||
|  | @ -138,6 +138,13 @@ const ( | |||
| 	CloseQueueAction QueueAction = "CloseQueue" | ||||
| ) | ||||
| 
 | ||||
| const ( | ||||
| 	// SharedQueueType is the type of queue that could use share resource pool
 | ||||
| 	SharedQueueType = "share" | ||||
| 	// ExclusiveQueueType is the type of queue that could use exclusive resource pool
 | ||||
| 	ExclusiveQueueType = "exclusive" | ||||
| ) | ||||
| 
 | ||||
| // +genclient
 | ||||
| // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
 | ||||
| // +kubebuilder:object:root=true
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue