During installation, I consistently hit issues with the ucp namespace postgresql-0 and mariadb-server-0 going into CrashLoopBack due to permission issues. I worked around this using a thin wrapper to keep the expected permissions intact on the db data folders.
#!/bin/sh
while true; do
kubectl exec --namespace ucp postgresql-0 -- chown postgres:postgres /var/lib/postgresql/pgdata
kubectl exec --namespace ucp mariadb-server-0 -- chown mysql:mysql /var/lib/mysql
sleep 30
done
I have attached the final pod state and installer status.
Any ideas on debugging this issue?