mirror of
https://github.com/Expand-sys/awx-on-k3s
synced 2025-12-15 21:42:15 +11:00
docs: add commands to gather logs from job and init container of psql pod (#344)
This commit is contained in:
parent
a2f564d1d5
commit
19b9d5bc12
1 changed files with 10 additions and 1 deletions
|
|
@ -86,6 +86,11 @@ kubectl -n awx logs -f <POD> -c <CONTAINER>
|
|||
kubectl -n awx logs -f deployment/<DEPLOYMENT>
|
||||
kubectl -n awx logs -f deployment/<DEPLOYMENT> -c <CONTAINER>
|
||||
|
||||
# Get the logs of specific Pod which is handled by Job resource.
|
||||
# If the Pod includes multiple containers, container name has to be specified.
|
||||
kubectl -n awx logs -f job/<JOB>
|
||||
kubectl -n awx logs -f job/<JOB> -c <CONTAINER>
|
||||
|
||||
# Get the logs of specific Pod which is handled by StatefulSet resource
|
||||
# If the Pod includes multiple containers, container name has to be specified.
|
||||
kubectl -n awx logs -f statefulset/<STATEFULSET>
|
||||
|
|
@ -99,6 +104,8 @@ For AWX Operator and AWX, specifically, the following commands are helpful.
|
|||
- Logs of AWX related init containers
|
||||
- `kubectl -n awx logs -f deployment/awx-task -c init`
|
||||
- `kubectl -n awx logs -f deployment/awx-task -c init-projects`
|
||||
- Logs of AWX related job container
|
||||
- `kubectl -n awx logs -f job/awx-migration-<VERSION>`
|
||||
- Logs of AWX related containers
|
||||
- `kubectl -n awx logs -f deployment/awx-web -c awx-web`
|
||||
- `kubectl -n awx logs -f deployment/awx-web -c awx-rsyslog`
|
||||
|
|
@ -107,7 +114,9 @@ For AWX Operator and AWX, specifically, the following commands are helpful.
|
|||
- `kubectl -n awx logs -f deployment/awx-task -c awx-ee`
|
||||
- `kubectl -n awx logs -f deployment/awx-task -c awx-rsyslog`
|
||||
- `kubectl -n awx logs -f deployment/awx-task -c redis`
|
||||
- Logs of PostgreSQL
|
||||
- Logs of PostgreSQL related init container
|
||||
- `kubectl -n awx logs -f statefulset/awx-postgres-15 -c init`
|
||||
- Logs of PostgreSQL related container
|
||||
- `kubectl -n awx logs -f statefulset/awx-postgres-15`
|
||||
|
||||
### Reveal "censored" output in the AWX Operator's log
|
||||
|
|
|
|||
Loading…
Reference in a new issue