-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathvars.yml
31 lines (30 loc) · 1.05 KB
/
vars.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
# Exporter
image_name: "prom/mysqld-exporter"
image_version: "v0.14.0" # v0.15 and above introduces breaking changes, replacing connection string secret with a .my.cnf based configuration
port: 9104
liveness_probe_timeout_seconds: 3
liveness_probe_period_seconds: 15
liveness_probe_success_threshold: 1
liveness_probe_failure_threshold: 5
readiness_probe_timeout_seconds: 3
readiness_probe_period_seconds: 30
readiness_probe_success_threshold: 1
readiness_probe_failure_threshold: 5
resources_requests_cpu: "100m"
resources_requests_memory: "32Mi"
resources_limits_cpu: "300m"
resources_limits_memory: "64Mi"
# Custom
db_connection_string_secret_name: "prometheus-exporter-{{ type }}-{{ ansible_operator_meta.name }}"
###### Example of Secret
#
# If you don't specify CR field dbConnectionStringSecretName, it will be used default Secret name "prometheus-exporter-mysql-{{ CR_NAME }}"
#
#apiVersion: v1
#kind: Secret
#metadata:
# name: "prometheus-exporter-mysql-system-mysql"
#type: Opaque
#stringData:
# DATA_SOURCE_NAME: "exporter:123456789@(system-mysql:3306)/"