Skip to content

Releases: canonical/mysql-k8s-operator

Revisions 254, 255

23 Jun 18:12
0fb0a76
Compare
Choose a tag to compare

A new revision of Charmed MySQL K8s has been published in the 8.0/stable channel on Charmhub.

See also: Releases overview page, How to perform an upgrade

OCI image resources:

  • mysql-image=ghcr.io/canonical/charmed-mysql@sha256:089fc04dd2d6f1559161ddf4720c1e06559aeb731ecae57b050c9c816e9833e9

What's Changed

Features

Bug fixes

Full Changelog: rev240...rev255

Requirements and compatibility

  • Recommended Juju version: v3.6.3+
  • Minimum Juju version: v3.4.3 or v.3.5.2+

See the system requirements for more details about Juju versions and other software and hardware prerequisites.

Revisions 240, 241

11 Mar 14:56
b353fdb
Compare
Choose a tag to compare

A new revision of Charmed MySQL K8s has been published in the 8.0/stable channel on Charmhub.

See also: Releases overview page, How to perform an upgrade

OCI image resources:

  • mysql-image=ghcr.io/canonical/charmed-mysql@sha256:089fc04dd2d6f1559161ddf4720c1e06559aeb731ecae57b050c9c816e9833e9

What's changed

This section outlines the most important features and bug fixes in this release.

Features

Bug fixes

Full Changelog: rev210...rev240

New contributors

Requirements and compatibility

  • Recommended Juju version: v3.6.3+
  • Minimum Juju version: v3.4.3 or v.3.5.2+

See the system requirements for more details about Juju versions and other software and hardware prerequisites.

Revisions 210, 211

17 Jan 08:13
45db15d
Compare
Choose a tag to compare

A new revision of Charmed MySQL K8s has been published in the 8.0/stable channel on Charmhub

See also: Releases overview page, How to perform an upgrade

OCI image resources:

  • mysql-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

