-
Notifications
You must be signed in to change notification settings - Fork 53
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
chart: add -scraper suffix to pod names #429
base: main
Are you sure you want to change the base?
Conversation
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.
Take a look at the container's name because this is a cool opportunity to change that too.
{{- end -}} | ||
|
||
{{- define "nriKubernetes.ksm.fullname.agent" -}} | ||
{{- include "newrelic.common.naming.truncateToDNSWithSuffix" (dict "name" (include "nriKubernetes.naming.fullname" .) "suffix" "agent-ksm") -}} | ||
{{- include "newrelic.common.naming.truncateToDNSWithSuffix" (dict "name" (include "nriKubernetes.naming.fullname" .) "suffix" "ksm-agent") -}} |
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.
NIT: I would prefer kubelet-node-scraper
because the v2 of this integration named these pods as node
.
{{- include "newrelic.common.naming.truncateToDNSWithSuffix" (dict "name" (include "nriKubernetes.naming.fullname" .) "suffix" "ksm-agent") -}} | |
{{- include "newrelic.common.naming.truncateToDNSWithSuffix" (dict "name" (include "nriKubernetes.naming.fullname" .) "suffix" "kubelet-node-scraper") -}} |
Solves #420 |
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.
LGTM
@roobre can we merge this? |
@paologallinaharbur Virtuoso is making tests with their updated recipe right now, I'll merge if they confirm everything works as expected :) |
The ksm pod naming also confused me. @roobre I think PR is a great idea! |
Chatted with @roobre and the status of this PR is that it was blocked by the new virtuoso (guided install cli) recipe. The recipe has a “success check” that, after running helm install, checks for the existence of certain pods to verify the installation. And so we may need to coordinate the updating of these pod names there.
|
As previously discussed, the overly simplified names were causing some confusion among users. The
-scraper
suffix should hopefully help to make more obvious that these pods are clients, rather than servers.