From bfdf3febecfcb1dca91b6fbce7676085a6bf2197 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Sat, 18 Apr 2020 22:41:58 -0400 Subject: [PATCH] Don't hit metrics endpoint for liveness We are hitting the metrics point often which can cause load on teh system, this patch makes changes so we just hit the root instead. Change-Id: Ifda7ab9dbd5a9513a044ed7988131eb54af5662b --- openstack_operator/templates/mcrouter/deployment.yml.j2 | 4 ++-- openstack_operator/templates/memcached/deployment.yml.j2 | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/openstack_operator/templates/mcrouter/deployment.yml.j2 b/openstack_operator/templates/mcrouter/deployment.yml.j2 index 87a5232b..9fbdbdd2 100644 --- a/openstack_operator/templates/mcrouter/deployment.yml.j2 +++ b/openstack_operator/templates/mcrouter/deployment.yml.j2 @@ -66,11 +66,11 @@ spec: containerPort: 9442 livenessProbe: httpGet: - path: /metrics + path: / port: metrics readinessProbe: httpGet: - path: /metrics + path: / port: metrics resources: limits: diff --git a/openstack_operator/templates/memcached/deployment.yml.j2 b/openstack_operator/templates/memcached/deployment.yml.j2 index 3a7da83b..52c43a18 100644 --- a/openstack_operator/templates/memcached/deployment.yml.j2 +++ b/openstack_operator/templates/memcached/deployment.yml.j2 @@ -62,11 +62,11 @@ spec: containerPort: 9150 livenessProbe: httpGet: - path: /metrics + path: / port: metrics readinessProbe: httpGet: - path: /metrics + path: / port: metrics resources: limits: