summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai/components/aai-graphadmin/templates/service.yaml
diff options
context:
space:
mode:
authorleila <leila.nishimwe@bell.ca>2022-11-15 11:33:21 -0500
committerleila <leila.nishimwe@bell.ca>2022-11-23 17:27:38 -0500
commit98e7aeaef8798a9956ca8222971d3a77c53643b1 (patch)
tree2849741d255c2b5588ccc1e68a9251d13711a3cb /kubernetes/aai/components/aai-graphadmin/templates/service.yaml
parent5c963c5463e01bfd611ae98232a48f8c8c9fda5a (diff)
[AAI] Service monitor for scraping prometheus metrics
Changes are done for aai resources graphadmin and traversal Session affinity for aai resources traversal and aai haproxy Issue-ID: AAI-3599 Signed-off-by: leila <leila.nishimwe@bell.ca> Change-Id: Ib3853c45051ca8e9c025bd0d6e700a08a54cb1a9
Diffstat (limited to 'kubernetes/aai/components/aai-graphadmin/templates/service.yaml')
-rw-r--r--kubernetes/aai/components/aai-graphadmin/templates/service.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/kubernetes/aai/components/aai-graphadmin/templates/service.yaml b/kubernetes/aai/components/aai-graphadmin/templates/service.yaml
index cf4655361d..6350f858f1 100644
--- a/kubernetes/aai/components/aai-graphadmin/templates/service.yaml
+++ b/kubernetes/aai/components/aai-graphadmin/templates/service.yaml
@@ -40,11 +40,16 @@ spec:
- port: {{ .Values.service.internalPort2 }}
nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort2 }}
name: {{ .Values.service.portName2 }}
+ - port: {{ .Values.service.internalPort3 }}
+ nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort3 }}
+ name: {{ .Values.service.portName3 }}
{{- else -}}
- port: {{ .Values.service.internalPort }}
name: {{ .Values.service.portName }}{{ (eq "true" (include "common.needTLS" .)) | ternary "s" "" }}
- port: {{ .Values.service.internalPort2 }}
name: {{ .Values.service.portName2 }}
+ - port: {{ .Values.service.internalPort3 }}
+ name: {{ .Values.service.portName3 }}
{{- end}}
selector:
app: {{ include "common.name" . }}