Replace kubecfg with kubectl in setup scripts

Replaces two instances of kubecfg with kubectl in cluster startup and
validation scripts.
This commit is contained in:
Richard Larocque
2014-12-19 15:57:26 -08:00
parent 5038fc0ffa
commit 9ac9c69534
2 changed files with 2 additions and 2 deletions

View File

@@ -35,7 +35,7 @@ detect-minions > /dev/null
MINIONS_FILE=/tmp/minions
attempt=0
while true; do
"${KUBE_ROOT}/cluster/kubecfg.sh" -template $'{{range.items}}{{.id}}\n{{end}}' list minions > "${MINIONS_FILE}"
"${KUBE_ROOT}/cluster/kubectl.sh" get minions -o template -t $'{{range.items}}{{.id}}\n{{end}}' > "${MINIONS_FILE}"
found=$(grep -c . "${MINIONS_FILE}")
if [[ ${found} == "${NUM_MINIONS}" ]]; then
break