Website: Issue with k8s.io/docs/tasks/run-application/run-single-instance-stateful-application/

Created on 22 Oct 2018  Â·  1Comment  Â·  Source: kubernetes/website


This is a...

  • [ ] Feature Request
  • [x ] Bug Report

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

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.”

>All comments

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.”

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gochist picture gochist  Â·  3Comments

zacharysarah picture zacharysarah  Â·  4Comments

Dieken picture Dieken  Â·  4Comments

sftim picture sftim  Â·  4Comments

neha-viswanathan picture neha-viswanathan  Â·  3Comments