From b67e532138fd253a8a16ba4da71e287ffc6fecba Mon Sep 17 00:00:00 2001 From: Andrew Chen Date: Sat, 1 Jul 2017 12:34:12 -0700 Subject: [PATCH] Reimplement edits (#4249) * Reimplement PR #3920 * Reimplement PR #3976 * Reimplement PR #4055 and #4128 * Reimplement PR #4146 * Reimplemented PR #4163 --- docs/concepts/configuration/overview.md | 2 +- docs/tasks/configure-pod-container/configmap.md | 6 +++--- .../configure-projected-volume-storage.md | 4 ++-- docs/tutorials/services/source-ip.md | 4 ++-- editdocs.md | 9 ++++++++- 5 files changed, 16 insertions(+), 9 deletions(-) diff --git a/docs/concepts/configuration/overview.md b/docs/concepts/configuration/overview.md index 4f1a6b857a..9c6e76c6b5 100644 --- a/docs/concepts/configuration/overview.md +++ b/docs/concepts/configuration/overview.md @@ -69,7 +69,7 @@ This is a living document. If you think of something that is not on this list bu Note that the [Deployment](/docs/concepts/workloads/controllers/deployment/) object obviates the need to manage replication controller 'version names'. A desired state of an object is described by a Deployment, and if changes to that spec are _applied_, the deployment controller changes the actual state to the desired state at a controlled rate. (Deployment objects are currently part of the [`extensions` API Group](/docs/concepts/overview/kubernetes-api/#api-groups).) -- You can manipulate labels for debugging. Because Kubernetes replication controllers and services match to pods using labels, this allows you to remove a pod from being considereby a controller, or served traffic by a service, by removing the relevant selectolabels. If you remove the labels of an existing pod, its controller will create a new pod to takits place. This is a useful way to debug a previously "live" pod in a quarantine environmentSee the [`kubectl label`](/docs/concepts/overview/working-with-objects/labels/) command. +- You can manipulate labels for debugging. Because Kubernetes replication controllers and services match to pods using labels, this allows you to remove a pod from being considered by a controller, or served traffic by a service, by removing the relevant selector labels. If you remove the labels of an existing pod, its controller will create a new pod to take its place. This is a useful way to debug a previously "live" pod in a quarantine environment. See the [`kubectl label`](/docs/concepts/overview/working-with-objects/labels/) command. ## Container Images diff --git a/docs/tasks/configure-pod-container/configmap.md b/docs/tasks/configure-pod-container/configmap.md index abccc6bf19..cf5a528bff 100644 --- a/docs/tasks/configure-pod-container/configmap.md +++ b/docs/tasks/configure-pod-container/configmap.md @@ -11,7 +11,7 @@ redirect_from: {% capture overview %} -This page shows you how to configure an application using a ConfigMap. +This page shows you how to configure an application using a ConfigMap. ConfigMaps allow you to decouple configuration artifacts from image content to keep containerized applications portable. {% endcapture %} @@ -120,7 +120,7 @@ would produce the following ConfigMap: ```shell kubectl describe configmaps game-config-2 -Name: game-config +Name: game-config-2 Namespace: default Labels: Annotations: @@ -138,7 +138,7 @@ kubectl create configmap game-config-2 --from-file=docs/user-guide/configmap/kub ```shell kubectl describe configmaps game-config-2 -Name: game-config +Name: game-config-2 Namespace: default Labels: Annotations: diff --git a/docs/tasks/configure-pod-container/configure-projected-volume-storage.md b/docs/tasks/configure-pod-container/configure-projected-volume-storage.md index a80a2b576d..896a96acc5 100644 --- a/docs/tasks/configure-pod-container/configure-projected-volume-storage.md +++ b/docs/tasks/configure-pod-container/configure-projected-volume-storage.md @@ -54,9 +54,9 @@ the Pod: kubectl exec -it test-projected-volume -- /bin/sh -1. In your shell, verify that the `projected-volumes` directory contains your projected sources: +1. In your shell, verify that the `projected-volume` directory contains your projected sources: - / # ls projected-volumes/ + / # ls /projected-volume/ {% endcapture %} {% capture whatsnext %} diff --git a/docs/tutorials/services/source-ip.md b/docs/tutorials/services/source-ip.md index acc92e7d5e..28dff37444 100644 --- a/docs/tutorials/services/source-ip.md +++ b/docs/tutorials/services/source-ip.md @@ -22,8 +22,8 @@ This document makes use of the following terms: * [NAT](https://en.wikipedia.org/wiki/Network_address_translation): network address translation * [Source NAT](https://en.wikipedia.org/wiki/Network_address_translation#SNAT): replacing the source IP on a packet, usually with a node's IP * [Destination NAT](https://en.wikipedia.org/wiki/Network_address_translation#DNAT): replacing the destination IP on a packet, usually with a pod IP -* [VIP](/docs/user-guide/services/#ips-and-vips): a virtual IP, such as the one assigned to every Kubernetes Service -* [Kube-proxy](/docs/user-guide/services/#virtual-ips-and-service-proxies): a network daemon that orchestrates Service VIP management on every node +* [VIP](/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies): a virtual IP, such as the one assigned to every Kubernetes Service +* [Kube-proxy](/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies): a network daemon that orchestrates Service VIP management on every node ## Prerequisites diff --git a/editdocs.md b/editdocs.md index 91578e6576..0c4e1440be 100644 --- a/editdocs.md +++ b/editdocs.md @@ -25,7 +25,14 @@ $( document ).ready(function() {

Continue your edit

-

Click the button below to edit the page you were just on. When you are done, click Commit Changes at the bottom of the screen. This creates a copy of our site in your GitHub account called a fork. You can make other changes in your fork after it is created, if you want. When you are ready to send us all your changes, go to the index page for your fork and click New Pull Request to let us know about it.

+

To make changes to the document, do the following:

+ +
    +
  1. Click the button below to edit the page you were just on.
  2. +
  3. Click Commit Changes at the bottom of the screen to create a copy of our site in your GitHub account called a fork.
  4. +
  5. You can make other changes in your fork after it is created, if you want.
  6. +
  7. On the index page, click New Pull Request to let us know about it.
  8. +