diff --git a/docusaurus.config.js b/docusaurus.config.js index 83c147f9c0f..65aa41c43ef 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -245,6 +245,382 @@ module.exports = { { fromExtensions: ['html', 'htm'], redirects: [ + { // Redirects for pages-for-subheaders removal [2.0-2.4] + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/authentication-permissions-and-global-configuration/about-authentication', + from: '/v2.0-v2.4/pages-for-subheaders/about-authentication' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/authentication-permissions-and-global-configuration/about-provisioning-drivers', + from: '/v2.0-v2.4/pages-for-subheaders/about-provisioning-drivers' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/authentication-permissions-and-global-configuration/about-rke1-templates', + from: '/v2.0-v2.4/pages-for-subheaders/about-rke1-templates' + }, + { + to: '/v2.0-v2.4/reference-guides/about-the-api', + from: '/v2.0-v2.4/pages-for-subheaders/about-the-api' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/manage-clusters/access-clusters', + from: '/v2.0-v2.4/pages-for-subheaders/access-clusters' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options', + from: '/v2.0-v2.4/pages-for-subheaders/advanced-options' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides', + from: '/v2.0-v2.4/pages-for-subheaders/advanced-user-guides' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options/advanced-use-cases/air-gap-helm2', + from: '/v2.0-v2.4/pages-for-subheaders/air-gap-helm2' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/other-installation-methods/air-gapped-helm-cli-install', + from: '/v2.0-v2.4/pages-for-subheaders/air-gapped-helm-cli-install' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/authentication-permissions-and-global-configuration/about-authentication/authentication-config', + from: '/v2.0-v2.4/pages-for-subheaders/authentication-config' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/authentication-permissions-and-global-configuration', + from: '/v2.0-v2.4/pages-for-subheaders/authentication-permissions-and-global-configuration' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/backup-restore-and-disaster-recovery', + from: '/v2.0-v2.4/pages-for-subheaders/backup-restore-and-disaster-recovery' + }, + { + to: '/v2.0-v2.4/reference-guides/best-practices', + from: '/v2.0-v2.4/pages-for-subheaders/best-practices' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/checklist-for-production-ready-clusters', + from: '/v2.0-v2.4/pages-for-subheaders/checklist-for-production-ready-clusters' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/cis-scan-guides', + from: '/v2.0-v2.4/pages-for-subheaders/cis-scan-guides' + }, + { + to: '/v2.0-v2.4/explanations/integrations-in-rancher/cis-scans', + from: '/v2.0-v2.4/pages-for-subheaders/cis-scans' + }, + { + to: '/v2.0-v2.4/reference-guides/cli-with-rancher', + from: '/v2.0-v2.4/pages-for-subheaders/cli-with-rancher' + }, + { + to: '/v2.0-v2.4/explanations/integrations-in-rancher/cluster-alerts', + from: '/v2.0-v2.4/pages-for-subheaders/cluster-alerts' + }, + { + to: '/v2.0-v2.4/reference-guides/cluster-configuration', + from: '/v2.0-v2.4/pages-for-subheaders/cluster-configuration' + }, + { + to: '/v2.0-v2.4/explanations/integrations-in-rancher/cluster-logging', + from: '/v2.0-v2.4/pages-for-subheaders/cluster-logging' + }, + { + to: '/v2.0-v2.4/explanations/integrations-in-rancher/cluster-monitoring', + from: '/v2.0-v2.4/pages-for-subheaders/cluster-monitoring' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options/advanced-use-cases/cluster-yml-templates', + from: '/v2.0-v2.4/pages-for-subheaders/cluster-yml' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/authentication-permissions-and-global-configuration/about-authentication/configure-microsoft-ad-federation-service-saml', + from: '/v2.0-v2.4/pages-for-subheaders/configure-microsoft-ad-federation-service-saml' + }, + { + to: '/v2.0-v2.4/reference-guides/configure-openldap', + from: '/v2.0-v2.4/pages-for-subheaders/configure-openldap' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/authentication-permissions-and-global-configuration/about-authentication/configure-shibboleth-saml', + from: '/v2.0-v2.4/pages-for-subheaders/configure-shibboleth-saml' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/manage-clusters/create-kubernetes-persistent-storage', + from: '/v2.0-v2.4/pages-for-subheaders/create-kubernetes-persistent-storage' + }, + { + to: '/v2.0-v2.4/reference-guides/cluster-configuration/downstream-cluster-configuration/node-template-configuration/vsphere', + from: '/v2.0-v2.4/pages-for-subheaders/creating-a-vsphere-cluster' + }, + { + to: '/v2.0-v2.4/getting-started/quick-start-guides/deploy-rancher-manager', + from: '/v2.0-v2.4/pages-for-subheaders/deploy-rancher-manager' + }, + { + to: '/v2.0-v2.4/getting-started/quick-start-guides/deploy-workloads', + from: '/v2.0-v2.4/pages-for-subheaders/deploy-rancher-workloads' + }, + { + to: '/v2.0-v2.4/reference-guides/cluster-configuration/downstream-cluster-configuration', + from: '/v2.0-v2.4/pages-for-subheaders/downstream-cluster-configuration' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options/enable-experimental-features', + from: '/v2.0-v2.4/pages-for-subheaders/enable-experimental-features' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options/advanced-use-cases/helm2/create-nodes-lb', + from: '/v2.0-v2.4/pages-for-subheaders/helm2-create-nodes-lb' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options/advanced-use-cases/helm2/helm-init', + from: '/v2.0-v2.4/pages-for-subheaders/helm2-helm-init' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options/advanced-use-cases/helm2/kubernetes-rke', + from: '/v2.0-v2.4/pages-for-subheaders/helm2-kubernetes-rke' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options/advanced-use-cases/helm2', + from: '/v2.0-v2.4/pages-for-subheaders/helm2' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options/advanced-use-cases/helm2/rke-add-on/layer-4-lb', + from: '/v2.0-v2.4/pages-for-subheaders/helm2-rke-add-on-layer-4-lb' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options/advanced-use-cases/helm2/rke-add-on/layer-7-lb', + from: '/v2.0-v2.4/pages-for-subheaders/helm2-rke-add-on-layer-7-lb' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options/advanced-use-cases/helm2/rke-add-on', + from: '/v2.0-v2.4/pages-for-subheaders/helm2-rke-add-on' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options/advanced-use-cases/helm2/rke-add-on/troubleshooting', + from: '/v2.0-v2.4/pages-for-subheaders/helm2-rke-add-on-troubleshooting' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/helm-charts-in-rancher', + from: '/v2.0-v2.4/pages-for-subheaders/helm-charts-in-rancher' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options/advanced-use-cases/helm2/helm-rancher', + from: '/v2.0-v2.4/pages-for-subheaders/helm-rancher' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-resources-setup/horizontal-pod-autoscaler', + from: '/v2.0-v2.4/pages-for-subheaders/horizontal-pod-autoscaler' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/infrastructure-setup', + from: '/v2.0-v2.4/pages-for-subheaders/infrastructure-setup' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade', + from: '/v2.0-v2.4/pages-for-subheaders/installation-and-upgrade' + }, + { + to: '/v2.0-v2.4/reference-guides/installation-references', + from: '/v2.0-v2.4/pages-for-subheaders/installation-references' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/installation-requirements', + from: '/v2.0-v2.4/pages-for-subheaders/installation-requirements' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/manage-clusters/install-cluster-autoscaler', + from: '/v2.0-v2.4/pages-for-subheaders/install-cluster-autoscaler' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster', + from: '/v2.0-v2.4/pages-for-subheaders/install-upgrade-on-a-kubernetes-cluster' + }, + { + to: '/v2.0-v2.4/explanations/integrations-in-rancher', + from: '/v2.0-v2.4/pages-for-subheaders/integrations-in-rancher' + }, + { + to: '/v2.0-v2.4/getting-started/introduction', + from: '/v2.0-v2.4/pages-for-subheaders/introduction' + }, + { + to: '/v2.0-v2.4/explanations/integrations-in-rancher/istio', + from: '/v2.0-v2.4/pages-for-subheaders/istio' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/istio-setup-guide', + from: '/v2.0-v2.4/pages-for-subheaders/istio-setup-guide' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-cluster-setup', + from: '/v2.0-v2.4/pages-for-subheaders/kubernetes-cluster-setup' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup', + from: '/v2.0-v2.4/pages-for-subheaders/kubernetes-clusters-in-rancher-setup' + }, + { + to: '/v2.0-v2.4/troubleshooting/kubernetes-components', + from: '/v2.0-v2.4/pages-for-subheaders/kubernetes-components' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-resources-setup', + from: '/v2.0-v2.4/pages-for-subheaders/kubernetes-resources-setup' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/launch-kubernetes-with-rancher', + from: '/v2.0-v2.4/pages-for-subheaders/launch-kubernetes-with-rancher' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-resources-setup/load-balancer-and-ingress-controller', + from: '/v2.0-v2.4/pages-for-subheaders/load-balancer-and-ingress-controller' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/manage-clusters', + from: '/v2.0-v2.4/pages-for-subheaders/manage-clusters' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/manage-clusters/create-kubernetes-persistent-storage/manage-persistent-storage', + from: '/v2.0-v2.4/pages-for-subheaders/manage-persistent-storage' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/manage-projects/manage-project-resource-quotas', + from: '/v2.0-v2.4/pages-for-subheaders/manage-project-resource-quotas' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/manage-projects', + from: '/v2.0-v2.4/pages-for-subheaders/manage-projects' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/authentication-permissions-and-global-configuration/manage-role-based-access-control-rbac', + from: '/v2.0-v2.4/pages-for-subheaders/manage-role-based-access-control-rbac' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/migrate-from-v1.6-v2.x', + from: '/v2.0-v2.4/pages-for-subheaders/migrate-from-v1.6-v2.x' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides', + from: '/v2.0-v2.4/pages-for-subheaders/new-user-guides' + }, + { + to: '/v2.0-v2.4/reference-guides/cluster-configuration/downstream-cluster-configuration/node-template-configuration', + from: '/v2.0-v2.4/pages-for-subheaders/node-template-configuration' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/launch-kubernetes-with-rancher/set-up-cloud-providers/other-cloud-providers', + from: '/v2.0-v2.4/pages-for-subheaders/other-cloud-providers' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/other-installation-methods/air-gapped-helm-cli-install', + from: '/v2.0-v2.4/pages-for-subheaders/other-installation-methods' + }, + { + to: '/v2.0-v2.4/troubleshooting/other-troubleshooting-tips', + from: '/v2.0-v2.4/pages-for-subheaders/other-troubleshooting-tips' + }, + { + to: '/v2.0-v2.4/reference-guides/pipelines', + from: '/v2.0-v2.4/pages-for-subheaders/pipelines' + }, + { + to: '/v2.0-v2.4/reference-guides/rancher-project-tools', + from: '/v2.0-v2.4/pages-for-subheaders/project-tools' + }, + { + to: '/v2.0-v2.4/how-to-guides/advanced-user-guides/manage-clusters/create-kubernetes-persistent-storage/provisioning-storage-examples', + from: '/v2.0-v2.4/pages-for-subheaders/provisioning-storage-examples' + }, + { + to: '/v2.0-v2.4/getting-started/quick-start-guides', + from: '/v2.0-v2.4/pages-for-subheaders/quick-start-guides' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/other-installation-methods/rancher-behind-an-http-proxy', + from: '/v2.0-v2.4/pages-for-subheaders/rancher-behind-an-http-proxy' + }, + { + to: '/v2.0-v2.4/reference-guides/rancher-manager-architecture', + from: '/v2.0-v2.4/pages-for-subheaders/rancher-manager-architecture' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/other-installation-methods/rancher-on-a-single-node-with-docker', + from: '/v2.0-v2.4/pages-for-subheaders/rancher-on-a-single-node-with-docker' + }, + { + to: '/v2.0-v2.4/reference-guides/rancher-security', + from: '/v2.0-v2.4/pages-for-subheaders/rancher-security' + }, + { + to: '/v2.0-v2.4/reference-guides/cluster-configuration/rancher-server-configuration', + from: '/v2.0-v2.4/pages-for-subheaders/rancher-server-configuration' + }, + { + to: '/v2.0-v2.4/reference-guides/rancher-security/rancher-v2.1-hardening-guides', + from: '/v2.0-v2.4/pages-for-subheaders/rancher-v2.1-hardening-guides' + }, + { + to: '/v2.0-v2.4/reference-guides/rancher-security/rancher-v2.2-hardening-guides', + from: '/v2.0-v2.4/pages-for-subheaders/rancher-v2.2-hardening-guides' + }, + { + to: '/v2.0-v2.4/reference-guides/rancher-security/rancher-v2.3-hardening-guides', + from: '/v2.0-v2.4/pages-for-subheaders/rancher-v2.3-hardening-guides' + }, + { + to: '/v2.0-v2.4/reference-guides/rancher-security/rancher-v2.4-hardening-guides', + from: '/v2.0-v2.4/pages-for-subheaders/rancher-v2.4-hardening-guides' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/resources', + from: '/v2.0-v2.4/pages-for-subheaders/resources' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/advanced-options/advanced-use-cases/rke-add-on', + from: '/v2.0-v2.4/pages-for-subheaders/rke-add-on' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/launch-kubernetes-with-rancher/set-up-cloud-providers', + from: '/v2.0-v2.4/pages-for-subheaders/set-up-cloud-providers' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/set-up-clusters-from-hosted-kubernetes-providers', + from: '/v2.0-v2.4/pages-for-subheaders/set-up-clusters-from-hosted-kubernetes-providers' + }, + { + to: '/v2.0-v2.4/reference-guides/single-node-rancher-in-docker', + from: '/v2.0-v2.4/pages-for-subheaders/single-node-rancher-in-docker' + }, + { + to: '/v2.0-v2.4/getting-started/installation-and-upgrade/install-upgrade-on-a-kubernetes-cluster/upgrades', + from: '/v2.0-v2.4/pages-for-subheaders/upgrades' + }, + { + to: '/v2.0-v2.4/reference-guides/cluster-configuration/rancher-server-configuration/use-existing-nodes', + from: '/v2.0-v2.4/pages-for-subheaders/use-existing-nodes' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/launch-kubernetes-with-rancher/use-new-nodes-in-an-infra-provider', + from: '/v2.0-v2.4/pages-for-subheaders/use-new-nodes-in-an-infra-provider' + }, + { + to: '/v2.0-v2.4/reference-guides/user-settings', + from: '/v2.0-v2.4/pages-for-subheaders/user-settings' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/launch-kubernetes-with-rancher/use-windows-clusters', + from: '/v2.0-v2.4/pages-for-subheaders/use-windows-clusters' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-clusters-in-rancher-setup/launch-kubernetes-with-rancher/use-new-nodes-in-an-infra-provider/vsphere', + from: '/v2.0-v2.4/pages-for-subheaders/vsphere' + }, + { + to: '/v2.0-v2.4/how-to-guides/new-user-guides/kubernetes-resources-setup/workloads-and-pods', + from: '/v2.0-v2.4/pages-for-subheaders/workloads-and-pods' + }, // Redirects for pages-for-subheaders removal [2.0-2.4] (end) { // Redirects for dashboard#9970 to: '/v2.8/how-to-guides/new-user-guides/launch-kubernetes-with-rancher/rke1-vs-rke2-differences', from: '/v2.8/cluster-provisioning/rke-clusters/behavior-differences-between-rke1-and-rke2/'