Skip to content

[OSPRH-12079] Add mysqld exporter#1236

Merged
openshift-merge-bot[bot] merged 1 commit intoopenstack-k8s-operators:mainfrom
vyzigold:add_mysqld_exporter
Jan 7, 2025
Merged

[OSPRH-12079] Add mysqld exporter#1236
openshift-merge-bot[bot] merged 1 commit intoopenstack-k8s-operators:mainfrom
vyzigold:add_mysqld_exporter

Conversation

@vyzigold
Copy link
Copy Markdown
Contributor

This adds support for deploying the mysqld exporter as part of ceilometer CR. This is very similar to #1056

Depends-On: openstack-k8s-operators/telemetry-operator#571

@vyzigold
Copy link
Copy Markdown
Contributor Author

I saw that there were some concerns by @dprince on the KSM PR #1056 about adding new images to the openstack version. To be honest I'm not fully sure what the final resolution there is and what's required to be done to add new images.

I saw there were concerns about the image being set to nil in an old target version in the openstackversion. So I added a check for that. If it's nil, then openstack-operator will set the image to empty string and telemetry-operator will default it with its webhook to the image set here: https://github.com/openstack-k8s-operators/telemetry-operator/blob/main/api/v1beta1/ceilometer_types.go#L44 Once the target version is changed to a newer version, which includes the mysqld_exporter image, then the image gets set by the openstack-operator similarly to all other images.

Did I miss something? Are there some other concerns I should address?

@vyzigold
Copy link
Copy Markdown
Contributor Author

/retest

@vyzigold vyzigold changed the title Add mysqld exporter [OSPRH-12079] Add mysqld exporter Jan 6, 2025
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Jan 7, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprince, vyzigold

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci Bot added the approved label Jan 7, 2025
@openshift-merge-bot openshift-merge-bot Bot merged commit caa23e7 into openstack-k8s-operators:main Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants