Skip to content

Commit ffd8b8d

Browse files
Merge pull request #162 from Monokaix/pg
Add default queue for podgroup
2 parents 9f67122 + e39d2f9 commit ffd8b8d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

pkg/apis/scheduling/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ type PodGroupSpec struct {
176176

177177
// Queue defines the queue to allocate resource for PodGroup; if queue does not exist,
178178
// the PodGroup will not be scheduled.
179+
// +kubebuilder:default:="default"
179180
Queue string
180181

181182
// If specified, indicates the PodGroup's priority. "system-node-critical" and

pkg/apis/scheduling/v1beta1/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ type PodGroupSpec struct {
184184
// Queue defines the queue to allocate resource for PodGroup; if queue does not exist,
185185
// the PodGroup will not be scheduled. Defaults to `default` Queue with the lowest weight.
186186
// +optional
187+
// +kubebuilder:default:="default"
187188
Queue string `json:"queue,omitempty" protobuf:"bytes,2,opt,name=queue"`
188189

189190
// If specified, indicates the PodGroup's priority. "system-node-critical" and

0 commit comments

Comments
 (0)