aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/KubernetesUtils.py
diff options
context:
space:
mode:
Diffstat (limited to 'resources/libraries/python/KubernetesUtils.py')
-rw-r--r--resources/libraries/python/KubernetesUtils.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/resources/libraries/python/KubernetesUtils.py b/resources/libraries/python/KubernetesUtils.py
index 89c5bd2a57..8d658c65bc 100644
--- a/resources/libraries/python/KubernetesUtils.py
+++ b/resources/libraries/python/KubernetesUtils.py
@@ -322,6 +322,10 @@ class KubernetesUtils(object):
"{nspace} $p; done".format(nspace=nspace)
ssh.exec_command(cmd)
+ cmd = "kubectl exec {nspace} etcdv3 -- etcdctl --endpoints "\
+ "\"localhost:22379\" get \"/\" --prefix=true".format(nspace=nspace)
+ ssh.exec_command(cmd)
+
@staticmethod
def get_kubernetes_logs_on_all_duts(nodes, nspace):
"""Get Kubernetes logs from all PODs in namespace on all DUTs.