From 0502832cbb539b82fae007cabf19cc8d4c0253e9 Mon Sep 17 00:00:00 2001 From: Takuya Tokuda Date: Thu, 7 Jun 2018 08:51:26 +0900 Subject: [PATCH] Ordering content by weight (#8787) * ordering content by weight * fix weight of 'setup' contents * fix weight of 'concepts' contents * fix weight of 'tasks' contents * fix weight of 'tutorials' contents * fix weight of 'reference' contents * Revert "fix weight of 'tasks' contents" This reverts commit 4b6916bed07c92c5f9eed75fb0a7ef0244266623. * Revert "fix weight of 'tutorials' contents" This reverts commit a1f783314337b1eb40017aef47a6bf1453d8c840. * Revert "fix weight of 'setup' contents" This reverts commit 91c8de366587eed25c803f8e7d5a59005adb6025. * Revert "fix weight of 'reference' contents" This reverts commit cc95605f6a9863f8a4ffb636178c69a80d302c3e. --- .../concepts/architecture/cloud-controller.md | 1 + .../architecture/master-node-communication.md | 1 + .../en/docs/concepts/architecture/nodes.md | 1 + .../cluster-administration/certificates.md | 1 + .../cluster-administration/cloud-providers.md | 1 + .../cluster-administration-overview.md | 1 + .../controller-metrics.md | 1 + .../cluster-administration/federation.md | 1 + .../kubelet-garbage-collection.md | 1 + .../cluster-administration/logging.md | 1 + .../manage-deployment.md | 1 + .../cluster-administration/networking.md | 1 + .../cluster-administration/proxies.md | 1 + .../concepts/configuration/assign-pod-node.md | 1 + .../manage-compute-resources-container.md | 1 + .../organize-cluster-access-kubeconfig.md | 1 + .../docs/concepts/configuration/overview.md | 1 + .../configuration/pod-priority-preemption.md | 1 + .../en/docs/concepts/configuration/secret.md | 1 + .../configuration/taint-and-toleration.md | 1 + .../container-environment-variables.md | 1 + .../containers/container-lifecycle-hooks.md | 1 + content/en/docs/concepts/containers/images.md | 1 + .../docs/concepts/extend-kubernetes/_index.md | 1 + .../en/docs/concepts/overview/components.md | 1 + .../docs/concepts/overview/kubernetes-api.md | 1 + .../declarative-config.md | 1 + .../imperative-command.md | 1 + .../imperative-config.md | 1 + .../object-management-kubectl/overview.md | 1 + .../concepts/overview/what-is-kubernetes.md | 1 + .../working-with-objects/annotations.md | 1 + .../kubernetes-objects.md | 1 + .../overview/working-with-objects/labels.md | 1 + .../overview/working-with-objects/names.md | 1 + .../working-with-objects/namespaces.md | 1 + .../concepts/policy/pod-security-policy.md | 1 + .../docs/concepts/policy/resource-quotas.md | 1 + ...ries-to-pod-etc-hosts-with-host-aliases.md | 1 + .../connect-applications-service.md | 1 + .../services-networking/dns-pod-service.md | 1 + .../concepts/services-networking/ingress.md | 1 + .../services-networking/network-policies.md | 1 + .../concepts/services-networking/service.md | 1 + .../concepts/storage/dynamic-provisioning.md | 1 + .../concepts/storage/persistent-volumes.md | 1 + .../docs/concepts/storage/storage-classes.md | 1 + content/en/docs/concepts/storage/volumes.md | 1 + content/en/docs/concepts/workloads/_index.md | 5 +++++ .../workloads/controllers/cron-jobs.md | 1 + .../workloads/controllers/daemonset.md | 1 + .../workloads/controllers/deployment.md | 1 + .../controllers/garbage-collection.md | 1 + .../controllers/jobs-run-to-completion.md | 1 + .../workloads/controllers/replicaset.md | 1 + .../controllers/replicationcontroller.md | 1 + .../workloads/controllers/statefulset.md | 1 + .../concepts/workloads/pods/disruptions.md | 1 + .../workloads/pods/init-containers.md | 1 + .../concepts/workloads/pods/pod-lifecycle.md | 1 + .../concepts/workloads/pods/pod-overview.md | 1 + .../en/docs/concepts/workloads/pods/pod.md | 1 + .../docs/concepts/workloads/pods/podpreset.md | 1 + layouts/partials/tree.html | 20 ++++++++++--------- 64 files changed, 78 insertions(+), 9 deletions(-) create mode 100644 content/en/docs/concepts/workloads/_index.md diff --git a/content/en/docs/concepts/architecture/cloud-controller.md b/content/en/docs/concepts/architecture/cloud-controller.md index 81b1012579..b83dc23124 100644 --- a/content/en/docs/concepts/architecture/cloud-controller.md +++ b/content/en/docs/concepts/architecture/cloud-controller.md @@ -1,5 +1,6 @@ --- title: Concepts Underlying the Cloud Controller Manager +weight: 30 --- ## Cloud Controller Manager diff --git a/content/en/docs/concepts/architecture/master-node-communication.md b/content/en/docs/concepts/architecture/master-node-communication.md index 69fabb8808..7b95443abd 100644 --- a/content/en/docs/concepts/architecture/master-node-communication.md +++ b/content/en/docs/concepts/architecture/master-node-communication.md @@ -4,6 +4,7 @@ reviewers: - roberthbailey - liggitt title: Master-Node communication +weight: 20 --- {{< toc >}} diff --git a/content/en/docs/concepts/architecture/nodes.md b/content/en/docs/concepts/architecture/nodes.md index 55b02344ab..e52dc0eb38 100644 --- a/content/en/docs/concepts/architecture/nodes.md +++ b/content/en/docs/concepts/architecture/nodes.md @@ -3,6 +3,7 @@ reviewers: - caesarxuchao - dchen1107 title: Nodes +weight: 10 --- {{< toc >}} diff --git a/content/en/docs/concepts/cluster-administration/certificates.md b/content/en/docs/concepts/cluster-administration/certificates.md index eba43a105a..7df5cd0411 100644 --- a/content/en/docs/concepts/cluster-administration/certificates.md +++ b/content/en/docs/concepts/cluster-administration/certificates.md @@ -1,5 +1,6 @@ --- title: Certificates +weight: 20 --- {{< toc >}} diff --git a/content/en/docs/concepts/cluster-administration/cloud-providers.md b/content/en/docs/concepts/cluster-administration/cloud-providers.md index 481225aa3d..7d025a81c8 100644 --- a/content/en/docs/concepts/cluster-administration/cloud-providers.md +++ b/content/en/docs/concepts/cluster-administration/cloud-providers.md @@ -1,6 +1,7 @@ --- title: Cloud Providers content_template: templates/concept +weight: 30 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/cluster-administration/cluster-administration-overview.md b/content/en/docs/concepts/cluster-administration/cluster-administration-overview.md index 489c26ffc4..5c83f861da 100644 --- a/content/en/docs/concepts/cluster-administration/cluster-administration-overview.md +++ b/content/en/docs/concepts/cluster-administration/cluster-administration-overview.md @@ -4,6 +4,7 @@ reviewers: - lavalamp title: Cluster Administration Overview content_template: templates/concept +weight: 10 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/cluster-administration/controller-metrics.md b/content/en/docs/concepts/cluster-administration/controller-metrics.md index e36313e4cc..57ed5c16d6 100644 --- a/content/en/docs/concepts/cluster-administration/controller-metrics.md +++ b/content/en/docs/concepts/cluster-administration/controller-metrics.md @@ -1,6 +1,7 @@ --- title: Controller manager metrics content_template: templates/concept +weight: 100 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/cluster-administration/federation.md b/content/en/docs/concepts/cluster-administration/federation.md index 45c05da8e5..78f9253b92 100644 --- a/content/en/docs/concepts/cluster-administration/federation.md +++ b/content/en/docs/concepts/cluster-administration/federation.md @@ -1,6 +1,7 @@ --- title: Federation content_template: templates/concept +weight: 80 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/cluster-administration/kubelet-garbage-collection.md b/content/en/docs/concepts/cluster-administration/kubelet-garbage-collection.md index 75a0f93b28..9b25a524c8 100644 --- a/content/en/docs/concepts/cluster-administration/kubelet-garbage-collection.md +++ b/content/en/docs/concepts/cluster-administration/kubelet-garbage-collection.md @@ -2,6 +2,7 @@ reviewers: - mikedanese title: Configuring kubelet Garbage Collection +weight: 70 --- {{< toc >}} diff --git a/content/en/docs/concepts/cluster-administration/logging.md b/content/en/docs/concepts/cluster-administration/logging.md index e9581b46c8..7611a4fcd1 100644 --- a/content/en/docs/concepts/cluster-administration/logging.md +++ b/content/en/docs/concepts/cluster-administration/logging.md @@ -3,6 +3,7 @@ reviewers: - piosz - x13n title: Logging Architecture +weight: 60 --- Application and systems logs can help you understand what is happening inside your cluster. The logs are particularly useful for debugging problems and monitoring cluster activity. Most modern applications have some kind of logging mechanism; as such, most container engines are likewise designed to support some kind of logging. The easiest and most embraced logging method for containerized applications is to write to the standard output and standard error streams. diff --git a/content/en/docs/concepts/cluster-administration/manage-deployment.md b/content/en/docs/concepts/cluster-administration/manage-deployment.md index 2bdd54aa63..26dda7bbbf 100644 --- a/content/en/docs/concepts/cluster-administration/manage-deployment.md +++ b/content/en/docs/concepts/cluster-administration/manage-deployment.md @@ -4,6 +4,7 @@ reviewers: - janetkuo - mikedanese title: Managing Resources +weight: 40 --- You've deployed your application and exposed it via a service. Now what? Kubernetes provides a number of tools to help you manage your application deployment, including scaling and updating. Among the features that we will discuss in more depth are [configuration files](/docs/concepts/configuration/overview/) and [labels](/docs/concepts/overview/working-with-objects/labels/). diff --git a/content/en/docs/concepts/cluster-administration/networking.md b/content/en/docs/concepts/cluster-administration/networking.md index 61457b4546..18d5e1e518 100644 --- a/content/en/docs/concepts/cluster-administration/networking.md +++ b/content/en/docs/concepts/cluster-administration/networking.md @@ -2,6 +2,7 @@ reviewers: - thockin title: Cluster Networking +weight: 50 --- Kubernetes approaches networking somewhat differently than Docker does by diff --git a/content/en/docs/concepts/cluster-administration/proxies.md b/content/en/docs/concepts/cluster-administration/proxies.md index 4d9133d178..419e422da7 100644 --- a/content/en/docs/concepts/cluster-administration/proxies.md +++ b/content/en/docs/concepts/cluster-administration/proxies.md @@ -1,6 +1,7 @@ --- title: Proxies in Kubernetes content_template: templates/concept +weight: 90 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/configuration/assign-pod-node.md b/content/en/docs/concepts/configuration/assign-pod-node.md index 4b0a310483..3b14a6c395 100644 --- a/content/en/docs/concepts/configuration/assign-pod-node.md +++ b/content/en/docs/concepts/configuration/assign-pod-node.md @@ -4,6 +4,7 @@ reviewers: - kevin-wangzefeng - bsalamat title: Assigning Pods to Nodes +weight: 30 --- You can constrain a [pod](/docs/concepts/workloads/pods/pod/) to only be able to run on particular [nodes](/docs/concepts/architecture/nodes/) or to prefer to diff --git a/content/en/docs/concepts/configuration/manage-compute-resources-container.md b/content/en/docs/concepts/configuration/manage-compute-resources-container.md index fe3cd36444..38c4f9761a 100644 --- a/content/en/docs/concepts/configuration/manage-compute-resources-container.md +++ b/content/en/docs/concepts/configuration/manage-compute-resources-container.md @@ -1,6 +1,7 @@ --- title: Managing Compute Resources for Containers content_template: templates/concept +weight: 20 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/configuration/organize-cluster-access-kubeconfig.md b/content/en/docs/concepts/configuration/organize-cluster-access-kubeconfig.md index 44d313f8fe..d48b600bef 100644 --- a/content/en/docs/concepts/configuration/organize-cluster-access-kubeconfig.md +++ b/content/en/docs/concepts/configuration/organize-cluster-access-kubeconfig.md @@ -1,6 +1,7 @@ --- title: Organizing Cluster Access Using kubeconfig Files content_template: templates/concept +weight: 60 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/configuration/overview.md b/content/en/docs/concepts/configuration/overview.md index d0cf8e212e..bf8269dc56 100644 --- a/content/en/docs/concepts/configuration/overview.md +++ b/content/en/docs/concepts/configuration/overview.md @@ -3,6 +3,7 @@ reviewers: - mikedanese title: Configuration Best Practices content_template: templates/concept +weight: 10 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/configuration/pod-priority-preemption.md b/content/en/docs/concepts/configuration/pod-priority-preemption.md index 042d36a41a..9564247fe1 100644 --- a/content/en/docs/concepts/configuration/pod-priority-preemption.md +++ b/content/en/docs/concepts/configuration/pod-priority-preemption.md @@ -4,6 +4,7 @@ reviewers: - wojtek-t title: Pod Priority and Preemption content_template: templates/concept +weight: 70 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/configuration/secret.md b/content/en/docs/concepts/configuration/secret.md index 4030536bc1..cc16460018 100644 --- a/content/en/docs/concepts/configuration/secret.md +++ b/content/en/docs/concepts/configuration/secret.md @@ -2,6 +2,7 @@ reviewers: - mikedanese title: Secrets +weight: 50 --- Objects of type `secret` are intended to hold sensitive information, such as diff --git a/content/en/docs/concepts/configuration/taint-and-toleration.md b/content/en/docs/concepts/configuration/taint-and-toleration.md index 03927a6c7c..a92154201d 100644 --- a/content/en/docs/concepts/configuration/taint-and-toleration.md +++ b/content/en/docs/concepts/configuration/taint-and-toleration.md @@ -4,6 +4,7 @@ reviewers: - kevin-wangzefeng - bsalamat title: Taints and Tolerations +weight: 40 --- Node affinity, described [here](/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature), diff --git a/content/en/docs/concepts/containers/container-environment-variables.md b/content/en/docs/concepts/containers/container-environment-variables.md index b5fb026b30..cefa41c50a 100644 --- a/content/en/docs/concepts/containers/container-environment-variables.md +++ b/content/en/docs/concepts/containers/container-environment-variables.md @@ -4,6 +4,7 @@ reviewers: - thockin title: Container Environment Variables content_template: templates/concept +weight: 20 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/containers/container-lifecycle-hooks.md b/content/en/docs/concepts/containers/container-lifecycle-hooks.md index 0ab21d2e6f..633170db63 100644 --- a/content/en/docs/concepts/containers/container-lifecycle-hooks.md +++ b/content/en/docs/concepts/containers/container-lifecycle-hooks.md @@ -4,6 +4,7 @@ reviewers: - thockin title: Container Lifecycle Hooks content_template: templates/concept +weight: 30 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/containers/images.md b/content/en/docs/concepts/containers/images.md index a8c1c931e9..6d2795c88d 100644 --- a/content/en/docs/concepts/containers/images.md +++ b/content/en/docs/concepts/containers/images.md @@ -4,6 +4,7 @@ reviewers: - thockin title: Images content_template: templates/concept +weight: 10 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/extend-kubernetes/_index.md b/content/en/docs/concepts/extend-kubernetes/_index.md index ff1725b269..db04ba3e77 100644 --- a/content/en/docs/concepts/extend-kubernetes/_index.md +++ b/content/en/docs/concepts/extend-kubernetes/_index.md @@ -1,3 +1,4 @@ --- title: Extending Kubernetes +weight: 40 --- diff --git a/content/en/docs/concepts/overview/components.md b/content/en/docs/concepts/overview/components.md index 800d72becb..590e0598ba 100644 --- a/content/en/docs/concepts/overview/components.md +++ b/content/en/docs/concepts/overview/components.md @@ -3,6 +3,7 @@ reviewers: - lavalamp title: Kubernetes Components content_template: templates/concept +weight: 20 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/overview/kubernetes-api.md b/content/en/docs/concepts/overview/kubernetes-api.md index 77606a1e38..e55b435c7a 100644 --- a/content/en/docs/concepts/overview/kubernetes-api.md +++ b/content/en/docs/concepts/overview/kubernetes-api.md @@ -2,6 +2,7 @@ reviewers: - chenopis title: The Kubernetes API +weight: 30 --- Overall API conventions are described in the [API conventions doc](https://git.k8s.io/community/contributors/devel/api-conventions.md). diff --git a/content/en/docs/concepts/overview/object-management-kubectl/declarative-config.md b/content/en/docs/concepts/overview/object-management-kubectl/declarative-config.md index 098a797481..7968ab71d4 100644 --- a/content/en/docs/concepts/overview/object-management-kubectl/declarative-config.md +++ b/content/en/docs/concepts/overview/object-management-kubectl/declarative-config.md @@ -1,6 +1,7 @@ --- title: Declarative Management of Kubernetes Objects Using Configuration Files content_template: templates/concept +weight: 40 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/overview/object-management-kubectl/imperative-command.md b/content/en/docs/concepts/overview/object-management-kubectl/imperative-command.md index 9d02d928c1..583bb03f52 100644 --- a/content/en/docs/concepts/overview/object-management-kubectl/imperative-command.md +++ b/content/en/docs/concepts/overview/object-management-kubectl/imperative-command.md @@ -1,6 +1,7 @@ --- title: Managing Kubernetes Objects Using Imperative Commands content_template: templates/concept +weight: 20 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/overview/object-management-kubectl/imperative-config.md b/content/en/docs/concepts/overview/object-management-kubectl/imperative-config.md index 77fc318d33..a76a0667ad 100644 --- a/content/en/docs/concepts/overview/object-management-kubectl/imperative-config.md +++ b/content/en/docs/concepts/overview/object-management-kubectl/imperative-config.md @@ -1,6 +1,7 @@ --- title: Imperative Management of Kubernetes Objects Using Configuration Files content_template: templates/concept +weight: 30 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/overview/object-management-kubectl/overview.md b/content/en/docs/concepts/overview/object-management-kubectl/overview.md index 273173a7c6..fe2baf4a5d 100644 --- a/content/en/docs/concepts/overview/object-management-kubectl/overview.md +++ b/content/en/docs/concepts/overview/object-management-kubectl/overview.md @@ -1,6 +1,7 @@ --- title: Kubernetes Object Management content_template: templates/concept +weight: 10 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/overview/what-is-kubernetes.md b/content/en/docs/concepts/overview/what-is-kubernetes.md index 3adf53a238..fcc49f2081 100644 --- a/content/en/docs/concepts/overview/what-is-kubernetes.md +++ b/content/en/docs/concepts/overview/what-is-kubernetes.md @@ -4,6 +4,7 @@ reviewers: - mikedanese title: What is Kubernetes? content_template: templates/concept +weight: 10 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/overview/working-with-objects/annotations.md b/content/en/docs/concepts/overview/working-with-objects/annotations.md index b415766c39..328a93fa1d 100644 --- a/content/en/docs/concepts/overview/working-with-objects/annotations.md +++ b/content/en/docs/concepts/overview/working-with-objects/annotations.md @@ -1,6 +1,7 @@ --- title: Annotations content_template: templates/concept +weight: 50 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/overview/working-with-objects/kubernetes-objects.md b/content/en/docs/concepts/overview/working-with-objects/kubernetes-objects.md index 0962242625..98bc60713c 100644 --- a/content/en/docs/concepts/overview/working-with-objects/kubernetes-objects.md +++ b/content/en/docs/concepts/overview/working-with-objects/kubernetes-objects.md @@ -1,6 +1,7 @@ --- title: Understanding Kubernetes Objects content_template: templates/concept +weight: 10 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/overview/working-with-objects/labels.md b/content/en/docs/concepts/overview/working-with-objects/labels.md index e76798eb48..538e3561e6 100644 --- a/content/en/docs/concepts/overview/working-with-objects/labels.md +++ b/content/en/docs/concepts/overview/working-with-objects/labels.md @@ -2,6 +2,7 @@ reviewers: - mikedanese title: Labels and Selectors +weight: 40 --- _Labels_ are key/value pairs that are attached to objects, such as pods. diff --git a/content/en/docs/concepts/overview/working-with-objects/names.md b/content/en/docs/concepts/overview/working-with-objects/names.md index a80940f7a2..4e81494a92 100644 --- a/content/en/docs/concepts/overview/working-with-objects/names.md +++ b/content/en/docs/concepts/overview/working-with-objects/names.md @@ -3,6 +3,7 @@ reviewers: - mikedanese - thockin title: Names +weight: 20 --- All objects in the Kubernetes REST API are unambiguously identified by a Name and a UID. diff --git a/content/en/docs/concepts/overview/working-with-objects/namespaces.md b/content/en/docs/concepts/overview/working-with-objects/namespaces.md index cae681936f..52a9aabe01 100644 --- a/content/en/docs/concepts/overview/working-with-objects/namespaces.md +++ b/content/en/docs/concepts/overview/working-with-objects/namespaces.md @@ -4,6 +4,7 @@ reviewers: - mikedanese - thockin title: Namespaces +weight: 30 --- Kubernetes supports multiple virtual clusters backed by the same physical cluster. diff --git a/content/en/docs/concepts/policy/pod-security-policy.md b/content/en/docs/concepts/policy/pod-security-policy.md index 7f84f2d6bc..3c998b6384 100644 --- a/content/en/docs/concepts/policy/pod-security-policy.md +++ b/content/en/docs/concepts/policy/pod-security-policy.md @@ -3,6 +3,7 @@ reviewers: - pweil- - tallclair title: Pod Security Policies +weight: 20 --- {{< feature-state state="beta" >}} diff --git a/content/en/docs/concepts/policy/resource-quotas.md b/content/en/docs/concepts/policy/resource-quotas.md index 91a4b7dbe7..1d125e7430 100644 --- a/content/en/docs/concepts/policy/resource-quotas.md +++ b/content/en/docs/concepts/policy/resource-quotas.md @@ -2,6 +2,7 @@ reviewers: - derekwaynecarr title: Resource Quotas +weight: 10 --- When several users or teams share a cluster with a fixed number of nodes, diff --git a/content/en/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases.md b/content/en/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases.md index fddfd06f4c..141fd22af3 100644 --- a/content/en/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases.md +++ b/content/en/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases.md @@ -3,6 +3,7 @@ reviewers: - rickypai - thockin title: Adding entries to Pod /etc/hosts with HostAliases +weight: 60 --- {{< toc >}} diff --git a/content/en/docs/concepts/services-networking/connect-applications-service.md b/content/en/docs/concepts/services-networking/connect-applications-service.md index c1621e0ce4..c896a1c7f9 100644 --- a/content/en/docs/concepts/services-networking/connect-applications-service.md +++ b/content/en/docs/concepts/services-networking/connect-applications-service.md @@ -4,6 +4,7 @@ reviewers: - lavalamp - thockin title: Connecting Applications with Services +weight: 30 --- {{< toc >}} diff --git a/content/en/docs/concepts/services-networking/dns-pod-service.md b/content/en/docs/concepts/services-networking/dns-pod-service.md index 857996fb6f..abb596ab70 100644 --- a/content/en/docs/concepts/services-networking/dns-pod-service.md +++ b/content/en/docs/concepts/services-networking/dns-pod-service.md @@ -4,6 +4,7 @@ reviewers: - thockin title: DNS for Services and Pods content_template: templates/concept +weight: 20 --- {{% capture overview %}} This page provides an overview of DNS support by Kubernetes. diff --git a/content/en/docs/concepts/services-networking/ingress.md b/content/en/docs/concepts/services-networking/ingress.md index adef0d3278..8973637c65 100644 --- a/content/en/docs/concepts/services-networking/ingress.md +++ b/content/en/docs/concepts/services-networking/ingress.md @@ -3,6 +3,7 @@ reviewers: - bprashanth title: Ingress content_template: templates/concept +weight: 40 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/services-networking/network-policies.md b/content/en/docs/concepts/services-networking/network-policies.md index 7222d9116c..32794823c5 100644 --- a/content/en/docs/concepts/services-networking/network-policies.md +++ b/content/en/docs/concepts/services-networking/network-policies.md @@ -4,6 +4,7 @@ reviewers: - caseydavenport - danwinship title: Network Policies +weight: 50 --- {{< toc >}} diff --git a/content/en/docs/concepts/services-networking/service.md b/content/en/docs/concepts/services-networking/service.md index 9a152cd853..b08a72210a 100644 --- a/content/en/docs/concepts/services-networking/service.md +++ b/content/en/docs/concepts/services-networking/service.md @@ -2,6 +2,7 @@ reviewers: - bprashanth title: Services +weight: 10 --- Kubernetes [`Pods`](/docs/concepts/workloads/pods/pod/) are mortal. They are born and when they die, they diff --git a/content/en/docs/concepts/storage/dynamic-provisioning.md b/content/en/docs/concepts/storage/dynamic-provisioning.md index 40cfebefb1..e21e0b3659 100644 --- a/content/en/docs/concepts/storage/dynamic-provisioning.md +++ b/content/en/docs/concepts/storage/dynamic-provisioning.md @@ -6,6 +6,7 @@ reviewers: - msau42 title: Dynamic Volume Provisioning content_template: templates/concept +weight: 40 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/storage/persistent-volumes.md b/content/en/docs/concepts/storage/persistent-volumes.md index 27365b615e..72b66b9807 100644 --- a/content/en/docs/concepts/storage/persistent-volumes.md +++ b/content/en/docs/concepts/storage/persistent-volumes.md @@ -5,6 +5,7 @@ reviewers: - thockin - msau42 title: Persistent Volumes +weight: 20 --- This document describes the current state of `PersistentVolumes` in Kubernetes. Familiarity with [volumes](/docs/concepts/storage/volumes/) is suggested. diff --git a/content/en/docs/concepts/storage/storage-classes.md b/content/en/docs/concepts/storage/storage-classes.md index 82bf103c8e..80f0119338 100644 --- a/content/en/docs/concepts/storage/storage-classes.md +++ b/content/en/docs/concepts/storage/storage-classes.md @@ -5,6 +5,7 @@ reviewers: - thockin - msau42 title: Storage Classes +weight: 30 --- This document describes the concept of `StorageClass` in Kubernetes. Familiarity diff --git a/content/en/docs/concepts/storage/volumes.md b/content/en/docs/concepts/storage/volumes.md index 3011e89741..8fb4afcb52 100644 --- a/content/en/docs/concepts/storage/volumes.md +++ b/content/en/docs/concepts/storage/volumes.md @@ -6,6 +6,7 @@ reviewers: - msau42 title: Volumes content_template: templates/concept +weight: 10 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/workloads/_index.md b/content/en/docs/concepts/workloads/_index.md new file mode 100644 index 0000000000..702bdc6ee9 --- /dev/null +++ b/content/en/docs/concepts/workloads/_index.md @@ -0,0 +1,5 @@ +--- +title: "Workloads" +weight: 60 +--- + diff --git a/content/en/docs/concepts/workloads/controllers/cron-jobs.md b/content/en/docs/concepts/workloads/controllers/cron-jobs.md index 607309a7f7..84abde442e 100644 --- a/content/en/docs/concepts/workloads/controllers/cron-jobs.md +++ b/content/en/docs/concepts/workloads/controllers/cron-jobs.md @@ -4,6 +4,7 @@ reviewers: - soltysh - janetkuo title: CronJob +weight: 80 --- {{< toc >}} diff --git a/content/en/docs/concepts/workloads/controllers/daemonset.md b/content/en/docs/concepts/workloads/controllers/daemonset.md index dddc42ccd2..15237bf250 100644 --- a/content/en/docs/concepts/workloads/controllers/daemonset.md +++ b/content/en/docs/concepts/workloads/controllers/daemonset.md @@ -6,6 +6,7 @@ reviewers: - janetkuo - kow3ns title: DaemonSet +weight: 50 --- {{< toc >}} diff --git a/content/en/docs/concepts/workloads/controllers/deployment.md b/content/en/docs/concepts/workloads/controllers/deployment.md index 8dcbfc019a..ce6405b87e 100644 --- a/content/en/docs/concepts/workloads/controllers/deployment.md +++ b/content/en/docs/concepts/workloads/controllers/deployment.md @@ -4,6 +4,7 @@ reviewers: - janetkuo title: Deployments content_template: templates/concept +weight: 30 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/workloads/controllers/garbage-collection.md b/content/en/docs/concepts/workloads/controllers/garbage-collection.md index 376d88259e..4fcf1fbc44 100644 --- a/content/en/docs/concepts/workloads/controllers/garbage-collection.md +++ b/content/en/docs/concepts/workloads/controllers/garbage-collection.md @@ -1,6 +1,7 @@ --- title: Garbage Collection content_template: templates/concept +weight: 60 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/workloads/controllers/jobs-run-to-completion.md b/content/en/docs/concepts/workloads/controllers/jobs-run-to-completion.md index 54dc3afef8..9b9b8ab124 100644 --- a/content/en/docs/concepts/workloads/controllers/jobs-run-to-completion.md +++ b/content/en/docs/concepts/workloads/controllers/jobs-run-to-completion.md @@ -3,6 +3,7 @@ reviewers: - erictune - soltysh title: Jobs - Run to Completion +weight: 70 --- {{< toc >}} diff --git a/content/en/docs/concepts/workloads/controllers/replicaset.md b/content/en/docs/concepts/workloads/controllers/replicaset.md index ea003cc651..c0aee35a2b 100644 --- a/content/en/docs/concepts/workloads/controllers/replicaset.md +++ b/content/en/docs/concepts/workloads/controllers/replicaset.md @@ -5,6 +5,7 @@ reviewers: - madhusudancs title: ReplicaSet content_template: templates/concept +weight: 10 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/workloads/controllers/replicationcontroller.md b/content/en/docs/concepts/workloads/controllers/replicationcontroller.md index 2268a09828..5424cd1be1 100644 --- a/content/en/docs/concepts/workloads/controllers/replicationcontroller.md +++ b/content/en/docs/concepts/workloads/controllers/replicationcontroller.md @@ -4,6 +4,7 @@ reviewers: - janetkuo title: ReplicationController content_template: templates/concept +weight: 20 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/workloads/controllers/statefulset.md b/content/en/docs/concepts/workloads/controllers/statefulset.md index 475680db6b..8688c12bae 100644 --- a/content/en/docs/concepts/workloads/controllers/statefulset.md +++ b/content/en/docs/concepts/workloads/controllers/statefulset.md @@ -8,6 +8,7 @@ reviewers: - smarterclayton title: StatefulSets content_template: templates/concept +weight: 40 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/workloads/pods/disruptions.md b/content/en/docs/concepts/workloads/pods/disruptions.md index eaa250cc42..86f04ee7a8 100644 --- a/content/en/docs/concepts/workloads/pods/disruptions.md +++ b/content/en/docs/concepts/workloads/pods/disruptions.md @@ -5,6 +5,7 @@ reviewers: - davidopp title: Disruptions content_template: templates/concept +weight: 60 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/workloads/pods/init-containers.md b/content/en/docs/concepts/workloads/pods/init-containers.md index 056b11c851..267c19d000 100644 --- a/content/en/docs/concepts/workloads/pods/init-containers.md +++ b/content/en/docs/concepts/workloads/pods/init-containers.md @@ -3,6 +3,7 @@ reviewers: - erictune title: Init Containers content_template: templates/concept +weight: 40 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/workloads/pods/pod-lifecycle.md b/content/en/docs/concepts/workloads/pods/pod-lifecycle.md index 98125e3758..4c056aa2b6 100644 --- a/content/en/docs/concepts/workloads/pods/pod-lifecycle.md +++ b/content/en/docs/concepts/workloads/pods/pod-lifecycle.md @@ -1,6 +1,7 @@ --- title: Pod Lifecycle content_template: templates/concept +weight: 30 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/workloads/pods/pod-overview.md b/content/en/docs/concepts/workloads/pods/pod-overview.md index 71f2c0de77..76f849325f 100644 --- a/content/en/docs/concepts/workloads/pods/pod-overview.md +++ b/content/en/docs/concepts/workloads/pods/pod-overview.md @@ -3,6 +3,7 @@ reviewers: - erictune title: Pod Overview content_template: templates/concept +weight: 10 --- {{% capture overview %}} diff --git a/content/en/docs/concepts/workloads/pods/pod.md b/content/en/docs/concepts/workloads/pods/pod.md index 7969f86c5e..89c5e6c4f2 100644 --- a/content/en/docs/concepts/workloads/pods/pod.md +++ b/content/en/docs/concepts/workloads/pods/pod.md @@ -1,6 +1,7 @@ --- reviewers: title: Pods +weight: 20 --- {{< toc >}} diff --git a/content/en/docs/concepts/workloads/pods/podpreset.md b/content/en/docs/concepts/workloads/pods/podpreset.md index 4cd991e536..7efa9711f5 100644 --- a/content/en/docs/concepts/workloads/pods/podpreset.md +++ b/content/en/docs/concepts/workloads/pods/podpreset.md @@ -3,6 +3,7 @@ reviewers: - jessfraz title: Pod Preset content_template: templates/concept +weight: 50 --- {{% capture overview %}} diff --git a/layouts/partials/tree.html b/layouts/partials/tree.html index f285429807..bef4d1009d 100644 --- a/layouts/partials/tree.html +++ b/layouts/partials/tree.html @@ -1,25 +1,27 @@ -{{ $section := . }} -{{ template "section-tree-nav-pages" . }} -{{ template "section-tree-nav" $section }} +{{ template "section-tree-nav" . }} {{ define "section-tree-nav" }} - {{ $sections := where .Sections ".Params.toc_hide" "!=" true }} + {{ $sections := where (union .Pages .Sections).ByWeight ".Params.toc_hide" "!=" true }} {{ range $sections }} + {{ if .IsPage }} + {{ template "section-tree-nav-page" . }} + {{ else }} + {{ template "section-tree-nav-section" . }} + {{ end }} + {{ end }} +{{ end }} +{{ define "section-tree-nav-section" }}
{{ if ge (len .Content) 10 }} {{/* The section page has content, so link to it. */}} {{ end }} - {{ template "section-tree-nav-pages" . }} {{ template "section-tree-nav" . }}
- {{ end }} {{ end }} -{{ define "section-tree-nav-pages" }} -{{ range where .Pages ".Params.toc_hide" "!=" true }} +{{ define "section-tree-nav-page" }} {{ end }} -{{ end }}