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.
This commit is contained in:
Takuya Tokuda
2018-06-07 08:51:26 +09:00
committed by k8s-ci-robot
parent 874ebb8f0a
commit 0502832cbb
64 changed files with 78 additions and 9 deletions
@@ -1,5 +1,6 @@
--- ---
title: Concepts Underlying the Cloud Controller Manager title: Concepts Underlying the Cloud Controller Manager
weight: 30
--- ---
## Cloud Controller Manager ## Cloud Controller Manager
@@ -4,6 +4,7 @@ reviewers:
- roberthbailey - roberthbailey
- liggitt - liggitt
title: Master-Node communication title: Master-Node communication
weight: 20
--- ---
{{< toc >}} {{< toc >}}
@@ -3,6 +3,7 @@ reviewers:
- caesarxuchao - caesarxuchao
- dchen1107 - dchen1107
title: Nodes title: Nodes
weight: 10
--- ---
{{< toc >}} {{< toc >}}
@@ -1,5 +1,6 @@
--- ---
title: Certificates title: Certificates
weight: 20
--- ---
{{< toc >}} {{< toc >}}
@@ -1,6 +1,7 @@
--- ---
title: Cloud Providers title: Cloud Providers
content_template: templates/concept content_template: templates/concept
weight: 30
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- lavalamp - lavalamp
title: Cluster Administration Overview title: Cluster Administration Overview
content_template: templates/concept content_template: templates/concept
weight: 10
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Controller manager metrics title: Controller manager metrics
content_template: templates/concept content_template: templates/concept
weight: 100
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Federation title: Federation
content_template: templates/concept content_template: templates/concept
weight: 80
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -2,6 +2,7 @@
reviewers: reviewers:
- mikedanese - mikedanese
title: Configuring kubelet Garbage Collection title: Configuring kubelet Garbage Collection
weight: 70
--- ---
{{< toc >}} {{< toc >}}
@@ -3,6 +3,7 @@ reviewers:
- piosz - piosz
- x13n - x13n
title: Logging Architecture 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. 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.
@@ -4,6 +4,7 @@ reviewers:
- janetkuo - janetkuo
- mikedanese - mikedanese
title: Managing Resources 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/). 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/).
@@ -2,6 +2,7 @@
reviewers: reviewers:
- thockin - thockin
title: Cluster Networking title: Cluster Networking
weight: 50
--- ---
Kubernetes approaches networking somewhat differently than Docker does by Kubernetes approaches networking somewhat differently than Docker does by
@@ -1,6 +1,7 @@
--- ---
title: Proxies in Kubernetes title: Proxies in Kubernetes
content_template: templates/concept content_template: templates/concept
weight: 90
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- kevin-wangzefeng - kevin-wangzefeng
- bsalamat - bsalamat
title: Assigning Pods to Nodes 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 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
@@ -1,6 +1,7 @@
--- ---
title: Managing Compute Resources for Containers title: Managing Compute Resources for Containers
content_template: templates/concept content_template: templates/concept
weight: 20
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Organizing Cluster Access Using kubeconfig Files title: Organizing Cluster Access Using kubeconfig Files
content_template: templates/concept content_template: templates/concept
weight: 60
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -3,6 +3,7 @@ reviewers:
- mikedanese - mikedanese
title: Configuration Best Practices title: Configuration Best Practices
content_template: templates/concept content_template: templates/concept
weight: 10
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- wojtek-t - wojtek-t
title: Pod Priority and Preemption title: Pod Priority and Preemption
content_template: templates/concept content_template: templates/concept
weight: 70
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -2,6 +2,7 @@
reviewers: reviewers:
- mikedanese - mikedanese
title: Secrets title: Secrets
weight: 50
--- ---
Objects of type `secret` are intended to hold sensitive information, such as Objects of type `secret` are intended to hold sensitive information, such as
@@ -4,6 +4,7 @@ reviewers:
- kevin-wangzefeng - kevin-wangzefeng
- bsalamat - bsalamat
title: Taints and Tolerations title: Taints and Tolerations
weight: 40
--- ---
Node affinity, described [here](/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature), Node affinity, described [here](/docs/concepts/configuration/assign-pod-node/#node-affinity-beta-feature),
@@ -4,6 +4,7 @@ reviewers:
- thockin - thockin
title: Container Environment Variables title: Container Environment Variables
content_template: templates/concept content_template: templates/concept
weight: 20
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- thockin - thockin
title: Container Lifecycle Hooks title: Container Lifecycle Hooks
content_template: templates/concept content_template: templates/concept
weight: 30
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- thockin - thockin
title: Images title: Images
content_template: templates/concept content_template: templates/concept
weight: 10
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,3 +1,4 @@
--- ---
title: Extending Kubernetes title: Extending Kubernetes
weight: 40
--- ---
@@ -3,6 +3,7 @@ reviewers:
- lavalamp - lavalamp
title: Kubernetes Components title: Kubernetes Components
content_template: templates/concept content_template: templates/concept
weight: 20
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -2,6 +2,7 @@
reviewers: reviewers:
- chenopis - chenopis
title: The Kubernetes API 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). Overall API conventions are described in the [API conventions doc](https://git.k8s.io/community/contributors/devel/api-conventions.md).
@@ -1,6 +1,7 @@
--- ---
title: Declarative Management of Kubernetes Objects Using Configuration Files title: Declarative Management of Kubernetes Objects Using Configuration Files
content_template: templates/concept content_template: templates/concept
weight: 40
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Managing Kubernetes Objects Using Imperative Commands title: Managing Kubernetes Objects Using Imperative Commands
content_template: templates/concept content_template: templates/concept
weight: 20
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Imperative Management of Kubernetes Objects Using Configuration Files title: Imperative Management of Kubernetes Objects Using Configuration Files
content_template: templates/concept content_template: templates/concept
weight: 30
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Kubernetes Object Management title: Kubernetes Object Management
content_template: templates/concept content_template: templates/concept
weight: 10
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- mikedanese - mikedanese
title: What is Kubernetes? title: What is Kubernetes?
content_template: templates/concept content_template: templates/concept
weight: 10
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Annotations title: Annotations
content_template: templates/concept content_template: templates/concept
weight: 50
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Understanding Kubernetes Objects title: Understanding Kubernetes Objects
content_template: templates/concept content_template: templates/concept
weight: 10
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -2,6 +2,7 @@
reviewers: reviewers:
- mikedanese - mikedanese
title: Labels and Selectors title: Labels and Selectors
weight: 40
--- ---
_Labels_ are key/value pairs that are attached to objects, such as pods. _Labels_ are key/value pairs that are attached to objects, such as pods.
@@ -3,6 +3,7 @@ reviewers:
- mikedanese - mikedanese
- thockin - thockin
title: Names title: Names
weight: 20
--- ---
All objects in the Kubernetes REST API are unambiguously identified by a Name and a UID. All objects in the Kubernetes REST API are unambiguously identified by a Name and a UID.
@@ -4,6 +4,7 @@ reviewers:
- mikedanese - mikedanese
- thockin - thockin
title: Namespaces title: Namespaces
weight: 30
--- ---
Kubernetes supports multiple virtual clusters backed by the same physical cluster. Kubernetes supports multiple virtual clusters backed by the same physical cluster.
@@ -3,6 +3,7 @@ reviewers:
- pweil- - pweil-
- tallclair - tallclair
title: Pod Security Policies title: Pod Security Policies
weight: 20
--- ---
{{< feature-state state="beta" >}} {{< feature-state state="beta" >}}
@@ -2,6 +2,7 @@
reviewers: reviewers:
- derekwaynecarr - derekwaynecarr
title: Resource Quotas title: Resource Quotas
weight: 10
--- ---
When several users or teams share a cluster with a fixed number of nodes, When several users or teams share a cluster with a fixed number of nodes,
@@ -3,6 +3,7 @@ reviewers:
- rickypai - rickypai
- thockin - thockin
title: Adding entries to Pod /etc/hosts with HostAliases title: Adding entries to Pod /etc/hosts with HostAliases
weight: 60
--- ---
{{< toc >}} {{< toc >}}
@@ -4,6 +4,7 @@ reviewers:
- lavalamp - lavalamp
- thockin - thockin
title: Connecting Applications with Services title: Connecting Applications with Services
weight: 30
--- ---
{{< toc >}} {{< toc >}}
@@ -4,6 +4,7 @@ reviewers:
- thockin - thockin
title: DNS for Services and Pods title: DNS for Services and Pods
content_template: templates/concept content_template: templates/concept
weight: 20
--- ---
{{% capture overview %}} {{% capture overview %}}
This page provides an overview of DNS support by Kubernetes. This page provides an overview of DNS support by Kubernetes.
@@ -3,6 +3,7 @@ reviewers:
- bprashanth - bprashanth
title: Ingress title: Ingress
content_template: templates/concept content_template: templates/concept
weight: 40
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- caseydavenport - caseydavenport
- danwinship - danwinship
title: Network Policies title: Network Policies
weight: 50
--- ---
{{< toc >}} {{< toc >}}
@@ -2,6 +2,7 @@
reviewers: reviewers:
- bprashanth - bprashanth
title: Services title: Services
weight: 10
--- ---
Kubernetes [`Pods`](/docs/concepts/workloads/pods/pod/) are mortal. They are born and when they die, they Kubernetes [`Pods`](/docs/concepts/workloads/pods/pod/) are mortal. They are born and when they die, they
@@ -6,6 +6,7 @@ reviewers:
- msau42 - msau42
title: Dynamic Volume Provisioning title: Dynamic Volume Provisioning
content_template: templates/concept content_template: templates/concept
weight: 40
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -5,6 +5,7 @@ reviewers:
- thockin - thockin
- msau42 - msau42
title: Persistent Volumes title: Persistent Volumes
weight: 20
--- ---
This document describes the current state of `PersistentVolumes` in Kubernetes. Familiarity with [volumes](/docs/concepts/storage/volumes/) is suggested. This document describes the current state of `PersistentVolumes` in Kubernetes. Familiarity with [volumes](/docs/concepts/storage/volumes/) is suggested.
@@ -5,6 +5,7 @@ reviewers:
- thockin - thockin
- msau42 - msau42
title: Storage Classes title: Storage Classes
weight: 30
--- ---
This document describes the concept of `StorageClass` in Kubernetes. Familiarity This document describes the concept of `StorageClass` in Kubernetes. Familiarity
@@ -6,6 +6,7 @@ reviewers:
- msau42 - msau42
title: Volumes title: Volumes
content_template: templates/concept content_template: templates/concept
weight: 10
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -0,0 +1,5 @@
---
title: "Workloads"
weight: 60
---
@@ -4,6 +4,7 @@ reviewers:
- soltysh - soltysh
- janetkuo - janetkuo
title: CronJob title: CronJob
weight: 80
--- ---
{{< toc >}} {{< toc >}}
@@ -6,6 +6,7 @@ reviewers:
- janetkuo - janetkuo
- kow3ns - kow3ns
title: DaemonSet title: DaemonSet
weight: 50
--- ---
{{< toc >}} {{< toc >}}
@@ -4,6 +4,7 @@ reviewers:
- janetkuo - janetkuo
title: Deployments title: Deployments
content_template: templates/concept content_template: templates/concept
weight: 30
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Garbage Collection title: Garbage Collection
content_template: templates/concept content_template: templates/concept
weight: 60
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -3,6 +3,7 @@ reviewers:
- erictune - erictune
- soltysh - soltysh
title: Jobs - Run to Completion title: Jobs - Run to Completion
weight: 70
--- ---
{{< toc >}} {{< toc >}}
@@ -5,6 +5,7 @@ reviewers:
- madhusudancs - madhusudancs
title: ReplicaSet title: ReplicaSet
content_template: templates/concept content_template: templates/concept
weight: 10
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- janetkuo - janetkuo
title: ReplicationController title: ReplicationController
content_template: templates/concept content_template: templates/concept
weight: 20
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -8,6 +8,7 @@ reviewers:
- smarterclayton - smarterclayton
title: StatefulSets title: StatefulSets
content_template: templates/concept content_template: templates/concept
weight: 40
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -5,6 +5,7 @@ reviewers:
- davidopp - davidopp
title: Disruptions title: Disruptions
content_template: templates/concept content_template: templates/concept
weight: 60
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -3,6 +3,7 @@ reviewers:
- erictune - erictune
title: Init Containers title: Init Containers
content_template: templates/concept content_template: templates/concept
weight: 40
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Pod Lifecycle title: Pod Lifecycle
content_template: templates/concept content_template: templates/concept
weight: 30
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -3,6 +3,7 @@ reviewers:
- erictune - erictune
title: Pod Overview title: Pod Overview
content_template: templates/concept content_template: templates/concept
weight: 10
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
reviewers: reviewers:
title: Pods title: Pods
weight: 20
--- ---
{{< toc >}} {{< toc >}}
@@ -3,6 +3,7 @@ reviewers:
- jessfraz - jessfraz
title: Pod Preset title: Pod Preset
content_template: templates/concept content_template: templates/concept
weight: 50
--- ---
{{% capture overview %}} {{% capture overview %}}
+11 -9
View File
@@ -1,25 +1,27 @@
{{ $section := . }}
<a class="item" data-title="{{ .LinkTitle }}" href="{{ .RelPermalink }}"></a> <a class="item" data-title="{{ .LinkTitle }}" href="{{ .RelPermalink }}"></a>
{{ template "section-tree-nav-pages" . }} {{ template "section-tree-nav" . }}
{{ template "section-tree-nav" $section }}
{{ define "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 }} {{ range $sections }}
{{ if .IsPage }}
{{ template "section-tree-nav-page" . }}
{{ else }}
{{ template "section-tree-nav-section" . }}
{{ end }}
{{ end }}
{{ end }}
{{ define "section-tree-nav-section" }}
<div class="item" data-title="{{ .LinkTitle }}"> <div class="item" data-title="{{ .LinkTitle }}">
<div class="container"> <div class="container">
{{ if ge (len .Content) 10 }} {{ if ge (len .Content) 10 }}
{{/* The section page has content, so link to it. */}} {{/* The section page has content, so link to it. */}}
<a class="item" data-title="{{ .LinkTitle }}" href="{{ .RelPermalink }}"></a> <a class="item" data-title="{{ .LinkTitle }}" href="{{ .RelPermalink }}"></a>
{{ end }} {{ end }}
{{ template "section-tree-nav-pages" . }}
{{ template "section-tree-nav" . }} {{ template "section-tree-nav" . }}
</div> </div>
</div> </div>
{{ end }}
{{ end }} {{ end }}
{{ define "section-tree-nav-pages" }} {{ define "section-tree-nav-page" }}
{{ range where .Pages ".Params.toc_hide" "!=" true }}
<a class="item" data-title="{{ .LinkTitle }}" href="{{ .RelPermalink }}"></a> <a class="item" data-title="{{ .LinkTitle }}" href="{{ .RelPermalink }}"></a>
{{ end }} {{ end }}
{{ end }}