-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
google-cloud-logging: namespace-id and container_name not registered in the default GKE installation #6239
Comments
@chingor13, see Stackdriver/kubernetes-configs#47 (comment). TL;DR: this was actually a bug introduced in #3887. |
@chingor13 can you give any information on this? |
@mgenov @igorpeshansky I looked at different scenario, after running both type of cluster configuration with stackdriver logging, i am able to get container-name and namespace-id/
please let me know if there is something that i am missing here. |
@pmakani Were those ingested via the |
@mgenov @igorpeshansky I would consider this a dupe of #5765 . I would like to close this issue and move conversation over there if so. Let me know if I am mistaken. |
It does look like a dupe, but see #6239 (comment) above. |
Noted, thank you. Like I said here #5765 (comment) I think we might need to open up an issue with GKE to expose this data. It is unfortunate though that it looks like we can get this data from the pod, but I don't think we can today. Closing this, if we have future discussion lets do it here: #5765 . |
I'm not sure whether this is a role of the stackdriver-metadata-agent but this information is required by the java logging client and it's not available in my cluster.
The k8s cluster is configured with Stackdriver Kubernetes Engine Monitoring and Workload Identity enabled. All agents are running in the kube-system:
The logs show no errors but the information regarding container_name and namespace_id is not available inside the containers:
e.g only cluster-name is available but the google-cloud-logging library is looking and for namespace-id and container_name.
The text was updated successfully, but these errors were encountered: