Fortinet black logo
7.2.0

Debug

Debug

By default, the FortiADC Ingress Controller records the process of the Ingress implementation in verbose mode. The debug log shows the check of annotation parameters and the process of calling the REST API to FortiADC when deploying, updating, or deleting the Ingress resources.

The verbose log can be enabled or disabled for any particular Ingress. This is determined by the status of the fortiadc-ctrl-log configuration parameter. For more information, see Configuration parameters.

To see the log, you can use the kubectl logs command:

kubectl logs -n [namespace] -f [FortiADC Ingress Controller pod name] 

The log shows which problem you encounter. For example, the below log shows that you do not have the correct FortiADC Authentication Secret in the Kubernetes cluster.

Based on the error message, you can correct it and use the kubectl apply command to reconfigure the Ingress.

Some troubleshooting steps may require restarting the FortiADC Ingress Controller. For example, the FortiADC Ingress Controller may not connect to FortiADC after changing the network firewall rule. To fix this type of environment issue, you can restart the FortiADC Ingress Controller by using the following command:

kubectl -n [namespace] rollout restart deployment/[ FortiADC Ingress Controller deployment name]

Debug

By default, the FortiADC Ingress Controller records the process of the Ingress implementation in verbose mode. The debug log shows the check of annotation parameters and the process of calling the REST API to FortiADC when deploying, updating, or deleting the Ingress resources.

The verbose log can be enabled or disabled for any particular Ingress. This is determined by the status of the fortiadc-ctrl-log configuration parameter. For more information, see Configuration parameters.

To see the log, you can use the kubectl logs command:

kubectl logs -n [namespace] -f [FortiADC Ingress Controller pod name] 

The log shows which problem you encounter. For example, the below log shows that you do not have the correct FortiADC Authentication Secret in the Kubernetes cluster.

Based on the error message, you can correct it and use the kubectl apply command to reconfigure the Ingress.

Some troubleshooting steps may require restarting the FortiADC Ingress Controller. For example, the FortiADC Ingress Controller may not connect to FortiADC after changing the network firewall rule. To fix this type of environment issue, you can restart the FortiADC Ingress Controller by using the following command:

kubectl -n [namespace] rollout restart deployment/[ FortiADC Ingress Controller deployment name]