mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Trusty: Support hybrid cluster with nodes on ContainerVM
This commit is contained in:
parent
b56252e338
commit
2ea9ef53f3
@ -689,6 +689,11 @@ function create-nodes-template() {
|
|||||||
|
|
||||||
local template_name="${NODE_INSTANCE_PREFIX}-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
|
create-node-instance-template $template_name
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user