Kubernetes reference deployment implementation plan
Goal: Package Lake and provide a scheduler reference that preserves its security, availability, observability, and bounded-resource contracts.
Task 1: Lock the deployment contract
- Add a failing resource-graph test for Query/Metasrv topology.
- Assert authenticated TLS gRPC health probes and loopback-only metrics.
- Assert pod hardening, resources, topology spread, and shutdown budgets.
Task 2: Package the process
- Add a reproducible multi-stage Rust container build.
- Install a pinned gRPC health probe and runtime CA material.
- Run as a numeric non-root user with a writable spill-only directory.
Task 3: Add Kubernetes references
- Add namespace, configuration, services, Query Deployment, Metasrv StatefulSet, and disruption budgets.
- Keep credentials as required Secret references, never example values.
- Keep metadata and table authority in DynamoDB/S3, not pod volumes.
Task 4: Verify and ship
- Document prerequisites, secret shapes, rollout, probes, and tuning.
- Run spec lifecycle, strict validation, gate, independent review, and independent verification.
- Merge one reviewed PR and verify main.