Skip to content

Commit d8b4bca

Browse files
jhlodintaroface
andcommitted
Apply suggestions from code review
Applying batch suggestions from Ryan's review in github Co-authored-by: Ryan Kuo <[email protected]>
1 parent bc3d6af commit d8b4bca

File tree

4 files changed

+110
-106
lines changed

4 files changed

+110
-106
lines changed

src/current/v25.2/configure-cockroachdb-kubernetes-operator.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ docs_area: deploy
99

1010
This page explains how to configure Kubernetes cluster resources such as memory, CPU, and storage.
1111

12-
On a production cluster, the resources you allocate to CockroachDB should be proportionate to your machine types and workload. We recommend that you determine and set these values before deploying the cluster, but you can also update the values on a running cluster.
12+
On a production cluster, the resources you allocate to CockroachDB should be proportionate to your machine types and workload. Cockroach Labs recommends that you determine and set these values before deploying the cluster, but you can also update the values on a running cluster.
1313

1414
{{site.data.alerts.callout_info}}
1515
Run `kubectl describe nodes` to see the available resources on the instances that you have provisioned.
@@ -20,12 +20,12 @@ Run `kubectl describe nodes` to see the available resources on the instances tha
2020
You can set the CPU and memory resources allocated to the CockroachDB container on each pod.
2121

2222
{{site.data.alerts.callout_info}}
23-
1 CPU in Kubernetes is equivalent to 1 vCPU or 1 hyperthread. For best practices on provisioning CPU and memory for CockroachDB, see the [Production Checklist](recommended-production-settings.html#hardware).
23+
1 CPU in Kubernetes is equivalent to 1 vCPU or 1 hyperthread. For best practices on provisioning CPU and memory for CockroachDB, refer to the [Production Checklist](recommended-production-settings.html#hardware).
2424
{{site.data.alerts.end}}
2525

2626
Specify CPU and memory values in `cockroachdb.crdbCluster.resources.limits` and `cockroachdb.crdbCluster.resources.requests` in the values file used to [deploy the cluster](deploy-cockroachdb-with-kubernetes-operator.html#initialize-the-cluster):
2727

28-
```yaml
28+
~~~yaml
2929
cockroachdb:
3030
crdbCluster:
3131
resources:
@@ -35,7 +35,7 @@ cockroachdb:
3535
requests:
3636
cpu: 4000m
3737
memory: 16Gi
38-
```
38+
~~~
3939

4040
Apply the new settings to the cluster:
4141

@@ -55,7 +55,7 @@ For more information on how Kubernetes handles resources, see the [Kubernetes do
5555

5656
Each CockroachDB node reserves a portion of its available memory for its cache and for storing temporary data for SQL queries. For more information on these settings, see the [Production Checklist](recommended-production-settings.html#cache-and-sql-memory-size).
5757

58-
The Kubernetes operator dynamically sets cache size and SQL memory size each to 25% (the recommended percent) of the available memory, which depends on the memory request and limit you [specified](#memory-and-cpu) for your configuration. These values can be modified by adding the `cache` or `max-sql-memory` fields to `cockroachdb.crdbCluster.flags`, which is equivalent to appending `--cache` or `--max-sql-memory` as [cockroach start flags](cockroach-start.html#flags).
58+
The Kubernetes operator dynamically sets cache size and SQL memory size each to 25% (the recommended percentage) of the available memory, which depends on the memory request and limit you [specified](#memory-and-cpu) for your configuration. These values can be modified by adding the `cache` or `max-sql-memory` fields to `cockroachdb.crdbCluster.flags`, which is equivalent to appending `--cache` or `--max-sql-memory` as [cockroach start flags](cockroach-start.html#flags).
5959

6060
## Persistent storage
6161

@@ -109,7 +109,7 @@ The Operator separates network traffic into three ports:
109109

110110
<table>
111111
<tr>
112-
<td><strong>Protocol</strong>
112+
<th>Protocol
113113
</td>
114114
<td><strong>Default</strong>
115115
</td>

0 commit comments

Comments
 (0)