mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 02:09:56 +00:00
AWS: Ubuntu Vivid, set cgroup_root to docker
Otherwise libcontainer generates systemd unit file names that start with "-", which are not valid.
This commit is contained in:
parent
bdb2196abe
commit
89900fa19b
@ -75,6 +75,9 @@
|
|||||||
{% set system_container = "--system-container=/system" -%}
|
{% set system_container = "--system-container=/system" -%}
|
||||||
{% set cgroup_root = "--cgroup_root=/" -%}
|
{% set cgroup_root = "--cgroup_root=/" -%}
|
||||||
{% endif -%}
|
{% endif -%}
|
||||||
|
{% if grains['oscodename'] == 'vivid' -%}
|
||||||
|
{% set cgroup_root = "--cgroup_root=docker" -%}
|
||||||
|
{% endif -%}
|
||||||
|
|
||||||
{% set pod_cidr = "" %}
|
{% set pod_cidr = "" %}
|
||||||
{% if grains['roles'][0] == 'kubernetes-master' and grains.get('cbr-cidr') %}
|
{% if grains['roles'][0] == 'kubernetes-master' and grains.get('cbr-cidr') %}
|
||||||
|
Loading…
Reference in New Issue
Block a user