blob: bb3dffa2c294229f5e621982a36a520e6d12e511 [file] [log] [blame]
Filip Pytloun3a1e3d32017-02-23 15:02:54 +01001classes:
2 - service.docker.host
Filip Pytloun3a1e3d32017-02-23 15:02:54 +01003parameters:
Michal Kobusade015d2018-09-12 17:59:34 +02004 _param:
5 docker_garbage_collection_enabled: false
Filip Pytloun3a1e3d32017-02-23 15:02:54 +01006 docker:
7 host:
Filip Pytloune712dfd2017-08-09 16:46:32 +02008 pkgs:
9 - docker-ce
10 - python-docker
Ruslan Khozinovd7e7e6b2017-03-27 17:38:00 +000011 experimental: true
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010012 insecure_registries:
13 - ${_param:cluster_vip_address}:5000
14 - ${_param:cluster_public_host}:5000
Alexander Evseev6a363882017-11-13 12:30:33 +010015 options:
16 ipv6: true
17 fixed-cidr-v6: fc00::/7
Filip Pytloun78ab62e2017-12-07 12:48:37 +010018 storage-driver: overlay2
Michal Kobusade015d2018-09-12 17:59:34 +020019 linux:
20 system:
21 cron:
22 user:
23 root:
24 enabled: true
25 job:
26 docker_garbage_collection:
27 command: docker system prune -f --filter until=$(date +%s -d "1 week ago")
28 enabled: ${_param:docker_garbage_collection_enabled}
29 user: root
30 hour: 6
31 minute: 0