commit | 6930356e553ae0fa9ad5140b77fce8ca599c331e | [log] [tgz] |
---|---|---|
author | Rohan Agrawal <rohan.agrawal01@infosys.com> | Tue Oct 22 12:24:58 2019 +0000 |
committer | Rohan Agrawal <rohan.agrawal01@infosys.com> | Wed Oct 23 04:46:42 2019 +0000 |
tree | 9a195ab9d37a95a67d28c891b2cd5ccd92f57198 | |
parent | 32ac6078c99cf9e5869a1660c097051bdd670f3b [diff] |
[VOL-1743] VOL-1746 Configure probes in helm-charts Change-Id: Ifef266ef436b9d3831e2409a6e20a7e256c049b7
diff --git a/voltha-adapter-openolt/templates/adapters-openolt.yaml b/voltha-adapter-openolt/templates/adapters-openolt.yaml index a1b4f69..0ca0e10 100644 --- a/voltha-adapter-openolt/templates/adapters-openolt.yaml +++ b/voltha-adapter-openolt/templates/adapters-openolt.yaml
@@ -71,3 +71,17 @@ - "--core_topic=rwcore" - "--kv_store_host={{ .Values.services.etcd.service }}" - "--kv_store_port={{ .Values.services.etcd.port }}" + - "--probe_port=8080" + livenessProbe: + httpGet: + path: /healthz + port: 8080 + initialDelaySeconds: 10 + periodSeconds: 5 + readinessProbe: + httpGet: + path: /readz + port: 8080 + initialDelaySeconds: 10 + periodSeconds: 5 +