From 2a40349d61ed298b169356a51278681a471980e9 Mon Sep 17 00:00:00 2001 From: Qiming Teng Date: Wed, 14 Mar 2018 12:48:19 +0800 Subject: [PATCH] Consolidate all upgrade/downgrade admin tasks This propose consolidate cluster upgrade/downgrade pages into one subtopic which can serve an umbrella for future changes in this field. --- _data/tasks.yml | 12 +++++++----- _redirects | 9 +++++++-- .../{ => upgrade-downgrade}/kubeadm-upgrade-1-7.md | 0 .../{ => upgrade-downgrade}/kubeadm-upgrade-1-8.md | 0 .../{ => upgrade-downgrade}/kubeadm-upgrade-1-9.md | 0 .../{ => upgrade-downgrade}/kubeadm-upgrade-ha.md | 0 .../{ => upgrade-downgrade}/upgrade-1-6.md | 0 7 files changed, 14 insertions(+), 7 deletions(-) rename docs/tasks/administer-cluster/{ => upgrade-downgrade}/kubeadm-upgrade-1-7.md (100%) rename docs/tasks/administer-cluster/{ => upgrade-downgrade}/kubeadm-upgrade-1-8.md (100%) rename docs/tasks/administer-cluster/{ => upgrade-downgrade}/kubeadm-upgrade-1-9.md (100%) rename docs/tasks/administer-cluster/{ => upgrade-downgrade}/kubeadm-upgrade-ha.md (100%) rename docs/tasks/administer-cluster/{ => upgrade-downgrade}/upgrade-1-6.md (100%) diff --git a/_data/tasks.yml b/_data/tasks.yml index 4c1175e47fe24..07cc4a18f4006 100644 --- a/_data/tasks.yml +++ b/_data/tasks.yml @@ -129,6 +129,13 @@ toc: - title: Administer a Cluster landing_page: /docs/tasks/administer-cluster/memory-default-namespace/ section: + - title: Upgrading or downgrading Kubernetes + section: + - docs/tasks/administer-cluster/upgrade-downgrade/upgrade-1-6.md + - docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-1-7.md + - docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-1-8.md + - docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-1-9.md + - docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-ha.md - title: Manage Memory, CPU, and API Resources section: - docs/tasks/administer-cluster/memory-default-namespace.md @@ -149,11 +156,6 @@ toc: - docs/tasks/administer-cluster/configure-upgrade-etcd.md - docs/tasks/administer-cluster/static-pod.md - docs/tasks/administer-cluster/cluster-management.md - - docs/tasks/administer-cluster/upgrade-1-6.md - - docs/tasks/administer-cluster/kubeadm-upgrade-1-7.md - - docs/tasks/administer-cluster/kubeadm-upgrade-1-8.md - - docs/tasks/administer-cluster/kubeadm-upgrade-1-9.md - - docs/tasks/administer-cluster/kubeadm-upgrade-ha.md - docs/tasks/administer-cluster/namespaces.md - docs/tasks/administer-cluster/namespaces-walkthrough.md - docs/tasks/administer-cluster/dns-horizontal-autoscaling.md diff --git a/_redirects b/_redirects index 48d26e389267d..b0160ee2e09a6 100644 --- a/_redirects +++ b/_redirects @@ -29,7 +29,7 @@ /docs/admin/ha-master-gce/ /docs/tasks/administer-cluster/highly-available-master/ 301 /docs/admin/ha-master-gce.md/ /docs/tasks/administer-cluster/highly-available-master/ 301 /docs/admin/high-availability/ /docs/admin/high-availability/building/ 301 -/docs/admin/kubeadm-upgrade-1-7/ /docs/tasks/administer-cluster/kubeadm-upgrade-1-7/ 301 +/docs/admin/kubeadm-upgrade-1-7/ /docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-1-7/ 301 /docs/admin/limitrange/ /docs/tasks/administer-cluster/cpu-memory-limit/ 301 /docs/admin/limitrange/Limits/ /docs/tasks/administer-cluster/limit-storage-consumption/#limitrange-to-limit-requests-for-storage/ 301 /docs/admin/master-node-communication/ /docs/concepts/architecture/master-node-communication/ 301 @@ -51,8 +51,8 @@ /docs/admin/resourcequota/walkthrough/ /docs/tasks/administer-cluster/quota-api-object/ 301 /docs/admin/static-pods/ /docs/tasks/administer-cluster/static-pod/ 301 /docs/admin/sysctls/ /docs/tasks/administer-cluster/sysctl-cluster/ 301 -/docs/admin/upgrade-1-6/ /docs/tasks/administer-cluster/upgrade-1-6/ 301 /docs/admin/resource-quota/ /docs/concepts/policy/resource-quotas/ 301 +/docs/admin/upgrade-1-6/ /docs/tasks/administer-cluster/upgrade-downgrade/upgrade-1-6/ 301 /docs/api/ /docs/concepts/overview/kubernetes-api/ 301 @@ -215,11 +215,16 @@ /docs/tasks/administer-cluster/default-cpu-request-limit/ /docs/tasks/configure-pod-container/assign-cpu-resource/#specify-a-cpu-request-and-a-cpu-limit/ 301 /docs/tasks/administer-cluster/default-memory-request-limit/ /docs/tasks/configure-pod-container/assign-memory-resource/#specify-a-memory-request-and-a-memory-limit/ 301 /docs/tasks/administer-cluster/developing-cloud-controller-manager.md /docs/tasks/administer-cluster/developing-cloud-controller-manager/ 301 +/docs/tasks/administer-cluster/kubeadm-upgrade-1-7/ /docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-1-7/ 301 +/docs/tasks/administer-cluster/kubeadm-upgrade-1-8/ /docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-1-8/ 301 +/docs/tasks/administer-cluster/kubeadm-upgrade-1-9/ /docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-1-9/ 301 +/docs/tasks/administer-cluster/kubeadm-upgrade-ha/ /docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-ha9/ 301 /docs/tasks/administer-cluster/out-of-resource/memory-available.sh /docs/tasks/administer-cluster/memory-available.sh 301 /docs/tasks/administer-cluster/overview/ /docs/concepts/cluster-administration/cluster-administration-overview/ 301 /docs/tasks/administer-cluster/reserve-compute-resources/out-of-resource.md /docs/tasks/administer-cluster/out-of-resource/ 301 /docs/tasks/administer-cluster/running-cloud-controller.md /docs/tasks/administer-cluster/running-cloud-controller/ 301 /docs/tasks/administer-cluster/share-configuration/ /docs/tasks/access-application-cluster/configure-access-multiple-clusters/ 301 +/docs/tasks/administer-cluster/upgrade-1-6/ /docs/tasks/administer-cluster/upgrade-downgrade/upgrade-1-6/ 301 /docs/tasks/configure-pod-container/apply-resource-quota-limit/ /docs/tasks/administer-cluster/apply-resource-quota-limit/ 301 /docs/tasks/configure-pod-container/assign-cpu-ram-container/ /docs/tasks/configure-pod-container/assign-memory-resource/ 301 /docs/tasks/configure-pod-container/calico-network-policy/ /docs/tasks/administer-cluster/calico-network-policy/ 301 diff --git a/docs/tasks/administer-cluster/kubeadm-upgrade-1-7.md b/docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-1-7.md similarity index 100% rename from docs/tasks/administer-cluster/kubeadm-upgrade-1-7.md rename to docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-1-7.md diff --git a/docs/tasks/administer-cluster/kubeadm-upgrade-1-8.md b/docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-1-8.md similarity index 100% rename from docs/tasks/administer-cluster/kubeadm-upgrade-1-8.md rename to docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-1-8.md diff --git a/docs/tasks/administer-cluster/kubeadm-upgrade-1-9.md b/docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-1-9.md similarity index 100% rename from docs/tasks/administer-cluster/kubeadm-upgrade-1-9.md rename to docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-1-9.md diff --git a/docs/tasks/administer-cluster/kubeadm-upgrade-ha.md b/docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-ha.md similarity index 100% rename from docs/tasks/administer-cluster/kubeadm-upgrade-ha.md rename to docs/tasks/administer-cluster/upgrade-downgrade/kubeadm-upgrade-ha.md diff --git a/docs/tasks/administer-cluster/upgrade-1-6.md b/docs/tasks/administer-cluster/upgrade-downgrade/upgrade-1-6.md similarity index 100% rename from docs/tasks/administer-cluster/upgrade-1-6.md rename to docs/tasks/administer-cluster/upgrade-downgrade/upgrade-1-6.md