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-ingress
container 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
alb
pods in thekube-system
namespace.kubectl get pods -n kube-system | grep alb
-
List your cluster subdomains.
ibmcloud ks ingress domain ls -c CLUSTERID
-
Run an
nslookup
on 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.