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
Copy file name to clipboardExpand all lines: modules/ROOT/pages/getting_started.adoc
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -4,20 +4,23 @@ One of the best ways of getting started with a new platform is to try it out. An
4
4
5
5
== About this guide
6
6
7
-
Firstly, let’s cover whether this *Getting Started* guide is right for you. This is intended as a learning tool to discover more about Stackable, its deployment and architecture.
7
+
Firstly, let#s cover whether this *Getting Started* guide is right for you. This is intended as a learning tool to discover more about Stackable, its deployment and architecture.
8
8
9
9
* If you want to build a production cluster then this is not for you. This tutorial is to familiarize you with the Stackable architecture and is not a guide for building robust clusters.
10
10
* This is intended for use in a private network or lab; it doesn't enable many security features such as authentication or encryption and should not be directly connected to the Internet. Be careful if you're deploying in the cloud as your instances may default to using public IPs.
11
11
12
12
== Overview
13
+
13
14
Stackable is based on Kubernetes and uses this as the control plane to manage clusters. In this guide we will build a simple cluster with 3 services; Apache ZooKeeper, Apache Kafka and Apache NiFi.
14
15
15
16
== Installing Kubernetes and kubectl
17
+
16
18
Stackable’s control plane is built around Kubernetes. Follow the xref:kubernetes.adoc#local-installation[instructions] on how to set up a local Kubernetes instance if you do not have access to a cluster and install kubectl.
17
19
18
20
If you already have kubectl installed, and have access to a Kubernetes cluster, you can skip this step.
19
21
20
22
== Installing Stackable
23
+
21
24
=== Install stackablectl
22
25
23
26
Install the Stackable command line utility xref:management:stackablectl:index.adoc[stackablectl] by following the installation steps for your platform on the xref:management:stackablectl:installation.adoc[installation] page.
At this point you’ve successfully deployed Kubernetes and the Stackable operators we need and are ready to deploy services to the cluster. To do this we provide service descriptions to Kubernetes for each of the services we wish to deploy.
74
+
75
+
At this point you've successfully deployed Kubernetes and the Stackable operators we need and are ready to deploy services to the cluster. To do this we provide service descriptions to Kubernetes for each of the services we wish to deploy.
72
76
73
77
=== Apache ZooKeeper
78
+
74
79
We will deploy an Apache ZooKeeper instance to our cluster.
75
80
76
81
[source,bash]
@@ -105,6 +110,7 @@ EOF
105
110
----
106
111
107
112
=== Apache Kafka
113
+
108
114
We will deploy an Apache Kafka broker that depends on the ZooKeeper service we just deployed. The zookeeperReference property below points to the namespace and name we gave to the ZooKeeper service deployed previously.
Since this is the first time that each of these services has been deployed to these nodes, it will take some time to download the software from the Stackable repository and deploy the services. Once all the pods are in the running state your cluster is ready to use.
204
211
205
212
== Testing your cluster
213
+
206
214
If all has gone well then you will have successfully deployed a Stackable cluster and used it to start three services that should now be ready for you.
207
215
208
216
=== Apache ZooKeeper
217
+
209
218
We can test ZooKeeper by running the ZooKeeper CLI shell. The easiest way to do this is to run the CLI shell on the pod that is running ZooKeeper.
210
219
211
220
[source,bash]
@@ -221,6 +230,7 @@ The shell should connect automatically to the ZooKeeper server running on the po
221
230
----
222
231
223
232
=== Apache Kafka
233
+
224
234
To test Kafka we'll create a topic, and verify that it was created.
225
235
First create the topic with the following command:
0 commit comments