Improve scheduler CLI description

This commit is contained in:
Dharma Bellamkonda 2020-02-20 07:42:09 -07:00 committed by Dharma Bellamkonda
parent 413c81a793
commit 49bcf18cc5

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 {