aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2018-09-04 15:23:01 -0400
committerBryn M. Reeves <bmr@redhat.com>2019-03-18 10:25:36 +0000
commit4e2ddbd5a642687796b7c7fe6233079a80bc58dd (patch)
tree099c568341840e8f1a3886e508b37b26aa113db9
parent7a2e299db7d60a4a351febe83b6bc7f345d1a594 (diff)
downloadsos-4e2ddbd5a642687796b7c7fe6233079a80bc58dd.tar.gz
[kubernetes] Collect additional resources
Adds several resources for 'kubectl get' output. Resolves: #1424 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
-rw-r--r--sos/plugins/kubernetes.py11
1 files changed, 9 insertions, 2 deletions
diff --git a/sos/plugins/kubernetes.py b/sos/plugins/kubernetes.py
index c14e078e..07efc296 100644
--- a/sos/plugins/kubernetes.py
+++ b/sos/plugins/kubernetes.py
@@ -72,11 +72,18 @@ class kubernetes(Plugin, RedHatPlugin):
knsps = [n.split()[0] for n in kn['output'].splitlines()[1:] if n]
resources = [
- 'limitrange',
+ 'deployments',
+ 'ingresses',
+ 'limitranges',
+ 'namespaces',
'pods',
+ 'policies',
+ 'projects',
+ 'pv',
'pvc',
'rc',
- 'resourcequota',
+ 'resourcequotas',
+ 'routes',
'services'
]