Gathering Ingress logs
Run the following commands to gather the required logs for debugging Ingress.
-
List ALBs.
ibmcloud oc ingress alb ls -c CLUSTERID
-
Get the Ingress status.
ibmcloud oc ingress status-report get -c CLUSTERID
-
Get nodes and node labels.
oc get nodes --show-labels
-
Get endpoints.
oc get endpoints -o wide
-
Describe your Ingress resource.
oc describe ing <ingress name> -n <namespace>
-
Get the logs for the
nginx-ingress
container in your Ingress pods.oc logs <ingress pods> -n kube-system -c nginx-ingress
-
List host names for network load balancer (NLB).
ibmcloud oc nlb-dns ls -c CLUSTERID
-
List the
alb
pods in thekube-system
namespace.oc get pods -n kube-system | grep alb
-
Run an
nslookup
on your Ingress subdomain.nslookup ingresssubdomain.com
Review the output for error messages, then review the list of Ingress and routers troubleshooting topics for help resolving common Ingress issues.