aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json
diff options
context:
space:
mode:
Diffstat (limited to 'kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json')
-rw-r--r--kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json15
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json b/kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json
new file mode 100644
index 0000000000..81e55cb871
--- /dev/null
+++ b/kubernetes/consul/resources/config/consul-agent-config/cli-health-check.json
@@ -0,0 +1,15 @@
+{
+ "service": {
+ "name": "Health Check: ONAP CLI",
+ "checks": [
+ {
+ "id": "cli",
+ "name": "CLI Health Check",
+ "http": "http://cli.{{include "common.namespace" .}}:8080",
+ "method": "GET",
+ "interval": "3600s",
+ "timeout": "1s"
+ }
+ ]
+ }
+}