디버깅을 위한 인그레스 세부정보 수집

다음 명령을 실행하여 인그레스 디버깅에 필요한 로그와 세부 정보를 수집하세요.

  1. 노드 및 노드 레이블을 가져오십시오.

    oc get nodes --show-labels
    
  2. 엔드포인트를 가져오십시오.

    oc get endpoints -o wide
    
  3. Ingress 상태를 가져오십시오.

    ibmcloud oc ingress status-report get -c CLUSTERID
    
  4. 경로를 나열하십시오.

    oc get route -n openshift-ingress
    
  5. Ingress 컨트롤러의 로그를 가져옵니다.

    oc describe ingresscontroller -n openshift-ingress-operator
    
  6. Ingress Operator 로그를 가져옵니다.

    oc logs deployments/ingress-operator -n openshift-ingress-operator -c ingress-operator
    
  7. 포드를 나열합니다.openshift-ingress 네임스페이스.

    oc get pods -n openshift-ingress
    
  8. 라우터 서비스 세부정보를 가져옵니다.

    oc get svc -n openshift-ingress
    
  9. 라우터 서비스에 대해 설명하세요.

    oc describe svc router-default -n openshift-ingress
    
  10. 클러스터 하위 도메인을 나열하십시오.

    ibmcloud oc ingress domain ls -c CLUSTERID
    
  11. Ingress 하위 도메인에서 nslookup을 실행하십시오.

    nslookup ingresssubdomain.com
    
  12. 수집한 정보를 저장하고 지원 케이스. 사례 세부정보에는 관련 로그 파일, 오류 메시지 또는 명령 출력을 포함해야 합니다.