Move consul config from shared NFS to configmap
Issue-ID: OOM-597
Change-Id: I708c3e9df16003a54462f76c6ffe513b270faae8
Signed-off-by: jasmineWen <jasmine.wen@amdocs.com>
diff --git a/kubernetes/consul/resources/config/consul-agent-config/vfc-health.json b/kubernetes/consul/resources/config/consul-agent-config/vfc-health.json
new file mode 100644
index 0000000..5ace3e4
--- /dev/null
+++ b/kubernetes/consul/resources/config/consul-agent-config/vfc-health.json
@@ -0,0 +1,112 @@
+{
+ "service": {
+ "name": "Health Check: VFC",
+ "checks": [
+ {
+ "id": "vfc-catalog.{{ .Values.nsPrefix }}",
+ "name": "VFC catalog Health Check",
+ "tcp": "vfc-catalog.{{ .Values.nsPrefix }}:8806",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-emsdriver.{{ .Values.nsPrefix }}",
+ "name": "VFC emsdriver Health Check",
+ "tcp": "vfc-emsdriver.{{ .Values.nsPrefix }}:8206",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-gvnfmdriver.{{ .Values.nsPrefix }}",
+ "name": "VFC gvnfmdriver Health Check",
+ "tcp": "vfc-gvnfmdriver.{{ .Values.nsPrefix }}:8484",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-hwvnfmdriver.{{ .Values.nsPrefix }}",
+ "name": "VFC hwvnfmdriver Health Check",
+ "tcp": "vfc-hwvnfmdriver.{{ .Values.nsPrefix }}:8482",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-jujudriver.{{ .Values.nsPrefix }}",
+ "name": "VFC jujudriver Health Check",
+ "tcp": "vfc-jujudriver.{{ .Values.nsPrefix }}:8483",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-nokiavnfmdriver.{{ .Values.nsPrefix }}",
+ "name": "VFC nokiavnfmdriver Health Check",
+ "tcp": "vfc-nokiavnfmdriver.{{ .Values.nsPrefix }}:8486",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-nslcm.{{ .Values.nsPrefix }}",
+ "name": "VFC nslcm Health Check",
+ "tcp": "vfc-nslcm.{{ .Values.nsPrefix }}:8403",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-resmgr.{{ .Values.nsPrefix }}",
+ "name": "VFC resmgr Health Check",
+ "tcp": "vfc-resmgr.{{ .Values.nsPrefix }}:8480",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-vnflcm.{{ .Values.nsPrefix }}",
+ "name": "VFC vnflcm Health Check",
+ "tcp": "vfc-vnflcm.{{ .Values.nsPrefix }}:8801",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-vnfmgr.{{ .Values.nsPrefix }}",
+ "name": "VFC vnfmgr Health Check",
+ "tcp": "vfc-vnfmgr.{{ .Values.nsPrefix }}:8803",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-vnfres.{{ .Values.nsPrefix }}",
+ "name": "VFC vnfres Health Check",
+ "tcp": "vfc-vnfres.{{ .Values.nsPrefix }}:8802",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-workflow.{{ .Values.nsPrefix }}",
+ "name": "VFC workflow Health Check",
+ "tcp": "vfc-workflow.{{ .Values.nsPrefix }}:10550",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-workflowengineactiviti.{{ .Values.nsPrefix }}",
+ "name": "VFC workflow-engine Health Check",
+ "tcp": "vfc-workflowengineactiviti.{{ .Values.nsPrefix }}:8080",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-ztesdncdriver.{{ .Values.nsPrefix }}",
+ "name": "VFC ztesdncdriver Health Check",
+ "tcp": "vfc-ztesdncdriver.{{ .Values.nsPrefix }}:8411",
+ "interval": "15s",
+ "timeout": "1s"
+ },
+ {
+ "id": "vfc-ztevnfmdriver.{{ .Values.nsPrefix }}",
+ "name": "VFC ztevnfmdriver Health Check",
+ "tcp": "vfc-ztevnfmdriver.{{ .Values.nsPrefix }}:8410",
+ "interval": "15s",
+ "timeout": "1s"
+ }
+ ]
+ }
+}