mirror of https://github.com/volcano-sh/apis.git
Merge pull request #162 from Monokaix/pg
Add default queue for podgroup
This commit is contained in:
commit
ffd8b8db39
|
|
@ -176,6 +176,7 @@ type PodGroupSpec struct {
|
||||||
|
|
||||||
// Queue defines the queue to allocate resource for PodGroup; if queue does not exist,
|
// Queue defines the queue to allocate resource for PodGroup; if queue does not exist,
|
||||||
// the PodGroup will not be scheduled.
|
// the PodGroup will not be scheduled.
|
||||||
|
// +kubebuilder:default:="default"
|
||||||
Queue string
|
Queue string
|
||||||
|
|
||||||
// If specified, indicates the PodGroup's priority. "system-node-critical" and
|
// If specified, indicates the PodGroup's priority. "system-node-critical" and
|
||||||
|
|
|
||||||
|
|
@ -184,6 +184,7 @@ type PodGroupSpec struct {
|
||||||
// Queue defines the queue to allocate resource for PodGroup; if queue does not exist,
|
// Queue defines the queue to allocate resource for PodGroup; if queue does not exist,
|
||||||
// the PodGroup will not be scheduled. Defaults to `default` Queue with the lowest weight.
|
// the PodGroup will not be scheduled. Defaults to `default` Queue with the lowest weight.
|
||||||
// +optional
|
// +optional
|
||||||
|
// +kubebuilder:default:="default"
|
||||||
Queue string `json:"queue,omitempty" protobuf:"bytes,2,opt,name=queue"`
|
Queue string `json:"queue,omitempty" protobuf:"bytes,2,opt,name=queue"`
|
||||||
|
|
||||||
// If specified, indicates the PodGroup's priority. "system-node-critical" and
|
// If specified, indicates the PodGroup's priority. "system-node-critical" and
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue