GoogleCloudPlatform / GoogleCloudPlatform/k8s-stackdriver
labels for "k8s_pod" resource types
- Dominant language
- Go
- Stars
- 409
- Forks
- 236
- Avg merge
- 2h 34m
- Merged PRs (30d)
- 9
Description
Log entries for resource type "k8s_container" have label keys with prefix "k8s-pod/" containing user labels, for example "k8s-pod/job-name" for a pod controlled by Kubernets Job.
These labels are useful to filter and view the logs for all pods belonging to a job.
It will also be useful to populate these labels for log entries for resource type "k8s_pod", so that pod logs for all pods belonging to a job / deployment can be seen together.
Can this behaviror be configured ?
I am using GKE version 1.14.10-gke.36 with Kubernetes Engine Monitoring set to "System and workload logging and monitoring".
Contributor guide
Assessment
This issue has not been assessed yet.