You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, deploy the [`tempo-k8s`](https://charmhub.io/tempo-k8s) charm:
41
-
```shell
42
-
juju deploy -n 1 tempo-k8s --channel latest/edge
43
-
```
44
40
45
-
<ahref="#heading--integrate"><h2id="heading--integrate"> Integrate with the COS charms </h2></a>
41
+
Then, deploy the dependencies of Tempo following [this tutorial](https://discourse.charmhub.io/t/tutorial-deploy-tempo-ha-on-top-of-cos-lite/15489). In particular, we would want to:
42
+
- Deploy the minio charm
43
+
- Deploy the s3 integrator charm
44
+
- Add a bucket in minio using a python script
45
+
- Configure s3 integrator with the minio credentials
46
46
47
-
Integrate `tempo-k8s` with the COS charms as follows:
Finally, deploy and integrate with Tempo HA in a [monolithic setup](https://discourse.charmhub.io/t/tutorial-deploy-tempo-ha-on-top-of-cos-lite/15489#heading--deploy-monolithic-setup).
App Version Status Scale Charm Channel Rev Address Exposed Message
108
+
grafana-agent-k8s 0.40.4 active 1 grafana-agent-k8s latest/edge 93 10.152.183.141 no grafana-dashboards-provider: off, logging-consumer: off, send-remote-write: off
109
+
mysql-k8s 8.0.37-0ubuntu0.22.04.3 active 1 mysql-k8s 8.0/edge 201 10.152.183.58 no
110
+
mysql-router-k8s 8.0.37-0ubuntu0.22.04.3 active 1 mysql-router-k8s 1 10.152.183.50 no
111
+
mysql-test-app 0.0.2 active 1 mysql-test-app latest/stable 51 10.152.183.162 no
112
+
113
+
Unit Workload Agent Address Ports Message
114
+
grafana-agent-k8s/0* active idle 10.1.241.221 grafana-dashboards-provider: off, logging-consumer: off, send-remote-write: off
115
+
mysql-k8s/0* active idle 10.1.241.213 Primary
116
+
mysql-router-k8s/0* active idle 10.1.241.222
117
+
mysql-test-app/0* active idle 10.1.241.218
118
+
119
+
Integration provider Requirer Interface Type Message
@@ -146,4 +144,4 @@ Below is a screenshot demonstrating a Charmed MySQL Router K8s trace:
146
144
147
145

148
146
149
-
Feel free to read through the [Tempo documentation](https://discourse.charmhub.io/t/tempo-k8s-docs-index/14005) at your leisure to explore its deployment and its integrations.
147
+
Feel free to read through the [Tempo HA documentation](https://discourse.charmhub.io/t/charmed-tempo-ha/15531) at your leisure to explore its deployment and its integrations.
To make the Charmed MySQL K8s database reachable from outside the Kubernetes cluster, this charm MySQL Router K8s should be deployed. It creates and manages several K8s services including the NodePort one:
4
+
5
+
```shell
6
+
kubectl get services -n <model>
7
+
```
8
+
9
+
```
10
+
TODO
11
+
```
12
+
13
+
The `TODO` NodePort service exposes a port to access both R/W and R/O MySQL servers from outside of K8s. The charm opens NodePort if requested in relation as `external-node-connectivity: true`. Example (relate mysql-router-k8s with data-integrator):
14
+
```shell
15
+
> juju run data-integrator/0 get-credentials
16
+
...
17
+
TODO
18
+
```
19
+
> **Note**: the relation flag `external-node-connectivity` is experimental and will be replaced in the future. Follow https://warthogs.atlassian.net/browse/DPE-5636 for more details.
20
+
21
+
> **Note**: The `mysql-router-k8s` and `mysql-router-k8s-endpoints` ClusterIP services seen above are created for every Juju application by default as part of the StatefulSet they are associated with. These services are not relevant to users and can be safely ignored.
22
+
23
+
## Client connections using the bootstrap service
24
+
25
+
A client can be configured to connect to the `TODO` service using a Kubernetes NodeIP, and desired NodePort.
26
+
27
+
To get NodeIPs:
28
+
29
+
```shell
30
+
kubectl get nodes -o wide -n model | awk -v OFS='\t\t''{print $1, $6}'
31
+
```
32
+
33
+
```
34
+
NAME INTERNAL-IP
35
+
node-0 10.155.67.110
36
+
node-1 10.155.67.120
37
+
node-2 10.155.67.130
38
+
```
39
+
40
+
NodeIPs are different for each deployment as they are randomly allocated.
41
+
For the example from the previous section, the created NodePorts was:
42
+
43
+
```shell
44
+
TODO
45
+
```
46
+
47
+
Users can use this NodePort to access read-write / Primary server from outside of K8s:
48
+
```shell
49
+
TODO
50
+
```
51
+
Read-only servers can be accessed using the `_readonly` suffix to the desired DB name:
Copy file name to clipboardExpand all lines: docs/reference/r-releases-rev117.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ Canonical Data issues are now public on both [Jira](https://warthogs.atlassian.n
39
39
* Charmed MySQL Router K8s ships MySQL Router `8.0.36-0ubuntu0.22.04.1`
40
40
* CLI mysql-shell version is `8.0.36+dfsg-0ubuntu0.22.04.1~ppa4`
41
41
* The Prometheus `mysql-router-exporter` is `5.0.1-0ubuntu0.22.04.1~ppa1`
42
-
* K8s charms based on our [ROCK OCI](https://github.com/canonical/charmed-mysql-rock) (Ubuntu LTS `22.04.4`), snap revision `103`
42
+
* K8s charms based on our [ROCK OCI](https://github.com/canonical/charmed-mysql-rock) ([resource-revision 53](https://github.com/canonical/mysql-router-k8s-operator/releases/tag/rev117), based on Ubuntu LTS `22.04.4`), snap revision `103`
43
43
* Principal charms supports the latest LTS series 22.04 only
Copy file name to clipboardExpand all lines: docs/reference/r-releases-rev155.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,8 +8,8 @@ Dear community,
8
8
Canonical's newest Charmed MySQL Router K8s operator has been published in the [8.0/stable channel].
9
9
10
10
Due to the newly added support for arm64 architecture, the MySQL Router K8s charm now releases two revisions simultaneously:
11
-
* Revision 155 is built for `amd64`
12
-
* Revision 154 is built for `arm64`
11
+
* Revision 155 is built for `amd64` ( mysql-router-image r57 )
12
+
* Revision 154 is built for `arm64` ( mysql-router-image r57 )
13
13
14
14
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.
15
15
@@ -47,7 +47,7 @@ If you are jumping over several stable revisions, check [previous release notes]
47
47
See the [system requirements][] page for more details about software and hardware prerequisites.
48
48
49
49
### Packaging
50
-
This charm is based on the [`charmed-mysql` rock]Revision TODO. It packages:
50
+
This charm is based on the [`charmed-mysql` rock](CharmHub `mysql-router-image`[resource-revision 57](https://github.com/canonical/mysql-router-k8s-operator/releases/tag/rev155)). It packages:
Copy file name to clipboardExpand all lines: docs/reference/r-releases-rev69.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Canonical Data issues are now public on both [Jira](https://warthogs.atlassian.n
21
21
* Charmed MySQL Router K8s ships the latest MySQL Router “8.0.34-0ubuntu0.22.04.1”
22
22
* CLI mysql-shell updated to "8.0.34-0ubuntu0.22.04.1~ppa1"
23
23
* The Prometheus mysql-router-exporter is "4.0.5-0ubuntu0.22.04.1~ppa1"
24
-
* K8s charms [based on our](https://github.com/orgs/canonical/packages?tab=packages&q=charmed) ROCK OCI (Ubuntu LTS “22.04” - ubuntu:22.04-based)
24
+
* K8s charms [based on our](https://github.com/orgs/canonical/packages?tab=packages&q=charmed) ROCK OCI ([resource-revision 43](https://github.com/canonical/mysql-router-k8s-operator/releases/tag/rev69), based on Ubuntu LTS “22.04”)
25
25
* Principal charms supports the latest LTS series “22.04” only.
Copy file name to clipboardExpand all lines: docs/reference/r-releases-rev82.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ Canonical Data issues are now public on both [Jira](https://warthogs.atlassian.n
26
26
* Charmed MySQL Router K8s ships MySQL Router “8.0.34-0ubuntu0.22.04.1”
27
27
* CLI mysql-shell version is "8.0.34-0ubuntu0.22.04.1~ppa1"
28
28
* The Prometheus mysql-router-exporter is "4.0.5-0ubuntu0.22.04.1~ppa1"
29
-
* K8s charms [based on our](https://github.com/orgs/canonical/packages?tab=packages&q=charmed) ROCK OCI (Ubuntu LTS “22.04” - ubuntu:22.04-based) based on SNAP revision 69
29
+
* K8s charms [based on our](https://github.com/orgs/canonical/packages?tab=packages&q=charmed) ROCK OCI ([resource-revision 46](https://github.com/canonical/mysql-router-k8s-operator/releases/tag/rev82), based on Ubuntu LTS “22.04” - ubuntu:22.04-based) based on SNAP revision 69
30
30
* Principal charms supports the latest LTS series “22.04” only
31
31
* Subordinate charms support LTS “22.04” and “20.04” only
Copy file name to clipboardExpand all lines: docs/reference/r-releases-rev96.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ Canonical Data issues are now public on both [Jira](https://warthogs.atlassian.n
24
24
* Charmed MySQL Router K8s ships MySQL Router “8.0.35-0ubuntu0.22.04.1”
25
25
* CLI mysql-shell version is "8.0.35-0ubuntu0.22.04.1~ppa1"
26
26
* The Prometheus mysql-router-exporter is "4.0.5-0ubuntu0.22.04.1~ppa1"
27
-
* K8s charms [based on our](https://github.com/orgs/canonical/packages?tab=packages&q=charmed) ROCK OCI (Ubuntu LTS “22.04” - ubuntu:22.04-based)
27
+
* K8s charms [based on our](https://github.com/orgs/canonical/packages?tab=packages&q=charmed) ROCK OCI ([resource-revision 49](https://github.com/canonical/mysql-router-k8s-operator/releases/tag/rev96), based on Ubuntu LTS “22.04” - ubuntu:22.04-based)
28
28
* Principal charms supports the latest LTS series “22.04” only
0 commit comments