Skip to content

Commit

Permalink
docs: remove home module from refs (stackabletech/documentation#637)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickLarsenNZ committed Aug 1, 2024
1 parent 2fb15ec commit d115cdd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ spec:
----

Further information on how to configure logging, can be found in
xref:home:concepts:logging.adoc[].
xref:concepts:logging.adoc[].
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ In the above example, all ZooKeeper nodes in the default group will store data (

== Resource requests

include::home:concepts:stackable_resource_requests.adoc[]
include::concepts:stackable_resource_requests.adoc[]

A minimal HA setup consisting of 3 ZooKeeper instances has the following https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/[resource requirements]:

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
= Using multiple role groups

// abstract/summary
ZooKeeper uses a unique ID called _myid_ to identify each server in the cluster. The Stackable Operator for Apache ZooKeeper assigns the _myid_ to each Pod from the https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#ordinal-index[ordinal index] given to the Pod by Kubernetes. This index is unique over the Pods in the StatefulSet of the xref:home:concepts:roles-and-role-groups.adoc[role group].
ZooKeeper uses a unique ID called _myid_ to identify each server in the cluster. The Stackable Operator for Apache ZooKeeper assigns the _myid_ to each Pod from the https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#ordinal-index[ordinal index] given to the Pod by Kubernetes. This index is unique over the Pods in the StatefulSet of the xref:concepts:roles-and-role-groups.adoc[role group].

When using multiple role groups in a cluster, this will lead to different ZooKeeper Pods using the same _myid_. Each role group is represented by its own StatefulSet, and therefore always identified starting with `0`.

Expand Down Expand Up @@ -29,4 +29,4 @@ spec:

<1> The `myidOffset` property set to 10 for the secondary role group

The `secondary` role group _myid_ starts from id `10`. The `primary` role group will start from `0`. This means, the replicas of the role group `primary` should not be scaled higher than `10` which results in `10` `primary` Pods using a _myid_ from `0` to `9`, followed by the `secondary` Pods starting at _myid_ `10`.
The `secondary` role group _myid_ starts from id `10`. The `primary` role group will start from `0`. This means, the replicas of the role group `primary` should not be scaled higher than `10` which results in `10` `primary` Pods using a _myid_ from `0` to `9`, followed by the `secondary` Pods starting at _myid_ `10`.

0 comments on commit d115cdd

Please sign in to comment.