Skip to content

Commit 30c10f9

Browse files
kaitlynmichaelredisdocsapp[bot]github-actions[bot]andy-stark-redis
authored
K8s: X-Wing Release branch (#1412)
* 7.8.6 version_archiver * add version frontmatter helper * inject frontmatter url * update archive links * remove aliases from api frontmatter patch * add version banner * k8s api docs 7.22.0-6 (#1409) * k8s api docs 7.22.0-6 * remove alertSettings from REAADB --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Kaitlyn Michael <kaitlyn.michael@redis.com> * Update content/operate/kubernetes/7.8.6/_index.md Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com> * Update content/operate/kubernetes/7.8.6/active-active/_index.md Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com> * Update content/operate/kubernetes/7.8.6/active-active/create-aa-crdb-cli.md Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com> * Update content/operate/kubernetes/7.8.6/upgrade/openshift-cli.md Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com> * Update content/operate/kubernetes/7.8.6/active-active/_index.md Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com> * Update content/operate/kubernetes/7.8.6/upgrade/upgrade-olm.md Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com> * Update content/operate/kubernetes/7.8.6/upgrade/upgrade-redis-cluster.md Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com> * Update content/operate/kubernetes/7.8.6/active-active/global-config.md Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com> * update docs-nav * fix version banners * remove frontmatter script * fix banners * K8s: privileged mode (#1410) * enable privileged mode * copy edits * change SCC steps in install and upgrade * clean up old files * openshift upgrade remove scc * Apply suggestions from code review * K8s: X-Wing release notes (#1411) * typo * initial draft * RN edits * release notes * relref * copy edits * link to API reference * vanilla k8s * openshift * EKS * aks * gke * rancher * tkg * tkgi * spacing issue * update version numbers * call home client --------- Co-authored-by: redisdocsapp[bot] <177626021+redisdocsapp[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: andy-stark-redis <164213578+andy-stark-redis@users.noreply.github.com>
1 parent dfb1218 commit 30c10f9

File tree

80 files changed

+36711
-270
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+36711
-270
lines changed

content/operate/kubernetes/7.8.4/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ description: The Redis Enterprise operators allows you to use Redis Enterprise f
1010
hideListLinks: false
1111
linkTitle: 7.8.4
1212
weight: 50
13+
bannerText: This documentation applies to version 7.8.4. For documentation on the latest version, see [redis.io/docs/latest/operate/kubernetes/](https://redis.io/docs/latest/operate/kubernetes/).
14+
bannerChildren: true
1315
url: '/operate/kubernetes/7.8.4/'
1416
---
1517

content/operate/kubernetes/7.8.4/deployment/_index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ description: This section lists the different ways to set up and run Redis Enter
1111
hideListLinks: false
1212
linkTitle: Deployment
1313
weight: 11
14-
bannerText: This page applies to version [7.8.2-6 and above](https://redis.io/docs/latest/operate/kubernetes/release-notes/7-8-2-releases). To install older versions, see the [7.4.6 documentation](https://redis.io/docs/latest/operate/kubernetes/7.4.6/).
15-
bannerChildren: true
1614
url: '/operate/kubernetes/7.8.4/deployment/'
1715
---
1816

content/operate/kubernetes/7.8.4/upgrade/_index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ description: Information about upgrading your Redis Enterprise cluster on Kubern
99
hideListLinks: true
1010
linkTitle: Upgrade
1111
weight: 15
12-
bannerText: This page applies to version [7.8.2-6 and above](https://redis.io/docs/latest/operate/kubernetes/release-notes/7-8-2-releases). To install older versions, see the [7.4.6 documentation](https://redis.io/docs/latest/operate/kubernetes/7.4.6/).
13-
bannerChildren: true
1412
url: '/operate/kubernetes/7.8.4/upgrade/'
1513
---
1614

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
Title: Redis Enterprise for Kubernetes
3+
alwaysopen: false
4+
categories:
5+
- docs
6+
- operate
7+
- kubernetes
8+
description: The Redis Enterprise operator allows you to use Redis Enterprise for
9+
Kubernetes.
10+
hideListLinks: false
11+
linkTitle: 7.8.6
12+
weight: 50
13+
bannerText: This documentation applies to version 7.8.6. For documentation on the latest version, see [redis.io/docs/latest/operate/kubernetes/](https://redis.io/docs/latest/operate/kubernetes/).
14+
bannerChildren: true
15+
url: '/operate/kubernetes/7.8.6/'
16+
---
17+
18+
Kubernetes provides enterprise orchestration of containers and has been widely adopted. Redis Enterprise for Kubernetes provides a simple way to get a Redis Enterprise cluster on Kubernetes and enables more complex deployment scenarios.
19+
Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
---
2+
Title: Active-Active databases
3+
alwaysopen: false
4+
categories:
5+
- docs
6+
- operate
7+
- kubernetes
8+
description: Content related to Active-Active Redis Enterprise databases for Kubernetes.
9+
hideListLinks: true
10+
linkTitle: Active-Active databases
11+
weight: 40
12+
url: '/operate/kubernetes/7.8.6/active-active/'
13+
---
14+
15+
On Kubernetes, Redis Enterprise [Active-Active]({{< relref "/operate/rs/databases/active-active/" >}}) databases provide read and write access to the same dataset from different Kubernetes clusters.
16+
17+
## Active-Active setup methods
18+
19+
There are two methods for creating an Active-Active database with Redis Enterprise for Kubernetes:
20+
21+
- The `RedisEnterpriseActiveActiveDatabase` (REAADB) custom resource is available for versions 6.4.2 and later.
22+
- The `crdb-cli` method is available for versions 6.4.2 or earlier.
23+
24+
25+
We recommend creating new Active-Active databases using the RedisEnterpriseActiveActiveDatabase (REAADB) custom resource. This allows you to manage your Active-Active database with the operator and ensures you have the latest features and functionality.
26+
27+
### Active-Active controller method
28+
29+
Versions 6.4.2-6 or later fully support the Active-Active controller. Some of these features were available as a preview in 6.4.2-4 and 6.4.2-5. Upgrade to 6.4.2-6 for the full set of general availability features and bug fixes.
30+
31+
This setup method includes the following steps:
32+
33+
1. Gather REC credentials and [prepare participating clusters]({{< relref "/operate/kubernetes/7.8.6/active-active/prepare-clusters.md" >}}).
34+
2. Create [`RedisEnterpriseRemoteCluster` (RERC)]({{< relref "/operate/kubernetes/7.8.6/active-active/create-reaadb#create-rerc" >}}) resources.
35+
3. Create [`RedisEnterpriseActiveActiveDatabase` (REAADB)]({{< relref "/operate/kubernetes/7.8.6/active-active/create-reaadb#create-reaadb" >}}) resource.
36+
37+
### `crdb-cli` method
38+
39+
For versions 6.4.2 or earlier, this Active-Active setup method includes the following steps:
40+
41+
1. Install and configure an ingress.
42+
2. Gather configuration details.
43+
3. Add the `ActiveActive` field to the REC spec.
44+
4. Create the database with the `crdb-cli` tool.
45+
46+
## Redis Enterprise Active-Active controller for Kubernetes
47+
48+
{{<note>}}These features are supported for general availability in releases 6.4.2-6 and later.{{</note>}}
49+
50+
[Active-Active]({{< relref "/operate/rs/databases/active-active/" >}}) databases give you read-and-write access to Redis Enterprise clusters (REC) in different Kubernetes clusters or namespaces. Active-Active deployments managed by the Redis Enterprise operator require two additional custom resources: Redis Enterprise Active-Active database (REAADB) and Redis Enterprise remote cluster (RERC).
51+
52+
To create an Active-Active Redis Enterprise deployment for Kubernetes with these new features, first [prepare participating clusters]({{< relref "/operate/kubernetes/7.8.6/active-active/prepare-clusters.md" >}}) then [create an Active-Active database]({{< relref "/operate/kubernetes/7.8.6/active-active/create-reaadb.md" >}}).
53+
54+
### Preview versions
55+
56+
If you are using a preview version of these features (operator version 6.4.2-4 or 6.4.2-5), you'll need to enable the Active-Active controller with the following steps. You need to do this only once per cluster. We recommend using the fully supported 6.4.2-6 version.
57+
58+
1. Download the custom resource definitions (CRDs) for the most recent release (6.4.2-4) from [redis-enterprise-k8s-docs Github](https://github.com/RedisLabs/redis-enterprise-k8s-docs/tree/master/crds).
59+
60+
1. Apply the new CRDs for the Redis Enterprise Active-Active database (REAADB) and Redis Enterprise remote cluster (RERC) to install those controllers.
61+
62+
```sh
63+
kubectl apply -f crds/reaadb_crd.yaml
64+
kubectl apply -f crds/rerc_crd.yaml
65+
```
66+
67+
1. Enable the Active-Active and remote cluster controllers on the operator ConfigMap.
68+
69+
```sh
70+
kubectl patch cm operator-environment-config --type merge --patch "{\"data\": \
71+
{\"ACTIVE_ACTIVE_DATABASE_CONTROLLER_ENABLED\":\"true\", \
72+
\"REMOTE_CLUSTER_CONTROLLER_ENABLED\":\"true\"}}"
73+
74+
75+
### REAADB custom resource
76+
77+
Redis Enterprise Active-Active database (REAADB) contains a link to the RERC for each participating cluster, and provides configuration and status to the management plane.
78+
79+
For a full list of fields and options, see the [REAADB API reference]({{<relref "/operate/kubernetes/7.8.6/reference/redis_enterprise_active_active_database_api">}}).
80+
81+
### RERC custom resource
82+
83+
Redis Enterprise remote cluster (RERC) custom resource contains configuration details for all the participating clusters.
84+
85+
For a full list of fields and options, see the [RERC API reference]({{<relref "/operate/kubernetes/7.8.6/reference/redis_enterprise_remote_cluster_api">}}).
86+
87+
### Limitations
88+
89+
* Existing Redis databases cannot be migrated to a REAADB. (DOC-3594)
90+
* Admission is not blocking REAADB with `shardCount` which exceeds license quota. (RED-96301)
91+
Workaround: Fix the problems with the REAADB and reapply.
92+
* The `<rec-name>/<rec-namespace>` value must be unique for each RERC resource. (RED-96302)
93+
* Only global database options are supported, no support for specifying configuration per location.
94+
* No support for migration from old (`crdb-cli`) Active-Active database method to new Active-Active controller.
95+
* No support for REAADB with participating clusters co-located within the same Kubernetes cluster, except for a single designated local participating cluster.
96+
97+
## More information
98+
99+
For more general information about Active-Active, see the [Redis Enterprise Software docs]({{< relref "/operate/rs/databases/active-active/" >}}).

0 commit comments

Comments
 (0)