revert cgroup driver to 'cgroupfs' #848

pull/860/head
gjmzj 2020-05-23 17:58:32 +08:00
parent d3b92464ec
commit d1b6761f0a
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"data-root": "{{ STORAGE_DIR }}", "data-root": "{{ STORAGE_DIR }}",
"exec-opts": ["native.cgroupdriver=systemd"], "exec-opts": ["native.cgroupdriver=cgroupfs"],
{% if ENABLE_MIRROR_REGISTRY %} {% if ENABLE_MIRROR_REGISTRY %}
"registry-mirrors": {{ REG_MIRRORS }}, "registry-mirrors": {{ REG_MIRRORS }},
{% endif %} {% endif %}

View File

@ -14,7 +14,7 @@ authorization:
webhook: webhook:
cacheAuthorizedTTL: 5m0s cacheAuthorizedTTL: 5m0s
cacheUnauthorizedTTL: 30s cacheUnauthorizedTTL: 30s
cgroupDriver: systemd cgroupDriver: cgroupfs
cgroupsPerQOS: true cgroupsPerQOS: true
clusterDNS: clusterDNS:
- {{ CLUSTER_DNS_SVC_IP }} - {{ CLUSTER_DNS_SVC_IP }}