Skip to content

Commit 8f8deb7

Browse files
lsierantfealebenpae
authored andcommitted
Review fixes
1 parent f58d156 commit 8f8deb7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/community-search/quick-start/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ echo "ServiceAccount mongodb-kubernetes-database-pods has been patched: "
106106

107107
kubectl get --context "${K8S_CLUSTER_0_CONTEXT_NAME}" -n "${MDB_NAMESPACE}" -o yaml sa mongodb-kubernetes-database-pods
108108
```
109-
This script creates a `docker-registry` secret in your Kubernetes namespace and associates it with the service account used for MongoDB pods.
109+
This script creates a `community-private-preview-pullsecret` secret in your Kubernetes namespace and associates it with the service account used for MongoDB pods.
110110

111111
### 5. Verify Pull Secret Configuration
112112

@@ -217,7 +217,7 @@ After applying the `MongoDBCommunity` custom resource, the operator begins deplo
217217
```shell copy
218218
echo "Waiting for MongoDBCommunity resource to reach Running phase..."
219219
kubectl --context "${K8S_CLUSTER_0_CONTEXT_NAME}" -n "${MDB_NAMESPACE}" wait --for=jsonpath='{.status.phase}'=Running mdbc/mdbc-rs --timeout=400s
220-
echo; echo "MongoDBOpsManager resource"
220+
echo; echo "MongoDBCommunity resource"
221221
kubectl --context "${K8S_CLUSTER_0_CONTEXT_NAME}" -n "${MDB_NAMESPACE}" get mdbc/mdbc-rs
222222
echo; echo "Pods running in cluster ${K8S_CLUSTER_0_CONTEXT_NAME}"
223223
kubectl --context "${K8S_CLUSTER_0_CONTEXT_NAME}" -n "${MDB_NAMESPACE}" get pods
@@ -255,7 +255,7 @@ The `MongoDBSearch.spec` fields are supported:
255255
* `spec.statefulSet`: Optional statefulset overrides, which are applied last to the mongot's statefulset. It is possible to adjust any statefulset configuration that was create by the operator (the overrides are applied last). The type of the field is [apps/v1/StatefulSet](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#statefulset-v1-apps) and both `spec.statefulSet.spec` and `spec.statefulSet.metadata` fields are supported.
256256
* `spec.persistence.single`: optional storage configuration for MongoDB Search persistence volume containing storing search indexes. See [here](https://www.mongodb.com/docs/kubernetes/current/reference/k8s-operator-specification/#mongodb-setting-spec.podSpec.persistence.single) for more information about storage settings. MongoDBSearch reuses the same persistence type as in other custom resources (e.g. `MongoDB`), but supports only `single` persistence field. If not set, the operator sets `spec.persistence.single.storage = 10G`.
257257
* `spec.resourceRequirements` - resource requests and limits for mongodb-search container. It's recommended to use this field to customize resource allocations instead of overriding it via `spec.statefulSet` overrides. If not set, the operator sets the following values (no limits, only requests):
258-
* ```yaml
258+
```yaml
259259
requests:
260260
cpu: 2
261261
memory: 2G
@@ -345,7 +345,7 @@ mongorestore --archive=/tmp/sample_mflix.archive --verbose=1 --drop --nsInclude
345345
EOF
346346
)"
347347
```
348-
This command uses `mongoimport` from the `mongodb-tools-pod` to load data from the downloaded `sample_mflix.archive` file.
348+
This command uses `mongorestore` from the `mongodb-tools-pod` to load data from the downloaded `sample_mflix.archive` file.
349349

350350
### 15. Create Search Index
351351

docs/community-search/quick-start/README.md.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ The `MongoDBSearch.spec` fields are supported:
123123
* `spec.statefulSet`: Optional statefulset overrides, which are applied last to the mongot's statefulset. It is possible to adjust any statefulset configuration that was create by the operator (the overrides are applied last). The type of the field is [apps/v1/StatefulSet](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#statefulset-v1-apps) and both `spec.statefulSet.spec` and `spec.statefulSet.metadata` fields are supported.
124124
* `spec.persistence.single`: optional storage configuration for MongoDB Search persistence volume containing storing search indexes. See [here](https://www.mongodb.com/docs/kubernetes/current/reference/k8s-operator-specification/#mongodb-setting-spec.podSpec.persistence.single) for more information about storage settings. MongoDBSearch reuses the same persistence type as in other custom resources (e.g. `MongoDB`), but supports only `single` persistence field. If not set, the operator sets `spec.persistence.single.storage = 10G`.
125125
* `spec.resourceRequirements` - resource requests and limits for mongodb-search container. It's recommended to use this field to customize resource allocations instead of overriding it via `spec.statefulSet` overrides. If not set, the operator sets the following values (no limits, only requests):
126-
* ```yaml
126+
```yaml
127127
requests:
128128
cpu: 2
129129
memory: 2G

0 commit comments

Comments
 (0)