You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/operate/kubernetes/re-databases/replica-redb.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,19 +11,19 @@ weight: 42
11
11
---
12
12
13
13
You can configure a replica of a database by creating an item in
14
-
the `replicaSources` section of the [Redis Enterprise database specification](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_database_api.md#redisenterprisedatabasespec). The value of
15
-
`replicaSourceType` must be 'SECRET'; `replicaSourceName`
16
-
must be the name of a secret that contains the replica source url.
14
+
the [`replicaSources`](/operate/kubernetes/reference/redis_enterprise_database_api#specreplicasources) section of the RedisEnterpriseDatabase (REDB) custom resource.
17
15
18
-
A secret must be created using a `stringData` section containing the replica source URI as follows:
16
+
A secret must be created with the `stringData` section containing the replica source URI as follows:
17
+
18
+
Create a secret with the replica source URI listed in the `stringData` field as follows:
19
19
20
20
```yaml
21
21
apiVersion: v1
22
22
kind: Secret
23
23
metadata:
24
24
name: my-replica-source
25
25
stringData:
26
-
uri: replica-source-uri-goes-here
26
+
uri: <replica-source-uri-goes-here>
27
27
```
28
28
29
29
The replica source URL can be retrieved by going to "UI > database > configuration > Press the button Get Replica of source URL"
0 commit comments