update getting-started-guides/coreos to v1

This commit is contained in:
Chao Xu 2015-06-24 15:32:36 -07:00
parent ebeb104493
commit 15ecf413c6

View File

@ -26,9 +26,10 @@ write_files:
test -n "${healthcheck}" test -n "${healthcheck}"
test "${healthcheck}" = "ok" test "${healthcheck}" = "ok"
printf '{ printf '{
"id": "%s", "apiVersion": "v1",
"kind": "Minion", "kind": "Node",
"apiVersion": "v1beta1", "metadata": {
"name": "%s",
"labels": { "environment": "%s" } "labels": { "environment": "%s" }
}' "${minion_id}" "${env_label}" \ }' "${minion_id}" "${env_label}" \
| /opt/bin/kubectl create -s "${master_url}" -f - | /opt/bin/kubectl create -s "${master_url}" -f -