-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
improvement: add cluster, pod and zonal details to the page footer #636
Conversation
🚲 PR staged at http://34.138.181.102 |
🚲 PR staged at http://34.138.181.102 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Things are looking good, Shabir. And thanks for working on this.
I left a few comments.
I wonder how this would work on non GKE clusters. I'm guessing we'd just see these error logs:
Failed to fetch the name of the cluster in which the pod is running
Failed to fetch the Zone of the node where the pod is scheduled
And we'd see the postHostname
being displayed.
If you think this is the case, all good!
So yeah, we will see the logs in the pods. The fields in the UI will be blank
|
🚲 PR staged at http://34.138.181.102 |
🚲 PR staged at http://34.138.181.102 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good.
I was also able to skaffold dev
into my own GKE cluster.
Approved.
…oogleCloudPlatform#636) * improvement: add zone, cluster and pod details to footer * improvment: add the dep details to all pages * cleanup: revert changes to hide loadgen * cleanup: pr comment cleanup * fix: br tag fix * fix: extra br tag fix
…oogleCloudPlatform#636) * improvement: add zone, cluster and pod details to footer * improvment: add the dep details to all pages * cleanup: revert changes to hide loadgen * cleanup: pr comment cleanup * fix: br tag fix * fix: extra br tag fix
Background
Fixes #628 #631
Change Summary
cloud.google.com/go/compute/metadata
package to retreive theZone
andClustername
informationos.hostname()
function to get the Pod namefooter
template to include the deployment detailsAdditional Notes
Testing Procedure
Related PRs or Issues #628 #631