mirror of https://github.com/k3s-io/k3s
Trusty: Support hybrid cluster with nodes on ContainerVM
parent
b56252e338
commit
2ea9ef53f3
|
@ -689,6 +689,11 @@ function create-nodes-template() {
|
|||
|
||||
local template_name="${NODE_INSTANCE_PREFIX}-template"
|
||||
|
||||
# For master on trusty, we support running nodes on ContainerVM or trusty.
|
||||
if [[ "${OS_DISTRIBUTION}" == "trusty" ]] && \
|
||||
[[ "${NODE_IMAGE}" == container* ]]; then
|
||||
source "${KUBE_ROOT}/cluster/gce/debian/helper.sh"
|
||||
fi
|
||||
create-node-instance-template $template_name
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue