Skip to content

Commit

Permalink
Add Metric Node Name to helm chart (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ram Vaidyanathan committed Nov 14, 2018
1 parent 04eabfc commit 7bdc2a9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cloud/kubernetes/helm/yugabyte/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ spec:
- "--server_broadcast_addresses=$(HOSTNAME).yb-masters:7100"
- "--master_addresses={{range $index := until (int ($root.Values.replicas.master))}}{{if ne $index 0}},{{end}}yb-master-{{ $index }}.yb-masters:7100{{end}}"
- "--master_replication_factor={{ $root.Values.replicas.master }}"
- "--metric_node_name=$(HOSTNAME)"
{{- range $flag, $override := $root.Values.gflags.master }}
- "--{{ $flag }}={{ $override }}"
{{- end}}
Expand All @@ -188,6 +189,7 @@ spec:
- "--server_broadcast_addresses=$(HOSTNAME).yb-tservers:9100"
- "--tserver_master_addrs={{range $index := until (int ($root.Values.replicas.master))}}{{if ne $index 0}},{{end}}yb-master-{{ $index }}.yb-masters:7100{{end}}"
- "--tserver_master_replication_factor={{ $root.Values.replicas.master }}"
- "--metric_node_name=$(HOSTNAME)"
{{- range $flag, $override := $root.Values.gflags.tserver }}
- "--{{ $flag }}={{ $override }}"
{{- end}}
Expand Down

0 comments on commit 7bdc2a9

Please sign in to comment.