Improve left nav for Tasks. (#8582)

* Add weights to first three Task sections.

* Add one more weight.
This commit is contained in:
Steve Perry
2018-05-19 21:43:52 -07:00
committed by k8s-ci-robot
parent 4d68d58911
commit 4207de7d63
24 changed files with 23 additions and 50 deletions
@@ -1,5 +1,5 @@
--- ---
title: "Configure Pods and Containers" title: "Configure Pods and Containers"
weight: 30 weight: 20
--- ---
@@ -1,6 +1,7 @@
--- ---
title: Assign CPU Resources to Containers and Pods title: Assign CPU Resources to Containers and Pods
content_template: templates/task content_template: templates/task
weight: 20
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Assign Memory Resources to Containers and Pods title: Assign Memory Resources to Containers and Pods
content_template: templates/task content_template: templates/task
weight: 10
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Assign Pods to Nodes title: Assign Pods to Nodes
content_template: templates/task content_template: templates/task
weight: 120
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Attach Handlers to Container Lifecycle Events title: Attach Handlers to Container Lifecycle Events
content_template: templates/task content_template: templates/task
weight: 140
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Configure Liveness and Readiness Probes title: Configure Liveness and Readiness Probes
content_template: templates/task content_template: templates/task
weight: 110
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Configure a Pod to Use a PersistentVolume for Storage title: Configure a Pod to Use a PersistentVolume for Storage
content_template: templates/task content_template: templates/task
weight: 60
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Configure a Pod to Use a ConfigMap title: Configure a Pod to Use a ConfigMap
content_template: templates/task content_template: templates/task
weight: 150
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Configure Pod Initialization title: Configure Pod Initialization
content_template: templates/task content_template: templates/task
weight: 130
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- pmorie - pmorie
title: Configure a Pod to Use a Projected Volume for Storage title: Configure a Pod to Use a Projected Volume for Storage
content_template: templates/task content_template: templates/task
weight: 70
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- liggitt - liggitt
- thockin - thockin
title: Configure Service Accounts for Pods title: Configure Service Accounts for Pods
weight: 90
--- ---
A service account provides an identity for processes that run in a Pod. A service account provides an identity for processes that run in a Pod.
@@ -1,6 +1,7 @@
--- ---
title: Configure a Pod to Use a Volume for Storage title: Configure a Pod to Use a Volume for Storage
content_template: templates/task content_template: templates/task
weight: 50
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Assign Extended Resources to a Container title: Assign Extended Resources to a Container
content_template: templates/task content_template: templates/task
weight: 40
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Pull an Image from a Private Registry title: Pull an Image from a Private Registry
content_template: templates/task content_template: templates/task
weight: 100
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Configure Quality of Service for Pods title: Configure Quality of Service for Pods
content_template: templates/task content_template: templates/task
weight: 30
--- ---
@@ -5,6 +5,7 @@ reviewers:
- thockin - thockin
title: Configure a Security Context for a Pod or Container title: Configure a Security Context for a Pod or Container
content_template: templates/task content_template: templates/task
weight: 80
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -6,6 +6,7 @@ approvers:
- yujuhong - yujuhong
- dchen1107 - dchen1107
content_template: templates/task content_template: templates/task
weight: 160
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,12 +1,8 @@
--- ---
approvers: approvers:
- cdrage - cdrage
title: Translate a Docker Compose File to Kubernetes Resources title: Translate a Docker Compose File to Kubernetes Resources
redirect_from: weight: 170
- "/docs/tools/kompose/"
- "/docs/tools/kompose/index.html"
--- ---
{{< toc >}} {{< toc >}}
+1 -1
View File
@@ -1,5 +1,5 @@
--- ---
title: "Install Tools" title: "Install Tools"
weight: 20 weight: 10
--- ---
@@ -1,6 +1,7 @@
--- ---
title: Installing kubeadm title: Installing kubeadm
content_template: templates/task content_template: templates/task
weight: 30
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -4,6 +4,7 @@ reviewers:
- mikedanese - mikedanese
title: Install and Set Up kubectl title: Install and Set Up kubectl
content_template: templates/task content_template: templates/task
weight: 10
--- ---
{{% capture overview %}} {{% capture overview %}}
@@ -1,6 +1,7 @@
--- ---
title: Install Minikube title: Install Minikube
content_template: templates/task content_template: templates/task
weight: 20
--- ---
{{% capture overview %}} {{% capture overview %}}
-43
View File
@@ -1,43 +0,0 @@
---
approvers:
- cdrage
title: Kompose Overview
---
`kompose` is a tool to help users who are familiar with `docker-compose` move to **Kubernetes**. `kompose` takes a Docker Compose file and translates it into Kubernetes resources.
`kompose` is a convenience tool to go from local Docker development to managing your application with Kubernetes. Transformation of the Docker Compose format to Kubernetes resources manifest may not be exact, but it helps tremendously when first deploying an application on Kubernetes.
## Use Case
If you have a Docker Compose `docker-compose.yml` or a Docker Distributed Application Bundle `docker-compose-bundle.dab` file, you can convert it into Kubernetes deployments and services like this:
```console
$ kompose --bundle docker-compose-bundle.dab convert
WARN[0000]: Unsupported key networks - ignoring
file "redis-svc.yaml" created
file "web-svc.yaml" created
file "web-deployment.yaml" created
file "redis-deployment.yaml" created
$ kompose -f docker-compose.yml convert
WARN[0000]: Unsupported key networks - ignoring
file "redis-svc.yaml" created
file "web-svc.yaml" created
file "web-deployment.yaml" created
file "redis-deployment.yaml" created
```
## Installation
Grab the latest [release](https://github.com/kubernetes-incubator/kompose/releases) for your OS, untar and extract the binary.
### Linux
```sh
wget https://github.com/kubernetes-incubator/kompose/releases/download/v0.1.2/kompose_linux-amd64.tar.gz
tar -xvf kompose_linux-amd64.tar.gz --strip 1
sudo mv kompose /usr/local/bin
```
+1
View File
@@ -276,6 +276,7 @@
/docs/tasks/web-ui-dashboard/ /docs/tasks/access-application-cluster/web-ui-dashboard/ 301 /docs/tasks/web-ui-dashboard/ /docs/tasks/access-application-cluster/web-ui-dashboard/ 301
/docs/templatedemos/* /docs/home/contribute/page-templates/ 301 /docs/templatedemos/* /docs/home/contribute/page-templates/ 301
/docs/tools/kompose/user-guide/ /docs/tasks/configure-pod-container/translate-compose-kubernetes/ 301
/docs/tools/kompose/ /docs/tools/kompose/user-guide/ 301 /docs/tools/kompose/ /docs/tools/kompose/user-guide/ 301
/docs/troubleshooting/ /docs/tasks/debug-application-cluster/troubleshooting/ 301 /docs/troubleshooting/ /docs/tasks/debug-application-cluster/troubleshooting/ 301