Skip to content

Commit b29886a

Browse files
feat(rdb): improve documentation about migrate (#2485)
Co-authored-by: Rémy Léone <rleone@scaleway.com>
1 parent 91badbf commit b29886a

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

cmd/scw/testdata/test-all-usage-redis-cluster-migrate-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
🎲🎲🎲 EXIT CODE: 0 🎲🎲🎲
22
🟥🟥🟥 STDERR️️ 🟥🟥🟥️
3-
Migrate a cluster.
3+
Upgrade your Database for Redis® cluster to a new version or scale it vertically / horizontally. Please note: scaling horizontally your Database for Redis® cluster will renew its TLS certificate.
44

55
USAGE:
66
scw redis cluster migrate <cluster-id ...> [arg=value ...]

cmd/scw/testdata/test-all-usage-redis-cluster-usage.golden

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ AVAILABLE COMMANDS:
1212
get-certificate Get the TLS certificate of a cluster
1313
list List clusters
1414
metrics Get metrics of a cluster
15-
migrate Migrate a cluster
15+
migrate Migrate your cluster architecture
1616
renew-certificate Renew the TLS certificate of a cluster
1717
update Update a cluster
1818

docs/commands/redis.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Managed Database for Redis™ API
1414
- [Get the TLS certificate of a cluster](#get-the-tls-certificate-of-a-cluster)
1515
- [List clusters](#list-clusters)
1616
- [Get metrics of a cluster](#get-metrics-of-a-cluster)
17-
- [Migrate a cluster](#migrate-a-cluster)
17+
- [Migrate your cluster architecture](#migrate-your-cluster-architecture)
1818
- [Renew the TLS certificate of a cluster](#renew-the-tls-certificate-of-a-cluster)
1919
- [Update a cluster](#update-a-cluster)
2020
- [Endpoints management commands](#endpoints-management-commands)
@@ -269,9 +269,9 @@ scw redis cluster metrics <cluster-id ...> [arg=value ...]
269269

270270

271271

272-
### Migrate a cluster
272+
### Migrate your cluster architecture
273273

274-
Migrate a cluster.
274+
Upgrade your Database for Redis® cluster to a new version or scale it vertically / horizontally. Please note: scaling horizontally your Database for Redis® cluster will renew its TLS certificate.
275275

276276
**Usage:**
277277

internal/namespaces/redis/v1alpha1/redis_cli.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,8 @@ func redisClusterList() *core.Command {
393393

394394
func redisClusterMigrate() *core.Command {
395395
return &core.Command{
396-
Short: `Migrate a cluster`,
397-
Long: `Migrate a cluster.`,
396+
Short: `Migrate your cluster architecture`,
397+
Long: `Upgrade your Database for Redis® cluster to a new version or scale it vertically / horizontally. Please note: scaling horizontally your Database for Redis® cluster will renew its TLS certificate.`,
398398
Namespace: "redis",
399399
Resource: "cluster",
400400
Verb: "migrate",

0 commit comments

Comments
 (0)