- Add k8s/ manifests (StatefulSet, kustomize, PDB, ServiceMonitor) + docs/runbooks/kubernetes.md - Add tidal-server/src/openapi.rs (utoipa OpenAPI spec) and wire into router - Add docs/guides/ (build-a-feed-app, embeddings, server-deployment) + foryou_feed example - Consolidate tidal/docker/ into root docker/ (single canonical home) - Update API.md, QUICKSTART.md, README.md, CLAUDE.md, check-docs.sh accordingly
27 lines
744 B
YAML
27 lines
744 B
YAML
# Core, cluster-agnostic tidalDB deployment. Apply with:
|
|
# kubectl apply -k k8s/
|
|
#
|
|
# Create the API-key secret FIRST (it is deliberately excluded here so no key
|
|
# is committed — see secret.example.yaml):
|
|
# kubectl -n tidaldb create secret generic tidaldb-api-key \
|
|
# --from-literal=api-key="$(openssl rand -hex 32)"
|
|
#
|
|
# servicemonitor.yaml is also excluded (needs the Prometheus Operator); apply it
|
|
# separately if you run the Operator.
|
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
|
kind: Kustomization
|
|
|
|
namespace: tidaldb
|
|
|
|
resources:
|
|
- namespace.yaml
|
|
- schema-configmap.yaml
|
|
- service.yaml
|
|
- statefulset.yaml
|
|
- poddisruptionbudget.yaml
|
|
|
|
labels:
|
|
- pairs:
|
|
app.kubernetes.io/part-of: tidaldb
|
|
includeSelectors: false
|