VOL-1723 - add liveness and readiness probes on rw core
Change-Id: If74621ec485d6bf02d7c370ed473dfd11edb05c8
diff --git a/voltha/templates/rw-core.yaml b/voltha/templates/rw-core.yaml
index 022aa9c..ff78767 100644
--- a/voltha/templates/rw-core.yaml
+++ b/voltha/templates/rw-core.yaml
@@ -156,8 +156,21 @@
- "-timeout_long_request={{ $long_request_timeout }}"
- "-timeout_request={{ $request_timeout }}"
- "-log_level={{ $log_level }}"
+ - "-probe_port=8080"
ports:
- containerPort: 50057
name: grpc-port
+ livenessProbe:
+ httpGet:
+ path: /healthz
+ port: 8080
+ initialDelaySeconds: 3
+ periodSeconds: 3
+ readinessProbe:
+ httpGet:
+ path: /readz
+ port: 8080
+ initialDelaySeconds: 3
+ periodSeconds: 3
{{end}}
{{end}}