Skip to content

Commit ce184d2

Browse files
doc: Fix typos and improve style
1 parent 3327c55 commit ce184d2

13 files changed

Lines changed: 20 additions & 52 deletions

File tree

docs/modules/opensearch/examples/getting_started/getting_started.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ set -euo pipefail
44
# DO NOT EDIT THE SCRIPT
55
# Instead, update the j2 template, and regenerate it for dev with `make render-docs`.
66

7-
# TODO (@NickLarsenNZ): Use bitnami/postgres chart, and add version var to the above list
8-
# See similar changes in: https://github.com/stackabletech/hive-operator/pull/489/commits/8189f196f018c009370ae9b07a3f9609ee2e8681
9-
107
# This script contains all the code snippets from the guide, as well as some assert tests
118
# to test if the instructions in the guide work. The user *could* use it, but it is intended
129
# for testing only.

docs/modules/opensearch/examples/getting_started/getting_started.sh.j2

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ set -euo pipefail
44
# DO NOT EDIT THE SCRIPT
55
# Instead, update the j2 template, and regenerate it for dev with `make render-docs`.
66

7-
# TODO (@NickLarsenNZ): Use bitnami/postgres chart, and add version var to the above list
8-
# See similar changes in: https://github.com/stackabletech/hive-operator/pull/489/commits/8189f196f018c009370ae9b07a3f9609ee2e8681
9-
107
# This script contains all the code snippets from the guide, as well as some assert tests
118
# to test if the instructions in the guide work. The user *could* use it, but it is intended
129
# for testing only.

docs/modules/opensearch/pages/getting_started/first_steps.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= First steps
22

3-
Once you have followed the steps in xref:getting_started/installation.adoc[] for the Operator and its dependencies, you will now go through the steps to set up and connect to a OpenSearch instance.
3+
Once you have followed the steps in xref:getting_started/installation.adoc[] for the operator and its dependencies, you will now go through the steps to set up and connect to a OpenSearch instance.
44

55
== Security plugin configuration
66

@@ -43,7 +43,7 @@ And apply it:
4343
include::example$getting_started/getting_started.sh[tag=apply-cluster]
4444
----
4545

46-
`metadata.name` contains the name of the Superset cluster.
46+
`metadata.name` contains the name of the OpenSearch cluster.
4747

4848
The previously created security plugin configuration must be referenced via `podOverrides`.
4949

docs/modules/opensearch/pages/getting_started/index.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= Getting started
22

33
This guide helps you get started with OpenSearch using the Stackable Operator.
4-
It covers the installation of the operator and its dependencies, setting up your first OpenSearch instance, connecting to it, and exploring sample data.
4+
It covers the installation of the operator and its dependencies, setting up your first OpenSearch instance, connecting to it, and ingest and search for data.
55

66
== Prerequisites
77

@@ -20,5 +20,5 @@ Resource sizing depends on cluster type(s), usage and scope, but as a starting p
2020

2121
The guide is divided into two steps:
2222

23-
* xref:getting_started/installation.adoc[Installing the Operators].
24-
* xref:getting_started/first_steps.adoc[Setting up the OpenSearch instance and connecting to it].
23+
* xref:getting_started/installation.adoc[Installing the Operators]
24+
* xref:getting_started/first_steps.adoc[Setting up the OpenSearch instance and connecting to it]

docs/modules/opensearch/pages/getting_started/installation.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ You are now ready to deploy OpenSearch in Kubernetes.
5252

5353
== What's next
5454

55-
xref:getting_started/first_steps.adoc[Deploy an OpenSearch instance and connect to it].
55+
xref:getting_started/first_steps.adoc[Deploy an OpenSearch instance and connect to it]

docs/modules/opensearch/pages/index.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This operator helps you manage your OpenSearch instances on Kubernetes efficient
2020
== Getting started
2121

2222
Get started using OpenSearch with the Stackable operator by following the xref:getting_started/index.adoc[].
23-
It guides you through installing the operator, connecting to your OpenSearch instance and analyzing some preloaded example data.
23+
It guides you through installing the operator, connecting to your OpenSearch instance and using the REST API to ingest and search for data.
2424

2525
== Operator model
2626

@@ -30,7 +30,7 @@ It creates a number of different Kubernetes resources based on this {crs}[custom
3030
=== Custom resources
3131

3232
The OpenSearchCluster is the resource for the configuration of the OpenSearch instance.
33-
The resource defines only one xref:concepts:roles-and-role-groups.adoc[role], the `nodes`.
33+
The resource defines only one xref:concepts:roles-and-role-groups.adoc#roles[role], the `nodes`.
3434
The various configuration options are explained in the xref:usage-guide/index.adoc[].
3535
It helps you tune your cluster to your needs by configuring xref:usage-guide/storage-resource-configuration.adoc[resource usage] and more.
3636

@@ -42,10 +42,10 @@ image::opensearch_overview.drawio.svg[A diagram depicting the Kubernetes resourc
4242

4343
The diagram above depicts all the Kubernetes resources created by the operator, and how they relate to each other.
4444

45-
For every xref:concepts:roles-and-role-groups.adoc#_role_groups[role group] you define, the operator creates a StatefulSet with the amount of replicas defined in the RoleGroup.
46-
For every RoleGroup, a Service is created, as well as one for the whole cluster that references the cluster manager nodes.
45+
For every xref:concepts:roles-and-role-groups.adoc#role-groups[role group] you define, the operator creates a StatefulSet with the amount of replicas defined in the role group.
46+
For every role group, a Service is created, as well as one for the whole cluster that references the cluster manager nodes.
4747

48-
Additionally, a ConfigMap is created for each RoleGroup.
48+
Additionally, a ConfigMap is created for each role group.
4949
These ConfigMaps contain configuration files like `opensearch.yml`.
5050

5151
== Supported versions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
= CRD Reference
22

3-
Find all CRD reference for the Stackable Operator for OpenSearch at: {crd-docs-base-url}/opensearch-operator/{crd-docs-version}.
3+
Find all CRD references for the Stackable Operator for OpenSearch at: {crd-docs-base-url}/opensearch-operator/{crd-docs-version}

docs/modules/opensearch/pages/reference/environment-variables.adoc

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -33,32 +33,6 @@ docker run \
3333
oci.stackable.tech/sdp/opensearch-operator:0.0.0-dev
3434
----
3535

36-
== PRODUCT_CONFIG
37-
38-
*Default value*: `/etc/stackable/opensearch-operator/config-spec/properties.yaml`
39-
40-
*Required*: false
41-
42-
*Multiple values*: false
43-
44-
[source]
45-
----
46-
export PRODUCT_CONFIG=/foo/bar/properties.yaml
47-
stackable-opensearch-operator run
48-
----
49-
50-
or via docker:
51-
52-
----
53-
docker run \
54-
--name opensearch-operator \
55-
--network host \
56-
--env KUBECONFIG=/home/stackable/.kube/config \
57-
--env PRODUCT_CONFIG=/my/product/config.yaml \
58-
--mount type=bind,source="$HOME/.kube/config",target="/home/stackable/.kube/config" \
59-
oci.stackable.tech/sdp/opensearch-operator:0.0.0-dev
60-
----
61-
6236
== WATCH_NAMESPACE
6337

6438
*Default value*: All namespaces

docs/modules/opensearch/pages/usage-guide/configuration-environment-overrides.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ IMPORTANT: Overriding certain properties which are set by the operator (such as
99
== Configuration Properties
1010

1111
For a role or role group, at the same level of `config`, you can specify `configOverrides` for the `opensearch.yml`.
12-
For example, if you want to enable role-based access to the REST management API for the role `all_access`, then adapt the `nodes` section of the cluster resource as follows:
12+
For example, if you want to enable role-based access to the REST management API for the role `all_access`, then adapt the cluster resource as follows:
1313

1414
[source,yaml]
1515
----

docs/modules/opensearch/pages/usage-guide/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
:page-aliases: usage.doc
33
:description: OpenSearch usage guide: configure resources and override configurations.
44

5-
The usage guide covers various aspects of configuring OpenSearch and interconnection with other tools.
5+
The usage guide covers various aspects of configuring OpenSearch.
66

77
Learn about xref:usage-guide/node-roles.adoc[] or defining the amount of xref:usage-guide/storage-resource-configuration.adoc[resources] OpenSearch uses.

0 commit comments

Comments
 (0)