Improvements of kubernetes.log
Problem to solve
Since GitLab 11.6 we have kubernetes.log, but not many events are logged there, so right now it is not very useful.
We should expand Kubernetes::Logger to log more events: information about adding/removing cluster from GitLab, details of all the attempts to install helm, ingress and other applications, all the failures when installing them.
With extended logging in kubernetes.log, it will be easier to debug issues related to Kubernetes integration without checking the situation on the side of Kubernetes cluster, all the data will be in one place.
Add logs for
-
Beginning install of helm apps -
Beginning request to create namespace -
Failure to create namespace
Links / references
https://docs.gitlab.com/ee/administration/logs.html#kuberneteslog
/cc @DylanGriffith
Edited by Dylan Griffith