diff --git a/apis/scheduling/v1alpha1/types.go b/apis/scheduling/v1alpha1/types.go index 86901dd59..ce7c9cde7 100644 --- a/apis/scheduling/v1alpha1/types.go +++ b/apis/scheduling/v1alpha1/types.go @@ -136,12 +136,12 @@ type PodGroup struct { type PodGroupSpec struct { // MinMember defines the minimal number of members/tasks to run the pod group; // if there's not enough resources to start all tasks, the scheduler - // will not start anyone. + // will not start any. MinMember int32 `json:"minMember,omitempty"` // MinResources defines the minimal resource of members/tasks to run the pod group; // if there's not enough resources to start all tasks, the scheduler - // will not start anyone. + // will not start any. MinResources v1.ResourceList `json:"minResources,omitempty"` // ScheduleTimeoutSeconds defines the maximal time of members/tasks to wait before run the pod group; diff --git a/config/crd/bases/scheduling.x-k8s.io_podgroups.yaml b/config/crd/bases/scheduling.x-k8s.io_podgroups.yaml index a0790dc71..86749b728 100644 --- a/config/crd/bases/scheduling.x-k8s.io_podgroups.yaml +++ b/config/crd/bases/scheduling.x-k8s.io_podgroups.yaml @@ -42,7 +42,7 @@ spec: minMember: description: MinMember defines the minimal number of members/tasks to run the pod group; if there's not enough resources to start all - tasks, the scheduler will not start anyone. + tasks, the scheduler will not start any. format: int32 type: integer minResources: @@ -54,7 +54,7 @@ spec: x-kubernetes-int-or-string: true description: MinResources defines the minimal resource of members/tasks to run the pod group; if there's not enough resources to start all - tasks, the scheduler will not start anyone. + tasks, the scheduler will not start any. type: object scheduleTimeoutSeconds: description: ScheduleTimeoutSeconds defines the maximal time of members/tasks diff --git a/kep/42-podgroup-coscheduling/README.md b/kep/42-podgroup-coscheduling/README.md index bb79e5066..2df4def10 100644 --- a/kep/42-podgroup-coscheduling/README.md +++ b/kep/42-podgroup-coscheduling/README.md @@ -41,12 +41,12 @@ We define a CRD name PodGroup to help schedule, its definition is as follows: type PodGroupSpec struct { // MinMember defines the minimal number of members/tasks to run the pod group; // if there's not enough resources to start all tasks, the scheduler - // will not start anyone. + // will not start any. MinMember uint32 `json:"minMember"` // MinResources defines the minimal resource of members/tasks to run the pod group; // if there's not enough resources to start all tasks, the scheduler - // will not start anyone. + // will not start any. MinResources *v1.ResourceList `json:"minResources,omitempty"` // ScheduleTimeoutSeconds defines the maximal time of members/tasks to wait before run the pod group; diff --git a/manifests/coscheduling/crd.yaml b/manifests/coscheduling/crd.yaml index a0790dc71..86749b728 100644 --- a/manifests/coscheduling/crd.yaml +++ b/manifests/coscheduling/crd.yaml @@ -42,7 +42,7 @@ spec: minMember: description: MinMember defines the minimal number of members/tasks to run the pod group; if there's not enough resources to start all - tasks, the scheduler will not start anyone. + tasks, the scheduler will not start any. format: int32 type: integer minResources: @@ -54,7 +54,7 @@ spec: x-kubernetes-int-or-string: true description: MinResources defines the minimal resource of members/tasks to run the pod group; if there's not enough resources to start all - tasks, the scheduler will not start anyone. + tasks, the scheduler will not start any. type: object scheduleTimeoutSeconds: description: ScheduleTimeoutSeconds defines the maximal time of members/tasks diff --git a/site/content/en/docs/kep/42-podgroup-coscheduling/README.md b/site/content/en/docs/kep/42-podgroup-coscheduling/README.md index 0bec13fdf..59f6a73dd 100644 --- a/site/content/en/docs/kep/42-podgroup-coscheduling/README.md +++ b/site/content/en/docs/kep/42-podgroup-coscheduling/README.md @@ -45,12 +45,12 @@ We define a CRD name PodGroup to help schedule, its definition is as follows: type PodGroupSpec struct { // MinMember defines the minimal number of members/tasks to run the pod group; // if there's not enough resources to start all tasks, the scheduler - // will not start anyone. + // will not start any. MinMember uint32 `json:"minMember"` // MinResources defines the minimal resource of members/tasks to run the pod group; // if there's not enough resources to start all tasks, the scheduler - // will not start anyone. + // will not start any. MinResources *v1.ResourceList `json:"minResources,omitempty"` // ScheduleTimeoutSeconds defines the maximal time of members/tasks to wait before run the pod group;