Fixed bug in line to include sample deployment yaml.

reviewable/pr1611/r6
Devin Donnelly 2017-01-18 14:16:33 -08:00
parent 2a5394ae7e
commit 65de831b9c
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ When you create an object in Kubernetes, you must provide the object spec that d
Here's an example `.yaml` file that shows an example of the required fields and object spec for a Kubernetes Deployment:
{% include code.html language="yaml" file="/docs/user-guide/nginx-deployment.yaml" ghlink="/docs/user-guide/nginx-deployment.yaml" %}
{% include code.html language="yaml" file="nginx-deployment.yaml" ghlink="/docs/concepts/abstractions/nginx-deployment.yaml" %}
One way to create a Deployment using a `.yaml` file like the one above is to use the []`kubectl create`]() command in the `kubectl` command-line interface, passing the `.yaml` file as an argument. Here's an example: