You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem: As a user, I want to know how to collect info to diagnose and get support when failures occur.
Solution: Extend the troubleshooting doc to contain info about collecting status, events, and logs.
If a resource has errors relating to its configuration or relationship to other resources, they can likely be read in the status. The `ObservedGeneration` in the status should match the `ObservedGeneration` of the resource. Otherwise, this could mean that the resource hasn't been processed yet or that the status failed to update.
51
+
52
+
##### Events
53
+
54
+
Events created by NGINX Gateway Fabric or other Kubernetes components could indicate system or configuration issues. To see events:
55
+
56
+
```shell
57
+
kubectl get events [-n namespace]
58
+
```
59
+
60
+
For example, a warning event when the NginxGateway configuration CRD is deleted:
61
+
62
+
```text
63
+
kubectl -n nginx-gateway get event
64
+
LAST SEEN TYPE REASON OBJECT MESSAGE
65
+
5s Warning ResourceDeleted nginxgateway/ngf-config NginxGateway configuration was deleted; using defaults
66
+
```
67
+
68
+
##### Logs
69
+
70
+
Logs from the NGINX Gateway Fabric control plane and data plane can contain information that isn't available to status or events. These can include errors in processing or passing traffic.
0 commit comments