Releases: canonical/mysql-router-k8s-operator
Revisions 598, 599
A new revision of MySQL Router K8s has been published in the 8.0/stable channel on Charmhub.
OCI image resources:
mysql-router-image=ghcr.io/canonical/charmed-mysql@sha256:089fc04dd2d6f1559161ddf4720c1e06559aeb731ecae57b050c9c816e9833e9
What's Changed
Features
- Update MySQL to v8.0.41 by @shayancanonical in #383
- DPE-6651 Update rock tag for new builds with updated percona packages by @shayancanonical in #399
Bug fixes
- Clean up TLS SANs + avoid deleting and recreating K8s service by @shayancanonical in #386
- DPE-6447 Avoid storing passwords on disk when running mysqlsh by @shayancanonical in #387
- Add default 15 second timeout to pebble exec by @carlcsaposs-canonical in #394
Full Changelog: rev530...rev598
New Contributors
- @sinclert-canonical made their first contribution in #336
Revisions 530, 531
A new revision of Charmed MySQL Router K8s has been published in the 8.0/stable
channel.
See also: Releases overview page, How to perform an upgrade
OCI image resources:
mysql-router-image=ghcr.io/canonical/charmed-mysql@sha256:aa4d9b21673d2c6e4db3dc943179bae95dd8d355790b68e4e0610da9513ee6c9
What's changed
This section outlines the most important features and bug fixes in this release.
Features
- Updated MySQL Router to
v8.0.39
(PR #308) (DPE-4573) - Add K8s LoadBalancer support via expose-external config option (PR #328) (DPE-5637)
- Add COS Tracing support using Tempo K8s coordinator (PR #324) (DPE-5312)
- Truncated TLS common name to 64 characters (PR #318)
- Bumped supported juju versions (PR #325) (DPE-5625)
v2.9.50
→v2.9.51
v3.4.5
→v3.6.1
Full Changelog: rev117...rev154
Requirements and compatibility
- (increased) MySQL version:
v8.0.37
→v8.0.39
- (increased) Minimum Juju 2 version:
v2.9.50
→v2.9.51
- (increased) Minimum Juju 3 version:
v3.4.5
→v3.6.1
See the system requirements for more details about Juju versions and other software and hardware prerequisites.
Packaging
This charm is based on the Charmed MySQL rock image. It packages:
- mysql-router
v8.0.39
- mysql-shell
v8.0.38
- prometheus-mysqlrouter-exporter
v5.0.1
Revisions 154, 155
A new revision of Charmed MySQL Router K8s has been published in the 8.0/stable
channel.
See also: Releases overview page, How to perform an upgrade
What's changed
This section outlines the most important features and bug fixes in this release.
Features
- Upgraded MySQL Router from
v8.0.36
->v8.0.37
(see Packaging) - Added support for ARM architecture
Bug fixes
- [DPE-4173] Stabilize exporter tests by using listen-port to avoid ephemeral ports in #277
- [DPE-3881] Use ruff as a linter and formatter in #292
- Use poetry package-mode=false in #296
- [DPE-4739] Avoid using time.sleep in rollback integration tests in #298
- [DPE-4817] Upgrade to use lok_push_api v1 and capture rotated log files in #283
- Updated Python dependencies
Full Changelog: rev117...rev154
Technical details
This section contains some technical details about the charm's contents and dependencies.
- The K8s NodePort used to expose the DB service will change after every refresh which might lead to disconnections of clients sitting outside Juju. Check more details in DPE-5276.
Packaging
This charm is based on the charmed-mysql
rock (CharmHub mysql-router-image
resource-revision 57). It packages:
- mysql-router
v8.0.37
- mysql-shell
v8.0.37
- prometheus-mysqlrouter-exporter
v5.0.1
Revision 117
A new revision of Charmed MySQL Router K8s has been published in the 8.0/stable
channel.
See also: Releases overview page, How to perform an upgrade
What's changed
This section outlines the most important features and bug fixes in this release.
Features
- New workload version MySQL Router 8.0.36 [PR#209]
- K8s NodePort support [PR#211]
- Observability with COS [PR#210]
- Introduced COS Tracing support [PR#250][DPE-4615]
- Router version displayed in upgrade status [PR#230]
- All the functionality from previous revisions
Bug fixes
- Fix TLS configuration immediately deleted after enabling [PR#249]
- Clear connection pool before relating with COS to avoid TIME_WAIT connections + stabilize exporter tests [PR#245][DPE-3899, DPE-4173]
- Updated charmed-mysql ROCK image to latest version [PR#237]
- Removed redundant upgrade check [PR#234]
- Ported over changes from VM operator related to external connectivity [PR#225]
- Updated
resume-upgrade
actionforce
description [PR#232] - Fixed issue if incompatible upgrade is forced [PR#231]
Full Changelog: rev96...rev117
Inside the charms
- Charmed MySQL Router K8s ships MySQL Router
8.0.36-0ubuntu0.22.04.1
- CLI mysql-shell version is
8.0.36+dfsg-0ubuntu0.22.04.1~ppa4
- The Prometheus
mysql-router-exporter
is5.0.1-0ubuntu0.22.04.1~ppa1
- K8s charms based on our ROCK OCI (resource-revision 53, based on Ubuntu LTS
22.04.4
), snap revision103
- Principal charms supports the latest LTS series 22.04 only
Revision 96
A new revision of Charmed MySQL Router K8s has been published in the 8.0/stable
channel.
See also: Releases overview page, How to perform an upgrade
What's changed
This section outlines the most important features and bug fixes in this release.
Features
- Updated MySQL Router to 8.0.35 in #191
- Juju 3.1.7+ support in #2037120
- Enable poetry hashes & charmcraft strict dependencies in #179
- Add Allure Report beta in #198
Bug fixes
- Bootstrap mysql-router with force option in #187
- Fix upgrade compatibility check in #202
- Retry if MySQL Server is unreachable in #190
Full Changelog: rev82...rev96
What is inside the charms
- Charmed MySQL Router K8s ships MySQL Router “8.0.35-0ubuntu0.22.04.1”
- CLI mysql-shell version is "8.0.35-0ubuntu0.22.04.1~ppa1"
- The Prometheus mysql-router-exporter is "4.0.5-0ubuntu0.22.04.1~ppa1"
- K8s charms based on our ROCK OCI (resource-revision 49, based on Ubuntu LTS “22.04” - ubuntu:22.04-based)
- Principal charms supports the latest LTS series “22.04” only
Revision 82
A new revision of Charmed MySQL Router K8s has been published in the 8.0/stable
channel.
See also: Releases overview page, How to perform an upgrade
Features
- [DPE-1799] Add rotation of mysql-router logs in [PR#143]
- [DPE-3022] Updated data_platform_libs/data_interfaces to version 24 in [PR#163]
- [DPE-2760] Use "Relation Secrets" in [PR#152]
- [DPE-2807] Add discourse documentation gatekeeper sync in [PR#149]
Bugfixes
Canonical Data issues are now public on both Jira and GitHub platforms.
GitHub Releases provide a detailed list of bugfixes/PRs/Git commits for each revision.
- Updated logrotate dateformat to tolerate more than 24hrs of uptime in [PR#169][DPE-3063]
- Fixed recovering from hook errors when creating/deleting MySQL users in [PR#165]
- Fixed upgrade compatibility check in [PR#164]
- Improved upgrade stability in [PR#153]
- Decreased verbosity for
httpx
andhttpcore
logger level to WARNING in [PR#176] - Switch to
maintenance
Juju status (instead ofwaiting
) while router is starting in [PR#147]
Full Changelog: rev69...rev82
What is inside the charms
- Charmed MySQL Router K8s ships MySQL Router “8.0.34-0ubuntu0.22.04.1”
- CLI mysql-shell version is "8.0.34-0ubuntu0.22.04.1~ppa1"
- The Prometheus mysql-router-exporter is "4.0.5-0ubuntu0.22.04.1~ppa1"
- K8s charms based on our ROCK OCI (resource-revision 46, based on Ubuntu LTS “22.04” - ubuntu:22.04-based) based on SNAP revision 69
- Principal charms supports the latest LTS series “22.04” only
- Subordinate charms support LTS “22.04” and “20.04” only
Technical notes
Warning
Downgrade from revision 82 to revision 69 is not possible due to [PR#158]
- Upgrade (
juju refresh
) is possible from this revision 69+ - Use this operator together with a modern operator "Charmed MySQL K8s"
How to reach us
If you would like to chat with us about your use-cases or ideas, you can reach us at Canonical Mattermost public channel or Discourse. Check all other contact details here.
Consider opening a GitHub issue if you want to open a bug report.
Contribute to the project!
Revision 69
A new revision of Charmed MySQL Router K8s has been published in the 8.0/stable
channel.
See also: Releases overview page, How to perform an upgrade
Features
- Add Juju 3 support (Juju 2 is still supported)
- Charm minor upgrades and minor rollbacks
- Workload updated to MySQL Router 8.0.34
- Support for modern
mysql_client
andtls-certificates
interfaces - Support
juju expose
- New and complete documentation on CharmHub
Full Changelog: https://github.com/canonical/mysql-router-k8s-operator/commits/rev69
Bugfixes
Canonical Data issues are now public on both Jira and GitHub platforms.
GitHub Releases provide a detailed list of bugfixes/PRs/Git commits for each revision.
What is inside the charms
- Charmed MySQL Router K8s ships the latest MySQL Router “8.0.34-0ubuntu0.22.04.1”
- CLI mysql-shell updated to "8.0.34-0ubuntu0.22.04.1~ppa1"
- The Prometheus mysql-router-exporter is "4.0.5-0ubuntu0.22.04.1~ppa1"
- K8s charms based on our ROCK OCI (resource-revision 43, based on Ubuntu LTS “22.04”)
- Principal charms supports the latest LTS series “22.04” only.
Technical notes
- Upgrade (
juju refresh
) is possible from this revision 69+. - Use this operator together with Charmed MySQL K8s
How to reach us
If you would like to chat with us about your use-cases or ideas, you can reach us at Matrix public channel or Discourse. Check all other contact details here.
Consider opening a GitHub issue if you want to open a bug report.
Contribute to the project!