This commit is contained in:
2024-02-20 17:15:27 +08:00
committed by huty
parent 6706e1a633
commit 34158042ad
1529 changed files with 177765 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
apiVersion: v1
kind: Secret
metadata:
name: todo-db-secret
labels:
kiamol: ch20
type: Opaque
stringData:
ROOT_PASSWORD: "kiamol-2*2*"
---
apiVersion: mysql.presslabs.org/v1alpha1
kind: MysqlCluster
metadata:
name: todo-db
spec:
mysqlVersion: "5.7.24"
replicas: 2
secretName: todo-db-secret
podSpec:
resources:
limits:
memory: 200Mi
cpu: 200m