Fix url of kubectl cmd (#3069)
parent
b8734c877b
commit
ab8161a790
|
@ -40,7 +40,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" %}
|
{% 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/kubectl_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/v1.6/#create) command in the `kubectl` command-line interface, passing the `.yaml` file as an argument. Here's an example:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ kubectl create -f docs/user-guide/nginx-deployment.yaml --record
|
$ kubectl create -f docs/user-guide/nginx-deployment.yaml --record
|
||||||
|
|
Loading…
Reference in New Issue