You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mysql-wordpress-pd/README.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -62,7 +62,7 @@ A `hostPath` mounts a file or directory from the host node’s filesystem into y
62
62
63
63
kubectl create -f local-volumes.yaml
64
64
65
-
{% include code.html language="yaml" file="local-volumes.yaml" ghlink="/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/local-volumes.yaml" %}
65
+
{% include code.html language="yaml" file="mysql-wordpress-persistent-volume/local-volumes.yaml" ghlink="/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/local-volumes.yaml" %}
66
66
67
67
{:start="3"}
68
68
3. Run the following command to verify that two 20GiB PersistentVolumes are available:
@@ -102,7 +102,7 @@ A [Secret](https://kubernetes.io/docs/concepts/configuration/secret/) is an obje
102
102
103
103
The following manifest describes a single-instance MySQL Deployment. The MySQL container mounts the PersistentVolume at /var/lib/mysql. The `MYSQL_ROOT_PASSWORD` environment variable sets the database password from the Secret.
104
104
105
-
{% include code.html language="yaml" file="mysql-deployment.yaml" ghlink="/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/mysql-deployment.yaml" %}
105
+
{% include code.html language="yaml" file="mysql-wordpress-persistent-volume/mysql-deployment.yaml" ghlink="/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/mysql-deployment.yaml" %}
106
106
107
107
1. Deploy MySQL from the `mysql-deployment.yaml` file:
108
108
@@ -124,7 +124,7 @@ The following manifest describes a single-instance MySQL Deployment. The MySQL c
124
124
125
125
The following manifest describes a single-instance WordPress Deployment and Service. It uses many of the same features like a PVC for persistent storage and a Secret for the password. But it also uses a different setting: `type: NodePort`. This setting exposes WordPress to traffic from outside of the cluster.
126
126
127
-
{% include code.html language="yaml" file="mysql-deployment.yaml" ghlink="/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/wordpress-deployment.yaml" %}
127
+
{% include code.html language="yaml" file="mysql-wordpress-persistent-volume/mysql-deployment.yaml" ghlink="/docs/tutorials/stateful-application/mysql-wordpress-persistent-volume/wordpress-deployment.yaml" %}
128
128
129
129
1. Create a WordPress Service and Deployment from the `wordpress-deployment.yaml` file:
0 commit comments