Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
enisoc committed Nov 30, 2016
1 parent 945409c commit 80c8a89
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,10 @@ The script in the `init-mysql` container also applies either `master.cnf` or
Because the example topology consists of a single master and any number of
slaves, the script simply assigns ordinal `0` to be the master, and everyone
else to be slaves.
Combined with the StatefulSet controller's
[deployment order guarantee](/docs/concepts/controllers/statefulsets/#deployment-and-scaling-guarantee),
this ensures the master is Ready before creating slaves, so they can begin
replicating.

#### Cloning existing data

Expand Down Expand Up @@ -512,6 +516,11 @@ kubectl delete pvc data-mysql-4
kubectl delete configmap,service,pvc -l app=mysql
```
* If you manually provisioned PersistentVolumes, you will also need to manually
delete them. If you used a dynamic provisioner, it will automatically delete
the PersistentVolumes when it sees you have deleted the
PersistentVolumeClaims above.
{% endcapture %}
{% capture whatsnext %}
Expand Down

0 comments on commit 80c8a89

Please sign in to comment.