aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 21cb51df..c14e078e 100644
--- a/sos/plugins/kubernetes.py
+++ b/sos/plugins/kubernetes.py
@@ -61,7 +61,7 @@ class kubernetes(Plugin, RedHatPlugin):
kube_cmd = "kubectl "
if path.exists('/etc/origin/master/admin.kubeconfig'):
- kube_cmd += "--config=/etc/origin/master/admin.kubeconfig"
+ kube_cmd += "--kubeconfig=/etc/origin/master/admin.kubeconfig"
kube_get_cmd = "get -o json "
for subcmd in ['version', 'config view']: