-
Notifications
You must be signed in to change notification settings - Fork 179
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
Display hostName other than podName #118
Display hostName other than podName #118
Conversation
1209206
to
08b1a37
Compare
Signed-off-by: wanglijie6 <wanglijie6@xiaomi.com>
08b1a37
to
588c1a0
Compare
Hi @j4ckstraw thanks for the PR! How would you feel about making your behaviour change hide behind an extra command line flag, that's defaulting to false for backwards compatibility? I see how this might be useful, but we don't want to be break existing users. |
OK, I will file the patch later. |
Add GoldpingerConfig.DisplayNodeName to control UI display, default is `false`, which means to display podName Signed-off-by: wanglijie6 <wanglijie6@xiaomi.com>
2917de6
to
7609a3a
Compare
fix #99 |
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.
🎉 sounds good, LGTM!
Hi, how can I use the env "DISPLAY_NODENAME" in my daemonset yaml file? This was my trying, but not working:
I'd like to have the view in UI goldpinger the node name instead pod name. |
@wesleyoliveiraleite have you tried the following?
Because the parameter is a boolean. |
Issue number of the reported bug or feature request: #
Describe your changes

I changed
pod.Name
top.Spec.NodeName
, so we can see the nodename other than podname in the UI.Testing performed
Describe the testing you have performed to ensure that the bug has been addressed, or that the new feature works as planned.
Additional context
Add any other context about your contribution here.
goldpinger is deployed by daemonset, so nodename is better than podname.