[WIP] Attempt to consolidate YAML files (#8965)
This is an attempt to consolidate YAML files so that: - They can remain untouched when we moving the documents around; - Contributors do not have to change the test cases each time a documentation is moved; - We can encourage referencing the existing YAMLs from different concept or task pages when possible.
This commit is contained in:
@@ -36,12 +36,12 @@ You can run an application by creating a Kubernetes Deployment object, and you
|
||||
can describe a Deployment in a YAML file. For example, this YAML file describes
|
||||
a Deployment that runs the nginx:1.7.9 Docker image:
|
||||
|
||||
{{< code file="deployment.yaml" >}}
|
||||
{{< codenew file="application/deployment.yaml" >}}
|
||||
|
||||
|
||||
1. Create a Deployment based on the YAML file:
|
||||
|
||||
kubectl apply -f https://k8s.io/docs/tasks/run-application/deployment.yaml
|
||||
kubectl apply -f https://k8s.io/docs/artifacts/application/deployment.yaml
|
||||
|
||||
1. Display information about the Deployment:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user