From c9ff4eb7f18371aa195ebe0c0371824e3d6ade24 Mon Sep 17 00:00:00 2001 From: Stewart-YU Date: Wed, 8 Nov 2017 09:04:31 +0800 Subject: [PATCH] Update kubernetes-objects.md (#6226) Fix file url. --- .../overview/working-with-objects/kubernetes-objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/concepts/overview/working-with-objects/kubernetes-objects.md b/docs/concepts/overview/working-with-objects/kubernetes-objects.md index 5911be2c55..26cd5ac891 100644 --- a/docs/concepts/overview/working-with-objects/kubernetes-objects.md +++ b/docs/concepts/overview/working-with-objects/kubernetes-objects.md @@ -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: