Consolidate YAML files [part-3] (#9237)
This PR consolidates YAML files used in `tasks/run-application` subdirectory.
This commit is contained in:
@@ -48,16 +48,16 @@ Note: The password is defined in the config yaml, and this is insecure. See
|
||||
[Kubernetes Secrets](/docs/concepts/configuration/secret/)
|
||||
for a secure solution.
|
||||
|
||||
{{< code file="mysql-deployment.yaml" >}}
|
||||
{{< code file="mysql-pv.yaml" >}}
|
||||
{{< codenew file="application/mysql/mysql-deployment.yaml" >}}
|
||||
{{< codenew file="application/mysql/mysql-pv.yaml" >}}
|
||||
|
||||
1. Deploy the PV and PVC of the YAML file:
|
||||
|
||||
kubectl create -f https://k8s.io/docs/tasks/run-application/mysql-pv.yaml
|
||||
kubectl create -f https://k8s.io/examples/application/mysql/mysql-pv.yaml
|
||||
|
||||
1. Deploy the contents of the YAML file:
|
||||
|
||||
kubectl create -f https://k8s.io/docs/tasks/run-application/mysql-deployment.yaml
|
||||
kubectl create -f https://k8s.io/examples/application/mysql/mysql-deployment.yaml
|
||||
|
||||
1. Display information about the Deployment:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user