docs: add verification commands for staging

This commit is contained in:
u1
2026-01-06 00:23:48 +00:00
parent 7e492fd2ba
commit 402352c3af

View File

@@ -103,6 +103,28 @@ kubectl -n trade-staging port-forward svc/pgadmin 5050:80
kubectl -n trade-staging port-forward svc/postgres 5432:5432
```
## Weryfikacja (staging)
```bash
# Argo CD: status aplikacji
kubectl -n argocd get applications.argoproj.io trade-staging -o wide
# Workloady
kubectl -n trade-staging get pods -o wide
kubectl -n trade-staging get svc
kubectl -n trade-staging get pvc
# Hasura bootstrap
kubectl -n trade-staging get job hasura-bootstrap
kubectl -n trade-staging logs job/hasura-bootstrap --tail=200
# Logi (gdy coś nie wstaje)
kubectl -n trade-staging logs deploy/hasura --tail=200
kubectl -n trade-staging logs statefulset/postgres --tail=200
```
Jeśli pody mają `CreateContainerConfigError` z komunikatem o brakującym sekrecie (`trade-postgres` / `trade-hasura` / `trade-pgadmin`), najpierw utwórz sekrety (sekcja wyżej).
## Argo CD
Przykładowa `Application` jest w `bootstrap/argocd/application-trade-staging.yaml`.