This is a...
Problem:
Running the example gave me Error: failed to start container "mysql": Error response from daemon: error while creating mount source path '/mnt/data': mkdir /mnt/data: read-only file system
Proposed Solution:
figure out how to mount the filesystem as read/write and update the page.
Page to Update:
https://kubernetes.io/...
1.10.7-gke.6
It turns out that when running on GKE there is no need to explicitly create a volume. Editing the volume claim to remove the storageclassName and deleting the persistent volume section did the trick.
Note well, that using hostPath is “for testing purposes only” on a single node cluster per the docs.
Perhaps this tutorial should include an intro on what kind of cluster is necessary in the “before you begin.”
Most helpful comment
It turns out that when running on GKE there is no need to explicitly create a volume. Editing the volume claim to remove the storageclassName and deleting the persistent volume section did the trick.
Note well, that using hostPath is “for testing purposes only” on a single node cluster per the docs.
Perhaps this tutorial should include an intro on what kind of cluster is necessary in the “before you begin.”