Support JSON log format in Kubernetes
Overview
When starting the GitLab Runner manually, there is an option to log to JSON, both on the command line and in config.toml. The Helm chart does not seem to support this option, however.
Using JSON logging for Kubernetes deployments would be very useful for purposes like logging to ElasticSearch.
Proposal
This can be implemented in two ways:
- Update the value inside of
config.toml
- Pass the
--log-format
value to the command, similar to what we are doing to untagged
Edited by Darren Eastman