Description:
After creating the CRD & RBAC with the "trunk" tag the mysql-operator is created successful.
But after creating the InnoDBCluster with Kubectl, the images cannot be pulled for the clusters.
Failed to pull image "container-registry.oracle.com/mysql/community-server:8.0.35": rpc error: code = NotFound desc = failed to pull and unpack image "container-registry.oracle.com/mysql/community-server:8.0.35": failed to resolve reference "container-registry.oracle.com/mysql/community-server:8.0.35": container-registry.oracle.com/mysql/community-server:8.0.35: not found
Similar behavior with other TAGs and even with the HELM procedure from the documentation.
What can I do?
How to repeat:
Install CRD
kubectl apply -f https://raw.githubusercontent.com/mysql/mysql-operator/trunk/deploy/deploy-crds.yaml
and RBAC
kubectl apply -f https://raw.githubusercontent.com/mysql/mysql-operator/trunk/deploy/deploy-operator.yaml
create the secret
kubectl create secret generic mypwds \
--from-literal=rootUser=root \
--from-literal=rootHost=% \
--from-literal=rootPassword="sakila"
and apply the basic InnoDB cluster YAML:
apiVersion: mysql.oracle.com/v2
kind: InnoDBCluster
metadata:
name: mycluster
spec:
secretName: mypwds
tlsUseSelfSigned: true
instances: 3
router:
instances: 1
kubectl apply -f mycluster.yaml
Suggested fix:
is this address correct for the repository?
container-registry.oracle.com/mysql/community-server:8.0.35