Update kubernetes-objects.md (#6226)

Fix file url.
This commit is contained in:
Stewart-YU
2017-11-08 09:04:31 +08:00
committed by Steve Perry
parent 44f5cad167
commit c9ff4eb7f1
@@ -39,7 +39,7 @@ Here's an example `.yaml` file that shows the required fields and object spec fo
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
$ kubectl create -f https://k8s.io/docs/user-guide/nginx-deployment.yaml --record
```
The output is similar to this: