diff options
author | Harish Venkata Kajur <vk250x@att.com> | 2019-04-26 15:13:09 -0400 |
---|---|---|
committer | Harish Venkata Kajur <vk250x@att.com> | 2019-04-26 15:13:12 -0400 |
commit | 0f43cf556c37c09184c5e0485791cd4ad96c7e36 (patch) | |
tree | 58d06dd719c65c0bf1b2dee280c10f1645bdeefb /templates | |
parent | 1dba1b169b3302d8abe9a24ade25679813b1348f (diff) |
Disable stats port for haproxy
Issue-ID: AAI-2395
Change-Id: Id25a4f0a0770a62a8d1e78d0affcf210c93fbdd0
Signed-off-by: Harish Venkata Kajur <vk250x@att.com>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/deployment.yaml | 5 | ||||
-rw-r--r-- | templates/service.yaml | 7 |
2 files changed, 2 insertions, 10 deletions
diff --git a/templates/deployment.yaml b/templates/deployment.yaml index 8c10730..d32f952 100644 --- a/templates/deployment.yaml +++ b/templates/deployment.yaml @@ -75,20 +75,19 @@ spec: subPath: aai.pem ports: - containerPort: {{ .Values.service.internalPort }} - - containerPort: {{ .Values.service.internalPort2 }} # disable liveness probe when breakpoints set in debugger # so K8s doesn't restart unresponsive container {{- if eq .Values.liveness.enabled true }} livenessProbe: tcpSocket: - port: {{ .Values.service.internalPort2 }} + port: {{ .Values.service.internalPort }} initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} {{ end -}} readinessProbe: httpGet: path: /aai/util/echo - port: {{ .Values.service.internalPort2 }} + port: {{ .Values.service.internalPort }} scheme: HTTPS httpHeaders: - name: X-FromAppId diff --git a/templates/service.yaml b/templates/service.yaml index 91bdb2e..28df229 100644 --- a/templates/service.yaml +++ b/templates/service.yaml @@ -29,17 +29,10 @@ spec: port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort }} - - name: {{ .Values.service.portName2 }} - port: {{ .Values.service.externalPort2 }} - targetPort: {{ .Values.service.internalPort2 }} - nodePort: {{ .Values.global.nodePortPrefix | default .Values.nodePortPrefix }}{{ .Values.service.nodePort2 }} {{- else -}} - port: {{ .Values.service.externalPort }} targetPort: {{ .Values.service.internalPort }} name: {{ .Values.service.portName }} - - port: {{ .Values.service.externalPort2 }} - targetPort: {{ .Values.service.internalPort2 }} - name: {{ .Values.service.portName2 }} {{- end}} type: {{ .Values.service.type }} selector: |