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
It is possible that your cluster has a large number of API objects which are being downloaded and cached by the agent,
48
+
causing excessive memory usage.
49
+
You can solve this by creating a custom agent configuration, which excludes certain API object kinds or excludes some namespaces.
50
+
51
+
This command will give the object counts from the [metrics endpoint of the API server](https://kubernetes.io/docs/reference/instrumentation/metrics/):
52
+
53
+
```bash
54
+
kubectl get --raw "/metrics"| grep apiserver_storage_objects
55
+
```
56
+
57
+
### Secret Count by Type
58
+
59
+
It is possible that your cluster contains a large number of large Secrets which are being downloaded and cached by the agent,
60
+
causing excessive memory usage.
61
+
By default the agent will ignore various common Secret types, but your cluster
62
+
may contain other Secret types which are not in the default list and which can
63
+
be excluded.
64
+
65
+
This command will give a list of all the Secrets and their types, [without downloading any of the data in the Secrets](https://kubernetes.io/docs/reference/using-api/api-concepts/#receiving-resources-as-tables):
0 commit comments