Description
Allow DockerSwarmOperator to be initialized with a log_driver argument which will be used by Docker SDK to create the service.
Use case/motivation
I have a Docker Swarm with all the nodes set to gelf logging driver as default. However, DockerSwarmOperator requires the services' logging driver to be json-file.
Allowing the logging driver to be specified when initializing the DockerSwarmOperator will allow services to be created with json-file logging driver in order for logs to be retrieved and shown in the UI.
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
Description
Allow DockerSwarmOperator to be initialized with a
log_driverargument which will be used by Docker SDK to create the service.Use case/motivation
I have a Docker Swarm with all the nodes set to
gelflogging driver as default. However, DockerSwarmOperator requires the services' logging driver to bejson-file.Allowing the logging driver to be specified when initializing the DockerSwarmOperator will allow services to be created with
json-filelogging driver in order for logs to be retrieved and shown in the UI.Related issues
No response
Are you willing to submit a PR?
Code of Conduct