[VOL-1734]Configure probes in helm charts

Change-Id: Ic4dfa0f78d8aa75e3739d9595f0b22027a4acc04
diff --git a/voltha/templates/api-server.yaml b/voltha/templates/api-server.yaml
index a4d5d7a..11ccb31 100644
--- a/voltha/templates/api-server.yaml
+++ b/voltha/templates/api-server.yaml
@@ -85,6 +85,18 @@
         - name: POD_NAMESPACE
           value: {{ .Release.Namespace }}
         command: ["/app/afrouter"]
+        livenessProbe:
+          httpGet:
+            path: /healthz
+            port: 8080
+            initialDelaySeconds: 10
+            periodSeconds: 5
+        readinessProbe:
+          httpGet:
+            path: /readz
+            port: 8080
+            initialDelaySeconds: 10
+            periodSeconds: 5
         args: ["-config", "/app/config/arouter.voltha.json"]
       - name: arouterd
         env:
@@ -99,6 +111,18 @@
         image: '{{ tpl .Values.images.afrouterd.registry . }}{{ tpl .Values.images.afrouterd.repository . }}:{{ tpl .Values.images.afrouterd.tag . }}'
         imagePullPolicy: {{ tpl .Values.images.afrouterd.pullPolicy . }}
         command: ["/app/arouterd"]
+        livenessProbe:
+          httpGet:
+            path: /healthz
+            port: 8081
+            initialDelaySeconds: 10
+            periodSeconds: 5
+        readinessProbe:
+          httpGet:
+            path: /readz
+            port: 8081
+            initialDelaySeconds: 10
+            periodSeconds: 5
       restartPolicy: Always
       volumes:
         - name: config-volume