Skip to content

Commit

Permalink
Merge pull request #567 from cybozu-go/bump-v0.17.0
Browse files Browse the repository at this point in the history
Bump version to 0.17.0
  • Loading branch information
masa213f authored Sep 12, 2023
2 parents f7f97cd + 097f028 commit edc0a52
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 5 deletions.
52 changes: 49 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,55 @@ This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]

## [0.16.1] - 2023-04-07
## [0.17.0] - 2023-09-11

### Breaking Changes

#### Migrate image registry
We migrated the image repository of mysql, fluent-bit, and mysqld_exporter to `ghcr.io`.
From MOCO v0.17.0, please use the following images.

- [ghcr.io/cybozu-go/moco/mysql](https://github.com/cybozu-go/moco/pkgs/container/moco%2Fmysql)
- [ghcr.io/cybozu-go/moco/fluent-bit](https://github.com/cybozu-go/moco/pkgs/container/moco%2Ffluent-bit)
- [ghcr.io/cybozu-go/moco/mysqld_exporter](https://github.com/cybozu-go/moco/pkgs/container/moco%2Fmysqld_exporter)

The [`quay.io/cybozu/mysql`](https://quay.io/repository/cybozu/mysql), [`quay.io/cybozu/fluent-bit`](https://quay.io/repository/cybozu/fluent-bit), and [`quay.io/cybozu/mysqld_exporter`](https://quay.io/repository/cybozu/mysqld_exporter) will not be updated in the future.

In addition, from this time, the mysql image does not contain the moco-init binary.
Therefore, MOCO v0.13.0 or lower cannot use `ghcr.io/cybozu-go/moco/mysql`.

#### Dropped metrics
The default mysqld_exporter has been upgraded to [v0.15.0](https://github.com/prometheus/mysqld_exporter/releases/tag/v0.15.0).
Accordingly, the following metrics will no longer be output.
- `mysql_exporter_scrapes_total`
- `mysql_exporter_scrape_errors_total`
- `mysql_last_scrape_failed`

### Added
- Support Kubernetes 1.27 [#525](https://github.com/cybozu-go/moco/pull/525)
- Support redunce volume size [#538](https://github.com/cybozu-go/moco/pull/538), [#552](https://github.com/cybozu-go/moco/pull/552)
- Upgrade fluent-bit v2.1.8 and mysqld-exporter v0.15.0 [#553](https://github.com/cybozu-go/moco/pull/553), [#554](https://github.com/cybozu-go/moco/pull/554)
- Add Updated Conditon in Status [#546](https://github.com/cybozu-go/moco/pull/546)

### Changed
- Disable innodb_undo_log_truncate [#526](https://github.com/cybozu-go/moco/pull/526)
- Migrate image registry from qury.io to ghcr.io [#528](https://github.com/cybozu-go/moco/pull/528), [#529](https://github.com/cybozu-go/moco/pull/529), [#533](https://github.com/cybozu-go/moco/pull/533), [#535](https://github.com/cybozu-go/moco/pull/535), [#542](https://github.com/cybozu-go/moco/pull/542), [#555](https://github.com/cybozu-go/moco/pull/555)
- incorporate moco-agent v0.10.0 [#551](https://github.com/cybozu-go/moco/pull/551)
- Fix retry message when gathering mysqld status [#559](https://github.com/cybozu-go/moco/pull/559)

### Fixed
- backup: PITR did not work sometimes [#565](https://github.com/cybozu-go/moco/pull/565)
- Set kubeVersion compatible with EKS [#536](https://github.com/cybozu-go/moco/pull/536)
- MySQLClusterSpec.BackupPolicyName should be annotated omitempty [#532](https://github.com/cybozu-go/moco/pull/532)
- Fix broken links [#541](https://github.com/cybozu-go/moco/pull/541)
- Fix log message when demote annotation is added [#560](https://github.com/cybozu-go/moco/pull/560)

### Contributors
- @fgeorgeanybox

## [0.16.1] - 2023-04-07

### Added
- Add podAntiAffinity to MySQL Cluster StatefulSet. [#513](https://github.com/cybozu-go/moco/pull/513)
- Support Google Cloud Storage [#493](https://github.com/cybozu-go/moco/pull/493) [#501](https://github.com/cybozu-go/moco/pull/501)
- Add qps flag [#518](https://github.com/cybozu-go/moco/pull/518)
Expand Down Expand Up @@ -57,7 +102,7 @@ This release was canceled because the release workflow was incorrect.
This release allows MOCO users to leave the moco-init binary out of a custom mysqld container image.
Now the moco-init binary is copied from the moco-agent container through an emptyDir volume.

To maintain backward compatibility, the [`moco-mysql` images](https://quay.io/repository/cybozu/moco-mysql?tab=tags) provided by Cybozu still contain the old moco-init binary.
To maintain backward compatibility, the [`mysql` images](https://quay.io/repository/cybozu/mysql?tab=tags) provided by Cybozu still contain the old moco-init binary.

### Added
- Copy moco-init binary from moco-agent image [#461](https://github.com/cybozu-go/moco/pull/461)
Expand Down Expand Up @@ -425,7 +470,8 @@ The `MySQLCluster` created by MOCO `< v0.5.0` has no compatibility with `>= v0.5

- Bootstrap a vanilla MySQL cluster with no replicas (#2).

[Unreleased]: https://github.com/cybozu-go/moco/compare/v0.16.1...HEAD
[Unreleased]: https://github.com/cybozu-go/moco/compare/v0.17.0...HEAD
[0.17.0]: https://github.com/cybozu-go/moco/compare/v0.16.1...v0.17.0
[0.16.1]: https://github.com/cybozu-go/moco/compare/v0.15.0...v0.16.1
[0.15.0]: https://github.com/cybozu-go/moco/compare/v0.14.1...v0.15.0
[0.14.1]: https://github.com/cybozu-go/moco/compare/v0.14.0...v0.14.1
Expand Down
2 changes: 1 addition & 1 deletion kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ resources:

images:
- name: ghcr.io/cybozu-go/moco
newTag: 0.16.1
newTag: 0.17.0
2 changes: 1 addition & 1 deletion version.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package moco

const (
// Version is the MOCO version
Version = "0.16.1"
Version = "0.17.0"

// FluentBitImage is the image for slow-log sidecar container.
FluentBitImage = "ghcr.io/cybozu-go/moco/fluent-bit:2.1.8.2"
Expand Down

0 comments on commit edc0a52

Please sign in to comment.