Commit c3ba8829 authored by Yu-Ju Hong's avatar Yu-Ju Hong

Merge pull request #7665 from vmarmol/cluster-rkt

Provide container_runtime flag to Kubelet in CoreOS.
parents 91961d29 727016dc
......@@ -48,6 +48,7 @@ KUBELET_TOKEN: $(yaml-quote ${KUBELET_TOKEN:-})
KUBE_PROXY_TOKEN: $(yaml-quote ${KUBE_PROXY_TOKEN:-})
ADMISSION_CONTROL: $(yaml-quote ${ADMISSION_CONTROL:-})
MASTER_IP_RANGE: $(yaml-quote ${MASTER_IP_RANGE})
KUBERNETES_CONTAINER_RUNTIME: $(yaml-quote ${CONTAINER_RUNTIME})
EOF
else
cat >>$file <<EOF
......@@ -78,6 +79,7 @@ ZONE=$(yaml-quote ${ZONE})
EXTRA_DOCKER_OPTS=$(yaml-quote ${EXTRA_DOCKER_OPTS})
ENABLE_DOCKER_REGISTRY_CACHE=$(yaml-quote ${ENABLE_DOCKER_REGISTRY_CACHE:-false})
PROJECT_ID=$(yaml-quote ${PROJECT})
KUBERNETES_CONTAINER_RUNTIME=$(yaml-quote ${CONTAINER_RUNTIME})
EOF
fi
}
......
......@@ -129,7 +129,8 @@ coreos:
--v=2 \
--cluster_dns=10.0.0.10 \
--cluster_domain=kubernetes.local \
--logtostderr=true
--logtostderr=true \
--container-runtime=${KUBERNETES_CONTAINER_RUNTIME}
Restart=always
RestartSec=10
......
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