Difference between revisions of "Postgres Kubernetes"

From UVOO Tech Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
 +
- https://cloudnative-pg.io/documentation/1.21/samples/cluster-example-full.yaml
 +
 
- https://www.bmc.com/blogs/kubernetes-postgresql/ statefulset  
 
- https://www.bmc.com/blogs/kubernetes-postgresql/ statefulset  
  
Line 13: Line 16:
  
 
# Change userid
 
# Change userid
 +
 +
```
 +
chown: changing ownership of '/var/lib/postgresql/data/pgdata': Operation not permitted
 +
```
 +
- https://github.com/docker-library/postgres/issues/361
 
- https://stackoverflow.com/questions/50642924/how-to-map-user-permissions-defined-in-a-docker-container-that-already-exist-on
 
- https://stackoverflow.com/questions/50642924/how-to-map-user-permissions-defined-in-a-docker-container-that-already-exist-on
 
```
 
```
 
docker run --entrypoint="bash" postgres -c  'usermod -u 2006 postgres;exec /docker-entrypoint.sh postgres'
 
docker run --entrypoint="bash" postgres -c  'usermod -u 2006 postgres;exec /docker-entrypoint.sh postgres'
 
```
 
```

Latest revision as of 23:49, 9 December 2023