Fedora: fix mount propagation support with kubernetes 1.10.x

This PS restores operation of fluentbit on fedora with kubernetes
>= 1.10.x.

Change-Id: I905c20794a6cc38fad3b048a916b7693226f865c
This commit is contained in:
Pete Birley 2018-05-16 20:03:12 -05:00
parent 4004e0c0c5
commit 70cfb0d341
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@ ExecStart=/usr/bin/dockerd-current \
--storage-driver=overlay2 \
--log-driver=json-file \
--iptables=false
# NOTE(portdirect): fix mount propagation for Fedora, this is done post start,
# as docker seems to reset this.
ExecStartPost=/usr/bin/mount --make-rshared /
ExecReload=/bin/kill -s HUP $MAINPID
TasksMax=8192
LimitNOFILE=1048576