commit | 626f185adf2f4a65c5f47432b558845a8b1d0703 | [log] [tgz] |
---|---|---|
author | Rohan Agrawal <rohan.agrawal01@infosys.com> | Thu Nov 21 04:41:10 2019 +0000 |
committer | Rohan Agrawal <rohan.agrawal01@infosys.com> | Thu Nov 21 04:47:34 2019 +0000 |
tree | f95c14eee5f48f535b3199c02ad4c71dee9305df | |
parent | 093b50c4e7c6a73ddd9678accb96a9fedfbe54a7 [diff] [blame] |
[VOL-2065]Create probes in helm-charts for openonu adapter Change-Id: I1a7f6cc6a84f55a722096220d58077a0d23c8eb0
diff --git a/voltha-adapter-openonu/templates/adapters-openonu.yaml b/voltha-adapter-openonu/templates/adapters-openonu.yaml index 475f018..1b3f5f4 100644 --- a/voltha-adapter-openonu/templates/adapters-openonu.yaml +++ b/voltha-adapter-openonu/templates/adapters-openonu.yaml
@@ -71,3 +71,16 @@ - "--name=brcm_openomci_onu" - "--backend=etcd" - "--etcd={{ .Values.services.etcd.service }}:{{ .Values.services.etcd.port }}" + - "--probe=:8080" + readinessProbe: + httpGet: + path: /readz + port: 8080 + initialDelaySeconds: 10 + periodSeconds: 5 + livenessProbe: + httpGet: + path: /healthz + port: 8080 + initialDelaySeconds: 10 + periodSeconds: 5