Skip to content

Commit 53a888a

Browse files
committed
review2
Signed-off-by: Bonusree <[email protected]>
1 parent 980c87f commit 53a888a

File tree

7 files changed

+23
-54
lines changed

7 files changed

+23
-54
lines changed

docs/guides/mariadb/restart/restart.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ spec:
8484
- The `spec.apply` field determines whether the operation should always be applied (Always) or only when there are changes (IfReady).
8585

8686

87-
> Note: The method of restarting the standalone & cluster mode db is exactly same as above. All you need, is to specify the corresponding Postgres name in `spec.databaseRef.name` section.
87+
> Note: The method of restarting the standalone & cluster mode db is exactly same as above. All you need, is to specify the corresponding MairiDB name in `spec.databaseRef.name` section.
8888

89-
Let's create the `PostgresOpsRequest` CR we have shown above,
89+
Let's create the `MariaDBOpsRequest` CR we have shown above,
9090

9191

9292
```bash
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
---
2-
title: PerconaXtraDB failover
2+
title: PerconaXtraDB Failover
33
menu:
44
docs_{{ .version }}:
5-
identifier: guides-perconaxtradb-failover
5+
identifier: guides-perconaxtradb-Failover
66
name: Failover and Disaster Recovery
77
parent: guides-perconaxtradb
88
weight: 46
99
menu_name: docs_{{ .version }}
10-
section_menu_id: guides
11-
---
10+
---

docs/guides/percona-xtradb/failover/overview.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
---
2-
title: PerconaXtraDB Failover and DR Scenarios
2+
title: PerconaXtraDB Failover Overview
3+
description: PerconaXtraDB Failover Overview
34
menu:
4-
docs_{{ .version }}:
5-
identifier: guides-perconaxtradb-failure-and-disaster-recovery-overview
6-
name: Overview
7-
parent: guides-perconaxtradb-failover
8-
weight: 20
5+
docs_{{ .version }}:
6+
identifier: guides-perconaxtradb-Failover-overview
7+
name: Overview
8+
parent: guides-perconaxtradb-Failover
9+
weight: 10
910
menu_name: docs_{{ .version }}
1011
section_menu_id: guides
1112
---

docs/guides/percona-xtradb/restart/index.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
---
2-
title: PerconaXtraDB Restart
2+
title: Restart PerconaXtraDB
33
menu:
44
docs_{{ .version }}:
5-
identifier: guides-perconaxtradb-restart
5+
identifier: guides-perconaxtradb-Restart
66
name: Restart
77
parent: guides-perconaxtradb
88
weight: 47
99
menu_name: docs_{{ .version }}
1010
section_menu_id: guides
1111
---
12-
1312
> New to KubeDB? Please start [here](/docs/README.md).
1413
1514
# Restart PerconaXtraDB

docs/guides/proxysql/restart/index.md

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,7 @@ spec:
127127
- `spec.type` specifies the type of operation (Restart in this case).
128128

129129
- `spec.proxyRef` references the ProxySQL database. The OpsRequest must be created in the same namespace as the database.
130-
131-
- `spec.timeout` the maximum time the operator will wait for the operation to finish before marking it as failed.
132-
133-
- `spec.apply` determines whether to always apply the operation (Always) or only if there are changes (IfReady).
134-
130+
> For details on the fields of ProxySQLOpsRequest, please visit to the [ProxySQLOpsRequest API reference](/docs/guides/proxysql/concepts/opsrequest/index.md)
135131

136132
Let's create the `ProxySQLOpsRequest` CR we have shown above,
137133

@@ -260,22 +256,7 @@ status:
260256
phase: Successful
261257
262258
```
263-
**Verify Data Persistence**
264259

265-
After the restart, reconnect to the database and verify that the previously created database still exists:
266-
267-
```bash
268-
$ kubectl exec -it -n demo mysql-proxy-0 -- bash
269-
270-
proxysql@mysql-proxy-0:/$ mysql -uadmin -padmin -h127.0.0.1 -P6032 --prompt="ProxySQLAdmin > "
271-
Welcome to the MariaDB monitor. Commands end with ; or \g.
272-
Your MySQL connection id is 120
273-
Server version: 8.0.27 (ProxySQL Admin Module)
274-
275-
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
276-
277-
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
278-
```
279260
## Cleaning up
280261

281262
To clean up the Kubernetes resources created by this tutorial, run:
@@ -290,5 +271,5 @@ kubectl delete ns demo
290271
## Next Steps
291272

292273
- Detail concepts of [ProxySQL object](/docs/guides/proxysql/concepts/proxysql/index.md).
293-
- Detail concepts of [ProxySQL object](/docs/guides/proxysql/concepts/opsrequest/index.md).
274+
- Detail concepts of [ProxySQLOpsRequest object](/docs/guides/proxysql/concepts/opsrequest/index.md).
294275
- Want to hack on KubeDB? Check our [contribution guidelines](/docs/CONTRIBUTING.md)..

docs/guides/redis/restart/_index.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

docs/guides/redis/restart/restart.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
---
2-
title: Restart Redis Overview
2+
title: Restart Redis
33
menu:
44
docs_{{ .version }}:
5-
identifier: rd-restart-overview
6-
name: Restart Redis
7-
parent: rd-restart
8-
weight: 10
5+
identifier: rd-restart-redis
6+
name: Restart
7+
parent: rd-redis-guides
8+
weight: 50
99
menu_name: docs_{{ .version }}
1010
section_menu_id: guides
1111
---
1212

1313
> New to KubeDB? Please start [here](/docs/README.md).
1414
15-
# Restart Redis
15+
# Overview
1616

17-
KubeDB supports restarting a Redis database via a `RedisOpsRequest`. Restarting is useful if some pods are stuck in an unexpected state or are not functioning correctly. This tutorial will guide you through the process of restarting a Redis cluster using KubeDB.
17+
KubeDB supports restarting a Redis/Valkey database via a `RedisOpsRequest`. Restarting is useful if some pods are stuck in an unexpected state or are not functioning correctly. This tutorial will guide you through the process of restarting a Redis cluster using KubeDB.
1818

1919
## Before You Begin
2020

0 commit comments

Comments
 (0)