MySQL Forums
Forum List  »  MySQL & Kubernetes

Unable to start metrics sidecar innodbcluster
Posted by: Thomas de Gier
Date: February 01, 2024 02:40AM

I recently upgraded the mysql-operator from 8.0.33 to 8.3.0 to use the added metrics feature for prometheus monitoring. I want to deploy the sidecars in my existing innodbclusters in kubernetes. The operator is updated and the existing innodbclusters seem to deploy with their previous manifest.

However, when applying the manifest with a metrics object, the metrics sidecar keeps crashing. I also tried this with a new test cluster. The applied manifest for this cluster:

kind: InnoDBCluster
name: ictest
namespace: testing
secretName: ictest-secret
tlsUseSelfSigned: true
- ReadWriteOnce
storageClassName: ceph-nvme-block
enable: true
image: prom/mysqld-exporter
apiVersion: v1
kind: Secret
name: ictest-secret
namespace: testing
rootUser: mysql
rootHost: "%"
rootPassword: pass

Otherwise, the other containers seem functional and the cluster seems operational.

Is something wrong with this innodbcluster configuration? Can someone share their experience with correctly deploying the sidecar?

Options: ReplyQuote

Written By
Unable to start metrics sidecar innodbcluster
February 01, 2024 02:40AM

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.