diff options
author | Andreas Geissler <andreas-geissler@telekom.de> | 2023-03-30 17:26:14 +0200 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2023-03-31 11:37:50 +0000 |
commit | 5846a6e2d0faa43d5abf23d79bd556508bb87d2d (patch) | |
tree | ff025a2c19491869614ec4497277e5760ad7b3cc /kubernetes/aai/templates/deployment.yaml | |
parent | 38525b9ce0e8ff2dd9289220c098c00da8219d60 (diff) |
[AAI] Update Service definitions to support Ingress case
Fix the service definitions to automatically change NodePorts to
ClusterIPs in case of Ingress enabled
Issue-ID: OOM-3111
Signed-off-by: Andreas Geissler <andreas-geissler@telekom.de>
Change-Id: I27fbcc917190f1df3d39f1bfc789664bb55809a2
Diffstat (limited to 'kubernetes/aai/templates/deployment.yaml')
-rw-r--r-- | kubernetes/aai/templates/deployment.yaml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/kubernetes/aai/templates/deployment.yaml b/kubernetes/aai/templates/deployment.yaml index dc0dad8701..2722412bb6 100644 --- a/kubernetes/aai/templates/deployment.yaml +++ b/kubernetes/aai/templates/deployment.yaml @@ -93,21 +93,20 @@ spec: name: haproxy-cfg ports: - containerPort: {{ .Values.service.internalPort }} - - containerPort: {{ .Values.service.internalPlainPort }} - containerPort: {{ .Values.metricsService.internalPort }} # 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.internalPlainPort }} + port: {{ .Values.service.internalPort }} initialDelaySeconds: {{ .Values.liveness.initialDelaySeconds }} periodSeconds: {{ .Values.liveness.periodSeconds }} {{ end -}} readinessProbe: httpGet: path: /aai/util/echo - port: {{ .Values.service.internalPlainPort }} + port: {{ .Values.service.internalPort }} scheme: HTTP httpHeaders: - name: X-FromAppId |