File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed
Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ $ kubectl get svc -l application=spilo -L spilo-role --namespace zalando-postgre
6262You can update the Postgres cluster with the * manifest file* or directly with * psql-client* .
6363
6464* After editting Postgres cluster file apply the modified configuration
65- * ` kubectl get svc -l application=spilo -L spilo-role --namespace zalando-postgres `
65+ * ` kubectl apply -f manifests/minimal-postgres-manifest.yaml --namespace zalando-postgres `
6666* Restart(Reload?) Patroni
6767 * ` kubectl exec -i <Pod-Name> supervisorctl restart patroni --namespace zalando-postgres `
6868
Original file line number Diff line number Diff line change 1616 databases :
1717 foo : zalando # dbname: owner
1818 test : zalando
19- test2 : zalando
19+ enableShmVolume : true
2020 postgresql :
2121 version : " 11"
2222 parameters :
@@ -25,12 +25,20 @@ spec:
2525 log_statement : " all"
2626 log_destination : " stderr"
2727 log_directory : " /var/log/postgresql"
28+ resources :
29+ requests :
30+ cpu : 15m
31+ memory : 150Mi
32+ limits :
33+ cpu : 300m
34+ memory : 275Mi
2835 patroni :
2936 initdb :
3037 encoding : " UTF8"
31- locale : " de_DE .UTF-8"
38+ locale : " en_US .UTF-8"
3239 data-checksums : " true"
40+ auth-host : " scram-sha-256"
3341 pg_hba :
34- - hostssl all all 0.0.0.0/0 md5
35- - host all all 0.0.0.0/0 md5
36- - host all zalando 192.168.232.109/24 md5
42+ - hostssl all all 0.0.0.0/0 scram-sha-256
43+ - host all all 0.0.0.0/0 scram-sha-256
44+ - host all zalando 192.168.232.109/24 scram-sha-256
You can’t perform that action at this time.
0 commit comments