openshift / cluster-debug-tools

Unsupported tools used to investigate broken clusters.
Apache License 2.0
26 stars 28 forks source link

top by namespace #12

Closed tkashem closed 4 years ago

tkashem commented 4 years ago

Not sure if there is a way to achieve this with the existing options.

Example:

$ kubectl-dev_tool audit -f logs_from_masters--resource=secrets.* --user=system:openshift-master --output=top --by=namespace

33004x               openshift-monitoring
7636x                openshift-infra
7312x                openshift-metrics-server
5760x                openshift-sdn
5632x                logging
4488x                kube-system
1596x                default