allow configuring the docker logging driver
By default the docker daemon uses the json-file logging driver, which returns logs in json format and is compatible with the command 'docker logs'. This default can be overwritten by users when launching containers.
In some cases users need to push the logs into a central log collection service on their infrastructure. Given docker already has support for a series of logging drivers [1], we should add support to customize this configuration via cluster templates. Users will then be able to customize this themselves using templates, have multiple templates for different configs or during cluster creation.
Should look something like this:
$ magnum cluster-
$ magnum cluster-create --docker-
We could also rely on labels for a start to speed up implementation.
Blueprint information
- Status:
- Not started
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- Ricardo Rocha
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- New
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by