From 1bb09e6d0d02fe9a104b75cb7f8847809d948908 Mon Sep 17 00:00:00 2001 From: Adam Kaplan Date: Tue, 7 Apr 2020 21:35:50 -0400 Subject: [PATCH] Rename "Scheduling: concept as "Scheduling and Eviction" * Rename `docs/concepts/scheduling` to `docs/concepts/scheduling-eviction` * Retitle concept header to "Scheduling and Eviction" * Update redirects * Update internal links (en only) Part of proposal #19081 Signed-off-by: Adam Kaplan --- content/en/docs/concepts/architecture/controller.md | 2 +- content/en/docs/concepts/overview/components.md | 2 +- content/en/docs/concepts/scheduling-eviction/_index.md | 5 +++++ .../{scheduling => scheduling-eviction}/kube-scheduler.md | 2 +- .../scheduler-perf-tuning.md | 4 ++-- .../scheduling-framework.md | 0 content/en/docs/concepts/scheduling/_index.md | 5 ----- .../command-line-tools-reference/kube-scheduler.md | 2 +- content/en/docs/reference/scheduling/policies.md | 4 ++-- content/en/docs/reference/scheduling/profiles.md | 2 +- static/_redirects | 7 +++++-- 11 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 content/en/docs/concepts/scheduling-eviction/_index.md rename content/en/docs/concepts/{scheduling => scheduling-eviction}/kube-scheduler.md (99%) rename content/en/docs/concepts/{scheduling => scheduling-eviction}/scheduler-perf-tuning.md (97%) rename content/en/docs/concepts/{scheduling => scheduling-eviction}/scheduling-framework.md (100%) delete mode 100644 content/en/docs/concepts/scheduling/_index.md diff --git a/content/en/docs/concepts/architecture/controller.md b/content/en/docs/concepts/architecture/controller.md index 0021fc2a74..2872959bac 100644 --- a/content/en/docs/concepts/architecture/controller.md +++ b/content/en/docs/concepts/architecture/controller.md @@ -52,7 +52,7 @@ Job is a Kubernetes resource that runs a {{< glossary_tooltip term_id="pod" >}}, or perhaps several Pods, to carry out a task and then stop. -(Once [scheduled](/docs/concepts/scheduling/), Pod objects become part of the +(Once [scheduled](/docs/concepts/scheduling-eviction/), Pod objects become part of the desired state for a kubelet). When the Job controller sees a new task it makes sure that, somewhere diff --git a/content/en/docs/concepts/overview/components.md b/content/en/docs/concepts/overview/components.md index c6a00b3a43..e5d61cf9e4 100644 --- a/content/en/docs/concepts/overview/components.md +++ b/content/en/docs/concepts/overview/components.md @@ -123,6 +123,6 @@ saving container logs to a central log store with search/browsing interface. {{% capture whatsnext %}} * Learn about [Nodes](/docs/concepts/architecture/nodes/) * Learn about [Controllers](/docs/concepts/architecture/controller/) -* Learn about [kube-scheduler](/docs/concepts/scheduling/kube-scheduler/) +* Learn about [kube-scheduler](/docs/concepts/scheduling-eviction/kube-scheduler/) * Read etcd's official [documentation](https://etcd.io/docs/) {{% /capture %}} diff --git a/content/en/docs/concepts/scheduling-eviction/_index.md b/content/en/docs/concepts/scheduling-eviction/_index.md new file mode 100644 index 0000000000..a30a80a451 --- /dev/null +++ b/content/en/docs/concepts/scheduling-eviction/_index.md @@ -0,0 +1,5 @@ +--- +title: "Scheduling and Eviction" +weight: 90 +--- + diff --git a/content/en/docs/concepts/scheduling/kube-scheduler.md b/content/en/docs/concepts/scheduling-eviction/kube-scheduler.md similarity index 99% rename from content/en/docs/concepts/scheduling/kube-scheduler.md rename to content/en/docs/concepts/scheduling-eviction/kube-scheduler.md index 7e3074f114..c258a2d46a 100644 --- a/content/en/docs/concepts/scheduling/kube-scheduler.md +++ b/content/en/docs/concepts/scheduling-eviction/kube-scheduler.md @@ -88,7 +88,7 @@ of the scheduler: {{% /capture %}} {{% capture whatsnext %}} -* Read about [scheduler performance tuning](/docs/concepts/scheduling/scheduler-perf-tuning/) +* Read about [scheduler performance tuning](/docs/concepts/scheduling-eviction/scheduler-perf-tuning/) * Read about [Pod topology spread constraints](/docs/concepts/workloads/pods/pod-topology-spread-constraints/) * Read the [reference documentation](/docs/reference/command-line-tools-reference/kube-scheduler/) for kube-scheduler * Learn about [configuring multiple schedulers](/docs/tasks/administer-cluster/configure-multiple-schedulers/) diff --git a/content/en/docs/concepts/scheduling/scheduler-perf-tuning.md b/content/en/docs/concepts/scheduling-eviction/scheduler-perf-tuning.md similarity index 97% rename from content/en/docs/concepts/scheduling/scheduler-perf-tuning.md rename to content/en/docs/concepts/scheduling-eviction/scheduler-perf-tuning.md index 245963ac88..e3d4b16861 100644 --- a/content/en/docs/concepts/scheduling/scheduler-perf-tuning.md +++ b/content/en/docs/concepts/scheduling-eviction/scheduler-perf-tuning.md @@ -10,7 +10,7 @@ weight: 70 {{< feature-state for_k8s_version="v1.14" state="beta" >}} -[kube-scheduler](/docs/concepts/scheduling/kube-scheduler/#kube-scheduler) +[kube-scheduler](/docs/concepts/scheduling-eviction/kube-scheduler/#kube-scheduler) is the Kubernetes default scheduler. It is responsible for placement of Pods on Nodes in a cluster. @@ -70,7 +70,7 @@ of all the nodes in your cluster. The kube-scheduler converts this into an integer number of nodes. During scheduling, if the kube-scheduler has identified enough feasible nodes to exceed the configured percentage, the kube-scheduler stops searching for more feasible nodes and moves on to the -[scoring phase](/docs/concepts/scheduling/kube-scheduler/#kube-scheduler-implementation). +[scoring phase](/docs/concepts/scheduling-eviction/kube-scheduler/#kube-scheduler-implementation). [How the scheduler iterates over Nodes](#how-the-scheduler-iterates-over-nodes) describes the process in detail. diff --git a/content/en/docs/concepts/scheduling/scheduling-framework.md b/content/en/docs/concepts/scheduling-eviction/scheduling-framework.md similarity index 100% rename from content/en/docs/concepts/scheduling/scheduling-framework.md rename to content/en/docs/concepts/scheduling-eviction/scheduling-framework.md diff --git a/content/en/docs/concepts/scheduling/_index.md b/content/en/docs/concepts/scheduling/_index.md deleted file mode 100644 index b21e8d0c33..0000000000 --- a/content/en/docs/concepts/scheduling/_index.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -title: "Scheduling" -weight: 90 ---- - diff --git a/content/en/docs/reference/command-line-tools-reference/kube-scheduler.md b/content/en/docs/reference/command-line-tools-reference/kube-scheduler.md index 54fc98c61a..f807c5d024 100644 --- a/content/en/docs/reference/command-line-tools-reference/kube-scheduler.md +++ b/content/en/docs/reference/command-line-tools-reference/kube-scheduler.md @@ -13,7 +13,7 @@ and capacity. The scheduler needs to take into account individual and collective resource requirements, quality of service requirements, hardware/software/policy constraints, affinity and anti-affinity specifications, data locality, inter-workload interference, deadlines, and so on. Workload-specific requirements will be exposed -through the API as necessary. See [scheduling](https://kubernetes.io/docs/concepts/scheduling/) +through the API as necessary. See [scheduling](https://kubernetes.io/docs/concepts/scheduling-eviction/) for more information about scheduling and the kube-scheduler component. ``` diff --git a/content/en/docs/reference/scheduling/policies.md b/content/en/docs/reference/scheduling/policies.md index 23d0bc915e..53e5981dea 100644 --- a/content/en/docs/reference/scheduling/policies.md +++ b/content/en/docs/reference/scheduling/policies.md @@ -8,7 +8,7 @@ weight: 10 A scheduling Policy can be used to specify the *predicates* and *priorities* that the {{< glossary_tooltip text="kube-scheduler" term_id="kube-scheduler" >}} -runs to [filter and score nodes](/docs/concepts/scheduling/kube-scheduler/#kube-scheduler-implementation), +runs to [filter and score nodes](/docs/concepts/scheduling-eviction/kube-scheduler/#kube-scheduler-implementation), respectively. You can set a scheduling policy by running @@ -120,6 +120,6 @@ The following *priorities* implement scoring: {{% /capture %}} {{% capture whatsnext %}} -* Learn about [scheduling](/docs/concepts/scheduling/kube-scheduler/) +* Learn about [scheduling](/docs/concepts/scheduling-eviction/kube-scheduler/) * Learn about [kube-scheduler profiles](/docs/reference/scheduling/profiles/) {{% /capture %}} diff --git a/content/en/docs/reference/scheduling/profiles.md b/content/en/docs/reference/scheduling/profiles.md index f5595f8480..b8ab40c3fe 100644 --- a/content/en/docs/reference/scheduling/profiles.md +++ b/content/en/docs/reference/scheduling/profiles.md @@ -177,5 +177,5 @@ only has one pending pods queue. {{% /capture %}} {{% capture whatsnext %}} -* Learn about [scheduling](/docs/concepts/scheduling/kube-scheduler/) +* Learn about [scheduling](/docs/concepts/scheduling-eviction/kube-scheduler/) {{% /capture %}} diff --git a/static/_redirects b/static/_redirects index 523d39cef9..267abd4607 100644 --- a/static/_redirects +++ b/static/_redirects @@ -93,8 +93,8 @@ /docs/concepts/clusters/logging/ /docs/concepts/cluster-administration/logging/ 301 /docs/concepts/configuration/container-command-arg/ /docs/tasks/inject-data-application/define-command-argument-container/ 301 /docs/concepts/configuration/container-command-args/ /docs/tasks/inject-data-application/define-command-argument-container/ 301 -/docs/concepts/configuration/scheduler-perf-tuning/ /docs/concepts/scheduling/scheduler-perf-tuning/ 301 -/docs/concepts/configuration/scheduling-framework/ /docs/concepts/scheduling/scheduling-framework/ 301 +/docs/concepts/configuration/scheduler-perf-tuning/ /docs/concepts/scheduling-eviction/scheduler-perf-tuning/ 301 +/docs/concepts/configuration/scheduling-framework/ /docs/concepts/scheduling-eviction/scheduling-framework/ 301 /docs/concepts/ecosystem/thirdpartyresource/ /docs/tasks/access-kubernetes-api/extend-api-third-party-resource/ 301 /docs/concepts/jobs/cron-jobs/ /docs/concepts/workloads/controllers/cron-jobs/ 301 /docs/concepts/jobs/run-to-completion-finite-workloads/ /docs/concepts/workloads/controllers/jobs-run-to-completion/ 301 @@ -104,6 +104,9 @@ /docs/concepts/overview/extending/ /docs/concepts/extend-kubernetes/extend-cluster/ 301 /docs/concepts/policy/container-capabilities/ /docs/tasks/configure-pod-container/security-context/#set-capabilities-for-a-container/ 301 /docs/concepts/policy/security-context/ /docs/tasks/configure-pod-container/security-context/ 301 +/docs/concepts/scheduling/kube-scheduler/ /docs/concepts/scheduling-eviction/kube-scheduler/ 301 +/docs/concepts/scheduling/scheduler-perf-tuning/ /docs/concepts/scheduling-eviction/scheduler-perf-tuning/ 301 +/docs/concepts/scheduling/scheduling-framework/ /docs/concepts/scheduling-eviction/scheduling-framework/ 301 /docs/concepts/service-catalog/ /docs/concepts/extend-kubernetes/service-catalog/ 301 /docs/concepts/services-networking/networkpolicies/ /docs/concepts/services-networking/network-policies/ 301 /docs/concepts/storage/etcd-store-api-object/ /docs/tasks/administer-cluster/configure-upgrade-etcd/ 301