Skip to content

Commit

Permalink
Sync docs from Discourse
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 30, 2024
1 parent 472ea79 commit 73b4bea
Show file tree
Hide file tree
Showing 24 changed files with 164 additions and 46 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Integrate `tempo-k8s` with the COS charms as follows:
```shell
juju integrate tempo-k8s:grafana-dashboard grafana:grafana-dashboard
juju integrate tempo-k8s:grafana-source grafana:grafana-source
juju integrate tempo-k8s:ingress traefik:traefik
juju integrate tempo-k8s:ingress traefik:traefik-route
juju integrate tempo-k8s:metrics-endpoint prometheus:metrics-endpoint
juju integrate tempo-k8s:logging loki:logging
```
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ juju refresh mysql-router-k8s --channel 8.0/edge
# example with channel selection and juju 3.x
juju refresh mysql-router-k8s --channel 8.0/edge --trust

# example with specific revision selection
juju refresh mysql-router-k8s --revision=89
# example with specific revision selection (do NOT miss OCI resource!)
juju refresh mysql-router-k8s --revision=89 --resource mysql-router-image=...
```

After the Router upgrade is completed, upgrade the Server:
Expand Down
94 changes: 55 additions & 39 deletions docs/index.md → docs/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,42 +24,58 @@ This MySQL Router K8s charm is an official distribution of MySQL Router. It’s
| [Tutorials](/t/12176)</br> Get started - a hands-on introduction to using Charmed MySQL operator for new users </br> | [How-to guides](/t/12233) </br> Step-by-step guides covering key operations and common tasks |
| [Reference](/t/12201) </br> Technical information - specifications, APIs, architecture | [Explanation](/t/12223) </br> Concepts - discussion and clarification of key topics |

# Contents

1. [Tutorial](tutorial)
1. [1. Introduction](tutorial/t-overview.md)
1. [2. Set up the environment](tutorial/t-setup-environment.md)
1. [3. Deploy MySQL Router](tutorial/t-deploy-charm.md)
1. [4. Manage units](tutorial/t-managing-units.md)
1. [5. Enable security](tutorial/t-enable-security.md)
1. [6. Cleanup environment](tutorial/t-cleanup-environment.md)
1. [How To](how-to)
1. [Setup](how-to/h-setup)
1. [Deploy on MicroK8s](how-to/h-setup/h-deploy-microk8s.md)
1. [Manage units](how-to/h-setup/h-manage-units.md)
1. [Enable encryption](how-to/h-setup/h-enable-encryption.md)
1. [Manage applications](how-to/h-setup/h-manage-app.md)
1. [Monitor (COS)](how-to/h-monitor)
1. [Enable monitoring](how-to/h-monitor/h-enable-monitoring.md)
1. [Enable tracing](how-to/h-monitor/h-enable-tracing.md)
1. [Upgrade](how-to/h-upgrade)
1. [Intro](how-to/h-upgrade/h-upgrade-intro.md)
1. [Major upgrade](how-to/h-upgrade/h-upgrade-major.md)
1. [Major rollback](how-to/h-upgrade/h-rollback-major.md)
1. [Minor upgrade](how-to/h-upgrade/h-upgrade-minor.md)
1. [Minor rollback](how-to/h-upgrade/h-rollback-minor.md)
1. [Contribute](how-to/h-contribute.md)
1. [Reference](reference)
1. [Release Notes](reference/r-releases-group)
1. [All releases](reference/r-releases-group/r-releases.md)
1. [Revision 117](reference/r-releases-group/r-releases-rev117.md)
1. [Revision 96](reference/r-releases-group/r-releases-rev96.md)
1. [Revision 82](reference/r-releases-group/r-releases-rev82.md)
1. [Revision 69](reference/r-releases-group/r-releases-rev69.md)
1. [Requirements](reference/r-requirements.md)
1. [Testing](reference/r-testing.md)
1. [Contacts](reference/r-contacts.md)
1. [Explanation](explanation)
1. [Interfaces/endpoints](explanation/e-interfaces.md)
1. [Statuses](explanation/e-statuses.md)
1. [Juju](explanation/e-juju-details.md)
# Navigation

[details=Navigation]

| Level | Path | Navlink |
|---------|---------|-------------|
| 1 | tutorial | [Tutorial]() |
| 2 | t-introduction | [1. Introduction](/t/12176) |
| 2 | t-set-up| [2. Set up the environment](/t/12178) |
| 2 | t-deploy | [3. Deploy MySQL Router](/t/12180) |
| 2 | t-manage-units | [4. Manage units](/t/12182) |
| 2 | t-enable-tls | [5. Enable TLS encryption](/t/12203) |
| 2 | t-clean-up | [6. Cleanup environment](/t/12204) |
| 1 | how-to | [How To]() |
| 2 | h-setup | [Setup]() |
| 3 | h-deploy-microk8s | [Deploy on MicroK8s](/t/12233) |
| 3 | h-manage-units | [Manage units](/t/12240) |
| 3 | h-enable-encryption | [Enable encryption](/t/12241) |
| 3 | h-manage-app | [Manage applications](/t/12242) |
| 2 | h-monitor | [Monitor (COS)]() |
| 3 | h-enable-monitoring | [Enable monitoring](/t/14101) |
| 3 | h-enable-tracing | [Enable tracing](/t/14553) |
| 2 | h-upgrade | [Upgrade]() |
| 3 | h-upgrade-intro | [Intro](/t/12235) |
| 3 | h-upgrade-major | [Major upgrade](/t/12236) |
| 3 | h-rollback-major | [Major rollback](/t/12237) |
| 3 | h-upgrade-minor | [Minor upgrade](/t/12238) |
| 3 | h-rollback-minor | [Minor rollback](/t/12239) |
| 2 | h-contribute | [Contribute](/t/14528) |
| 1 | reference | [Reference]() |
| 2 | r-releases-group | [Release Notes]() |
| 3 | r-releases | [All releases](/t/12201) |
| 3 | r-releases-rev155 | [Revision 154/155](/t/15354) |
| 3 | r-releases-rev117 | [Revision 117](/t/14074) |
| 3 | r-releases-rev96 | [Revision 96](/t/13523) |
| 3 | r-releases-rev82 | [Revision 82](/t/12796) |
| 3 | r-releases-rev69 | [Revision 69](/t/12202) |
| 2 | r-requirements | [Requirements](/t/12179) |
| 2 | r-testing | [Testing](/t/12234) |
| 2 | r-contacts | [Contacts](/t/12177) |
| 1 | explanation | [Explanation]() |
| 2 | e-interfaces | [Interfaces/endpoints](/t/12223) |
| 2 | e-statuses | [Statuses](/t/12231) |
| 2 | e-juju-details | [Juju](/t/12273) |

[/details]



# Redirects

[details=Mapping table]
| Path | Location |
| ---- | -------- |
[/details]
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
>Reference > Release Notes > [All revisions](/t/12201) > Revision 117
# Revision 117 (`8.0/candidate` only)
<sub>TODO: DD, MM, YYYY</sub>
# Revision 117

<sub>Aug 20, 2024</sub>

Dear community,

Expand Down
100 changes: 100 additions & 0 deletions docs/reference/r-releases-rev155.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
> Reference > Release Notes > [All releases] > Revision 154/155
# Revision 154/155
<sub>TODO</sub>

[note type="caution"]
This page is a work in progress for a future release.
[/note]

Dear community,

Canonical's newest Charmed MySQL Router K8s operator has been published in the [8.0/stable channel].

Due to the newly added support for arm64 architecture, the MySQL Router K8s charm now releases two revisions simultaneously:
* Revision 155 is built for `amd64`
* Revision 154 is built for `arm64`

To make sure you deploy for the right architecture, we recommend setting an [architecture constraint](https://juju.is/docs/juju/constraint#heading--arch) for your entire Juju model.

Otherwise, you can specify the architecture at deploy time with the `--constraints` flag as follows:

```shell
juju deploy mysql-router-k8s --constraints arch=<arch> --trust
```
where `<arch>` can be `amd64` or `arm64`.

## Highlights

Below is an overview of the major highlights, enhancements, and bugfixes in this revision. For a detailed list of all commits since the last stable release, see the [GitHub release notes].

* Upgraded MySQL Router from `v8.0.36` -> `v8.0.37` (see [Packaging](#packaging))
* Added support for ARM architecture

### Bugfixes

* [[DPE-4173](https://warthogs.atlassian.net/browse/DPE-4173)] Stabilize exporter tests by using listen-port to avoid ephemeral ports in [#277](https://github.com/canonical/mysql-router-k8s-operator/pull/277)
* [[DPE-3881](https://warthogs.atlassian.net/browse/DPE-3881)] Use ruff as a linter and formatter in [#292](https://github.com/canonical/mysql-router-k8s-operator/pull/292)
* Use poetry package-mode=false in [#296](https://github.com/canonical/mysql-router-k8s-operator/pull/296)
* [[DPE-4739](https://warthogs.atlassian.net/browse/DPE-4739)] Avoid using time.sleep in rollback integration tests in [#298](https://github.com/canonical/mysql-router-k8s-operator/pull/298)
* [[DPE-4817](https://warthogs.atlassian.net/browse/DPE-4817)] Upgrade to use lok_push_api v1 and capture rotated log files in [#283](https://github.com/canonical/mysql-router-k8s-operator/pull/283)
* Update Python dependencies

## Technical details
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][All releases] before upgrading.

### Requirements
See the [system requirements][] page for more details about software and hardware prerequisites.

### Packaging
This charm is based on the [`charmed-mysql` rock] Revision TODO. It packages:
- mysql-router `v8.0.37`
- [8.0.37-0ubuntu0.22.04.1]
- mysql-shell `v8.0.37`
- [8.0.37+dfsg-0ubuntu0.22.04.1~ppa3]
- prometheus-mysqlrouter-exporter `v5.0.1`
- [5.0.1-0ubuntu0.22.04.1~ppa1]

### Libraries and interfaces
* **mysql `v0`**
* See the [Libraries tab] in MySQL VM for the API reference.
* **grafana_agent `v0`** for integration with Grafana
* Implements `cos_agent` interface
* **rolling_ops `v0`** for rolling operations across units
* Implements `rolling_op` interface
* **tempo_k8s `v1`, `v2`** for integration with Tempo charm
* Implements `tracing` interface
* **tls_certificates_interface `v2`** for integration with TLS charms
* Implements `tls-certificates` interface

See the [`/lib/charms` directory on GitHub][] for a full list of supported libraries.

See the [Integrations tab][] for a full list of supported integrations/interfaces/endpoints

## Contact us

Charmed MySQL K8s is an open source project that warmly welcomes community contributions, suggestions, fixes, and constructive feedback.
* Raise software issues or feature requests on [**GitHub**](https://github.com/canonical/mysql-k8s-operator/issues)
* Report security issues through [**Launchpad**](https://wiki.ubuntu.com/DebuggingSecurity#How%20to%20File)
* Contact the Canonical Data Platform team through our [Matrix](https://matrix.to/#/#charmhub-data-platform:ubuntu.com) channel.

<!-- LINKS -->
[8.0/stable channel]: https://charmhub.io/mysql-router-k8s?channel=8.0/stable
[GitHub release notes]: https://github.com/canonical/mysql-router-k8s-operator/releases/tag/rev155

[All releases]: /t/12201
[system requirements]: /t/12179

[Integrations tab]: https://charmhub.io/mysql-router-k8s/integrations
[Libraries tab]: https://charmhub.io/mysql-router-k8s/libraries

[`/lib/charms` directory on GitHub]: https://github.com/canonical/mysql-router-k8s-operator/tree/main/lib/charms

[`charmed-mysql` rock]: https://snapcraft.io/charmed-mysql
[8.0.37-0ubuntu0.22.04.1]: https://launchpad.net/ubuntu/+source/mysql-8.0/8.0.37-0ubuntu0.24.04.1
[8.0.37+dfsg-0ubuntu0.22.04.1~ppa3]: https://launchpad.net/~data-platform/+archive/ubuntu/mysql-shell
[0.14.0-0ubuntu0.22.04.1~ppa2]: https://launchpad.net/~data-platform/+archive/ubuntu/mysqld-exporter
[5.0.1-0ubuntu0.22.04.1~ppa1]: https://launchpad.net/~data-platform/+archive/ubuntu/mysqlrouter-exporter
[8.0.35-31-0ubuntu0.22.04.1~ppa3]: https://launchpad.net/~data-platform/+archive/ubuntu/xtrabackup
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

Canonical publishes here release notes for production ready revisions available in [CharmHub](https://charmhub.io) [channels](https://juju.is/docs/sdk/channel):

* [revision 117](/t/14074) in `8.0/candidate` (WIP)
* [revision 154/155](/t/15354) in `8.0/candidate` (WIP)
* [revision 117](/t/14074) in `8.0/stable`
* [revision 96](/t/13523) in `8.0/stable`
* [revision 82](/t/12796) in `8.0/stable`
* [revision 69](/t/12202) in `8.0/stable`
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Environment Setup
# Set up your environment

This is part of the [MySQL Router K8s Tutorial](/t/12176). Please refer to this page for more information and the overview of the content.

Expand Down

0 comments on commit 73b4bea

Please sign in to comment.