Merge pull request #88371 from dharmab/scheduler-synopsis

Improve scheduler CLI description
This commit is contained in:
Kubernetes Prow Robot 2020-04-17 13:15:36 -07:00 committed by GitHub
commit b2689edfdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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