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
I've been trying to setup Polyaxon on local cluster with kubernetes for over a week. I can't get a handle on postgresql setup, therefore I'm not able to finish whole process. I'm trying to create persistentVolumeClaim which I'll use as existingClaim for postgresql data persistence. PersistentVolume and PersistentVolumeClaim are created successfuly, and every other pod in cluster is running except postgresql pod!
I've been stuck with same error message that shows up during postgresql pod creation and results in ContainerConfigError.
ERROR MESSAGE:
Error: failed to create subPath directory for volumeMount "data" of container "polyaxon-postgresql"
I'm using nfs for creating PV and PVCs, and folders used are exposed in /etc/exports properly.
I've doubt it's bug, it looks like some kind of permission error, but I haven't found anything related. Help would be really appreciated.
I've provided tutorials used, current versions of docker, kubernetes, helm and config files for creating PersistentVolume, PersistentVolumeClaim and polyaxon_config.yaml.
The text was updated successfully, but these errors were encountered:
fzoric8
changed the title
Polyaxon deployment on local kubernetes cluster (posgresql persistence)
Polyaxon deployment on local kubernetes cluster (postgresql persistence)
Nov 30, 2019
which resulted in following ERROR while building postgresql container:
chown: changing ownership of '/var/lib/postgresql/data/pgdata/data': Operation not permitted
chown: changing ownership of '/var/lib/postgresql/data/pgdata': Operation not permitted
After that, I was quite sure I've managed to mess something up and it's related with following docker issue when mounting something on nfs.
I've reconfigured postgresql-pvc.yaml as following:
server: <master_ip>
nfs: "/home/postgresql/data"
And polyaxon_config.yaml without subPath declaration related to postgresql:
I've been trying to setup Polyaxon on local cluster with kubernetes for over a week. I can't get a handle on postgresql setup, therefore I'm not able to finish whole process. I'm trying to create persistentVolumeClaim which I'll use as existingClaim for postgresql data persistence. PersistentVolume and PersistentVolumeClaim are created successfuly, and every other pod in cluster is running except postgresql pod!
I've been stuck with same error message that shows up during postgresql pod creation and results in ContainerConfigError.
ERROR MESSAGE:
I'm using nfs for creating PV and PVCs, and folders used are exposed in
/etc/exports
properly.I've doubt it's bug, it looks like some kind of permission error, but I haven't found anything related. Help would be really appreciated.
I've provided tutorials used, current versions of docker, kubernetes, helm and config files for creating PersistentVolume, PersistentVolumeClaim and polyaxon_config.yaml.
Mainly I've been following these instructions:
Environment:
linux version:
kubectl version:
kubeadm version:
helm version:
docker version:
posgresql-pvc.yaml
polyaxon_config.yaml
The text was updated successfully, but these errors were encountered: