[VOL-1719] Kubernetes Probes for R/O Core
Change-Id: I36ac1327467fd08ce0d97757954bd72350fcf9e9
diff --git a/voltha/Chart.yaml b/voltha/Chart.yaml
index 8c573b5..5b0c731 100644
--- a/voltha/Chart.yaml
+++ b/voltha/Chart.yaml
@@ -17,5 +17,5 @@
description: A Helm chart for Voltha based on K8S resources in Voltha project
icon: https://guide.opencord.org/logos/cord.svg
-version: 2.1.7
+version: 2.1.8
appVersion: 2.1.1
diff --git a/voltha/templates/ro-core.yaml b/voltha/templates/ro-core.yaml
index 1fb0f1a..7553c28 100644
--- a/voltha/templates/ro-core.yaml
+++ b/voltha/templates/ro-core.yaml
@@ -123,6 +123,19 @@
- "-banner=true"
- "-ro_core_topic=rocore"
- "-log_level={{ $log_level }}"
+ - "-probe_port=8080"
ports:
- containerPort: 50057
name: grpc-port
+ livenessProbe:
+ httpGet:
+ path: /healthz
+ port: 8080
+ initialDelaySeconds: 10
+ periodSeconds: 5
+ readinessProbe:
+ httpGet:
+ path: /readz
+ port: 8080
+ initialDelaySeconds: 10
+ periodSeconds: 5