Skip to content

Commit 27b3e0f

Browse files
committed
Update docs to reflect migration path for 0.3
1 parent 15e1ad5 commit 27b3e0f

File tree

2 files changed

+16
-4
lines changed

2 files changed

+16
-4
lines changed

docs/integrate-operator.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ The MySQL operator provides 3 services to access the nodes:
2525
* `<cluster_name>-mysql` is the service that routes traffic to all the _healthy_ nodes from the
2626
cluster. You should use this endpoint for reads.
2727

28-
* `<cluster_name>-mysql-nodes` is the service used internally to access nodes. You can use this
29-
service to access a specific node (e.g.
30-
`<cluster_name>-mysql-0.<cluster-name>-mysql-nodes.default`)
28+
* `mysql` is the service used internally to access all nodes within a namespace. You can use this
29+
service to access a specific node (e.g. `<cluster_name>-mysql-0.mysql.<namespace>`)
3130

3231
We use helm to deploy our application into Kubernetes, so we updated our charts to use the MySQL
3332
operator to provide one cluster per application.

docs/operator-upgrades.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ aliases: []
1313
toc: true
1414
---
1515

16-
In this section ayou can find the migration path when upgrading to a newer version of the MySQL operator.
16+
In this section you can find the migration path when upgrading to a newer version of the MySQL operator.
1717

1818
## v0.2.x upgrade
1919

@@ -30,3 +30,16 @@ This upgrade requires a Kubernetes cluster upgrade because the `v0.2.x` works on
3030
6. Now you can upgrade your nodes, as well.
3131
7. Enjoy!
3232

33+
34+
## v0.3.x upgrade
35+
36+
This version works on Kubernetes grater or equal with `1.11`. The upgrade should be done on staging
37+
first because it's with downtime. It requires the deletion of the statefulset and recreation of it.
38+
The reason behind is that we changed the headless service name (which is an invariant statefulset
39+
field) to make it smaller that will prevent you from hitting this
40+
[bug](https://github.com/presslabs/mysql-operator/issues/170).
41+
42+
43+
The operator should do all the work for you but you have to make sure that you have the latest
44+
`0.2.x` version of the operator.
45+

0 commit comments

Comments
 (0)