fuel-ccp-stacklight/service/cron.yaml

42 lines
1.0 KiB
YAML

dsl_version: 0.1.0
service:
name: cron
kind: DaemonSet
containers:
- name: cron
image: cron
probes:
readiness: "true"
liveness:
command: "true"
type: "exec"
volumes:
- name: mysql-logs
path: "/var/log/ccp/mysql"
type: host
readOnly: False
- name: rabbitmq-logs
path: "/var/log/ccp/rabbitmq"
type: host
readOnly: False
- name: keystone-logs
path: "/var/log/ccp/keystone"
type: host
readOnly: False
- name: horizon-logs
path: "/var/log/ccp/horizon"
type: host
readOnly: False
daemon:
command: cron -f
files:
- logrotate.conf
- logrotate-services.conf
files:
logrotate.conf:
path: /etc/logrotate.conf
content: cron-logrotate-global.conf.j2
logrotate-services.conf:
path: /etc/logrotate.d/logrotate-services.conf
content: cron-logrotate-services.conf.j2