Skip to content

Commit b5e151f

Browse files
committed
Optimize the recent content based on the comments.
1 parent 2d7ea0d commit b5e151f

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

CN/modules/ROOT/pages/master/4.6.1.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ ivorysql=# show ivorysql.compatible_mode;
9090

9191
卸载单机容器
9292
```
93-
[root@k8s-master single]# kubectl delete-f statefulset.yaml
93+
[root@k8s-master single]# kubectl delete -f statefulset.yaml
9494
```
9595

9696
== 高可用集群
@@ -108,7 +108,7 @@ ivorysql=# show ivorysql.compatible_mode;
108108
进入高可用集群目录
109109
```
110110
[root@k8s-master ~]# cd docker_library/k8s-cluster/ha-cluster/helm_charts
111-
[root@k8s-master single]# vim values.yaml #根据个人环境自行values.yaml中的pvc信息及集群规模等信息,数据库密码查看templates/secret.yaml并自行修改。
111+
[root@k8s-master single]# vim values.yaml #根据个人环境自行修改values.yaml中的pvc信息及集群规模等信息,数据库密码查看templates/secret.yaml并自行修改。
112112
```
113113

114114
使用 https://helm.sh/docs/intro/install/[Helm] 命令部署高可用集群
@@ -135,7 +135,7 @@ NAME READY AGE
135135
statefulset.apps/ivorysql-patroni-hac 1/3 42s
136136
```
137137

138-
等待所有pod均运行成功,集群部署成功
138+
等待所有 Pod 进入“Running”(运行中)状态,即表示集群已部署成功。
139139
```
140140
[root@k8s-master helm_charts]# kubectl get all -n ivorysql
141141
NAME READY STATUS RESTARTS AGE

EN/modules/ROOT/nav.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
** xref:master/4.2.adoc[Cluster]
1111
** xref:master/4.5.adoc[Migration]
1212
** xref:master/4.3.adoc[Developer]
13-
** 容器化指南
13+
** Containerization
1414
*** xref:master/4.6.1.adoc[K8S deployment]
1515
*** xref:master/4.6.2.adoc[Operator deployment]
1616
*** xref:master/4.6.3.adoc[Docker Swarm & Docker Compose deployment]

EN/modules/ROOT/pages/master/4.6.1.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Download the latest docker_library code.
1818
Enter the single-node directory
1919
```
2020
[root@k8s-master ~]# cd docker_library/k8s-cluster/single
21-
[root@k8s-master single]# vim statefulset.yaml #Modify the PVC information and database password in the StatefulSet according to your personal environment.
21+
[root@k8s-master single]# vim statefulset.yaml #Update the PVC information and database password in the StatefulSet to match your actual environment.
2222
```
2323

2424
Use statefulset.yaml to create a single-node pod.
@@ -50,7 +50,7 @@ NAME READY AGE
5050
statefulset.apps/ivorysql 1/1 2m39s
5151
```
5252

53-
Connect to IvorySQL's PostgreSQL Port Using psql
53+
Connect to IvorySQL via its PostgreSQL port using the psql
5454
```
5555
[root@k8s-master single]# psql -U ivorysql -p 32106 -h 127.0.0.1 -d ivorysql
5656
Password for user ivorysql:
@@ -70,7 +70,7 @@ ivorysql=# show ivorysql.compatible_mode;
7070
ivorysql=# exit
7171
```
7272

73-
Connecting to IvorySQL's Oracle-Compatible Port Using psqlConnecting to IvorySQL's Oracle-Compatible Port Using psql
73+
Connect to IvorySQL's Oracle-compatible port using psql.
7474
```
7575
[root@k8s-master single]# psql -U ivorysql -p 31887 -h 127.0.0.1 -d ivorysql
7676
Password for user ivorysql:
@@ -90,7 +90,7 @@ ivorysql=# show ivorysql.compatible_mode;
9090

9191
Uninstall Single-node container
9292
```
93-
[root@k8s-master single]# kubectl delete-f statefulset.yaml
93+
[root@k8s-master single]# kubectl delete -f statefulset.yaml
9494
```
9595

9696
== High Availability Cluster

0 commit comments

Comments
 (0)