mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
k8s-ci-robot
parent
7113759437
commit
9d9bb7d587
@@ -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.
|
||||
|
||||
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user