Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions content/embeds/k8s/log_collector_role_all_mode.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,13 +170,6 @@ rules:
verbs:
- get
- list
- apiGroups:
- policy
resources:
- podsecuritypolicy
verbs:
- get
- list
- apiGroups:
- certificates.k8s.io
resources:
Expand Down
20 changes: 18 additions & 2 deletions content/embeds/k8s/openshift_rec.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,27 @@ metadata:
labels:
app: redis-enterprise
spec:
# Add fields here
# The number of Redis Enterprise nodes in the clusters.
nodes: 3

persistentSpec:
# Whether to enable persistent storage for the Redis Enterprise nodes.
enabled: true

# The size of the persistent volume for each Redis Enterprise node.
volumeSize: 20Gi

# The resources allocated to each Redis Enterprise node.
redisEnterpriseNodeResources:
requests:
cpu: 2
memory: 4Gi
limits:
cpu: 2
memory: 4Gi
redisEnterpriseImageSpec:
repository: registry.connect.redhat.com/redislabs/redis-enterprise
versionTag: 7.8.4-66.rhel8-openshift
versionTag: 7.8.6-13
redisEnterpriseServicesRiggerImageSpec:
repository: registry.connect.redhat.com/redislabs/services-manager
bootstrapperImageSpec:
Expand Down
22 changes: 2 additions & 20 deletions content/embeds/k8s/openshift_role.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,7 @@ rules:
- apiGroups:
- app.redislabs.com
resources:
- redisenterpriseclusters
- redisenterpriseclusters/status
- redisenterpriseclusters/finalizers
- redisenterprisedatabases
- redisenterprisedatabases/status
- redisenterprisedatabases/finalizers
- redisenterpriseremoteclusters
- redisenterpriseremoteclusters/status
- redisenterpriseremoteclusters/finalizers
- redisenterpriseactiveactivedatabases
- redisenterpriseactiveactivedatabases/status
- redisenterpriseactiveactivedatabases/finalizers
- "*"
verbs:
- delete
- get
Expand Down Expand Up @@ -93,6 +82,7 @@ rules:
- get
- list
- watch
- update
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -138,14 +128,6 @@ rules:
- create
- delete
- watch
- apiGroups:
- policy
resourceNames:
- redis-enterprise-psp
resources:
- podsecuritypolicies
verbs:
- use
- apiGroups:
- networking.k8s.io
resources:
Expand Down
3 changes: 2 additions & 1 deletion content/embeds/k8s/reaadb.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
apiVersion: app.redislabs.com/v1alpha1
kind: RedisEnterpriseActiveActiveDatabase
metadata:
name: reaadb-1
name: reaadb
labels:
app: redis-enterprise
spec:
participatingClusters:
# Participating cluster pointing to RERC named: 'new-york-1'.
- name: new-york-1

# Participating cluster pointing to RERC named: 'boston-1'.
- name: boston-1
```
18 changes: 17 additions & 1 deletion content/embeds/k8s/rec.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,22 @@ metadata:
labels:
app: redis-enterprise
spec:
# Add fields here
# The number of Redis Enterprise nodes in the clusters.
nodes: 3

persistentSpec:
# Whether to enable persistent storage for the Redis Enterprise nodes.
enabled: true

# The size of the persistent volume for each Redis Enterprise node.
volumeSize: 20Gi

# The resources allocated to each Redis Enterprise node.
redisEnterpriseNodeResources:
requests:
cpu: 2
memory: 4Gi
limits:
cpu: 2
memory: 4Gi
```
11 changes: 10 additions & 1 deletion content/embeds/k8s/redb.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@
apiVersion: app.redislabs.com/v1alpha1
kind: RedisEnterpriseDatabase
metadata:
name: redis-enterprise-database
name: redb
labels:
app: redis-enterprise
spec:
# Memory size of the database.
memorySize: 256MB

# Number of shards in the database.
shardCount: 1

