Add management port and health probes to csi-rms-resource-registry deployment

main
Ishrath Ahamed 2 months ago
parent a0b1986214
commit 9a70c6de26

@ -47,3 +47,33 @@ patchesJson6902:
- op: replace
path: /metadata/name
value: after-csi-rms-resource-registry-java-sev
- target:
group: apps
version: v1
kind: Deployment
name: csi-rms-resource-registry
patch: |
- op: add
path: /spec/template/spec/containers/0/ports/-
value:
name: management
containerPort: 9000
- op: replace
path: /spec/template/spec/containers/0/livenessProbe
value:
httpGet:
path: /actuator/health/liveness
port: management
initialDelaySeconds: 600
failureThreshold: 3
timeoutSeconds: 10
- op: replace
path: /spec/template/spec/containers/0/readinessProbe
value:
httpGet:
path: /actuator/health/readiness
port: management
initialDelaySeconds: 10
failureThreshold: 3
timeoutSeconds: 10

Loading…
Cancel
Save