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.

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

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

    ibmcloud ks ingress status-report get -c CLUSTERID
    
  4. List ALBs.

    ibmcloud ks ingress alb ls -c CLUSTERID
    
  5. Describe your Ingress resource.

    kubectl describe ing <ingress name> -n <namespace>
    
  6. Get the logs for the nginx-ingress container in your Ingress pods.

    kubectl logs <ingress pods> -n kube-system -c nginx-ingress
    
  7. List host names for network load balancer (NLB).

    ibmcloud ks nlb-dns ls -c CLUSTERID
    
  8. List the alb pods in the kube-system namespace.

    kubectl get pods -n kube-system | grep alb
    
  9. List your cluster subdomains.

    ibmcloud ks ingress domain ls -c CLUSTERID
    
  10. Run an nslookup on your Ingress subdomain.

    nslookup ingresssubdomain.com
    
  11. 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.