From 2442dc292fca3e994d1afdb13c8c918900ff5d78 Mon Sep 17 00:00:00 2001 From: Steve Perry Date: Wed, 3 May 2017 11:10:07 -0700 Subject: [PATCH] Move topic to Configuration section. (#3620) * Move topic to Configuration section. * Move included file. --- _data/tasks.yml | 2 +- .../assign-pods-nodes.md | 5 ++++- .../{administer-cluster => configure-pod-container}/pod.yaml | 0 3 files changed, 5 insertions(+), 2 deletions(-) rename docs/tasks/{administer-cluster => configure-pod-container}/assign-pods-nodes.md (92%) rename docs/tasks/{administer-cluster => configure-pod-container}/pod.yaml (100%) diff --git a/_data/tasks.yml b/_data/tasks.yml index ca186c50db..2882d1c340 100644 --- a/_data/tasks.yml +++ b/_data/tasks.yml @@ -27,6 +27,7 @@ toc: - docs/tasks/configure-pod-container/configure-service-account.md - docs/tasks/configure-pod-container/pull-image-private-registry.md - docs/tasks/configure-pod-container/configure-liveness-readiness-probes.md + - docs/tasks/configure-pod-container/assign-pods-nodes.md - docs/tasks/configure-pod-container/communicate-containers-same-pod.md - docs/tasks/configure-pod-container/configure-pod-initialization.md - docs/tasks/configure-pod-container/attach-handler-lifecycle-event.md @@ -89,7 +90,6 @@ toc: - docs/tasks/administer-cluster/upgrade-1-6.md - docs/tasks/administer-cluster/namespaces.md - docs/tasks/administer-cluster/namespaces-walkthrough.md - - docs/tasks/administer-cluster/assign-pods-nodes.md - docs/tasks/administer-cluster/reserve-compute-resources.md - docs/tasks/administer-cluster/dns-horizontal-autoscaling.md - docs/tasks/administer-cluster/safely-drain-node.md diff --git a/docs/tasks/administer-cluster/assign-pods-nodes.md b/docs/tasks/configure-pod-container/assign-pods-nodes.md similarity index 92% rename from docs/tasks/administer-cluster/assign-pods-nodes.md rename to docs/tasks/configure-pod-container/assign-pods-nodes.md index 6b6d553194..40d26c3a88 100644 --- a/docs/tasks/administer-cluster/assign-pods-nodes.md +++ b/docs/tasks/configure-pod-container/assign-pods-nodes.md @@ -1,5 +1,8 @@ --- title: Assigning Pods to Nodes +redirect_from: +- "/docs/tasks/administer-cluster/assign-pods-nodes/" +- "/docs/tasks/administer-cluster/assign-pods-nodes.html" --- {% capture overview %} @@ -55,7 +58,7 @@ This pod configuration file describes a pod that has a node selector, `disktype: ssd`. This means that the pod will get scheduled on a node that has a `disktype=ssd` label. -{% include code.html language="yaml" file="pod.yaml" ghlink="/docs/tasks/administer-cluster/pod.yaml" %} +{% include code.html language="yaml" file="pod.yaml" ghlink="/docs/tasks/configure-pod-container/pod.yaml" %} 1. Use the configuration file to create a pod that will get scheduled on your chosen node: diff --git a/docs/tasks/administer-cluster/pod.yaml b/docs/tasks/configure-pod-container/pod.yaml similarity index 100% rename from docs/tasks/administer-cluster/pod.yaml rename to docs/tasks/configure-pod-container/pod.yaml