Skip to content

Commit 6c9b4c1

Browse files
authored
chore: Fix various small issues (#459)
* Update quickstart page * Add release note section to start page * Various small adjustments * Add links to VSC extensions
1 parent b054a70 commit 6c9b4c1

File tree

6 files changed

+79
-58
lines changed

6 files changed

+79
-58
lines changed

modules/ROOT/pages/getting_started.adoc

Lines changed: 30 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,28 +4,32 @@ One of the best ways of getting started with a new platform is to try it out. An
44

55
== About this guide
66

7-
Firstly, lets 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.
88

99
* 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.
1010
* 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.
1111

1212
== Overview
13+
1314
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.
1415

1516
== Installing Kubernetes and kubectl
16-
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+
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.
1719

1820
If you already have kubectl installed, and have access to a Kubernetes cluster, you can skip this step.
1921

2022
== Installing Stackable
23+
2124
=== Install stackablectl
2225

2326
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.
2427

2528
=== Installing Stackable Operators
29+
2630
The Stackable operators are components that translate the service definitions deployed via Kubernetes into deploy services on the worker nodes. These can be installed on any node that has access to the Kubernetes control plane. In this example we will install them on the controller node.
2731

28-
Stackable operators can be installed using stackablectl. Run the following commands to install ZooKeeper, Kafka and NiFi from the Stackable 23.7 release.
32+
Stackable operators can be installed using `stackablectl`. Run the following commands to install ZooKeeper, Kafka and NiFi from the Stackable 23.7 release.
2933

3034
[source,bash]
3135
----
@@ -58,19 +62,29 @@ helm install nifi-operator stackable-stable/nifi-operator --version=23.7
5862

5963
You can check which operators are installed using `stackablectl operator installed`:
6064

65+
[source,console]
6166
----
62-
OPERATOR VERSION NAMESPACE STATUS LAST UPDATED
63-
commons 23.7.0 default deployed 2023-07-27 09:41:05.769685041 +0200 CEST
64-
kafka 23.7.0 default deployed 2023-07-27 09:41:27.685845379 +0200 CEST
65-
nifi 23.7.0 default deployed 2023-07-27 09:41:40.928558978 +0200 CEST
66-
secret 23.7.0 default deployed 2023-07-27 09:41:51.820834174 +0200 CEST
67-
zookeeper 23.7.0 default deployed 2023-07-27 09:41:54.972145417 +0200 CEST
67+
┌────────────────────┬─────────┬─────────────────────┬──────────┬──────────────────────────────────────────┐
68+
│ OPERATOR ┆ VERSION ┆ NAMESPACE ┆ STATUS ┆ LAST UPDATED │
69+
╞════════════════════╪═════════╪═════════════════════╪══════════╪══════════════════════════════════════════╡
70+
│ commons-operator ┆ 23.7.0 ┆ stackable-operators ┆ deployed ┆ 2023-09-26 14:59:10.447836367 +0200 CEST │
71+
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
72+
│ kafka-operator ┆ 23.7.0 ┆ stackable-operators ┆ deployed ┆ 2023-09-26 14:59:25.162058457 +0200 CEST │
73+
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
74+
│ nifi-operator ┆ 23.7.0 ┆ stackable-operators ┆ deployed ┆ 2023-09-26 14:59:35.881227443 +0200 CEST │
75+
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
76+
│ secret-operator ┆ 23.7.0 ┆ stackable-operators ┆ deployed ┆ 2023-09-26 14:59:44.51273442 +0200 CEST │
77+
├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
78+
│ zookeeper-operator ┆ 23.7.0 ┆ stackable-operators ┆ deployed ┆ 2023-09-26 14:59:58.196949027 +0200 CEST │
79+
└────────────────────┴─────────┴─────────────────────┴──────────┴──────────────────────────────────────────┘
6880
----
6981

7082
== Deploying Stackable Services
71-
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.
83+
84+
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.
7285

7386
=== Apache ZooKeeper
87+
7488
We will deploy an Apache ZooKeeper instance to our cluster.
7589

7690
[source,bash]
@@ -105,6 +119,7 @@ EOF
105119
----
106120

107121
=== Apache Kafka
122+
108123
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.
109124

110125
[source,bash]
@@ -139,6 +154,7 @@ EOF
139154
----
140155

141156
=== Apache NiFi
157+
142158
We will next deploy an Apache NiFi server.
143159

144160
[source,bash]
@@ -203,9 +219,11 @@ zookeeper-operator-deployment-64fcccc797-pckhf 1/1 Running 0
203219
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.
204220

205221
== Testing your cluster
222+
206223
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.
207224

208225
=== Apache ZooKeeper
226+
209227
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.
210228

211229
[source,bash]
@@ -221,6 +239,7 @@ The shell should connect automatically to the ZooKeeper server running on the po
221239
----
222240

223241
=== Apache Kafka
242+
224243
To test Kafka we'll create a topic, and verify that it was created.
225244
First create the topic with the following command:
226245

@@ -239,6 +258,7 @@ kubectl exec -i -t simple-kafka-broker-brokers-0 -c kafka -- \
239258
----
240259

241260
=== Apache NiFi
261+
242262
Apache NiFi provides a web interface and the easiest way to test it is to view this in a web browser.
243263
To access the web interface we first need to get the ip address and port Nifi is listening on.
244264
To get the IP address we need to connect to (in this case `172.18.0.2`), run:

modules/ROOT/pages/index.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ which often do not play nicely together out-of-the-box.
6666
</div>
6767
++++
6868

69+
== Release Notes
70+
71+
The Stackable platform consists of multiple operators that work together. Periodically a platform release is made,
72+
including all components of the platform at a specific version. See the latest release notes for 23.7
73+
xref:release_notes.adoc[here].
74+
6975
== Components
7076

7177
We are using Kubernetes as our deployment platform. And we're building {k8s-operators}[Operators] for each of the

modules/ROOT/pages/product-information.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ requires Helm version 3 or above.
6464

6565

6666
[#stackablectl-installation]
67-
=== stackablectl
67+
==== stackablectl
6868

69-
stackablectl is available for download, pre-built binaries are available on GitHub. The download link and installation
69+
`stackablectl` is available for download, pre-built binaries are available on GitHub. The download link and installation
7070
steps are provided in the xref:management:stackablectl:installation.adoc[installation].
7171

7272
== System requirements

modules/ROOT/pages/quickstart.adoc

Lines changed: 32 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
= Quickstart
22

3+
:latest-release: https://github.com/stackabletech/stackable-cockpit/releases/tag/stackablectl-1.0.0-rc1
34
:cockpit-releases: https://github.com/stackabletech/stackable-cockpit/releases
45

56
This is the super-short getting started guide that should enable you to get something up and running in less than three
@@ -9,37 +10,30 @@ minutes (excluding download times).
910

1011
Install `stackablectl`, the Stackable CLI utility.
1112

12-
On Linux (Windows and MacOS instructions below):
13+
=== Installation on Linux
1314

14-
[source,console]
15-
----
16-
$ curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/latest/download/stackablectl-x86_64-unknown-linux-gnu
17-
----
18-
19-
and mark it as executable:
15+
Download the `stackablectl-x86_64-unknown-linux-gnu` binary file from the link:{latest-release}[latest release], then
16+
rename the file to `stackablectl`. You can also use the following command:
2017

2118
[source,console]
2219
----
23-
$ chmod +x stackablectl
20+
wget -O stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.0.0-rc1/stackablectl-x86_64-unknown-linux-gnu
21+
# or
22+
curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.0.0-rc1/stackablectl-x86_64-unknown-linux-gnu
2423
----
2524

26-
.Instruction for Windows and MacOS
27-
[%collapsible]
28-
====
29-
Download `stackablectl-x86_64-pc-windows-gnu.exe` (for Windows) or `stackablectl-x86_64-apple-darwin` (Mac OS Intel) or
30-
`stackablectl-aarch64-apple-darwin` (MacOS ARM) from the {cockpit-releases}[latest release] and save it as
31-
`stackablectl`. For Windows, you can simply execute it. For MacOS mark it as executable:
25+
Mark the binary as executable:
3226

3327
[source,console]
3428
----
35-
$ chmod +x stackablectl
29+
chmod +x stackablectl
3630
----
3731

38-
If you want to execute it from anywhere in your system, you need to add it to the system `PATH`.
32+
Then, make sure it is present in your `$PATH`, like `/usr/local/bin`.
33+
34+
=== Installation on macOS and Windows
3935

40-
NOTE: If macOS denies the execution of stackablectl go to `Settings` -> `Security & Privacy` -> `General`. Here you will
41-
see a pop up asking if you want to allow access for `stackablectl`. You must allow access.
42-
====
36+
See the xref:management:stackablectl:installation.adoc[guide] for detailed information about the installation process on macOS and Windows.
4337

4438
== Install the Taxi data demo
4539

@@ -49,7 +43,7 @@ Superset:
4943

5044
[source,console]
5145
----
52-
./stackablectl demo install trino-taxi-data
46+
stackablectl demo install trino-taxi-data
5347
----
5448

5549
TIP: Learn more about this demo in the demo docs: xref:demos:trino-taxi-data.adoc[]
@@ -60,29 +54,30 @@ To list the installed installed Stackable services run the following command:
6054

6155
[source,console]
6256
----
63-
./stackablectl services list --all-namespaces
57+
stackablectl stacklet list
6458
----
6559

6660
It will output something like:
6761

6862
[source]
6963
----
70-
PRODUCT NAME NAMESPACE ENDPOINTS EXTRA INFOS
71-
72-
hive hive default hive 172.18.0.5:30298
73-
metrics 172.18.0.5:31633
74-
75-
opa opa default http http://172.18.0.5:30316
76-
77-
superset superset default external-superset http://172.18.0.4:32295 Admin user: admin, password: adminadmin
78-
79-
trino trino default coordinator-http http://172.18.0.3:30167
80-
coordinator-metrics 172.18.0.3:31818
81-
coordinator-https https://172.18.0.3:30141
82-
83-
minio minio-trino default http http://172.18.0.3:31062 Third party service
84-
console-http http://172.18.0.3:30503 Admin user: admin, password: adminadmin
64+
┌──────────┬───────────────┬───────────┬──────────────────────────────────────────────┬─────────────────────────────────┐
65+
│ PRODUCT ┆ NAME ┆ NAMESPACE ┆ ENDPOINTS ┆ CONDITIONS │
66+
╞══════════╪═══════════════╪═══════════╪══════════════════════════════════════════════╪═════════════════════════════════╡
67+
│ hive ┆ hive ┆ default ┆ ┆ Available, Reconciling, Running │
68+
├╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
69+
│ opa ┆ opa ┆ default ┆ ┆ Available, Reconciling, Running │
70+
├╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
71+
│ superset ┆ superset ┆ default ┆ external-superset http://172.18.0.3:31974 ┆ Available, Reconciling, Running │
72+
├╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
73+
│ trino ┆ trino ┆ default ┆ coordinator-metrics 172.18.0.3:30788 ┆ Available, Reconciling, Running │
74+
│ ┆ ┆ ┆ coordinator-https https://172.18.0.3:31010 ┆ │
75+
├╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤
76+
│ minio ┆ minio-console ┆ default ┆ http http://172.18.0.3:32650 ┆ │
77+
└──────────┴───────────────┴───────────┴──────────────────────────────────────────────┴─────────────────────────────────┘
78+
79+
Use "stackablectl stacklet credentials [OPTIONS] <PRODUCT_NAME> <STACKLET_NAME>" to display credentials for deployed stacklets.
8580
----
8681

8782
To connect to Superset, open the listed endpoint in your browser and log in with the username `admin` and the password
88-
`adminadmin`.
83+
`adminadmin`. Use the `stackablectl stacklet credentials` command to retrieve credentials for various stacklets.

modules/contributor/pages/adr/ADR021-stackablectl_stacks_initial_version.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ By defining our own, thin, abstraction layer we can isolate our users from the c
5858
We could do nothing right now and instead use the _create_test_cluster.py_ script as our entry point for the initial release.
5959

6060
* Good, this gives us time to design a fully thought out solution before implementing something
61-
* Bad, _create_test_cluster.py_ doesn't feel very polished and we do want to introducet _stackablectl_ to the world as our tool of choice
61+
* Bad, _create_test_cluster.py_ doesn't feel very polished and we do want to introduce _stackablectl_ to the world as our tool of choice
6262

6363
=== Implement basic definition of stacks
6464

modules/contributor/pages/index.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ Of course you are free to use whatever works for you best. No editor is perfect
8080

8181
For `VisualStudio Code` we also recommend the following extensions:
8282

83-
* Better Toml
84-
* CodeLLDB (for debugging)
85-
* Error Lens (inline error messages)
86-
* AsciiDoc
87-
* GitHub Pull requests and Issues
88-
* GitLens
89-
* Python
90-
* Docker
83+
* https://marketplace.visualstudio.com/items?itemName=tamasfe.even-better-toml[Even Better TOML]
84+
* https://marketplace.visualstudio.com/items?itemName=vadimcn.vscode-lldb[CodeLLDB] (for debugging)
85+
* https://marketplace.visualstudio.com/items?itemName=usernamehw.errorlens[Error Lens] (inline error messages)
86+
* https://marketplace.visualstudio.com/items?itemName=asciidoctor.asciidoctor-vscode[AsciiDoc]
87+
* https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github[GitHub Pull requests and Issues]
88+
* https://marketplace.visualstudio.com/items?itemName=eamodio.gitlens[GitLens]
89+
* https://marketplace.visualstudio.com/items?itemName=ms-python.python[Python]
90+
* https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-docker[Docker]

0 commit comments

Comments
 (0)