X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=nonrtric%2Fhelm%2Fcontrolpanel%2Ftemplates%2Fdeployment.yaml;h=0d08ea448ab5e79ebd93e1423ccb6fd041018bb4;hb=56292b9bd56be402b961a083f68d5b56c7b92192;hp=d2fbd579e9503234a77bbc588ead8dea05e64af7;hpb=7e09001c5b58dab96d014fe3f9c41f89b53f3cc3;p=it%2Fdep.git diff --git a/nonrtric/helm/controlpanel/templates/deployment.yaml b/nonrtric/helm/controlpanel/templates/deployment.yaml index d2fbd579..0d08ea44 100644 --- a/nonrtric/helm/controlpanel/templates/deployment.yaml +++ b/nonrtric/helm/controlpanel/templates/deployment.yaml @@ -45,9 +45,10 @@ spec: image: {{ .Values.controlpanel.image.registry }}/{{ .Values.controlpanel.image.name }}:{{ .Values.controlpanel.image.tag }} imagePullPolicy: {{ .Values.controlpanel.imagePullPolicy }} ports: - - name: http - containerPort: {{ .Values.controlpanel.service.internalPort }} - protocol: TCP + - containerPort: {{ .Values.controlpanel.service.targetPort1 }} + protocol: TCP + - containerPort: {{ .Values.controlpanel.service.targetPort2 }} + protocol: TCP volumeMounts: - name: configmap mountPath: /maven/application.properties @@ -55,9 +56,14 @@ spec: readOnly: true readinessProbe: tcpSocket: - port: {{ .Values.controlpanel.service.internalPort }} - initialDelaySeconds: 15 - periodSeconds: 15 + port: {{ .Values.controlpanel.service.targetPort1 }} + initialDelaySeconds: {{ .Values.controlpanel.liveness.initialDelaySeconds }} + periodSeconds: {{ .Values.controlpanel.liveness.periodSeconds }} + livenessProbe: + tcpSocket: + port: {{ .Values.controlpanel.service.targetPort1 }} + initialDelaySeconds: {{ .Values.controlpanel.liveness.initialDelaySeconds }} + periodSeconds: {{ .Values.controlpanel.liveness.periodSeconds }} volumes: - name: configmap configMap: