Improve left nav for Tasks. (#8582)
* Add weights to first three Task sections. * Add one more weight.pull/8644/head
parent
4d68d58911
commit
4207de7d63
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: "Configure Pods and Containers"
|
||||
weight: 30
|
||||
weight: 20
|
||||
---
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Assign CPU Resources to Containers and Pods
|
||||
content_template: templates/task
|
||||
weight: 20
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Assign Memory Resources to Containers and Pods
|
||||
content_template: templates/task
|
||||
weight: 10
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Assign Pods to Nodes
|
||||
content_template: templates/task
|
||||
weight: 120
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Attach Handlers to Container Lifecycle Events
|
||||
content_template: templates/task
|
||||
weight: 140
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Configure Liveness and Readiness Probes
|
||||
content_template: templates/task
|
||||
weight: 110
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Configure a Pod to Use a PersistentVolume for Storage
|
||||
content_template: templates/task
|
||||
weight: 60
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Configure a Pod to Use a ConfigMap
|
||||
content_template: templates/task
|
||||
weight: 150
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Configure Pod Initialization
|
||||
content_template: templates/task
|
||||
weight: 130
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -4,6 +4,7 @@ reviewers:
|
|||
- pmorie
|
||||
title: Configure a Pod to Use a Projected Volume for Storage
|
||||
content_template: templates/task
|
||||
weight: 70
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -4,6 +4,7 @@ reviewers:
|
|||
- liggitt
|
||||
- thockin
|
||||
title: Configure Service Accounts for Pods
|
||||
weight: 90
|
||||
---
|
||||
|
||||
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
|
||||
content_template: templates/task
|
||||
weight: 50
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Assign Extended Resources to a Container
|
||||
content_template: templates/task
|
||||
weight: 40
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Pull an Image from a Private Registry
|
||||
content_template: templates/task
|
||||
weight: 100
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Configure Quality of Service for Pods
|
||||
content_template: templates/task
|
||||
weight: 30
|
||||
---
|
||||
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ reviewers:
|
|||
- thockin
|
||||
title: Configure a Security Context for a Pod or Container
|
||||
content_template: templates/task
|
||||
weight: 80
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -6,6 +6,7 @@ approvers:
|
|||
- yujuhong
|
||||
- dchen1107
|
||||
content_template: templates/task
|
||||
weight: 160
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -1,12 +1,8 @@
|
|||
---
|
||||
|
||||
approvers:
|
||||
- cdrage
|
||||
|
||||
title: Translate a Docker Compose File to Kubernetes Resources
|
||||
redirect_from:
|
||||
- "/docs/tools/kompose/"
|
||||
- "/docs/tools/kompose/index.html"
|
||||
weight: 170
|
||||
---
|
||||
|
||||
{{< toc >}}
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: "Install Tools"
|
||||
weight: 20
|
||||
weight: 10
|
||||
---
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Installing kubeadm
|
||||
content_template: templates/task
|
||||
weight: 30
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -4,6 +4,7 @@ reviewers:
|
|||
- mikedanese
|
||||
title: Install and Set Up kubectl
|
||||
content_template: templates/task
|
||||
weight: 10
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
title: Install Minikube
|
||||
content_template: templates/task
|
||||
weight: 20
|
||||
---
|
||||
|
||||
{{% capture overview %}}
|
||||
|
|
|
@ -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
|
||||
```
|
|
@ -276,6 +276,7 @@
|
|||
/docs/tasks/web-ui-dashboard/ /docs/tasks/access-application-cluster/web-ui-dashboard/ 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/troubleshooting/ /docs/tasks/debug-application-cluster/troubleshooting/ 301
|
||||
|
||||
|
|
Loading…
Reference in New Issue