11.5. oc adm inspect를 사용하여 debug GitOps


Argo CD for MicroShift Red Hat OpenShift GitOps 컨트롤러에 문제가 있는 경우 OpenShift CLI(oc) 툴을 사용하여 오류가 있는지 확인할 수 있습니다.

사전 요구 사항

  • oc 명령줄 툴이 설치되어 있습니다.

절차

  • GitOps 네임스페이스에서 oc adm inspect 명령을 실행합니다.

    $ oc adm inspect ns/openshift-gitops

    출력 예

    Gathering data for ns/openshift-gitops...
    W0501 20:34:35.978508 57625 util.go:118] the server doesn't have a resource type egressfirewalls, skipping the inspection
    W0501 20:34:35.980881 57625 util.go:118] the server doesn't have a resource type egressqoses, skipping the inspection
    W0501 20:34:36.040664 57625 util.go:118] the server doesn't have a resource type servicemonitors, skipping the inspection
    Wrote inspect data to inspect.local.2673575938140296280.

다음 단계

  • oc adm inspect 에 필요한 정보가 표시되지 않은 경우 sos 보고서를 실행할 수 있습니다.
Red Hat logoGithubRedditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동