Skip to content

Commit a12ec36

Browse files
committed
Merge branch 'main' into release-rs-fuya-fuya
2 parents 535f499 + ebf0fa5 commit a12ec36

29 files changed

+30447
-306
lines changed

.github/workflows/k8s_apis_sync.yaml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,22 +55,30 @@ jobs:
5555
crdoc --resources crds/reaadb_crd.yaml --output artifacts/redis_enterprise_active_active_database_api.md --template templates/template.tmpl
5656
sed -E -i 's/^### RedisEnterpriseActiveActiveDatabase\./### /g' artifacts/redis_enterprise_active_active_database_api.md
5757
sed -E -i 's/^<sup><sup>\[↩ Parent\]\(#redisenterpriseactiveactivedatabase/<sup><sup>\[↩ Parent\]\(#/g' artifacts/redis_enterprise_active_active_database_api.md
58-
sed -E -i 's/<td><b><a href="#redisenterpriseactiveactivedatabase/<td><b><a href="#/' artifacts/redis_enterprise_active_active_database_api.md
58+
sed -E -i 's/<td><a href="#redisenterpriseactiveactivedatabase/<td><a href="#/' artifacts/redis_enterprise_active_active_database_api.md
59+
sed -E -i 's/\[index\]/\[\]/g' artifacts/redis_enterprise_active_active_database_api.md
60+
awk '/(#[^")]+)index/ {gsub(/index/,"")}; {print}' artifacts/redis_enterprise_active_active_database_api.md > _tmp.md && mv _tmp.md artifacts/redis_enterprise_active_active_database_api.md
5961
6062
crdoc --resources crds/rec_crd.yaml --output artifacts/redis_enterprise_cluster_api.md --template templates/template.tmpl
6163
sed -E -i 's/^### RedisEnterpriseCluster\./### /g' artifacts/redis_enterprise_cluster_api.md
6264
sed -E -i 's/^<sup><sup>\[↩ Parent\]\(#redisenterprisecluster/<sup><sup>\[↩ Parent\]\(#/g' artifacts/redis_enterprise_cluster_api.md
63-
sed -E -i 's/<td><b><a href="#redisenterprisecluster/<td><b><a href="#/' artifacts/redis_enterprise_cluster_api.md
65+
sed -E -i 's/<td><a href="#redisenterprisecluster/<td><a href="#/' artifacts/redis_enterprise_cluster_api.md
66+
sed -E -i 's/\[index\]/\[\]/g' artifacts/redis_enterprise_cluster_api.md
67+
awk '/(#[^")]+)index/ {gsub(/index/,"")}; {print}' artifacts/redis_enterprise_cluster_api.md > _tmp.md && mv _tmp.md artifacts/redis_enterprise_cluster_api.md
6468
6569
crdoc --resources crds/redb_crd.yaml --output artifacts/redis_enterprise_database_api.md --template templates/template.tmpl
6670
sed -E -i 's/^### RedisEnterpriseDatabase\./### /g' artifacts/redis_enterprise_database_api.md
6771
sed -E -i 's/^<sup><sup>\[↩ Parent\]\(#redisenterprisedatabase/<sup><sup>\[↩ Parent\]\(#/g' artifacts/redis_enterprise_database_api.md
68-
sed -E -i 's/<td><b><a href="#redisenterprisedatabase/<td><b><a href="#/' artifacts/redis_enterprise_database_api.md
72+
sed -E -i 's/<td><a href="#redisenterprisedatabase/<td><a href="#/' artifacts/redis_enterprise_database_api.md
73+
sed -E -i 's/\[index\]/\[\]/g' artifacts/redis_enterprise_database_api.md
74+
awk '/(#[^")]+)index/ {gsub(/index/,"")}; {print}' artifacts/redis_enterprise_database_api.md > _tmp.md && mv _tmp.md artifacts/redis_enterprise_database_api.md
6975
70-
crdoc --resources crds/rerc_crd.yaml --output artifacts/redis_enterprise_remote_cluster.md --template templates/template.tmpl
71-
sed -E -i 's/^### RedisEnterpriseRemoteCluster\./### /g' artifacts/redis_enterprise_remote_cluster.md
72-
sed -E -i 's/^<sup><sup>\[↩ Parent\]\(#redisenterpriseremotecluster/<sup><sup>\[↩ Parent\]\(#/g' artifacts/redis_enterprise_remote_cluster.md
73-
sed -E -i 's/<td><b><a href="#redisenterpriseremotecluster/<td><b><a href="#/' artifacts/redis_enterprise_remote_cluster.md
76+
crdoc --resources crds/rerc_crd.yaml --output artifacts/redis_enterprise_remote_cluster_api.md --template templates/template.tmpl
77+
sed -E -i 's/^### RedisEnterpriseRemoteCluster\./### /g' artifacts/redis_enterprise_remote_cluster_api.md
78+
sed -E -i 's/^<sup><sup>\[↩ Parent\]\(#redisenterpriseremotecluster/<sup><sup>\[↩ Parent\]\(#/g' artifacts/redis_enterprise_remote_cluster_api.md
79+
sed -E -i 's/<td><a href="#redisenterpriseremotecluster/<td><a href="#/' artifacts/redis_enterprise_remote_cluster_api.md
80+
sed -E -i 's/\[index\]/\[\]/g' artifacts/redis_enterprise_remote_cluster_api.md
81+
awk '/(#[^")]+)index/ {gsub(/index/,"")}; {print}' artifacts/redis_enterprise_remote_cluster_api.md > _tmp.md && mv _tmp.md artifacts/redis_enterprise_remote_cluster_api.md
7482
7583
- name: 'Send pull request'
7684
env:
@@ -88,7 +96,7 @@ jobs:
8896
cp artifacts/redis_enterprise_active_active_database_api.md content/operate/kubernetes/reference/
8997
cp artifacts/redis_enterprise_cluster_api.md content/operate/kubernetes/reference/
9098
cp artifacts/redis_enterprise_database_api.md content/operate/kubernetes/reference/
91-
cp artifacts/redis_enterprise_remote_cluster.md content/operate/kubernetes/reference/
99+
cp artifacts/redis_enterprise_remote_cluster_api.md content/operate/kubernetes/reference/
92100
93101
git apply content/operate/kubernetes/reference/kubernetes-api-reference-frontmatter.patch
94102

