Gathering Ingress details for debugging
Run the following commands to gather the required logs and details for debugging Ingress.
-
Get nodes and node labels.
kubectl get nodes --show-labels -
Get endpoints.
kubectl get endpoints -o wide -
Get the Ingress status.
ibmcloud ks ingress status-report get -c CLUSTERID -
List ALBs.
ibmcloud ks ingress alb ls -c CLUSTERID -
Describe your Ingress resource.
kubectl describe ing <ingress name> -n <namespace> -
Get the logs for the
nginx-ingresscontainer in your Ingress pods.kubectl logs <ingress pods> -n kube-system -c nginx-ingress -
List host names for network load balancer (NLB).
ibmcloud ks nlb-dns ls -c CLUSTERID -
List the
albpods in thekube-systemnamespace.kubectl get pods -n kube-system | grep alb -
List your cluster subdomains.
ibmcloud ks ingress domain ls -c CLUSTERID -
Run an
nslookupon your Ingress subdomain.nslookup ingresssubdomain.com -
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.