chore: bootstrap deploy no hml2 (Dockerfile + k8s + workflow CD) #1
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "chore/initial-deploy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bootstrap inicial pra deploy no
hml2-cluster.O que tem
365d0617c)deployment.yaml— 1 réplica (ChromaDB SQLite não suporta multi-writer), strategyRecreate(PVC RWO), PVC montado em/app/chroma_db+/app/data_storage+~/.cache/chroma, probes TCP,--workers 1no uvicornservice.yaml— ClusterIP 80→8765ingress.yaml—lab.clubpetro.com/api/vanna/*com timeouts altos pra SSE/WebSocket (3600s) eproxy-buffering: offpvc.yaml— 5Gistandard-rwomainfazkubectl apply -f k8s/(idempotente) +kubectl set imagecom taglab-<run_number>URL final
https://lab.clubpetro.com/api/vanna/...Pendência pra serviço subir
Depois do merge, criar
SecretK8svanna-clubpetro-secretno nsdefaultdo hml2 com:OPENAI_API_KEY(peço depois)CLICKHOUSE_HOST,CLICKHOUSE_PORT,CLICKHOUSE_DATABASE,CLICKHOUSE_USER,CLICKHOUSE_PASSWORD,CLICKHOUSE_SECURE(idem ao front)Sem o secret, pod fica em CrashLoop até receber as creds.