mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-14 22:04:43 +03:00
Merge pull request #308 from aLostEngineer/master
Update calico systemd.service template for EL7
This commit is contained in:
@@ -12,6 +12,7 @@ Requires=docker.socket
|
|||||||
[Service]
|
[Service]
|
||||||
Type=notify
|
Type=notify
|
||||||
{% if ansible_os_family == "RedHat" %}
|
{% if ansible_os_family == "RedHat" %}
|
||||||
|
EnvironmentFile=-/etc/default/docker
|
||||||
EnvironmentFile=-/etc/sysconfig/docker
|
EnvironmentFile=-/etc/sysconfig/docker
|
||||||
EnvironmentFile=-/etc/sysconfig/docker-network
|
EnvironmentFile=-/etc/sysconfig/docker-network
|
||||||
EnvironmentFile=-/etc/sysconfig/docker-storage
|
EnvironmentFile=-/etc/sysconfig/docker-storage
|
||||||
@@ -23,7 +24,8 @@ ExecStart=/usr/bin/docker daemon \
|
|||||||
$OPTIONS \
|
$OPTIONS \
|
||||||
$DOCKER_STORAGE_OPTIONS \
|
$DOCKER_STORAGE_OPTIONS \
|
||||||
$DOCKER_NETWORK_OPTIONS \
|
$DOCKER_NETWORK_OPTIONS \
|
||||||
$INSECURE_REGISTRY
|
$INSECURE_REGISTRY \
|
||||||
|
$DOCKER_OPTS
|
||||||
LimitNOFILE=1048576
|
LimitNOFILE=1048576
|
||||||
LimitNPROC=1048576
|
LimitNPROC=1048576
|
||||||
LimitCORE=infinity
|
LimitCORE=infinity
|
||||||
|
|||||||
Reference in New Issue
Block a user