The local stack runs on Minikube with Podman and Helm.
Install Minikube, Podman, kubectl, Helm, and Google Cloud CLI when using BigQuery.
devenv --profile default shell
cluster upThe script writes credentials to the ignored repository .kubeconfig. It does not change the user kubeconfig.
Installed services include KEDA, k6, Istio, SeaweedFS, OIDC, PostgreSQL with the pg_duckdb extension, Valkey, PostgREST, and Data Proxy.
clustergcloud auth application-default login
seed --project rj-ia-desenvolvimentoRun one producer job when needed:
kubectl -n data-proxy create job \
--from=cronjob/data-proxy-producer \
data-proxy-producer-manualAdd this local host entry:
127.0.0.1 data-proxy.local
kubectl -n istio-ingress port-forward svc/istio-ingressgateway 3111:80
tokenSee Using the API.
| Command | Purpose |
|---|---|
cluster k6 e2e |
Validates sync, RLS, fallback, cache, and local data. |
cluster k6 migrate |
Runs shared → HA → shared migration validation. |
cluster k6 load |
Runs the normal load profile. |
cluster k6 stress |
Runs the stepped stress profile. |
Run cluster k6 e2e after changing local images, sync configuration, fallback, SeaweedFS, or pg_duckdb behavior. Run cluster k6 migrate only after the baseline E2E is healthy. It recovers a failed transition, creates a shared baseline, validates both mode changes, and checks source-resource pruning.
Run the static and focused checks with devenv tasks:
devenv --profile default tasks run dp:lint dp:testE2E and migration tests run against the local cluster or staging environment, not in CI.
cluster downIf Helm installation fails, recreate the cluster:
cluster down
cluster up