0

I'm trying to install in my Kubernetes cluster TimescaleDB, unfortunately following more tutorials I always fall in a similar error.

For example, I tried this tutorial but the pod 'timescale-db-timescaledb-data-1' has the error:

install: cannot change owner and permissions of ‘/var/lib/postgresql/pgdata’: No such file or directory
install: cannot create directory ‘/var/lib/postgresql/pgdata’: Permission denied

I also tried to install it from the Lens Charts repository, but nothing works.

PS: I need to have 3 nodes in my cluster (minikube on Linux)

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
mene
  • 372
  • 3
  • 17
  • Please add more information about you Kubernetes cluster, version, how deployed. It seems the problem related to Postgres permissions and volume mounting: https://github.com/docker-library/postgres/issues/361 https://github.com/docker-library/postgres/issues/213 Did you try something to resolve it? – Andrew Skorkin Dec 15 '21 at 10:33
  • @AndrewSkorkin I update the question, minikube on linux... that link doesn't help me – mene Dec 16 '21 at 13:10
  • The TimescaleDB helm charts may give you a good starting point... Did you find these? https://github.com/timescale/timescaledb-kubernetes – greenweeds Dec 20 '21 at 09:55
  • @greenweeds yes I tried, unfortunately it doesn't work – mene Dec 21 '21 at 11:28

0 Answers0