aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Hunsaker <jhunsake@redhat.com>2015-09-04 12:09:29 -0400
committerAdam Stokes <adam.stokes@ubuntu.com>2015-09-29 09:39:39 -0400
commit9e4a5b75ca94badc7905e33875d4e8c3715e5dd5 (patch)
tree9765df4d4409de6bcd40251a4be576399d14c453
parent98416c273e71030ea35ac35303a6052d91f37d8b (diff)
downloadsos-9e4a5b75ca94badc7905e33875d4e8c3715e5dd5.tar.gz
[kubernetes] Change 'minions' to 'nodes'.
Kube no longer uses 'minions' and only accepts 'nodes' in kubectl. Previous versions of kubectl all accepted both 'nodes' and 'minions' however since v1.0, 'minions' has been deprecated. Closes #638 Signed-off-by: Jake Hunsaker <jhunsake@redhat.com> Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
-rw-r--r--sos/plugins/kubernetes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sos/plugins/kubernetes.py b/sos/plugins/kubernetes.py
index 38faeb28..59b6b53f 100644
--- a/sos/plugins/kubernetes.py
+++ b/sos/plugins/kubernetes.py
@@ -31,7 +31,7 @@ class kubernetes(Plugin, RedHatPlugin):
# Kubernetes master info
self.add_cmd_output("kubectl version")
self.add_cmd_output("kubectl get -o json pods")
- self.add_cmd_output("kubectl get -o json minions")
+ self.add_cmd_output("kubectl get -o json nodes")
self.add_cmd_output("kubectl get -o json services")
self.add_cmd_output("kubectl get -o json replicationController")
self.add_cmd_output("kubectl get -o json events")