Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apiVersion: pxc.percona.com/v1-3-0
- kind: PerconaXtraDBCluster
- metadata:
- name: cluster1
- finalizers:
- - delete-pxc-pods-in-order
- spec:
- secretsName: my-cluster-secrets
- sslSecretName: my-cluster-ssl
- sslInternalSecretName: my-cluster-ssl-internal
- allowUnsafeConfigurations: false
- pxc:
- size: 3
- image: percona/percona-xtradb-cluster-operator:1.3.0-pxc
- configuration: |
- [mysqld]
- sql_mode=NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
- pxc_strict_mode=PERMISSIVE
- resources:
- requests:
- memory: 1G
- cpu: 600m
- affinity:
- antiAffinityTopologyKey: "kubernetes.io/hostname"
- podDisruptionBudget:
- maxUnavailable: 1
- volumeSpec:
- hostPath:
- path: /cloud/percona-data
- type: Directory
- persistentVolumeClaim:
- resources:
- requests:
- storage: 6Gi
- gracePeriod: 600
- proxysql:
- enabled: true
- size: 3
- image: percona/percona-xtradb-cluster-operator:1.3.0-proxysql
- resources:
- requests:
- memory: 1G
- cpu: 600m
- affinity:
- antiAffinityTopologyKey: "kubernetes.io/hostname"
- volumeSpec:
- hostPath:
- path: /cloud/percona-data
- type: Directory
- persistentVolumeClaim:
- resources:
- requests:
- storage: 2Gi
- podDisruptionBudget:
- maxUnavailable: 1
- gracePeriod: 30
- pmm:
- enabled: false
- image: percona/percona-xtradb-cluster-operator:1.3.0-pmm
- serverHost: monitoring-service
- serverUser: pmm
- backup:
- image: percona/percona-xtradb-cluster-operator:1.3.0-backup
- serviceAccountName: percona-xtradb-cluster-operator
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement