Merge pull request #2168 from xd007/docker_arm64

fix docker opts incompatible running on aarch64 Redhat/Centos
This commit is contained in:
Antoine Legrand
2018-08-17 16:24:07 +02:00
committed by GitHub
3 changed files with 17 additions and 2 deletions

View File

@@ -40,6 +40,9 @@ KUBELET_HOSTNAME="--hostname-override={{ kube_override_hostname }}"
{% if kubelet_authorization_mode_webhook %}
--authorization-mode=Webhook \
{% endif %}
{% if ansible_architecture == "aarch64" and ansible_os_family == "RedHat" %}
--cgroup-driver=systemd \
{% endif %}
--enforce-node-allocatable={{ kubelet_enforce_node_allocatable }} {% endif %}{% endset %}
{# DNS settings for kubelet #}