aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/KubernetesUtils.py
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-01-06 21:20:18 +0000
committerPeter Mikus <pmikus@cisco.com>2018-01-06 21:23:59 +0000
commit6e25bb5e8b8bcc2a1f741892508a68aec7d791b9 (patch)
tree80510135bf45f089de32f3a3a0accfab67b5ebdb /resources/libraries/python/KubernetesUtils.py
parentb5fe0fd9a4266773125cc4d4c1edaa1c1a8a1731 (diff)
Update vpp-agent version
- Fix small bug in kubectl get pods - Update vpp-agent release version - Add ability to recompile vpp-agent from VPP. This could eliminate issue in case of some API mismatch) Change-Id: Id9e8758017f3e5504e8a19b607b8ac37f26cf945 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python/KubernetesUtils.py')
-rw-r--r--resources/libraries/python/KubernetesUtils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/KubernetesUtils.py b/resources/libraries/python/KubernetesUtils.py
index ceeab0b07e..89c5bd2a57 100644
--- a/resources/libraries/python/KubernetesUtils.py
+++ b/resources/libraries/python/KubernetesUtils.py
@@ -320,7 +320,7 @@ class KubernetesUtils(object):
cmd = "for p in $(kubectl get pods {nspace} -o jsonpath="\
"'{{.items[*].metadata.name}}'); do echo $p; kubectl logs "\
"{nspace} $p; done".format(nspace=nspace)
- ssh.exec_command_sudo(cmd)
+ ssh.exec_command(cmd)
@staticmethod
def get_kubernetes_logs_on_all_duts(nodes, nspace):