Eran Ifrach

Results 67 comments of Eran Ifrach

Added PR for `all-languages` branch #367

you can use this on minikube 1. create storage ```yaml kind: PersistentVolumeClaim apiVersion: v1 metadata: name: postgres-pv-claim labels: app: postgres spec: accessModes: - ReadWriteOnce resources: requests: storage: 10Gi ``` 2....

BTW, when you restart the image you can see that the `postmater.pid` is there even without the upgrade it's not been deleted when shutdown the postgres services

1. make sure you are using persistent data, could be you are not migrating the DB. 2. make soure you have the `postmaster.pid` created before starting the upgrade. but I...

so heres a step by step running it locally using this deployment ```yaml apiVersion: apps/v1 kind: Deployment metadata: name: postgres spec: selector: matchLabels: app: postgres replicas: 1 strategy: type: Recreate...

FYI, when you run ` pg_ctl -D /var/lib/pgsql/data/userdata stop` it does remove the PID file. I'm guessing that the `SIGTERM` is not shutting down the container properly.

I see it in minikube / podman and openshift. maybe a better way is to add PreStop command but, this may casue some logs/events ```yaml preStop: exec: command: [ pg_ctl,...

what do you mean? the orignal is in `namespace` this deployment just for tests this is the original project which I've test on minikube with namespace https://github.com/openshift/assisted-service/blob/bc5a2af1aced6ce9c716e80d24482e6af8fa3663/deploy/postgres/postgres-deployment.yaml

thanks so much - i will try it out in a day or two and let you know

hey, I tested the fix and seems to be working as design. but I found a new problem, the repo has no longer have `centos7` builds. and `centos8` with psql-13...