testdrivenio / flask-vue-kubernetes

Flask + Vue + Postgres + Docker + Kubernetes
MIT License
349 stars 144 forks source link

Postgres - error while creating mount source path #3

Closed libert-xyz closed 5 years ago

libert-xyz commented 5 years ago

Hi,

I'm experiencing the following error:

Error: failed to start container "postgres": Error response from daemon: error while creating mount source path
 '/data/postgres-pv': mkdir /data: read-only file system

PersistentVolume and PersistentVolumeClaim are in place

Name Status Type Source Read only Storage Class Claim
postgres-pv BOUND Host path /data/postgres-pv False standard postgres-pvc

Pd. I'm using Google Cloud Kubernetes single node.