Skip to content

Commit eca7f75

Browse files
author
Tim Bannister
committed
Write “replica” rather than “slave”
Leave "slave" intact where this is a technical term / meaningful to the code.
1 parent 3740075 commit eca7f75

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

content/en/docs/tasks/run-application/run-replicated-stateful-application.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ kubectl apply -f https://k8s.io/examples/application/mysql/mysql-configmap.yaml
6969
```
7070

7171
This ConfigMap provides `my.cnf` overrides that let you independently control
72-
configuration on the primary MySQL server and replicas.
72+
configuration on the primary MySQL server and its replicas.
7373
In this case, you want the primary server to be able to serve replication logs to replicas
7474
and you want replicas to reject any writes that don't come via replication.
7575

@@ -418,8 +418,9 @@ kubectl uncordon <node-name>
418418

419419
## Scaling the number of replicas
420420

421-
With MySQL replication, you can scale your read query capacity by adding replicas.
422-
With StatefulSet, you can do this with a single command:
421+
When you use MySQL replication, you can scale your read query capacity by
422+
adding replicas.
423+
For a StatefulSet, you can achieve this with a single command:
423424

424425
```shell
425426
kubectl scale statefulset mysql --replicas=5

0 commit comments

Comments
 (0)