Skip to content

Commit 3a62537

Browse files
K8s: fix quotation marks (#2076)
* fix quotation marks * closing quotes corrections
1 parent 46f634d commit 3a62537

File tree

26 files changed

+85
-85
lines changed

26 files changed

+85
-85
lines changed

content/operate/kubernetes/7.4.6/architecture/operator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ resources
5050
- Logging events
5151
- Enabling a simple mechanism for editing the Cluster spec
5252

53-
The Redis Enterprise operator functions as the logic glue between the
53+
The Redis Enterprise operator functions as the logic "glue" between the
5454
K8s infrastructure and the Redis Enterprise Cluster.
5555

5656
The operator creates the following resources:

content/operate/kubernetes/7.4.6/deployment/openshift/old-index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Prerequisites:
3838

3939
{{< image filename="/images/rs/getting-started-kubernetes-openshift-image1.png" >}}
4040

41-
- Click on admin (upper right corner) and then Copy Login.
41+
- Click on "admin" (upper right corner) and then "Copy Login."
4242

4343
{{< image filename="/images/rs/getting-started-kubernetes-openshift-image4.png" >}}
4444

@@ -89,7 +89,7 @@ Let’s look at each yaml file to see what requires editing:
8989
You should receive the following response:
9090

9191
```sh
92-
securitycontextconstraints.security.openshift.io redis-enterprise-scc configured
92+
securitycontextconstraints.security.openshift.io "redis-enterprise-scc" configured
9393
```
9494

9595
Now you need to bind the scc to your project by typing:
@@ -98,7 +98,7 @@ Let’s look at each yaml file to see what requires editing:
9898
oc adm policy add-scc-to-group redis-enterprise-scc system:serviceaccounts:your_project_name
9999
```
100100

101-
(If you do not remember your project name, run oc project)
101+
(If you do not remember your project name, run "oc project")
102102

103103
- [openshift.bundle.yaml](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/openshift.bundle.yaml) -
104104

@@ -215,15 +215,15 @@ Now, run `kubectl get deployment` and verify that your redis-enterprise-operator
215215

216216
This yaml can be edited to the required use case, however, the sample provided can be used for test/dev and quick start purposes. Here are the main fields you may review and edit:
217217

218-
- name: your_cluster_name (e.g. demo-cluster)
218+
- name: "your_cluster_name" (e.g. "demo-cluster")
219219
- nodes: number_of_nodes_in_the_cluster (Must be an uneven number of at least 3 or greater—[here’s why](https://redislabs.com/redis-enterprise/technology/highly-available-redis/))
220220
- uiServiceType: service_type
221221

222222
Service type value can be either ClusterIP or LoadBalancer. This is an optional configuration based on [k8s service types](https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/). The default is ClusterIP.
223223

224-
- storageClassName: <span style="color: #ff0000;">gp2</span>
224+
- storageClassName: "<span style="color: #ff0000;">gp2</span>"
225225

226-
This specifies the [StorageClass](https://kubernetes.io/docs/concepts/storage/storage-classes/) used for your nodes’ persistent disks. For example, AWS uses gp2 as a default, GKE uses standard and Azure uses "default").
226+
This specifies the [StorageClass](https://kubernetes.io/docs/concepts/storage/storage-classes/) used for your nodes’ persistent disks. For example, AWS uses "gp2" as a default, GKE uses "standard" and Azure uses "default").
227227

228228
- redisEnterpriseNodeResources: The [compute resources](https://docs.openshift.com/enterprise/3.2/dev_guide/compute_resources.html#dev-compute-resources) required for each node.
229229
- limits – specifies the max resources for a Redis node
@@ -233,11 +233,11 @@ Now, run `kubectl get deployment` and verify that your redis-enterprise-operator
233233

234234
```sh
235235
limits
236-
cpu: 4000m
236+
cpu: "4000m"
237237
memory: 4Gi
238238
requests
239239
240-
cpu: 4000m
240+
cpu: "4000m"
241241
memory: 4Gi
242242
```
243243

@@ -250,10 +250,10 @@ Resource limits should equal requests ([Learn why](https://github.com/RedisLabs/
250250
- serviceBrokerSpec –
251251
- enabled: \<false/true\>
252252

253-
This specifies [persistence](https://redislabs.com/redis-features/persistence) for the Service Broker with an enabled/disabled flag. The default is false.
253+
This specifies [persistence](https://redislabs.com/redis-features/persistence) for the Service Broker with an "enabled/disabled" flag. The default is "false."
254254

255255
persistentSpec:
256-
storageClassName: gp2
256+
storageClassName: "gp2"
257257

258258
- redisEnterpriseImageSpec: This configuration controls the Redis Enterprise version used, and where it is fetched from. This is an optional field. The Operator will automatically use the matching RHEL image version for the release.
259259

@@ -272,7 +272,7 @@ Once you have your_cluster_name yaml set, you need to apply it to create your Re
272272
kubectl apply -f your_cluster_name.yaml
273273
```
274274

275-
Run kubectl get rec and verify that creation was successful (rec is a shortcut for RedisEnterpriseClusters).
275+
Run kubectl get rec and verify that creation was successful (rec is a shortcut for "RedisEnterpriseClusters").
276276

277277
You should receive a response similar to the following:
278278

@@ -325,7 +325,7 @@ In order to create your database, we will log in to the Redis Enterprise UI.
325325
{{< image filename="/images/rs/getting-started-kubernetes-openshift-image5.png" >}}
326326

327327
- In order to retrieve your password, navigate to the OpenShift management console, select your project name, go to Resources-\>Secrets-\>your_cluster_name
328-
- Retrieve your password by selecting Reveal Secret.
328+
- Retrieve your password by selecting "Reveal Secret."
329329

330330
{{< warning >}}
331331
Do not change the default admin user password in the Redis Enterprise admin console.

content/operate/kubernetes/7.4.6/faqs/_index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ metadata:
113113
kind: RedisEnterpriseCluster
114114
name: test
115115
uid: 8b247469-c715-11e8-a5d5-0a778671fc2e
116-
resourceVersion: 911969
116+
resourceVersion: "911969"
117117
selfLink: /api/v1/namespaces/redis/secrets/redis-enterprise-cluster
118118
uid: 8c4ff52e-c715-11e8-80f5-02cc4fca9682
119119
type: Opaque
@@ -130,7 +130,7 @@ echo "Q2h5N1BBY28=" | base64 –-decode
130130

131131
To retrieve your password, navigate to the OpenShift management console, select your project name, go to Resources->Secrets->your_cluster_name
132132

133-
Retrieve your password by selecting Reveal Secret.
133+
Retrieve your password by selecting "Reveal Secret."
134134
{{< image filename="/images/rs/openshift-password-retrieval.png" >}}
135135

136136

content/operate/kubernetes/7.4.6/recommendations/persistent-volumes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec should include a *persistentSpec* section, in the
2929
persistentSpec:
3030
enabled: true
3131
storageClassName: "standard"
32-
volumeSize: "23Gi #optional
32+
volumeSize: "23Gi" #optional
3333

3434
Persistence storage is a requirement for production deployments.
3535

@@ -71,7 +71,7 @@ deployment, use the following command:
7171

7272
kubectl get StorageClass
7373

74-
Typically, AWS provides gp2 as the Storage Class name while GKE uses standard.
74+
Typically, AWS provides "gp2" as the Storage Class name while GKE uses "standard."
7575
Azure provides two Storage Classes: "default" using HDDs, and "managed-premium" using SSDs.
7676

7777
Below is an example of a response to the command.
@@ -101,8 +101,8 @@ Example of the redisEnterpriseNodeResources definition:
101101

102102
redisEnterpriseNodeResources:
103103
limits:
104-
cpu: 4000m
104+
cpu: "4000m"
105105
memory: 4Gi
106106
requests:
107-
cpu: 4000m
107+
cpu: "4000m"
108108
memory: 4Gi

content/operate/kubernetes/7.4.6/recommendations/sizing-on-kubernetes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ For example:
7070

7171
limits:
7272

73-
cpu: 2000m
73+
cpu: "2000m"
7474

7575
memory: 4Gi
7676

7777
requests:
7878

79-
cpu: 2000m
79+
cpu: "2000m"
8080

8181
memory: 4Gi
8282

@@ -99,13 +99,13 @@ redisEnterpriseNodeResources:
9999

100100
limits:
101101

102-
cpu: 8000m
102+
cpu: "8000m"
103103

104104
memory: 30Gi
105105

106106
requests
107107

108-
cpu: 8000m
108+
cpu: "8000m"
109109

110110
memory: 30Gi
111111

content/operate/kubernetes/7.8.4/deployment/openshift/old-index.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Prerequisites:
3838

3939
{{< image filename="/images/rs/getting-started-kubernetes-openshift-image1.png" >}}
4040

41-
- Click on admin (upper right corner) and then Copy Login.
41+
- Click on "admin" (upper right corner) and then "Copy Login."
4242

4343
{{< image filename="/images/rs/getting-started-kubernetes-openshift-image4.png" >}}
4444

@@ -89,7 +89,7 @@ Let’s look at each yaml file to see what requires editing:
8989
You should receive the following response:
9090

9191
```sh
92-
securitycontextconstraints.security.openshift.io redis-enterprise-scc configured
92+
securitycontextconstraints.security.openshift.io "redis-enterprise-scc" configured
9393
```
9494

9595
Now you need to bind the scc to your project by typing:
@@ -98,7 +98,7 @@ Let’s look at each yaml file to see what requires editing:
9898
oc adm policy add-scc-to-group redis-enterprise-scc system:serviceaccounts:your_project_name
9999
```
100100

101-
(If you do not remember your project name, run oc project)
101+
(If you do not remember your project name, run "oc project")
102102

103103
- [openshift.bundle.yaml](https://github.com/RedisLabs/redis-enterprise-k8s-docs/blob/master/openshift.bundle.yaml) -
104104

@@ -215,15 +215,15 @@ Now, run `kubectl get deployment` and verify that your redis-enterprise-operator
215215

216216
This yaml can be edited to the required use case, however, the sample provided can be used for test/dev and quick start purposes. Here are the main fields you may review and edit:
217217

218-
- name: your_cluster_name (e.g. demo-cluster)
218+
- name: "your_cluster_name" (e.g. "demo-cluster")
219219
- nodes: number_of_nodes_in_the_cluster (Must be an uneven number of at least 3 or greater—[here’s why](https://redislabs.com/redis-enterprise/technology/highly-available-redis/))
220220
- uiServiceType: service_type
221221

222222
Service type value can be either ClusterIP or LoadBalancer. This is an optional configuration based on [k8s service types](https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/). The default is ClusterIP.
223223

224-
- storageClassName: <span style="color: #ff0000;">gp2</span>
224+
- storageClassName: "<span style="color: #ff0000;">gp2</span>"
225225

226-
This specifies the [StorageClass](https://kubernetes.io/docs/concepts/storage/storage-classes/) used for your nodes’ persistent disks. For example, AWS uses gp2 as a default, GKE uses standard and Azure uses "default").
226+
This specifies the [StorageClass](https://kubernetes.io/docs/concepts/storage/storage-classes/) used for your nodes’ persistent disks. For example, AWS uses "gp2" as a default, GKE uses "standard" and Azure uses "default").
227227

228228
- redisEnterpriseNodeResources: The [compute resources](https://docs.openshift.com/enterprise/3.2/dev_guide/compute_resources.html#dev-compute-resources) required for each node.
229229
- limits – specifies the max resources for a Redis node
@@ -233,11 +233,11 @@ Now, run `kubectl get deployment` and verify that your redis-enterprise-operator
233233

234234
```sh
235235
limits
236-
cpu: 4000m
236+
cpu: "4000m"
237237
memory: 4Gi
238238
requests
239239
240-
cpu: 4000m
240+
cpu: "4000m"
241241
memory: 4Gi
242242
```
243243

@@ -250,10 +250,10 @@ Resource limits should equal requests ([Learn why](https://github.com/RedisLabs/
250250
- serviceBrokerSpec –
251251
- enabled: \<false/true\>
252252

253-
This specifies [persistence](https://redislabs.com/redis-features/persistence) for the Service Broker with an enabled/disabled flag. The default is false.
253+
This specifies [persistence](https://redislabs.com/redis-features/persistence) for the Service Broker with an "enabled/disabled" flag. The default is "false."
254254

255255
persistentSpec:
256-
storageClassName: gp2
256+
storageClassName: "gp2"
257257

258258
- redisEnterpriseImageSpec: This configuration controls the Redis Enterprise version used, and where it is fetched from. This is an optional field. The Operator will automatically use the matching RHEL image version for the release.
259259

@@ -272,7 +272,7 @@ Once you have your_cluster_name yaml set, you need to apply it to create your Re
272272
kubectl apply -f your_cluster_name.yaml
273273
```
274274

275-
Run kubectl get rec and verify that creation was successful (rec is a shortcut for RedisEnterpriseClusters).
275+
Run kubectl get rec and verify that creation was successful (rec is a shortcut for "RedisEnterpriseClusters").
276276

277277
You should receive a response similar to the following:
278278

@@ -325,7 +325,7 @@ In order to create your database, we will log in to the Redis Enterprise UI.
325325
{{< image filename="/images/rs/getting-started-kubernetes-openshift-image5.png" >}}
326326

327327
- In order to retrieve your password, navigate to the OpenShift management console, select your project name, go to Resources-\>Secrets-\>your_cluster_name
328-
- Retrieve your password by selecting Reveal Secret.
328+
- Retrieve your password by selecting "Reveal Secret."
329329

330330
{{< warning >}}
331331
Do not change the default admin user password in the Redis Enterprise admin console.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ metadata:
114114
kind: RedisEnterpriseCluster
115115
name: test
116116
uid: 8b247469-c715-11e8-a5d5-0a778671fc2e
117-
resourceVersion: 911969
117+
resourceVersion: "911969"
118118
selfLink: /api/v1/namespaces/redis/secrets/redis-enterprise-cluster
119119
uid: 8c4ff52e-c715-11e8-80f5-02cc4fca9682
120120
type: Opaque
@@ -131,7 +131,7 @@ echo "Q2h5N1BBY28=" | base64 –-decode
131131

132132
To retrieve your password, navigate to the OpenShift management console, select your project name, go to Resources->Secrets->your_cluster_name
133133

134-
Retrieve your password by selecting Reveal Secret.
134+
Retrieve your password by selecting "Reveal Secret."
135135
{{< image filename="/images/rs/openshift-password-retrieval.png" >}}
136136

137137

content/operate/kubernetes/7.8.4/recommendations/persistent-volumes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec should include a *persistentSpec* section, in the
2929
persistentSpec:
3030
enabled: true
3131
storageClassName: "standard"
32-
volumeSize: "23Gi #optional
32+
volumeSize: "23Gi" #optional
3333

3434
Persistence storage is a requirement for production deployments.
3535

@@ -71,7 +71,7 @@ deployment, use the following command:
7171

7272
kubectl get StorageClass
7373

74-
Typically, AWS provides gp2 as the Storage Class name while GKE uses standard.
74+
Typically, AWS provides "gp2" as the Storage Class name while GKE uses "standard."
7575
Azure provides two Storage Classes: "default" using HDDs, and "managed-premium" using SSDs.
7676

7777
Below is an example of a response to the command.
@@ -101,8 +101,8 @@ Example of the redisEnterpriseNodeResources definition:
101101

102102
redisEnterpriseNodeResources:
103103
limits:
104-
cpu: 4000m
104+
cpu: "4000m"
105105
memory: 4Gi
106106
requests:
107-
cpu: 4000m
107+
cpu: "4000m"
108108
memory: 4Gi

content/operate/kubernetes/7.8.4/recommendations/sizing-on-kubernetes.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ For example:
7070

7171
limits:
7272

73-
cpu: 2000m
73+
cpu: "2000m"
7474

7575
memory: 4Gi
7676

7777
requests:
7878

79-
cpu: 2000m
79+
cpu: "2000m"
8080

8181
memory: 4Gi
8282

@@ -99,13 +99,13 @@ redisEnterpriseNodeResources:
9999

100100
limits:
101101

102-
cpu: 8000m
102+
cpu: "8000m"
103103

104104
memory: 30Gi
105105

106106
requests
107107

108-
cpu: 8000m
108+
cpu: "8000m"
109109

110110
memory: 30Gi
111111

0 commit comments

Comments
 (0)