blob: a88ff2fd82af88bee03109323e129e64fe03ff38 [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:
Ivan Berezovskiye3f3f7e2019-01-24 16:48:39 +04009 - containerd.io
Filip Pytloune712dfd2017-08-09 16:46:32 +020010 - docker-ce
11 - python-docker
Ruslan Khozinovd7e7e6b2017-03-27 17:38:00 +000012 experimental: true
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010013 insecure_registries:
14 - ${_param:cluster_vip_address}:5000
15 - ${_param:cluster_public_host}:5000
Alexander Evseev6a363882017-11-13 12:30:33 +010016 options:
17 ipv6: true
18 fixed-cidr-v6: fc00::/7
Filip Pytloun78ab62e2017-12-07 12:48:37 +010019 storage-driver: overlay2
Michal Kobusade015d2018-09-12 17:59:34 +020020 linux:
21 system:
22 cron:
23 user:
24 root:
25 enabled: true
26 job:
27 docker_garbage_collection:
28 command: docker system prune -f --filter until=$(date +%s -d "1 week ago")
29 enabled: ${_param:docker_garbage_collection_enabled}
30 user: root
31 hour: 6
32 minute: 0