# Kubernetes Manifests — Stonks Oracle All manifests target the `stonks-oracle` namespace. ## Prerequisites (already running in cluster) - `postgresql-service` — PostgreSQL - `redis-service` — Redis - `minio-service` / `minio-operator` — MinIO - `ollama-service` — Ollama LLM ## Shared Configuration - `namespace.yaml` — namespace definition - `configmap.yaml` — environment config referencing existing cluster services - `secrets.yaml` — credentials (update before deploying) ## Application Workloads - `symbol-registry.yaml` — company/watchlist/source management API - `scheduler.yaml` — polling orchestrator - `ingestion-worker.yaml` — fetches external data, stores raw artifacts - `parser-worker.yaml` — HTML-to-text, normalization, quality scoring - `extractor-worker.yaml` — Ollama structured extraction - `aggregation-worker.yaml` — trend summaries and signal aggregation - `recommendation-worker.yaml` — trade recommendation generation - `risk-engine.yaml` — risk controls and trade eligibility API - `broker-adapter.yaml` — paper/live trading adapter - `lake-publisher.yaml` — operational-to-analytical fact publisher - `query-api.yaml` — analytics and admin API ## Analytics Infrastructure - `hive-metastore.yaml` — Hive Metastore for Trino catalog - `trino.yaml` — SQL query engine with Hive + Iceberg catalogs - `superset.yaml` — dashboard and exploration layer ## Deploy ```bash kubectl apply -f infra/k8s/namespace.yaml kubectl apply -f infra/k8s/configmap.yaml kubectl apply -f infra/k8s/secrets.yaml kubectl apply -f infra/k8s/ ```