File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed
Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff 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
3231We use helm to deploy our application into Kubernetes, so we updated our charts to use the MySQL
3332operator to provide one cluster per application.
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ aliases: []
1313toc : 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
30306 . Now you can upgrade your nodes, as well.
31317 . 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+
You can’t perform that action at this time.
0 commit comments