update to latest 2.26.0 kubespray version and add dns zones settings to coredns
This commit is contained in:
@@ -1,19 +1,11 @@
|
||||
[Unit]
|
||||
Description=Docker Application Container Engine
|
||||
Documentation=http://docs.docker.com
|
||||
{% if ansible_os_family == "RedHat" %}
|
||||
After=network.target {{ ' docker-storage-setup.service' if docker_container_storage_setup else '' }} containerd.service
|
||||
After=network.target docker.socket containerd.service lvm2-monitor.service SuSEfirewall2.service
|
||||
{% if ansible_os_family != "Suse" %}
|
||||
BindsTo=containerd.service
|
||||
{{ 'Wants=docker-storage-setup.service' if docker_container_storage_setup else '' }}
|
||||
{% elif ansible_os_family == "Debian" %}
|
||||
After=network.target docker.socket containerd.service
|
||||
BindsTo=containerd.service
|
||||
Wants=docker.socket
|
||||
{% elif ansible_os_family == "Suse" %}
|
||||
After=network.target lvm2-monitor.service SuSEfirewall2.service
|
||||
# After=network.target containerd.service
|
||||
# BindsTo=containerd.service
|
||||
{% endif %}
|
||||
Wants=docker.socket
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
@@ -31,9 +23,7 @@ ExecStart={{ docker_bin_dir }}/dockerd \
|
||||
$DOCKER_OPTS \
|
||||
$DOCKER_STORAGE_OPTIONS \
|
||||
$DOCKER_DNS_OPTIONS
|
||||
{% if not is_ostree and systemd_version.stdout|int >= 226 %}
|
||||
TasksMax=infinity
|
||||
{% endif %}
|
||||
LimitNOFILE=1048576
|
||||
LimitNPROC=1048576
|
||||
LimitCORE=infinity
|
||||
|
||||
Reference in New Issue
Block a user