Skip to content

Commit 2f96ffd

Browse files
consistent indentation
1 parent a9b32ea commit 2f96ffd

File tree

2 files changed

+35
-33
lines changed

2 files changed

+35
-33
lines changed

content/operate/kubernetes/deployment/quick-start.md

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ To deploy Redis Enterprise Software for Kubernetes and start your Redis Enterpri
1919

2020
This guide works with most supported Kubernetes distributions. If you're using OpenShift, see [Redis Enterprise on OpenShift]({{< relref "/operate/kubernetes/deployment/openshift" >}}). For details on what is currently supported, see [supported distributions]({{< relref "/operate/kubernetes/reference/supported_k8s_distributions.md" >}}).
2121

22-
2322
## Prerequisites
2423

2524
To deploy Redis Enterprise for Kubernetes, you'll need:
@@ -37,15 +36,15 @@ Throughout this guide, each command is applied to the namespace in which the Red
3736

3837
1. Create a new namespace
3938

40-
```sh
41-
kubectl create namespace <rec-namespace>
42-
```
39+
```sh
40+
kubectl create namespace <rec-namespace>
41+
```
4342

44-
2. Change the namespace context to make the newly created namespace default for future commands.
43+
1. Change the namespace context to make the newly created namespace default for future commands.
4544

46-
```sh
47-
kubectl config set-context --current --namespace=<rec-namespace>
48-
```
45+
```sh
46+
kubectl config set-context --current --namespace=<rec-namespace>
47+
```
4948

5049
You can use an existing namespace as long as it does not contain any existing Redis Enterprise cluster resources. It's best practice to create a new namespace to make sure there are no Redis Enterprise resources that could interfere with the deployment.
5150

@@ -115,7 +114,10 @@ that contains cluster specifications.
115114
The following example creates a minimal Redis Enterprise cluster. See the [RedisEnterpriseCluster API reference]({{<relref "/operate/kubernetes/reference/redis_enterprise_cluster_api">}}) for more information on the various options available.
116115

117116
1. Create a file that defines a Redis Enterprise cluster with three nodes.
118-
{{<note>}} The REC name (`my-rec` in this example) cannot be changed after cluster creation.{{</note>}}
117+
118+
{{<note>}}
119+
The REC name (`my-rec` in this example) cannot be changed after cluster creation.
120+
{{</note>}}
119121

120122
```sh
121123
cat <<EOF > my-rec.yaml
@@ -152,28 +154,28 @@ The following example creates a minimal Redis Enterprise cluster. See the [Redis
152154
153155
1. Apply your custom resource file in the same namespace as `my-rec.yaml`.
154156
155-
```sh
156-
kubectl apply -f my-rec.yaml
157-
```
157+
```sh
158+
kubectl apply -f my-rec.yaml
159+
```
158160
159-
You should see a result similar to this:
161+
You should see a result similar to this:
160162
161-
```sh
162-
redisenterprisecluster.app.redislabs.com/my-rec created
163-
```
163+
```sh
164+
redisenterprisecluster.app.redislabs.com/my-rec created
165+
```
164166
165167
1. You can verify the creation of the cluster with:
166168
167-
```sh
168-
kubectl get rec
169-
```
169+
```sh
170+
kubectl get rec
171+
```
170172
171173
You should see a result similar to this:
172174
173-
```sh
174-
NAME AGE
175-
my-rec 1m
176-
```
175+
```sh
176+
NAME AGE
177+
my-rec 1m
178+
```
177179
178180
At this point, the operator will go through the process of creating various
179181
services and pod deployments.

content/operate/kubernetes/upgrade/upgrade-redis-cluster.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ weight: 10
1414
Redis implements rolling updates for software upgrades in Kubernetes deployments. The upgrade process includes updating three components:
1515

1616
1. [Upgrade the Redis Enterprise operator](#upgrade-the-operator)
17-
2. [Upgrade the Redis Enterprise cluster (REC)](#upgrade-the-redis-enterprise-cluster-rec)
18-
3. [Upgrade Redis Enterprise databases (REDB)](#upgrade-databases)
17+
1. [Upgrade the Redis Enterprise cluster (REC)](#upgrade-the-redis-enterprise-cluster-rec)
18+
1. [Upgrade Redis Enterprise databases (REDB)](#upgrade-databases)
1919

20-
## Prerequisite
20+
## Prerequisites
2121

2222
1. Check [Supported Kubernetes distributions]({{< relref "/operate/kubernetes/reference/supported_k8s_distributions" >}}) to make sure your Kubernetes distribution is supported.
2323

24-
2. Use `kubectl get rec` and verify the `LICENSE STATE` is valid on your REC before you start the upgrade process.
24+
1. Use `kubectl get rec` and verify the `LICENSE STATE` is valid on your REC before you start the upgrade process.
2525

26-
3. Verify you are upgrading from Redis Enterprise operator version 6.2.10-45 or later. If you are not, you must upgrade to 6.2.10-45 before upgrading to versions 6.2.18 or later.
26+
1. Verify you are upgrading from Redis Enterprise operator version 6.2.10-45 or later. If you are not, you must upgrade to 6.2.10-45 before upgrading to versions 6.2.18 or later.
2727

2828
{{<warning>}}**Upgrade cluster operating system** If your databases use modules, you need to update all nodes in the cluster to Redis Enterprise 7.2.4 or later before upgrading your operating system. See [Upgrade a cluster's operating system]({{< relref "/operate/rs/installing-upgrading/upgrading/upgrade-os" >}})in the Redis Enterprise Software documentation for more details.{{</warning>}}
2929

@@ -96,8 +96,8 @@ redis-enterprise-operator 1/1 1 1 0m36s
9696
```
9797