content/apis/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ If you have installed Redis Enterprise Software, you can automate operations wit
6060

6161
If you need to install Redis Enterprise on Kubernetes, then you can use the [Redis Enterprise for Kubernetes Operators]({{< relref "/operate/Kubernetes/" >}}). You can find the resource definitions here:
6262

63-
- [Redis Enterprise Cluster API](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_cluster_api.md)
64-
- [Redis Enterprise Database API](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_database_api.md)
63+
- [Redis Enterprise Cluster API]({{<relref "/operate/kubernetes/reference/redis_enterprise_cluster_api">}})
64+
- [Redis Enterprise Database API]({{<relref "/operate/kubernetes/reference/redis_enterprise_database_api">}})

content/develop/data-types/hashes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ See the [complete list of hash commands]({{< relref "/commands/" >}}?group=hash)
101101
## Field expiration
102102

103103
New in Redis Community Edition 7.4 is the ability to specify an expiration time or a time-to-live (TTL) value for individual hash fields.
104-
This capability is comparable to [key expiration]({{< baseurl "/develop/use/keyspace" >}}#key-expiration") and includes a number of similar commands.
104+
This capability is comparable to [key expiration]({{< relref "/develop/use/keyspace#key-expiration" >}}) and includes a number of similar commands.
105105

106106
Use the following commands to set either an exact expiration time or a TTL value for specific fields:
107107

content/integrate/redis-data-integration/ingest/installation/_index.md

Lines changed: 73 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,78 @@ You must run the RDI installer as a privileged user because it installs
3434
[containerd](https://containerd.io/) and registers services. However, you don't
3535
need any special privileges to run RDI processes for normal operation.
3636

37-
### Hardware sizing
37+
The [K3s](https://k3s.io/) Kubernetes distribution used internally by RDI has a few
38+
requirements for cloud VMs that you must implement before running the
39+
RDI installer, or else installation will fail. The following sections
40+
give full pre-installation instructions for [RHEL](#k3s-rhel) and
41+
[Ubuntu](#k3s-ubuntu).
42+
43+
### RHEL {#k3s-rhel}
44+
45+
K3s recommends that you turn off
46+
[`firewalld`](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/8/html/configuring_and_managing_networking/using-and-configuring-firewalld_configuring-and-managing-networking)
47+
before installation using the command:
48+
49+
```bash
50+
systemctl disable firewalld --now
51+
```
52+
53+
However, if you do need to use `firewalld`, you must add the following rules:
54+
55+
```bash
56+
firewall-cmd --permanent --add-port=6443/tcp #apiserver
57+
firewall-cmd --permanent --zone=trusted --add-source=10.42.0.0/16 #pods
58+
firewall-cmd --permanent --zone=trusted --add-source=10.43.0.0/16 #services
59+
firewall-cmd --reload
60+
```
61+
62+
You may also need to open other ports if your setup requires them. See the K3s
63+
[Inbound rules](https://docs.k3s.io/installation/requirements?_highlight=red&_highlight=hat&os=rhel#inbound-rules-for-k3s-nodes)
64+
docs for more information. If you change the default CIDR for pods or services,
65+
you must update the firewall rules accordingly.
66+
67+
If you have `nm-cloud-setup.service` enabled, you must disable it and reboot the
68+
node with the following commands:
69+
70+
```bash
71+
systemctl disable nm-cloud-setup.service nm-cloud-setup.timer
72+
reboot
73+
```
74+
75+
See
76+
[Rancher support and maintenance terms](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/rancher-v2-8-6/)
77+
for more information about the OS versions that have been tested with
78+
Rancher-managed K3s clusters.
79+
80+
### Ubuntu {#k3s-ubuntu}
81+
82+
K3s recommends that you turn off
83+
[Uncomplicated Firewall](https://wiki.ubuntu.com/UncomplicatedFirewall) (`ufw`)
84+
before installation with the command:
85+
86+
```bash
87+
ufw disable
88+
```
89+
90+
However, if you do need to use `ufw`, you must add the following rules:
91+
92+
```bash
93+
ufw allow 6443/tcp #apiserver
94+
ufw allow from 10.42.0.0/16 to any #pods
95+
ufw allow from 10.43.0.0/16 to any #services
96+
```
97+
98+
You may also need to open other ports if your setup requires them. See the K3s
99+
[Inbound rules](https://docs.k3s.io/installation/requirements?_highlight=red&_highlight=hat&os=debian#inbound-rules-for-k3s-nodes)
100+
docs for more information. If you change the default CIDR for pods or services,
101+
you must update the firewall rules accordingly.
102+
103+
See
104+
[Rancher support and maintenance terms](https://www.suse.com/suse-rancher/support-matrix/all-supported-versions/rancher-v2-8-6/)
105+
for more information about the OS versions that have been tested with
106+
Rancher-managed K3s clusters.
107+
108+
## Hardware sizing
38109

39110
RDI is mainly CPU and network bound.
40111
Each of the RDI VMs should have:
@@ -46,7 +117,7 @@ Each of the RDI VMs should have:
46117
- Disk: 25GB of disk (this includes the OS footprint)
47118
- 10GB or more network interface
48119

49-
### Installation steps
120+
## Installation steps
50121

51122
Follow the steps below for each of your VMs:
52123

content/operate/kubernetes/active-active/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@ If you are using a preview version of these features (operator version 6.4.2-4 o
7575
7676
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.
7777
78-
For a full list of fields and options, see the [REAADB API reference](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_active_active_database_api.md).
78+
For a full list of fields and options, see the [REAADB API reference]({{<relref "/operate/kubernetes/reference/redis_enterprise_active_active_database_api">}}).
7979
8080
### RERC custom resource
8181
8282
Redis Enterprise remote cluster (RERC) custom resource contains configuration details for all the participating clusters.
8383
84-
For a full list of fields and options, see the [RERC API reference](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_remote_cluster_api.md).
84+
For a full list of fields and options, see the [RERC API reference]({{<relref "/operate/kubernetes/reference/redis_enterprise_remote_cluster_api">}}).
8585
8686
### Limitations
8787

content/operate/kubernetes/active-active/create-aa-crdb-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This process consists of:
2727
Before creating Active-Active databases, you'll need admin access to two or more working Kubernetes clusters that each have:
2828

2929
- Routing for external access with an [ingress resources]({{< relref "/operate/kubernetes/networking/ingress.md" >}}) (or [route resources]({{< relref "/operate/kubernetes/networking/routes.md" >}}) on OpenShift).
30-
- A working [Redis Enterprise cluster (REC)]({{< relref "/operate/kubernetes/reference/cluster-options.md" >}}) with a unique name.
30+
- A working [Redis Enterprise cluster (REC)]({{< relref "/operate/kubernetes/reference/redis_enterprise_cluster_api" >}}) with a unique name.
3131
- Enough memory resources available for the database (see [hardware requirements]({{< relref "/operate/rs/installing-upgrading/install/plan-deployment/hardware-requirements.md" >}})).
3232

3333
{{<note>}} The `activeActive` field and the `ingressOrRouteSpec` field cannot coexist in the same REC. If you configured your ingress via the `ingressOrRouteSpec` field in the REC, create your Active-Active database with the RedisEnterpriseActiveActiveDatabase (REAADB) custom resource.{{</note>}}

content/operate/kubernetes/active-active/create-reaadb.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ For a list of example values used throughout this article, see the [Example valu
6969
secretName: redis-enterprise-rerc-reagan
7070
```
7171

72-
For more details on RERC fields, see the [RERC API reference](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_remote_cluster_api.md).
72+
For more details on RERC fields, see the [RERC API reference]({{<relref "/operate/kubernetes/reference/redis_enterprise_remote_cluster_api">}}).
7373

7474
1. Create a Redis Enterprise remote cluster from each RERC custom resource file.
7575

@@ -123,7 +123,7 @@ For a list of example values used throughout this article, see the [Example valu
123123

124124
{{<note>}}Sharding is disabled on Active-Active databases created with a `shardCount` of 1. Sharding cannot be enabled after database creation. {{</note>}}
125125

126-
For more details on RERC fields, see the [RERC API reference](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_remote_cluster_api.md).
126+
For more details on RERC fields, see the [RERC API reference]({{<relref "/operate/kubernetes/reference/redis_enterprise_remote_cluster_api">}}).
127127

128128
1. Create a Redis Enterprise Active-Active database from the REAADB custom resource file.
129129

content/operate/kubernetes/active-active/edit-rerc.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ Before a RedisEnterpriseCluster (REC) can participate in an Active-Active databa
1616

1717
The RERC controller periodically connects to the local REC endpoint via its external address, to ensure it’s setup correctly. For this to work, the external load balancer must support [NAT hairpinning](https://en.wikipedia.org/wiki/Network_address_translation#NAT_loopback). In some cloud environments, this may involve disabling IP preservation for the load balancer target groups.
1818

19-
For more details, see the [RERC API reference](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_remote_cluster_api.md).
19+
For more details, see the [RERC API reference]({{<relref "/operate/kubernetes/reference/redis_enterprise_remote_cluster_api">}}).
2020

2121
## Edit RERC
2222

23-
Use the `kubectl patch rerc <rerc-name> --type merge --patch` command to patch the local RERC custom resource with your changes. For a full list of available fields, see the [RERC API reference](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_remote_cluster_api.md).
23+
Use the `kubectl patch rerc <rerc-name> --type merge --patch` command to patch the local RERC custom resource with your changes. For a full list of available fields, see the [RERC API reference]({{<relref "/operate/kubernetes/reference/redis_enterprise_remote_cluster_api">}}).
2424

2525
The following example edits the `dbFqdnSuffix` field for the RERC named `rerc-ohare`.
2626

content/operate/kubernetes/active-active/global-config.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ weight: 50
1414

1515
The Redis Enterprise Active-Active database (REAADB) custom resource contains the field `.spec.globalConfigurations`. This field sets configurations for the Active-Active database across all participating clusters, such as memory size, shard count, and the global database secrets.
1616

17-
The [REAADB API reference](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_active_active_database_api.md) contains a full list of available fields.
17+
The [REAADB API reference]({{<relref "/operate/kubernetes/reference/redis_enterprise_active_active_database_api">}}) contains a full list of available fields.
1818

1919
## Edit global configurations
2020

@@ -46,7 +46,7 @@ The [REAADB API reference](https://github.com/RedisLabs/redis-enterprise-k8s-doc
4646

4747
## Edit global configuration secrets
4848

49-
This section edits the secrets under the REAADB '.spec.globalConfigurations' section. For more information and all available fields, see the [REAADB API reference](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_active_active_database_api.md).
49+
This section edits the secrets under the REAADB `.spec.globalConfigurations` section. For more information and all available fields, see the [REAADB API reference]({{<relref "/operate/kubernetes/reference/redis_enterprise_active_active_database_api">}}).
5050

5151

5252
1. On an existing participating cluster, generate a YAML file containing the database secret with the relevant data.

content/operate/kubernetes/deployment/openshift/openshift-cli.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The Redis Enterprise pods must run in OpenShift with privileges set in a [Securi
105105

106106
1. Apply the `RedisEnterpriseCluster` resource file ([rec_rhel.yaml](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/openshift/rec_rhel.yaml)).
107107

108-
You can rename the file to `<your_cluster_name>.yaml`, but it is not required. Examples below use `<rec_rhel>.yaml`. [Options for Redis Enterprise clusters]({{< relref "/operate/kubernetes/reference/cluster-options.md" >}}) has more info about the Redis Enterprise cluster (REC) custom resource, or see the [Redis Enterprise cluster API](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_cluster_api.md) for a full list of options.
108+
You can rename the file to `<your_cluster_name>.yaml`, but it is not required. Examples below use `<rec_rhel>.yaml`. [Options for Redis Enterprise clusters]({{< relref "/operate/kubernetes/reference/redis_enterprise_cluster_api" >}}) has more info about the Redis Enterprise cluster (REC) custom resource, or see the [Redis Enterprise cluster API]({{<relref "/operate/kubernetes/reference/redis_enterprise_cluster_api">}}) for a full list of options.
109109

110110
The REC name cannot be changed after cluster creation.
111111

@@ -212,7 +212,7 @@ The operator uses the instructions in the Redis Enterprise database (REDB) custo
212212
213213
1. Create a `RedisEnterpriseDatabase` custom resource.
214214
215-
This example creates a test database. For production databases, see [creating a database]({{< relref "/operate/kubernetes/re-databases/db-controller.md#create-a-database" >}}) and [database options]({{< relref "/operate/kubernetes/reference/db-options.md" >}}).
215+
This example creates a test database. For production databases, see [create a database]({{< relref "/operate/kubernetes/re-databases/db-controller.md#create-a-database" >}}) and [RedisEnterpriseDatabase API reference]({{< relref "/operate/kubernetes/reference/redis_enterprise_database_api" >}}).
216216
217217
```bash
218218
cat << EOF > /tmp/redis-enterprise-database.yml
@@ -233,8 +233,6 @@ The operator uses the instructions in the Redis Enterprise database (REDB) custo
233233
234234
## More info
235235
236-
- [Options for Redis Enterprise clusters (REC)]({{< relref "/operate/kubernetes/reference/cluster-options.md" >}})
237-
- [Redis Enterprise cluster API](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_cluster_api.md)
238-
- [Options for Redis Enterprise databases (REDB)]({{< relref "/operate/kubernetes/reference/db-options.md" >}})
239-
- [Redis Enterprise database API](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/redis_enterprise_database_api.md)
236+
- [Redis Enterprise cluster API]({{<relref "/operate/kubernetes/reference/redis_enterprise_cluster_api">}})
237+
- [Redis Enterprise database API]({{<relref "/operate/kubernetes/reference/redis_enterprise_database_api">}})
240238

0 commit comments

Comments
 (0)