Allow to configure options for automation agent logs
Currently there is no way in Kubernetes operator to configure how long automation/backup/monitoring agent logs should be stored. they can easily occupy all space in pod.
2
votes
Sergey
shared this idea
-
AdminAndrey (Admin, MongoDB) commented
Currently logs will rotate in "-maxLogFileDurationHrs" "24"
However an additional parameter maxLogFiles could be applied to agent startup options to delete them https://docs.mongodb.com/kubernetes-operator/stable/reference/k8s-operator-specification/#spec.agent.startupOptions