From 402352c3af34a714a4545f4f29da662d87c412b2 Mon Sep 17 00:00:00 2001 From: u1 Date: Tue, 6 Jan 2026 00:23:48 +0000 Subject: [PATCH] docs: add verification commands for staging --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/README.md b/README.md index 2ac663a..ef3626d 100644 --- a/README.md +++ b/README.md @@ -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`.