diff options
author | Jake Hunsaker <jhunsake@redhat.com> | 2019-05-15 15:09:21 -0400 |
---|---|---|
committer | Pavel Moravec <pmoravec@redhat.com> | 2019-08-25 10:36:46 +0200 |
commit | c9f19bbd444e5c5bb494fc97a2fe3ba1122ad9e0 (patch) | |
tree | 9f86959a24915f080c72f7758079ed9f51d103d8 | |
parent | b7a00256c0b28425986e945b1cff87ac9ceb8b85 (diff) | |
download | sos-c9f19bbd444e5c5bb494fc97a2fe3ba1122ad9e0.tar.gz |
[kubernetes] Collect proxy env vars
Adds collection of proxy environment variables.
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r-- | sos/plugins/kubernetes.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sos/plugins/kubernetes.py b/sos/plugins/kubernetes.py index e4e7c582..6848c20e 100644 --- a/sos/plugins/kubernetes.py +++ b/sos/plugins/kubernetes.py @@ -49,6 +49,13 @@ class kubernetes(Plugin, RedHatPlugin): self.add_copy_spec("/etc/kubernetes") self.add_copy_spec("/var/run/flannel") + self.add_env_var([ + 'KUBECONFIG', + 'KUBERNETES_HTTP_PROXY', + 'KUBERNETES_HTTPS_PROXY', + 'KUBERNETES_NO_PROXY' + ]) + svcs = [ 'kubelet', 'kube-apiserver', |