2.2. 모듈식 모드에서 must-gather 실행
Red Hat OpenShift Data Foundation must-gather
는 일부 환경에서 실행하는 데 시간이 오래 걸릴 수 있습니다. 이를 방지하려면 모듈식 모드에서 must-gather
를 실행하고 다음 명령을 사용하여 필요한 리소스만 수집합니다.
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.16 -- /usr/bin/gather <-arg>
must -gather 로그가 필요한 리소스를 지정하려면 < -arg
>를 다음 인수 중 하나 이상으로 바꿉니다.
-o
,--odf
- ODF 로그(Ceph 리소스, 네임스페이스 리소스, 클러스터 범위 리소스 및 Ceph 로그 포함)
-d
,--dr
- DR 로그
-n
,--noobaa
- NooBaa 로그
-c
,--ceph
- Ceph 명령 및 Pod 로그
-cl
,--ceph-logs
- Ceph 데몬, 커널, 저널 로그 및 크래시 보고서
-NS
,--namespaced
-
네임스페이스가 지정된
리소스 -CS
,--clusterscoped
-
클러스터 범위
리소스 -pc
,--provider
-
provider/consumer 클러스터의 OpenShift
-storage-client
로그( operator 네임스페이스, 포드, 배포, 시크릿, configmap 및 기타 리소스에 모든 로그 포함) -h
,--help
- 도움말 메시지 인쇄