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: {} health_check: {}
service: service:
telemetry:
logs:
level: WARN
pipelines: pipelines:
metrics: metrics:
receivers: [ prometheus ] receivers: [ prometheus ]

View File

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