# Local-kind overlay for the cluster set — used to run the m12p4 T5 sharded # throughput gate on a local `kind` cluster (no private registry, no Ref-A). # # It reuses the canonical k8s/cluster/ base verbatim (including the 3-group # `shards:` topology and cert-manager certs) and only swaps the registry-pinned # server image for a locally-built tag that `kind load docker-image` puts on the # node. cert-manager must be present in the kind cluster (the shared `canopy` # cluster already has it); the credentials Secret is still created out-of-band. # # Run: # docker build -f docker/deploy/Dockerfile -t tidaldb-server:m12p4-local . # kind load docker-image tidaldb-server:m12p4-local --name canopy # kubectl create namespace tidaldb-cluster # kubectl -n tidaldb-cluster create secret generic tidaldb-credentials \ # --from-literal=TIDAL_API_KEY="$(openssl rand -hex 32)" \ # --from-literal=TIDAL_CLUSTER_KEY="$(openssl rand -hex 32)" # kubectl apply -k k8s/cluster-local-kind/ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: tidaldb-cluster resources: - ../cluster # Swap the registry-pinned (digest) server image for the locally-loaded tag. # Kustomize matches on the name part before the `@sha256:` digest. images: - name: registry.threesix.ai/tidal/server newName: tidaldb-server newTag: m12p4-local # kind ships a default StorageClass named `standard` (rancher.io/local-path), # not `local-path` as the canonical StatefulSet names. Repoint the PVC template # at the kind default so the claims bind instead of hanging Pending. patches: - target: kind: StatefulSet name: tidaldb patch: |- - op: replace path: /spec/volumeClaimTemplates/0/spec/storageClassName value: standard