docs: add verification commands for staging
This commit is contained in:
22
README.md
22
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`.
|
||||
|
||||
Reference in New Issue
Block a user