summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--utils/k8s_setup/k8s_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/k8s_setup/k8s_utils.py b/utils/k8s_setup/k8s_utils.py
index a89889f..ad2cc99 100644
--- a/utils/k8s_setup/k8s_utils.py
+++ b/utils/k8s_setup/k8s_utils.py
@@ -67,7 +67,7 @@ def get_deployment_status(name, namespace):
def get_available_pods(name, namespace):
CMD = ("kubectl get deployment --namespace={} | grep {}".format(
- namespace, name) + " | awk '{print $5}'")
+ namespace, name) + " | awk '{print $4}'")
available_pods = commands.getstatusoutput(CMD)
return int(available_pods[1])