9898
{{< warning >}}
99-
We recommend upgrading the REC as soon as possible after updating the operator. After the operator upgrade completes, the operator suspends the management of the REC and its associated REDBs, until the REC upgrade completes.
100-
{{< /warning >}}
99+
We recommend upgrading the REC as soon as possible after updating the operator. After the operator upgrade completes, the operator suspends the management of the REC and its associated REDBs, until the REC upgrade completes.
100+
{{< /warning >}}
101101

102102
## Upgrade the Redis Enterprise cluster (REC)
103103

@@ -115,8 +115,9 @@ After the operator upgrade is complete, you can upgrade Redis Enterprise cluster
115115

116116
### Upgrade an REC with an Active-Active database
117117

118-
- We recommend upgrading all participating clusters to the same operator version.
119-
- If you are upgrading from a preview version of the Active-Active controller, you can remove the following environment variables: `ACTIVE_ACTIVE_DATABASE_CONTROLLER_ENABLED`, `REMOTE_CLUSTER_CONTROLLER_ENABLED`, and `ENABLE_ALPHA_FEATURES`.
118+
We recommend upgrading all participating clusters to the same operator version.
119+
120+
If you are upgrading from a preview version of the Active-Active controller, you can remove the following environment variables: `ACTIVE_ACTIVE_DATABASE_CONTROLLER_ENABLED`, `REMOTE_CLUSTER_CONTROLLER_ENABLED`, and `ENABLE_ALPHA_FEATURES`.
120121

121122
### Edit `redisEnterpriseImageSpec` in the REC spec
122123

@@ -171,4 +172,3 @@ For more details on how to [upgrade a database]({{< relref "/operate/rs/installi
171172
For Active-Active databases, see [Upgrade an Active-Active database]({{<relref "/operate/rs/installing-upgrading/upgrading/upgrade-active-active">}}).
172173
173174
Note that if your cluster [`redisUpgradePolicy`]({{< relref "/operate/kubernetes/reference/redis_enterprise_cluster_api#redisupgradepolicy" >}}) or your database [`redisVersion`]({{< relref "/operate/kubernetes/reference/redis_enterprise_database_api#redisversion" >}}) are set to `major`, you won't be able to upgrade those databases to minor versions. See [Redis upgrade policy]({{< relref "/operate/rs/installing-upgrading/upgrading#redis-upgrade-policy" >}}) for more details.
174-

0 commit comments

Comments
 (0)