X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FKubernetesUtils.py;h=8d658c65bc5b0cb2b03f0dfada06ca4e77bd4eb9;hb=54ad6efd342695d0a7dad5380cc989a8d846f518;hp=89c5bd2a57221de12ae7ccd7aa349046ba0a5ca5;hpb=6e25bb5e8b8bcc2a1f741892508a68aec7d791b9;p=csit.git 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.