[VOL-1734]Configure probes in helm charts

Change-Id: Ic4dfa0f78d8aa75e3739d9595f0b22027a4acc04
diff --git a/voltha/Chart.yaml b/voltha/Chart.yaml
index 805fa73..2e4b6d0 100644
--- a/voltha/Chart.yaml
+++ b/voltha/Chart.yaml
@@ -17,7 +17,7 @@
 description: A Helm chart for Voltha based on K8S resources in Voltha project
 icon: https://guide.opencord.org/logos/cord.svg
 
-version: 2.1.15
+version: 2.1.16
 
 # appVersion is 2 because this chart contains multiple 2.x images that may have
 # different individual image versions.
diff --git a/voltha/templates/afrouter-config.yaml b/voltha/templates/afrouter-config.yaml
index 669c711..6bbd501 100644
--- a/voltha/templates/afrouter-config.yaml
+++ b/voltha/templates/afrouter-config.yaml
@@ -277,7 +277,9 @@
         "api": {
           "_comment": "If this isn't defined then no api is available for dynamic configuration and queries",
           "address": "",
-          "port": 55554
+          "port": 55554,
+          "probeHost": "",
+          "probePort": 8080
         }
       }
 
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