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
weight: 30
---
## Cloud Controller Manager
@@ -4,6 +4,7 @@ reviewers:
- roberthbailey
- liggitt
title: Master-Node communication
weight: 20
---
{{< toc >}}
@@ -3,6 +3,7 @@ reviewers:
- caesarxuchao
- dchen1107
title: Nodes
weight: 10
---
{{< toc >}}
@@ -1,5 +1,6 @@
---
title: Certificates
weight: 20
---
{{< toc >}}
@@ -1,6 +1,7 @@
---
title: Cloud Providers
content_template: templates/concept
weight: 30
---
{{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- lavalamp
title: Cluster Administration Overview
content_template: templates/concept
weight: 10
---
{{% capture overview %}}
@@ -1,6 +1,7 @@
---
title: Controller manager metrics
content_template: templates/concept
weight: 100
---
{{% capture overview %}}
@@ -1,6 +1,7 @@
---
title: Federation
content_template: templates/concept
weight: 80
---
{{% capture overview %}}
@@ -2,6 +2,7 @@
reviewers:
- mikedanese
title: Configuring kubelet Garbage Collection
weight: 70
---
{{< toc >}}
@@ -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.
@@ -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/).
@@ -2,6 +2,7 @@
reviewers:
- thockin
title: Cluster Networking
weight: 50
---
Kubernetes approaches networking somewhat differently than Docker does by
@@ -1,6 +1,7 @@
---
title: Proxies in Kubernetes
content_template: templates/concept
weight: 90
---
{{% capture overview %}}
@@ -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
@@ -1,6 +1,7 @@
---
title: Managing Compute Resources for Containers
content_template: templates/concept
weight: 20
---
{{% capture overview %}}
@@ -1,6 +1,7 @@
---
title: Organizing Cluster Access Using kubeconfig Files
content_template: templates/concept
weight: 60
---
{{% capture overview %}}
@@ -3,6 +3,7 @@ reviewers:
- mikedanese
title: Configuration Best Practices
content_template: templates/concept
weight: 10
---
{{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- wojtek-t
title: Pod Priority and Preemption
content_template: templates/concept
weight: 70
---
{{% capture overview %}}
@@ -2,6 +2,7 @@
reviewers:
- mikedanese
title: Secrets
weight: 50
---
Objects of type `secret` are intended to hold sensitive information, such as
@@ -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),
@@ -4,6 +4,7 @@ reviewers:
- thockin
title: Container Environment Variables
content_template: templates/concept
weight: 20
---
{{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- thockin
title: Container Lifecycle Hooks
content_template: templates/concept
weight: 30
---
{{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- thockin
title: Images
content_template: templates/concept
weight: 10
---
{{% capture overview %}}
@@ -1,3 +1,4 @@
---
title: Extending Kubernetes
weight: 40
---
@@ -3,6 +3,7 @@ reviewers:
- lavalamp
title: Kubernetes Components
content_template: templates/concept
weight: 20
---
{{% capture overview %}}
@@ -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).
@@ -1,6 +1,7 @@
---
title: Declarative Management of Kubernetes Objects Using Configuration Files
content_template: templates/concept
weight: 40
---
{{% capture overview %}}
@@ -1,6 +1,7 @@
---
title: Managing Kubernetes Objects Using Imperative Commands
content_template: templates/concept
weight: 20
---
{{% capture overview %}}
@@ -1,6 +1,7 @@
---
title: Imperative Management of Kubernetes Objects Using Configuration Files
content_template: templates/concept
weight: 30
---
{{% capture overview %}}
@@ -1,6 +1,7 @@
---
title: Kubernetes Object Management
content_template: templates/concept
weight: 10
---
{{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- mikedanese
title: What is Kubernetes?
content_template: templates/concept
weight: 10
---
{{% capture overview %}}
@@ -1,6 +1,7 @@
---
title: Annotations
content_template: templates/concept
weight: 50
---
{{% capture overview %}}
@@ -1,6 +1,7 @@
---
title: Understanding Kubernetes Objects
content_template: templates/concept
weight: 10
---
{{% capture overview %}}
@@ -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.
@@ -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.
@@ -4,6 +4,7 @@ reviewers:
- mikedanese
- thockin
title: Namespaces
weight: 30
---
Kubernetes supports multiple virtual clusters backed by the same physical cluster.
@@ -3,6 +3,7 @@ reviewers:
- pweil-
- tallclair
title: Pod Security Policies
weight: 20
---
{{< feature-state state="beta" >}}
@@ -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,
@@ -3,6 +3,7 @@ reviewers:
- rickypai
- thockin
title: Adding entries to Pod /etc/hosts with HostAliases
weight: 60
---
{{< toc >}}
@@ -4,6 +4,7 @@ reviewers:
- lavalamp
- thockin
title: Connecting Applications with Services
weight: 30
---
{{< toc >}}
@@ -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.
@@ -3,6 +3,7 @@ reviewers:
- bprashanth
title: Ingress
content_template: templates/concept
weight: 40
---
{{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- caseydavenport
- danwinship
title: Network Policies
weight: 50
---
{{< toc >}}
@@ -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
@@ -6,6 +6,7 @@ reviewers:
- msau42
title: Dynamic Volume Provisioning
content_template: templates/concept
weight: 40
---
{{% capture overview %}}
@@ -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.
@@ -5,6 +5,7 @@ reviewers:
- thockin
- msau42
title: Storage Classes
weight: 30
---
This document describes the concept of `StorageClass` in Kubernetes. Familiarity
@@ -6,6 +6,7 @@ reviewers:
- msau42
title: Volumes
content_template: templates/concept
weight: 10
---
{{% capture overview %}}
@@ -0,0 +1,5 @@
---
title: "Workloads"
weight: 60
---
@@ -4,6 +4,7 @@ reviewers:
- soltysh
- janetkuo
title: CronJob
weight: 80
---
{{< toc >}}
@@ -6,6 +6,7 @@ reviewers:
- janetkuo
- kow3ns
title: DaemonSet
weight: 50
---
{{< toc >}}
@@ -4,6 +4,7 @@ reviewers:
- janetkuo
title: Deployments
content_template: templates/concept
weight: 30
---
{{% capture overview %}}
@@ -1,6 +1,7 @@
---
title: Garbage Collection
content_template: templates/concept
weight: 60
---
{{% capture overview %}}
@@ -3,6 +3,7 @@ reviewers:
- erictune
- soltysh
title: Jobs - Run to Completion
weight: 70
---
{{< toc >}}
@@ -5,6 +5,7 @@ reviewers:
- madhusudancs
title: ReplicaSet
content_template: templates/concept
weight: 10
---
{{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- janetkuo
title: ReplicationController
content_template: templates/concept
weight: 20
---
{{% capture overview %}}
@@ -8,6 +8,7 @@ reviewers:
- smarterclayton
title: StatefulSets
content_template: templates/concept
weight: 40
---
{{% capture overview %}}
@@ -5,6 +5,7 @@ reviewers:
- davidopp
title: Disruptions
content_template: templates/concept
weight: 60
---
{{% capture overview %}}
@@ -3,6 +3,7 @@ reviewers:
- erictune
title: Init Containers
content_template: templates/concept
weight: 40
---
{{% capture overview %}}
@@ -1,6 +1,7 @@
---
title: Pod Lifecycle
content_template: templates/concept
weight: 30
---
{{% capture overview %}}
@@ -3,6 +3,7 @@ reviewers:
- erictune
title: Pod Overview
content_template: templates/concept
weight: 10
---
{{% capture overview %}}
@@ -1,6 +1,7 @@
---
reviewers:
title: Pods
weight: 20
---
{{< toc >}}
@@ -3,6 +3,7 @@ reviewers:
- jessfraz
title: Pod Preset
content_template: templates/concept
weight: 50
---
{{% capture overview %}}
+11 -9
View File
@@ -1,25 +1,27 @@
{{ $section := . }}
<a class="item" data-title="{{ .LinkTitle }}" href="{{ .RelPermalink }}"></a>
{{ 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" }}
<div class="item" data-title="{{ .LinkTitle }}">
<div class="container">
{{ if ge (len .Content) 10 }}
{{/* The section page has content, so link to it. */}}
<a class="item" data-title="{{ .LinkTitle }}" href="{{ .RelPermalink }}"></a>
{{ end }}
{{ template "section-tree-nav-pages" . }}
{{ template "section-tree-nav" . }}
</div>
</div>
{{ end }}
{{ end }}
{{ define "section-tree-nav-pages" }}
{{ range where .Pages ".Params.toc_hide" "!=" true }}
{{ define "section-tree-nav-page" }}
<a class="item" data-title="{{ .LinkTitle }}" href="{{ .RelPermalink }}"></a>
{{ end }}
{{ end }}