X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fa1controller%2Ftemplates%2Fdeployment.yaml;h=c5eb5964b7824e202c6df1707c6308212d43c337;hb=c0c90f0404920406fbf8273ef765da56bf1afd44;hp=bb7b3b5d2389e8351da22cb7648c330240740081;hpb=164dbb725e18a30aea5e342efbb0cc3b0b6a7d35;p=it%2Fdep.git diff --git a/nonrtric/helm/a1controller/templates/deployment.yaml b/nonrtric/helm/a1controller/templates/deployment.yaml index bb7b3b5d..c5eb5964 100644 --- a/nonrtric/helm/a1controller/templates/deployment.yaml +++ b/nonrtric/helm/a1controller/templates/deployment.yaml @@ -52,13 +52,20 @@ spec: command: - /opt/onap/sdnc/bin/startODL.sh ports: - - containerPort: {{ include "common.serviceport.a1controller.internal" . }} + - containerPort: {{ .Values.a1controller.service.targetPort1 }} + protocol: TCP + - containerPort: {{ .Values.a1controller.service.targetPort2 }} protocol: TCP readinessProbe: tcpSocket: - port: {{ include "common.serviceport.a1controller.internal" . }} - initialDelaySeconds: 15 - periodSeconds: 15 + port: {{ .Values.a1controller.service.targetPort1 }} + initialDelaySeconds: {{ .Values.a1controller.readiness.initialDelaySeconds }} + periodSeconds: {{ .Values.a1controller.readiness.periodSeconds }} + livenessProbe: + tcpSocket: + port: {{ .Values.a1controller.service.targetPort1 }} + initialDelaySeconds: {{ .Values.a1controller.liveness.initialDelaySeconds }} + periodSeconds: {{ .Values.a1controller.liveness.periodSeconds }} --- apiVersion: apps/v1 kind: Deployment