You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Environment
Installation method: kubectl apply
Kubernetes version: 1.14
Dashboard version: 2.0.0-b4
Operating system: Linux
Steps to reproduce
Run the sidecar inside the dashboard pod::
Comments
Looks like the sidecar uses gorilla combined logging handler. Couldn't find a way to disable it.
That format is inconsistent with the rest of the k8s components which use klog. Makes writing a parser harder than it should be. kubernetes/kubernetes#61006 https://github.com/kubernetes/klog
Environment
Installation method: kubectl apply
Kubernetes version: 1.14
Dashboard version: 2.0.0-b4
Operating system: Linux
Steps to reproduce
Run the sidecar inside the dashboard pod::
Get logs:
kubectl -n kube-system logs svc/kubernetes-dashboard -c dashboard-metrics-scraper
Observed result
10.0.7.85 - - [20/Sep/2019:23:47:15 +0000] "GET / HTTP/1.1" 200 6 "" "kube-probe/1.13"
10.0.7.85 - - [20/Sep/2019:23:47:25 +0000] "GET / HTTP/1.1" 200 6 "" "kube-probe/1.13"
127.0.0.1 - - [20/Sep/2019:23:47:31 +0000] "GET /healthz?timeout=32s HTTP/1.1" 200 25 "" "dashboard/v0.0.0 (linux/amd64) kubernetes/$Format"
Expected result
An empty log except for warning messages.
Comments
Looks like the sidecar uses gorilla combined logging handler. Couldn't find a way to disable it.
That format is inconsistent with the rest of the k8s components which use klog. Makes writing a parser harder than it should be.
kubernetes/kubernetes#61006
https://github.com/kubernetes/klog
Opened by @mindw.
See kubernetes-sigs/dashboard-metrics-scraper#21 for more details.
The text was updated successfully, but these errors were encountered: