Alrighty,
Sorry @stub any idea on the healthcheck stuff?
I’m deploying the postgres charm and I’ve done plain and with a loadbalancer out of curiosity and it never comes alive:
Normal Pulled <invalid> kubelet Successfully pulled image "stubcan/pgcharm:edge" in 1.844038253s
Normal Created <invalid> kubelet Created container postgresql
Normal Started <invalid> kubelet Started container postgresql
Warning Unhealthy <invalid> (x9 over <invalid>) kubelet Readiness probe failed: dial tcp 10.2.1.26:5432: connect: connection refused
Success. You can now start the database server using:
pg_ctlcluster 12 main start
Ver Cluster Port Status Owner Data directory Log file
12 main 5432 down postgres /srv/pgdata/12/main /var/log/postgresql/postgresql-12-main.log
2020-12-09 01:00:41,433 INFO: Updating PostgreSQL configuration in /srv/pgconf/12/main/conf.d/juju_charm.conf
Internally it gets that far, but no further.