What happened:
The cluster_name variable value is not populating with the actual name of the cluster instead default value of cluster_name is in the field when querying in Splunk.
What you expected to happen:
The actual name of the cluster to be showing under cluster_name variable in Splunk.
How to reproduce it (as minimally and precisely as possible):
Deployed Splunk connect using Helm charts via https://github.com/splunk/splunk-connect-for-kubernetes/tree/develop/helm-chart/splunk-connect-for-kubernetes.
Anything else we need to know?:
Using latest Splunk connect for kubernetes 1.4.1 release.
Environment:
kubectl version): GitVersion:"v1.15.7-gke.32"ruby --version): Not installedcat /etc/os-release): Ubuntu 18.04.4 LTSThanks @r6ricer . Make sense to me. Created a Jira ticket https://jira.splunk.com/browse/ADDON-27949. Will plan it in future.
Hey @r6ricer did you try setting the value https://github.com/splunk/splunk-connect-for-kubernetes/blob/develop/helm-chart/splunk-connect-for-kubernetes/values.yaml#L41 ?
hi, do we have an estimated timeline when this will be fixed? i have the same issue as r6ricer with the same released version
@yinghe1 @r6ricer Could you share the values.yaml file you are using.
I would like to know in which case it fails to populate cluster_name field with the value set in the https://github.com/splunk/splunk-connect-for-kubernetes/blob/develop/helm-chart/splunk-connect-for-kubernetes/values.yaml#L41
@rockb1017 does the helm take cluster_name as a parameter? I wonder how does L41 takes a different cluster_name as user indicated. is it that I shall overwrite the values in my_values.yml
global:
kubernetes:
clusterName:
thanks
@yinghe1 yes fo course....here is the spec...not sure what L41 is? This seems to simply be a values.yaml config error.
kubernetes.cluster_name is avail in all sections of the chart (global and local sub chart configs)
Here is how I set it....i haven't been using global, I've been setting in each chart...global works.
https://mattymo.io/code/mattymo/splunk_toronto_usergroup_may_2020#deploy-splunk-connect-for-kubernetes
thanks @matthewmodestino . @rockb1017 i confirmed that if i pass in the the right value to helm, it will work. you can close this ticket
Thank you!
Most helpful comment
Hey @r6ricer did you try setting the value https://github.com/splunk/splunk-connect-for-kubernetes/blob/develop/helm-chart/splunk-connect-for-kubernetes/values.yaml#L41 ?