| 1. Percona Operator for MySQL is deployed. |
| |
| Check if operator Pod is running: |
| |
| kubectl get pods -l app.kubernetes.io/name={{ template "pxc-operator.name" . }} --namespace {{ .Release.Namespace }} |
| |
| Troubleshoot by checking the logs: |
| |
| export POD=$(kubectl get pods -l app.kubernetes.io/name={{ template "pxc-operator.name" . }} --namespace {{ .Release.Namespace }} --output name) |
| kubectl logs $POD --namespace={{ .Release.Namespace }} |
| |
| 2. Deploy the cluster with the following command: |
| |
| helm install my-db percona/pxc-db --namespace={{ .Release.Namespace }} |
| |
| Read more in our documentation: https://docs.percona.com/percona-operator-for-mysql/pxc/ |