# Determines whether replication will be enabled for the database.
replication: false
```
15 changes: 9 additions & 6 deletions content/embeds/k8s/rerc.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,24 @@
apiVersion: app.redislabs.com/v1alpha1
kind: RedisEnterpriseRemoteCluster
metadata:
# Your name of the RERC.
name: new-york-1
labels:
app: redis-enterprise
spec:
# The name of the REC that the RERC is pointing at
# The name of the REC that the RERC is pointing at.
recName: rec
# The Namespace of the REC that the RERC is pointing at

# The namespace of the REC that the RERC is pointing at.
recNamespace: ns1
# The URL of the cluster, will be used for the active-active database URL

# The URL of the cluster, will be used for the active-active database URL.
apiFqdnUrl: testapi-new-york-1-ns1.redislabs.com

# The database URL suffix, will be used for the active-active
# database replication endpoint and replication endpoint SNI
# database replication endpoint and replication endpoint SNI.
dbFqdnSuffix: -example-new-york-1-ns1.redislabs.com

# The name of the secret containing cluster credentials.
# Need to follow format: "redis-enterprise-<RERC name>"'
# Needs to be formatted as: "redis-enterprise-<RERC name>"
secretName: redis-enterprise-new-york-1
```
22 changes: 2 additions & 20 deletions content/embeds/k8s/role.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,7 @@ rules:
- apiGroups:
- app.redislabs.com
resources:
- redisenterpriseclusters
- redisenterpriseclusters/status
- redisenterpriseclusters/finalizers
- redisenterprisedatabases
- redisenterprisedatabases/status
- redisenterprisedatabases/finalizers
- redisenterpriseremoteclusters
- redisenterpriseremoteclusters/status
- redisenterpriseremoteclusters/finalizers
- redisenterpriseactiveactivedatabases
- redisenterpriseactiveactivedatabases/status
- redisenterpriseactiveactivedatabases/finalizers
- "*"
verbs:
- delete
- get
Expand Down Expand Up @@ -93,6 +82,7 @@ rules:
- get
- list
- watch
- update
- apiGroups:
- ""
resources:
Expand Down Expand Up @@ -138,14 +128,6 @@ rules:
- create
- delete
- watch
- apiGroups:
- policy
resourceNames:
- redis-enterprise-psp
resources:
- podsecuritypolicies
verbs:
- use
- apiGroups:
- networking.k8s.io
resources:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,13 @@ RedisEnterpriseActiveActiveDatabaseSpec defines the desired state of RedisEnterp
The name of the remote cluster CR to link.<br/>
</td>
<td>true</td>
</tr><tr>
<td>externalReplicationPort</td>
<td>integer</td>
<td>
The desired replication endpoint's port number for users who utilize LoadBalancers for sync between AA replicas and need to provide the specific port number that the LoadBalancer listens to.<br/>
</td>
<td>false</td>
</tr></tbody>
</table>

Expand Down Expand Up @@ -227,7 +234,7 @@ The Active-Active database global configurations, contains the global properties
<td><a href="#specglobalconfigurationsmoduleslist">modulesList</a></td>
<td>[]object</td>
<td>
List of modules associated with database. Note - For Active-Active databases this feature is currently in preview. For this feature to take effect for Active-Active databases, set a boolean environment variable with the name "ENABLE_ALPHA_FEATURES" to True. This variable can be set via the redis-enterprise-operator pod spec, or through the operator-environment-config Config Map.<br/>
List of modules associated with the database. The list of valid modules for the specific cluster can be retrieved from the status of the REC object. Use the "name" and "versions" fields for the specific module configuration. If specifying an explicit version for a module, automatic modules versions upgrade must be disabled by setting the '.upgradeSpec.upgradeModulesToLatest' field in the REC to 'false'. Note that the option to specify module versions is deprecated, and will be removed in future releases.<br/>
</td>
<td>false</td>
</tr><tr>
Expand Down Expand Up @@ -712,7 +719,7 @@ MountPointStorage
### spec.globalConfigurations.modulesList[]
<sup><sup>[↩ Parent](#specglobalconfigurations)</sup></sup>

Redis Enterprise Module: https://redislabs.com/redis-enterprise/modules/
Redis Enterprise module (see https://redis.io/docs/latest/develop/reference/modules/)

<table>
<thead>
Expand All @@ -727,28 +734,21 @@ Redis Enterprise Module: https://redislabs.com/redis-enterprise/modules/
<td>name</td>
<td>string</td>
<td>
The module's name e.g "ft" for redissearch<br/>
The name of the module, e.g. "search" or "ReJSON". The complete list of modules available in the cluster can be retrieved from the '.status.modules' field in the REC.<br/>
</td>
<td>true</td>
</tr><tr>
<td>config</td>
<td>string</td>
<td>
Module command line arguments e.g. VKEY_MAX_ENTITY_COUNT 30<br/>
</td>
<td>false</td>
</tr><tr>
<td>uid</td>
<td>string</td>
<td>
Module's uid - do not set, for system use only nolint:staticcheck // custom json tag unknown to the linter<br/>
Module command line arguments e.g. VKEY_MAX_ENTITY_COUNT 30 30<br/>
</td>
<td>false</td>
</tr><tr>
<td>version</td>
<td>string</td>
<td>
Module's semantic version e.g "1.6.12" - optional only in REDB, must be set in REAADB<br/>
The semantic version of the module, e.g. '1.6.12'. Optional for REDB, must be set for REAADB. Note that this field is deprecated, and will be removed in future releases.<br/>
</td>
<td>false</td>
</tr></tbody>
Expand Down Expand Up @@ -897,7 +897,7 @@ Specifications for DB upgrade.
<td>upgradeModulesToLatest</td>
<td>boolean</td>
<td>
Upgrades the modules to the latest version that supportes the DB version during a DB upgrade action, to upgrade the DB version view the 'redisVersion' field. Note - This field is currently not supported for Active-Active databases.<br/>
Upgrades the modules to the latest version that supports the DB version during a DB upgrade action, to upgrade the DB version view the 'redisVersion' field. Note - This field is currently not supported for Active-Active databases.<br/>
</td>
<td>true</td>
</tr></tbody>
Expand Down
Loading