Skip to content

Operations

Check the state

  • Pipeline: Actions → lakehouse-k3s; the last step checks every address of the app.
  • Argo CD: Application lakehouse-staging.
  • Cluster: ssh root@<ip> k3s kubectl -n lakehouse-staging get pods (IP: Hetzner console, or project-server.sh list in mjust90/platform).

Credentials

All credentials are generated inside the cluster (secret-generator → lakehouse-generated, job platform-secrets derives the rest). Nothing is stored in Git or GitHub. Example, Keycloak admin:

kubectl -n lakehouse-staging get secret keycloak-credentials \
  -o jsonpath='{.data.KC_BOOTSTRAP_ADMIN_PASSWORD}' | base64 -d

Tear down staging

Actions → lakehouse-k3s → Run workflow → environment staging, action remove, confirm lakehouse. This deletes the cluster including all data. Without this, the cluster is removed automatically 2 days after the last deploy; the next push creates it again.

Backup and restore

  • Staging: no backup (short-lived, test data only).
  • Production (once created): the platform backs up every volume nightly to s3://justsol-backup/lakehouse/…; restore with site-hosting/k8s/restore.sh lakehouse … in mjust90/platform. Postgres should additionally write a dump into its volume before that.

Known issues

  • Lakekeeper restarts a few times on the first start until Postgres and Keycloak are ready; this is expected.
  • Keycloak runs in dev mode (HTTP behind the Ingress, realm import on first start).