[stable/mysql] service endpoints shouldn't depend on /metrics (#6725)

* MySQL service endpoints shouldn't depend on /metrics

Problem: mysqld_metrics doesn't respond on "/metrics" when dropping big database. As result service has no endpoint because metrics cann't be queried.
Solution: use "/" for httpGet probes on metrics which will return only landing page with http code 200.

* Update Chart.yaml
This commit is contained in:
Anton Fayzrahmanov
2018-08-23 23:46:13 -07:00
committed by k8s-ci-robot
parent 7113759437
commit 9d9bb7d587
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: mysql
version: 0.10.0
version: 0.10.1
appVersion: 5.7.14
description: Fast, reliable, scalable, and easy to use open-source relational database
system.
+2 -2
View File
@@ -145,13 +145,13 @@ spec:
containerPort: 9104
livenessProbe:
httpGet:
path: /metrics
path: /
port: metrics
initialDelaySeconds: {{ .Values.metrics.livenessProbe.initialDelaySeconds }}
timeoutSeconds: {{ .Values.metrics.livenessProbe.timeoutSeconds }}
readinessProbe:
httpGet:
path: /metrics
path: /
port: metrics
initialDelaySeconds: {{ .Values.metrics.readinessProbe.initialDelaySeconds }}
timeoutSeconds: {{ .Values.metrics.readinessProbe.timeoutSeconds }}