helm repo add mysql-operator https://mysql.github.io/mysql-operator/ helm repo update helm install my-mysql-operator mysql-operator/mysql-operator --namespace mysql-operator --create-namespace --db instance kubectl create secret generic mypwds \ --from-literal=rootUser=root \ --from-literal=rootHost=% \ --from-literal=rootPassword="sakila" apiVersion: mysql.oracle.com/v2 kind: InnoDBCluster metadata: name: mycluster spec: secretName: mypwds tlsUseSelfSigned: true instances: 3 router: instances: 1 --- test $> kubectl run --rm -it myshell --image=container-registry.oracle.com/mysql/community-operator -- mysqlsh root@mycluster --sql If you don't see a command prompt, try pressing enter. ****** MySQL mycluster SQL> SELECT @@hostname +-------------+ | @@hostname | +-------------+ | mycluster-0 | +-------------+ This section utilizes the {innodbclustername}.{namespace}.svc.cluster.local form when connecting; and typically refers to the {innodbclustername} shorthand form that assumes the default namespace. See Section 3.4, “MySQL InnoDB Cluster Service Explanation” for additional information.