X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=helm%2Frtmgr%2Ftemplates%2Fdeployment.yaml;h=7854a893386e7ac912c41a8028a96282018854f9;hb=421b953ceefd8b39bcc11dde92cd8d91ce2c2135;hp=73de33c9d3fdec12d34212afda1805aea72d7fe7;hpb=38dc857062b14145f5b9db89d10eba0ae5b90d11;p=ric-plt%2Fric-dep.git diff --git a/helm/rtmgr/templates/deployment.yaml b/helm/rtmgr/templates/deployment.yaml index 73de33c..7854a89 100644 --- a/helm/rtmgr/templates/deployment.yaml +++ b/helm/rtmgr/templates/deployment.yaml @@ -55,6 +55,8 @@ spec: envFrom: - configMapRef: name: {{ include "common.configmapname.rtmgr" . }}-env + - configMapRef: + name: {{ include "common.configmapname.dbaas" . }}-appconfig volumeMounts: - mountPath: /cfg name: rtmgrcfg @@ -66,11 +68,26 @@ spec: containerPort: {{ include "common.serviceport.rtmgr.rmr.route" . }} - name: "rmrdata" containerPort: {{ include "common.serviceport.rtmgr.rmr.data" . }} + + livenessProbe: + httpGet: + path: ric/v1/health/alive + port: 8080 + initialDelaySeconds: 5 + periodSeconds: 15 + + readinessProbe: + httpGet: + path: ric/v1/health/ready + port: 8080 + initialDelaySeconds: 5 + periodSeconds: 15 + volumes: - name: "rtmgrcfg" configMap: name: {{ include "common.configmapname.rtmgr" . }}-rtmgrcfg items: - key: rtmgrcfg - path: rtmgr-config.json + path: rtmgr-config.yaml mode: 0644