Kubernetes Manifests — Stonks Oracle
All manifests target the stonks-oracle namespace.
Prerequisites (already running in cluster)
postgresql-service— PostgreSQLredis-service— Redisminio-service/minio-operator— MinIOollama-service— Ollama LLM
Shared Configuration
namespace.yaml— namespace definitionconfigmap.yaml— environment config referencing existing cluster servicessecrets.yaml— credentials (update before deploying)
Application Workloads
symbol-registry.yaml— company/watchlist/source management APIscheduler.yaml— polling orchestratoringestion-worker.yaml— fetches external data, stores raw artifactsparser-worker.yaml— HTML-to-text, normalization, quality scoringextractor-worker.yaml— Ollama structured extractionaggregation-worker.yaml— trend summaries and signal aggregationrecommendation-worker.yaml— trade recommendation generationrisk-engine.yaml— risk controls and trade eligibility APIbroker-adapter.yaml— paper/live trading adapterlake-publisher.yaml— operational-to-analytical fact publisherquery-api.yaml— analytics and admin API
Analytics Infrastructure
hive-metastore.yaml— Hive Metastore for Trino catalogtrino.yaml— SQL query engine with Hive + Iceberg catalogssuperset.yaml— dashboard and exploration layer
Deploy
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/