Kots Admin Console not installing
I am trying to install Kots Admin Console on my Kubernetes cluster by running:
kubectl kots install swaggerhub \
--namespace data-swaggerhub-prod \
--kotsadm-namespace data-swaggerhub-prod \
--kotsadm-registry <path> \
--registry-username <user> \
--registry-password <password> \
--ensure-rbac=false \
--wait-duration 10m
When taking a look inside the cluster, the "kotsadm" pod doesn't start up. It consists of 4 containers. "schemahero-plan" is causing an issue with the following logs:
Error: plan sync from file "/tables/api_task_status.yaml": failed to plan table sync: failed to plan table sync for api_task_status: failed to query from sqlite_master: tried all peers unsuccessfully. here are the results: ā
ā peer #0: http://kotsadm:xxxxx@kotsadm-rqlite.data-swaggerhub-prod.svc.cluster.local:4001/db/query?timings&level=weak&transaction failed due to Post "http://kotsadm:***@kotsadm-rqlite.data-swaggerhub-prod.svc.cluster.local:4001/db/query?timings&l
Can someone help me with this?
Issue was that the app is using the domain names for the service instead of using just the k8s service name. It would have worked if my cluster was using the default :
...svc.cluster.local
But that was not the case. I had to manually change the deployment to not refer to this name for my services.