In a production environment managed by Tanzu Mission Control Self-Managed (TMC-SM), the gatekeeper-audit pod may enter a CrashLoopBackOff state.
Symptoms include:
The root cause is the default memory limit (typically 512Mi) being insufficient for the volume of resource metadata in the cluster.
To resolve this issue, the memory allocation for the gatekeeper-audit deployment must be increased.
kubectl edit deployment gatekeeper-audit -n <TMC NAMESPACE>kubectl get pods -n <TMC NAMESPACE> to ensure it reaches a Running state and the restart count stabilizes.