update proxysql and otel

main
ycz008 2024-04-08 15:43:36 +08:00
parent 858d6abdb9
commit 6181f67e85
2 changed files with 10 additions and 7 deletions

View File

@ -53,6 +53,9 @@ data:
health_check: {}
service:
telemetry:
logs:
level: WARN
pipelines:
metrics:
receivers: [ prometheus ]

View File

@ -83,17 +83,17 @@ data:
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: proxysql
name: mysql
spec:
replicas: 1
serviceName: proxysql
serviceName: mysql
selector:
matchLabels:
app: proxysql
app: mysql
template:
metadata:
labels:
app: proxysql
app: mysql
spec:
containers:
- name: proxysql
@ -133,9 +133,9 @@ spec:
apiVersion: v1
kind: Service
metadata:
name: proxysql
name: mysql
labels:
app: proxysql
app: mysql
spec:
ports:
- name: proxysql-srv
@ -147,5 +147,5 @@ spec:
port: 3303
targetPort: 3303
selector:
app: proxysql
app: mysql
type: ClusterIP