Merge pull request #6581 from nikhiljindal/v1beta3

Moving v1beta1 kubectl examples to v1beta3
This commit is contained in:
Brian Grant
2015-04-08 14:01:57 -07:00
9 changed files with 39 additions and 33 deletions

View File

@@ -58,7 +58,7 @@ until [[ ${all_running} == 1 ]]; do
echo "All pods never 'Running' in time." >&2
exit 1
fi
statuses=($(${KUBECTL} get pods --template='{{range.items}}{{.currentState.status}} {{end}}' --api-version=v1beta1))
statuses=($(${KUBECTL} get pods --template='{{range.items}}{{.status.phase}} {{end}}' --api-version=v1beta3))
# Ensure that we have enough pods.
echo "Found ${#statuses[@]} pods with statuses: ${statuses[@]}" >&2