Commit 15ecf413 authored by Chao Xu's avatar Chao Xu

update getting-started-guides/coreos to v1

parent ebeb1044
......@@ -26,10 +26,11 @@ write_files:
test -n "${healthcheck}"
test "${healthcheck}" = "ok"
printf '{
"id": "%s",
"kind": "Minion",
"apiVersion": "v1beta1",
"labels": { "environment": "%s" }
"apiVersion": "v1",
"kind": "Node",
"metadata": {
"name": "%s",
"labels": { "environment": "%s" }
}' "${minion_id}" "${env_label}" \
| /opt/bin/kubectl create -s "${master_url}" -f -
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment