Replace v1.7 with {{page.version}}. (#5688)

This commit is contained in:
Steve Perry 2017-09-29 13:39:35 -07:00 committed by GitHub
parent cce1491c12
commit 1edf6ea927
4 changed files with 8 additions and 8 deletions

View File

@ -121,7 +121,7 @@ The data field is a map. Its keys must match
[`DNS_SUBDOMAIN`](https://git.k8s.io/community/contributors/design-proposals/architecture/identifiers.md), except that leading dots are also
allowed. The values are arbitrary data, encoded using base64.
Create the secret using [`kubectl create`](/docs/user-guide/kubectl/v1.7/#create):
Create the secret using [`kubectl create`](/docs/user-guide/kubectl/{{page.version}}/#create):
```shell
$ kubectl create -f ./secret.yaml

View File

@ -19,7 +19,7 @@ onto nodes with matching taints.
## Concepts
You add a taint to a node using [kubectl taint](/docs/user-guide/kubectl/v1.7/#taint).
You add a taint to a node using [kubectl taint](/docs/user-guide/kubectl/{{page.version}}/#taint).
For example,
```shell

View File

@ -36,7 +36,7 @@ Here's an example `.yaml` file that shows the required fields and object spec fo
{% include code.html language="yaml" file="nginx-deployment.yaml" ghlink="/docs/concepts/overview/working-with-objects/nginx-deployment.yaml" %}
One way to create a Deployment using a `.yaml` file like the one above is to use the [`kubectl create`](/docs/user-guide/kubectl/v1.7/#create) command in the `kubectl` command-line interface, passing the `.yaml` file as an argument. Here's an example:
One way to create a Deployment using a `.yaml` file like the one above is to use the [`kubectl create`](/docs/user-guide/kubectl/{{page.version}}/#create) command in the `kubectl` command-line interface, passing the `.yaml` file as an argument. Here's an example:
```shell
$ kubectl create -f docs/user-guide/nginx-deployment.yaml --record

View File

@ -250,11 +250,11 @@ In this exercise, you `kubectl patch` to change the live configuration
of a Deployment object. You did not change the configuration file that you originally used to
create the Deployment object. Other commands for updating API objects include
[kubectl annotate](/docs/user-guide/kubectl/{{page.version}}/#annotate),
[kubectl edit](/docs/user-guide/kubectl/v1.7/#edit),
[kubectl replace](/docs/user-guide/kubectl/v1.7/#replace),
[kubectl scale](/docs/user-guide/kubectl/v1.7/#scale),
[kubectl update](/docs/user-guide/kubectl/v1.7/#update). and
[kubectl apply](/docs/user-guide/kubectl/v1.7/#apply).
[kubectl edit](/docs/user-guide/kubectl/{{page.version}}/#edit),
[kubectl replace](/docs/user-guide/kubectl/{{page.version}}/#replace),
[kubectl scale](/docs/user-guide/kubectl/{{page.version}}/#scale),
[kubectl update](/docs/user-guide/kubectl/{{page.version}}/#update). and
[kubectl apply](/docs/user-guide/kubectl/{{page.version}}/#apply).
{% endcapture %}