IBM Cloud Docs
Gathering Ingress details for debugging

Gathering Ingress details for debugging

Run the following commands to gather the required logs and details for debugging Ingress.

  1. Get nodes and node labels.

    oc get nodes --show-labels
    
  2. Get endpoints.

    oc get endpoints -o wide
    
  3. Get the Ingress status.

    ibmcloud oc ingress status-report get -c CLUSTERID
    
  4. List your routes.

    oc get route -n openshift-ingress
    
  5. Get the logs of the Ingress controller.

    oc describe ingresscontroller -n openshift-ingress-operator
    
  6. Get the Ingress Operator logs.

    oc logs deployments/ingress-operator -n openshift-ingress-operator -c ingress-operator
    
  7. List pods in the openshift-ingress namespace.

    oc get pods -n openshift-ingress
    
  8. Get the router service details.

    oc get svc -n openshift-ingress
    
  9. Describe the router service.

    oc describe svc router-default -n openshift-ingress
    
  10. List your cluster subdomains.

    ibmcloud oc ingress domain ls -c CLUSTERID
    
  11. Run an nslookup on your Ingress subdomain.

    nslookup ingresssubdomain.com
    
  12. Save the information you've gathered and Open a support case. In the case details, be sure to include any relevant log files, error messages, or command outputs.