From 20ddff99cb69cfd9b0729a77f1780fee6d6f6673 Mon Sep 17 00:00:00 2001 From: kaffa Date: Thu, 12 Mar 2026 14:25:55 +0900 Subject: [PATCH] Add k8s manifest: deployment-proxysql.yaml --- k8s/ironclad/deployment-proxysql.yaml | 50 +++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 k8s/ironclad/deployment-proxysql.yaml diff --git a/k8s/ironclad/deployment-proxysql.yaml b/k8s/ironclad/deployment-proxysql.yaml new file mode 100644 index 0000000..15d7283 --- /dev/null +++ b/k8s/ironclad/deployment-proxysql.yaml @@ -0,0 +1,50 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: proxysql + labels: + app: proxysql +spec: + replicas: 1 + selector: + matchLabels: + app: proxysql + template: + metadata: + labels: + app: proxysql + spec: + containers: + - name: proxysql + image: proxysql/proxysql:2.6.3 + ports: + - containerPort: 6033 + - containerPort: 6032 + resources: + requests: + cpu: 100m + memory: 128Mi + limits: + cpu: 500m + memory: 256Mi + livenessProbe: + tcpSocket: + port: 6033 + initialDelaySeconds: 15 + periodSeconds: 10 + readinessProbe: + tcpSocket: + port: 6033 + initialDelaySeconds: 5 + periodSeconds: 5 + volumeMounts: + - name: config + mountPath: /etc/proxysql.cnf + subPath: proxysql.cnf + volumes: + - name: config + configMap: + name: proxysql-config + items: + - key: proxysql.cnf + path: proxysql.cnf