You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Operator deploys readiness probes to make sure the replicas are ready and established a quorum. Only then will the StatefulSet actually be marked as `Ready`. You will see
23
+
The Operator deploys readiness probes to make sure the replicas are ready and established a quorum.
24
+
Only then will the StatefulSet actually be marked as `Ready`.
25
+
You will see
22
26
23
27
----
24
28
partitioned roll out complete: 2 new pods have been updated...
@@ -28,12 +32,15 @@ The ZooKeeper cluster is now ready.
28
32
29
33
== Deploy a ZNode
30
34
31
-
ZooKeeper manages its data in a hierarchical node system. You can look at the nodes using the zkCli tool. It is included inside the Stackable ZooKeeper container, and you can invoke it using `kubectl run`:
35
+
ZooKeeper manages its data in a hierarchical node system.
36
+
You can look at the nodes using the zkCli tool.
37
+
It is included inside the Stackable ZooKeeper container, and you can invoke it using `kubectl run`:
NOTE: You might wonder why the logs are used instead of the output from `kubectl run`. This is because `kubectl run` sometimes loses lines of the output, a link:https://github.com/kubernetes/kubernetes/issues/27264[known issue].
42
+
NOTE: You might wonder why the logs are used instead of the output from `kubectl run`.
43
+
This is because `kubectl run` sometimes loses lines of the output, a link:https://github.com/kubernetes/kubernetes/issues/27264[known issue].
37
44
38
45
Among the log output you will see the current list of nodes in the root directory `/`:
39
46
@@ -45,7 +52,8 @@ Among the log output you will see the current list of nodes in the root director
45
52
The `zookeeper` node contains ZooKeeper configuration data.
46
53
47
54
It is useful to use different nodes for different applications using ZooKeeper, and the Stackable Operator uses xref:znodes.adoc[ZNodes] for this.
48
-
ZNodes are created with manifest files of the kind `ZookeeperZnode`. Create a file called `znode.yaml` with the following contents:
55
+
ZNodes are created with manifest files of the kind `ZookeeperZnode`.
56
+
Create a file called `znode.yaml` with the following contents:
@@ -68,7 +76,8 @@ and the ZNode has appeared in the output:
68
76
69
77
== The discovery ConfigMap
70
78
71
-
The operator creates a ConfigMap with connection information that has the same name as the ZNode - in this case `simple-znode`. Have a look at it using
79
+
The operator creates a ConfigMap with connection information that has the same name as the ZNode - in this case `simple-znode`.
The `ZOOKEEPER` entry contains a ZooKeeper connection string that you can use to connect to this specific ZNode.
90
-
The `ZOOKEEPER_CHROOT` and `ZOOKEEPER_HOSTS` entries contain the node name and hosts list respectively. You can use these three entries mounted into a pod to connect to ZooKeeper at this specific ZNode and read/write in that ZNode directory.
99
+
The `ZOOKEEPER_CHROOT` and `ZOOKEEPER_HOSTS` entries contain the node name and hosts list respectively.
100
+
You can use these three entries mounted into a pod to connect to ZooKeeper at this specific ZNode and read/write in that ZNode directory.
91
101
92
102
93
-
Great! This step concludes the Getting started guide. You have installed the ZooKeeper Operator and its dependencies and set up your first ZooKeeper cluster as well as your first ZNode.
103
+
Great!
104
+
This step concludes the Getting started guide.
105
+
You have installed the ZooKeeper Operator and its dependencies and set up your first ZooKeeper cluster as well as your first ZNode.
94
106
95
107
== What's next
96
108
97
-
Have a look at the xref:usage_guide/index.adoc[] to learn more about configuration options for your ZooKeeper cluster like setting up encryption or authentication. You can also have a look at the xref:znodes.adoc[] page to learn more about ZNodes.
109
+
Have a look at the xref:usage_guide/index.adoc[] to learn more about configuration options for your ZooKeeper cluster like setting up encryption or authentication.
110
+
You can also have a look at the xref:znodes.adoc[] page to learn more about ZNodes.
0 commit comments