Bug fixes

  • Fixed unit-initialized test may break when run too early (PR #491) (DPE-5209)
  • Common credentials fixture and exec timeout workaround (PR #493) (DPE-5210)
  • Fixed /database requested wait container (PR #500) (DPE-5385)
  • Attempted to stabilize failing integration tests (PR #496)
  • Add test to ensure correct k8s endpoints created for clusters with the same name (PR #508)
  • Add check to ensure peer databag populated before reconciling mysqld exporter pebble layers (PR #505) (DPE-5417)
  • Add base in test_multi_relations to workaround libjuju bug (PR #506) (DPE-5480)

Requirements and compatibility

  • Minimum Juju version: v3.4.5 -> v3.5.4

See the system requirements for more details about Juju versions and other software and hardware prerequisites.

Full Changelog: rev180...rev210

Revisions 180, 181

04 Sep 13:07
e3df94c
Compare
Choose a tag to compare

A new revision of Charmed MySQL K8s has been published in the 8.0/stable channel on Charmhub

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

Bug fixes

Full Changelog: rev153...rev180

Requirements and compatibility

This section contains some technical details about the charm's contents and dependencies.

If you are jumping over several stable revisions, check previous release notes before upgrading.

  • Minimum Juju version: v.3.4.3 or 3.5.2+
    • See the guide: [How to upgrade Juju for a new database revision].

See the system requirements page for more details about software and hardware prerequisites.

Packaging

This charm is based on the charmed-mysql rock (CharmHub mysql-image resource-revision 113). It packages:

Revision 153

26 Jun 18:54
addcbc3
Compare
Choose a tag to compare

A new revision of Charmed MySQL K8s has been published in the 8.0/stable channel on Charmhub

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.

Important

This charm revision requires Juju v3.4.3 or v3.5.2+
See: How to upgrade Juju

Features

Bug fixes

  • Updated shared libraries
  • Applied the latest Juju secrets related fixes
  • Fixed Sunbeam: charm is trying fail to set report_host on scale up #435, DPE-3896
  • Skip config change when no pebble connection in #445, DPE-4768
  • Fix restart for single-unit in #438, DPE-4411

Full Changelog: rev127...rev153

Inside the charms

  • Charmed MySQL K8s ships MySQL 8.0.36-0ubuntu0.22.04.1
  • CLI mysql-shell updated to 8.0.36+dfsg-0ubuntu0.22.04.1~ppa4
  • Backup tools xtrabackup/xbcloud is 8.0.35-30
  • The Prometheus mysqld-exporter is 0.14.0-0ubuntu0.22.04.1~ppa2
  • K8s charms based on our ROCK OCI (Ubuntu LTS 22.04.4) mysql-image resource-revision 111
  • Principal charms support the latest Ubuntu 22.04 LTS only

Technical notes

Revision 127

18 Mar 20:01
c62351b
Compare
Choose a tag to compare

A new revision of Charmed MySQL K8s has been published in the 8.0/stable channel on Charmhub.

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

Bug fixes

  • DPE-3547 Fixed mitigations for container restart in #377
  • DPE-3389 Fixed support for rollbacks with incompatible data dir in #385
  • DPE-2919 Fixed pod labels update on preemptive switchover in #367
  • DPE-3265 Refactored lib secrets in #362
  • DPE-2758 Fixed messaging when no bucket + ceph testing in #332
  • DPE-3027 Fixed retry policy for is_mysqld_running in #356
  • Fixed typo in secrets marker in #380
  • Fixed parallel backup tests in #375
  • Removed colon from logrotate file path in #351

Full Changelog: rev113...rev127

What is inside the charms

  • Charmed MySQL K8s ships MySQL “8.0.35-0ubuntu0.22.04.1
  • CLI mysql-shell updated to "8.0.33-0ubuntu0.22.04.1~ppa1"
  • Backup tools xtrabackup/xbcloud updated to "8.0.35-30"
  • The Prometheus mysqld-exporter is "0.14.0-0ubuntu0.22.04.1~ppa1"
  • K8s charms based on our ROCK OCI (Ubuntu 22.04 LTS - ubuntu:22.04-based)
  • Principal charms supports the latest Ubuntu 22.04 LTS only

Technical notes

Project and community

Charmed MySQL K8s is an official distribution of MySQL. It’s an open-source project that welcomes community contributions, suggestions, fixes and constructive feedback.

Revision 113

08 Jan 13:09
af59bbc
Compare
Choose a tag to compare

A new revision of Charmed MySQL 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

Bug fixes

Canonica 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.
Highlights for the current revision:

  • Fixed dateformat in logrotate config to avoid causing filename conflicts after 24hrs of uptime [PR#343][DPE-3063]
  • Fixed bug that resulted in wrong output displayed from list-backups action [PR#340]
  • Fixed unit removal issue if TLS operator is in use [PR#347]
  • Fixed the single unit upgrade [PR#324][DPE-2661]
  • Improved cluster metadata node addresses consistency [PR#328][DPE-2774]
  • Fixed lib config file render [#303][DPE-2124]
  • Prevent starting logrotate dispatcher or flush mysql logs until unit initialized [PR#323]
  • Defer reconciling pebble layer for exporter [PR#302]

Full Changelog: rev99...rev113

What is inside the charms

  • Charmed MySQL K8s ships the latest MySQL “8.0.34-0ubuntu0.22.04.1”
  • CLI mysql-shell updated to "8.0.34-0ubuntu0.22.04.1~ppa1"
  • Backup tools xtrabackup/xbcloud updated to "8.0.34-29"
  • The Prometheus mysqld-exporter is "0.14.0-0ubuntu0.22.04.1~ppa1"
  • K8s charms based on our ROCK OCI (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

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 99

12 Sep 16:26
3632bc7
Compare
Choose a tag to compare

A new revision of Charmed MySQL 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

Bug fixes

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.
Highlights for the current revision:

  • DPE-1919 Fixed GKE deployment support
  • DPE-1519 Stabilized integration with mysql-route-k8s
  • DPE-2069 Fixed MySQL max_connections auto tune
  • DPE-2225 Fixed MySQL memory allocation (use K8s Allocatable memory instead of free + consider group_replication_message_cache_size)
  • DPE-988 Fixed standby units (9+ cluster members are waiting to join the cluster)
  • DPE-2352 Start mysqld-exporter on COS relation only + restart upon monitoring password change
  • DPE-1512 Auto-generate username/database when config values are empty (for legacy mysql relation)
  • DPE-2178 Stop configuring mysql user root@% (removed as no longer necessary)

Full Changelog: rev75...rev99

What is inside the charms

  • Charmed MySQL K8s ships the latest MySQL “8.0.34-0ubuntu0.22.04.1”
  • CLI mysql-shell updated to "8.0.34-0ubuntu0.22.04.1~ppa1"
  • Backup tools xtrabackup/xbcloud updated to "8.0.34-29"
  • The Prometheus mysqld-exporter is "0.14.0-0ubuntu0.22.04.1~ppa1"
  • K8s charms based on our ROCK OCI (Ubuntu LTS “22.04” - ubuntu:22.04-based)
  • Principal charms supports the latest LTS series “22.04” only.
  • Subordinate charms support LTS “22.04” and “20.04” only.

Technical notes

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 75

20 Apr 15:23
f9bae23
Compare
Choose a tag to compare

A the first stable revision of Charmed MySQL K8s has been published in the 8.0/stable channel.

See also: Releases overview page

What's changed

This section outlines the most important features and bug fixes in this release.

Features

  • Deploying on Kubernetes (tested with MicroK8s, GKE)
    • juju constraints are supported to limit CPU/RAM/Storage size
  • Scaling up/down in one simple juju command
  • HA using Innodb Group replication
  • Full backups and restores are supported when using any S3-compatible storage
  • TLS support (using “tls-certificates” operator)
  • DB access outside of Juju using “data-integrator
  • Data import using standard tools e.g. mysqldump, etc.
Charm Version Charm channel Documentation License
MySQL K8s 8.0.32 8.0/stable (r75) Tutorial, Readme, Contributing Apache 2.0

Full Changelog: https://github.com/canonical/mysql-k8s-operator/commits/rev75

What is inside the charms

  • Charmed MySQL K8s charm ships the latest MySQL “8.0.32-0ubuntu0.22.04.2”
  • K8s charms based on our ROCK OCI (Ubuntu LTS “22.04” - ubuntu:22.04-based)
  • Principal charms supports the latest LTS series “22.04” only.
  • Subordinate charms support LTS “22.04” and “20.04” only.

Technical notes

Compatibility with legacy charms

  • New MySQL charm is a juju-interface compatible replacement for legacy charms such as “MariaDB”, “OSM MariaDB”, “Percona Cluster” and “Mysql Innodb Cluster” (using legacy interface “mysql”, via endpoints “mysql” and “mysql-root”). Other legacy interfaces such as “mysql-router” interface (“db-router” endpoint) and “mysql-shared” interface (“shared-db” endpoint) are also supported. However, it is highly recommended to migrate to the modern interface ‘mysql_client ’. It can be easily done using the charms library ‘data_interfaces’ from ‘data-platform-libs’.

Please contact us, see details below, if you are considering migrating from other “legacy” charms not mentioned above. Additionally:

  • Tracks description:
    • Charm MySQL K8s charm follows the SNAP track “8.0” (through repacked ROCK/OCI image).
  • No “latest” track in use (no surprises in tracking “latest/stable”)!
    • Charmed MySQL K8s charms provide legacy charm through “latest/stable”.
  • Charm lifecycle flowchart diagrams: MySQL.
  • Modern interfaces are well described in “Interfaces catalogue” and implemented by 'data-platform-libs'.

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!

These release notes were originally posted here.