Swimlane Platform Installer Gu...
Troubleshooting Guide
How To Reinitialize PostgreSQL (Swimlane)
3 min
problem the postgresql deployment is broken, causing application pods like swimlane tasks and swimlane api to crash solution reintialize the postgresql cluster the postgresql cluster is in an unhealthy state, similar to the indication below $ kubectl exec it postgresql 0 patronictl list completely remove the broken kubernetes postgresql custom resource definition this step may take up to 10 minutes to fully complete depending on the cluster state $ kubectl get postgresql postgresql name team version pods volume cpu request memory request age status postgresql swimlane 14 1 8gi 16m running $ kubectl delete postgresql postgresql postgresql acid zalan do "postgresql" deleted $ kubectl delete endpoints postgresql config $ kubectl delete svc postgresql config reapply the kots deployment by clicking on the "redeploy" button in the admin console restart all swimlane application pods $ kubectl delete pod l app kubernetes io/name=swimlane pod "gotenberg 6df9b986b8 vv6sr" deleted pod "swimlane api 564ff576bd qckxc" deleted pod "swimlane reports 584bb577bf ps9hn" deleted pod "swimlane tasks 9fcd9bfc7 5jbsd" deleted pod "swimlane tools 0" deleted pod "swimlane web 786866b48d lfcql" deleted now the postgresql cluster should be healthy