diff --git a/scripts/prod/update_config_and_restart_nodes_lib.py b/scripts/prod/update_config_and_restart_nodes_lib.py index 43d563da4c7..a3f32655373 100755 --- a/scripts/prod/update_config_and_restart_nodes_lib.py +++ b/scripts/prod/update_config_and_restart_nodes_lib.py @@ -484,6 +484,7 @@ def restart_pod( "-o", "name", ] + kubectl_args.extend(get_namespace_args(namespace, cluster)) pods = run_kubectl_command(kubectl_args, capture_output=True).stdout.splitlines() # Filter the list of pods to only include the ones that match the service and extract the pod name.