Skip to content

Commit b2689ed

Browse files
authored
Merge pull request kubernetes#88371 from dharmab/scheduler-synopsis
Improve scheduler CLI description
2 parents 875d3b5 + 49bcf18 commit b2689ed

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

cmd/kube-scheduler/app/server.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ func NewSchedulerCommand(registryOptions ...Option) *cobra.Command {
7575

7676
cmd := &cobra.Command{
7777
Use: "kube-scheduler",
78-
Long: `The Kubernetes scheduler is a policy-rich, topology-aware,
79-
workload-specific function that significantly impacts availability, performance,
80-
and capacity. The scheduler needs to take into account individual and collective
81-
resource requirements, quality of service requirements, hardware/software/policy
82-
constraints, affinity and anti-affinity specifications, data locality, inter-workload
83-
interference, deadlines, and so on. Workload-specific requirements will be exposed
84-
through the API as necessary. See [scheduling](https://kubernetes.io/docs/concepts/scheduling/)
78+
Long: `The Kubernetes scheduler is a control plane process which assigns
79+
Pods to Nodes. The scheduler determines which Nodes are valid placements for
80+
each Pod in the scheduling queue according to constraints and available
81+
resources. The scheduler then ranks each valid Node and binds the Pod to a
82+
suitable Node. Multiple different schedulers may be used within a cluster;
83+
kube-scheduler is the reference implementation.
84+
See [scheduling](https://kubernetes.io/docs/concepts/scheduling/)
8585
for more information about scheduling and the kube-scheduler component.`,
8686
Run: func(cmd *cobra.Command, args []string) {
8787
if err := runCommand(cmd, args, opts, registryOptions...); err != nil {

0 commit comments

Comments
 (0)