79 lines
2.3 KiB
YAML
79 lines
2.3 KiB
YAML
# Default values for mysql-cluster.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
## The cluster number of nodes
|
|
replicas: 3
|
|
|
|
## For setting custom docker image or specifying mysql version
|
|
## the image field has priority over mysqlVersion.
|
|
# image: percona:5.7
|
|
# mysqlVersion: "5.7"
|
|
|
|
## MySQL connect credentials, those credentials will be provisioned in the cluster
|
|
rootPassword: "4JBaDbEN70GDI2dgVTzYvPngguVmAaLG"
|
|
appUser: "app"
|
|
appPassword: "eSJYUglRfXtAkyEKDCYARTzc971DSp8N"
|
|
appDatabase: "appdb"
|
|
# appSecretLabels: {}
|
|
# appSecretAnnotations: {}
|
|
|
|
podSpec:
|
|
nodeSelector:
|
|
kubernetes.io/arch: amd64
|
|
mysqlConf:
|
|
volumeSpec:
|
|
|
|
serverIDOffset:
|
|
|
|
initBucketURL: "s3://mysql-ha"
|
|
initBucketSecretName:
|
|
|
|
backupSchedule:
|
|
backupScheduleJobsHistoryLimit:
|
|
backupURL:
|
|
backupSecretName:
|
|
backupRemoteDeletePolicy:
|
|
# backupSecretLabels: {}
|
|
# backupSecretAnnotations: {}
|
|
backupCredentials:
|
|
# use s3 https://rclone.org/s3/
|
|
S3_PROVIDER: Minio # like: AWS, Minio, Ceph, and so on
|
|
S3_ENDPOINT: https://s3.minio.panic.haus/mysql-ha
|
|
AWS_ACCESS_KEY_ID: rjtPFRp52DgmWb4kdsyiFKjtBMxYSaow
|
|
AWS_SECRET_ACCESS_KEY: kabSK8RXcONjO8I7GNfJ03WMueJ7fk6z
|
|
AWS_REGION: cluster-panic-haus
|
|
AWS_ACL: private
|
|
# AWS_STORAGE_CLASS: ?
|
|
# AWS_SESSION_TOKEN: ?
|
|
|
|
# use google cloud storage https://rclone.org/googlecloudstorage/
|
|
# GCS_SERVICE_ACCOUNT_JSON_KEY: ?
|
|
# GCS_PROJECT_ID: ?
|
|
# GCS_OBJECT_ACL: ?
|
|
# GCS_BUCKET_ACL: ?
|
|
# GCS_LOCATION: ?
|
|
# GCS_STORAGE_CLASS: MULTI_REGIONAL
|
|
|
|
# use http https://rclone.org/http/
|
|
# HTTP_URL: ?
|
|
|
|
# use google drive https://rclone.org/drive/
|
|
# GDRIVE_CLIENT_ID: ?
|
|
# GDRIVE_ROOT_FOLDER_ID: ?
|
|
# GDRIVE_IMPERSONATOR: ?
|
|
|
|
# use azure https://rclone.org/azureblob/
|
|
# AZUREBLOB_ACCOUNT: ?
|
|
# AZUREBLOB_KEY: ?
|
|
|
|
## For enabling and configuring pt-kill: https://www.percona.com/doc/percona-toolkit/LATEST/pt-kill.html
|
|
#queryLimits:
|
|
# maxIdleTime: ... # pt-kill --idle-time
|
|
# maxQueryTime: ... # pt-kill --busy-time
|
|
# kill: oldest|all|all-but-oldest # pt-kill --victims
|
|
# killMode: query|connection # pt-kill --kill-query or pt-kill --kill
|
|
# ignoreDb: [] # pt-kill --ignore-db ...
|
|
# ignoreCommand: [] # pt-kill --ignore-command ...
|
|
# ignoreUser: [] # pt-kill --ignore-user
|