Sometimes postgress and dependent services like Keycloak, Grafana, Apiservice, Analytics-service, Alerting-rest, and Admin-api are not getting reconciled during the deployment.
If the deployment fails due to this issue, follow the procedure to resolve the issue:
- Run the following command:
kubectl delete job postgres-init-db kubectl delete postgres postgres kubectl delete job/tcx-grafana-deployer-job kubectl delete job/tco-grafana-deployer-job
- Wait for sometime (five to ten minutes), so that all applications can be reconciled, and execute the command:
kubectl get tcxproduct -A
Output: All App CRs reconciled successfully.