Skip to content

Commit 9dc8734

Browse files
author
Felix Hennig
committed
Merge branch 'service-discovery-refactoring' of github.com:stackabletech/documentation into service-discovery-refactoring
2 parents 7834dca + 14116d3 commit 9dc8734

File tree

12 files changed

+145
-74
lines changed

12 files changed

+145
-74
lines changed

antora-playbook.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ content:
1414
- url: https://github.com/stackabletech/documentation.git
1515
branches: main
1616

17+
- url: https://github.com/stackabletech/stackablectl.git
18+
branches: main
19+
tags: docs/*
20+
start_path: docs
21+
1722
- url: https://github.com/stackabletech/commons-operator.git
1823
branches: main
1924
tags: docs/*
@@ -55,10 +60,6 @@ content:
5560
branches: main
5661
tags: docs/*
5762
start_path: docs
58-
- url: https://github.com/stackabletech/spark-operator.git
59-
branches: main
60-
tags: docs/*
61-
start_path: docs
6263
- url: https://github.com/stackabletech/spark-k8s-operator.git
6364
branches: main
6465
tags: docs/*

gitpod-antora-playbook.yml

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,56 +4,77 @@ site:
44
url: https://docs.stackable.tech
55
robots: allow
66

7+
urls:
8+
# This replaces the component version in the URL of the latest stable version with 'stable'
9+
# i.e. /commons-operator/stable/index.html instead of /commons-operator/0.3/index.html
10+
latest_version_segment: stable
11+
712
content:
813
sources:
914
- url: /workspace/documentation
1015
branches: HEAD
1116

17+
- url: https://github.com/stackabletech/stackablectl.git
18+
branches: main
19+
tags: docs/*
20+
start_path: docs
21+
1222
- url: https://github.com/stackabletech/commons-operator.git
1323
branches: main
24+
tags: docs/*
1425
start_path: docs
1526
- url: https://github.com/stackabletech/secret-operator.git
1627
branches: main
28+
tags: docs/*
1729
start_path: docs
1830

1931
- url: https://github.com/stackabletech/airflow-operator.git
2032
branches: main
33+
tags: docs/*
2134
start_path: docs
2235
- url: https://github.com/stackabletech/druid-operator.git
2336
branches: main
37+
tags: docs/*
2438
start_path: docs
2539
- url: https://github.com/stackabletech/hbase-operator.git
2640
branches: main
41+
tags: docs/*
2742
start_path: docs
2843
- url: https://github.com/stackabletech/hdfs-operator.git
2944
branches: main
45+
tags: docs/*
3046
start_path: docs
3147
- url: https://github.com/stackabletech/hive-operator.git
3248
branches: main
49+
tags: docs/*
3350
start_path: docs
3451
- url: https://github.com/stackabletech/kafka-operator.git
3552
branches: main
53+
tags: docs/*
3654
start_path: docs
3755
- url: https://github.com/stackabletech/nifi-operator.git
3856
branches: main
57+
tags: docs/*
3958
start_path: docs
4059
- url: https://github.com/stackabletech/opa-operator.git
4160
branches: main
42-
start_path: docs
43-
- url: https://github.com/stackabletech/spark-operator.git
44-
branches: main
61+
tags: docs/*
4562
start_path: docs
4663
- url: https://github.com/stackabletech/spark-k8s-operator.git
4764
branches: main
65+
tags: docs/*
4866
start_path: docs
4967
- url: https://github.com/stackabletech/superset-operator.git
5068
branches: main
69+
tags: docs/*
5170
start_path: docs
5271
- url: https://github.com/stackabletech/trino-operator.git
5372
branches: main
73+
tags: docs/*
5474
start_path: docs
5575
- url: https://github.com/stackabletech/zookeeper-operator.git
5676
branches: main
77+
tags: docs/*
5778
start_path: docs
5879

5980
ui:
@@ -64,6 +85,7 @@ ui:
6485
antora:
6586
extensions:
6687
- '@antora/lunr-extension'
88+
- asciidoctor-kroki
6789

6890
asciidoc:
6991
attributes:

local-antora-playbook.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ content:
1515
- url: ./
1616
branches: HEAD
1717

18+
- url: https://github.com/stackabletech/stackablectl.git
19+
branches: main
20+
tags: docs/*
21+
start_path: docs
22+
1823
- url: https://github.com/stackabletech/commons-operator.git
1924
branches: main
2025
tags: docs/*
@@ -56,10 +61,6 @@ content:
5661
branches: main
5762
tags: docs/*
5863
start_path: docs
59-
- url: https://github.com/stackabletech/spark-operator.git
60-
branches: main
61-
tags: docs/*
62-
start_path: docs
6364
- url: https://github.com/stackabletech/spark-k8s-operator.git
6465
branches: main
6566
tags: docs/*

modules/ROOT/pages/getting_started.adoc

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -74,30 +74,32 @@ CoreDNS is running at https://127.0.0.1:6443/api/v1/namespaces/kube-system/servi
7474
Metrics-server is running at https://127.0.0.1:6443/api/v1/namespaces/kube-system/services/https:metrics-server:/proxy
7575
----
7676

77-
=== Installing Helm
78-
Stackable uses https://helm.sh/[Helm] as the package manager for its Kubernetes operators. This greatly simplifies the deployment and management of Kubernetes operators and CRDs. The quickest way to install Helm is to run the following command:
77+
== Installing Stackable
78+
=== Install stackablectl
79+
80+
Install the Stackable command line utility xref:stackablectl::index.adoc[stackablectl] by following the installation steps for your platform on the xref:stackablectl::installation.adoc[installation] page.
81+
82+
=== Installing Stackable Operators
83+
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.
84+
85+
Stackable operators are installed using stackablectl. Run the following commands to install the latest operator versions of ZooKeeper, Kafka and NiFi.
7986

8087
[source,bash]
8188
----
82-
curl -sfL https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | /bin/bash -
89+
stackablectl operator install zookeeper secret nifi kafka
8390
----
8491

85-
86-
== Installing Stackable
87-
=== Install Stackable Helm Repositories
88-
With Helm installed you can add the Stackable operator repo, where the helm charts to install Stackable operators can be found. There are development, test and a stable repositories available, we'll be using the stable repo in this guide.
92+
.Using Helm instead
93+
[%collapsible]
94+
====
95+
Add the stackable-stable Helm Chart repository:
8996
9097
[source,bash]
9198
----
9299
helm repo add stackable-stable https://repo.stackable.tech/repository/helm-stable/
93100
----
94101
95-
=== Installing Stackable Operators
96-
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.
97-
98-
Stackable operators are installed using Helm charts. Run the following commands to install the operators for ZooKeeper, Kafka and NiFi using the repo configured earlier. The --devel flag will choose the latest available version; alternatively the --version flag can be used to deploy a specific version.
99-
100-
==== Install operators from the Stackable repository
102+
Install the operators:
101103
102104
[source,bash]
103105
----
@@ -106,15 +108,16 @@ helm install kafka-operator stackable-stable/kafka-operator --version=0.5.0
106108
helm install secret-operator stackable-stable/secret-operator --version=0.2.0
107109
helm install nifi-operator stackable-stable/nifi-operator --version=0.5.0
108110
----
111+
====
109112

110-
You can check which operators are installed using `helm list`:
113+
You can check which operators are installed using `stackablectl operator installed`:
111114

112115
----
113-
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
114-
kafka-operator default 1 2022-02-15 08:17:26.84659409 +0000 UTC deployed kafka-operator-0.5.0 0.5.0
115-
nifi-operator default 1 2022-02-15 08:17:37.93720808 +0000 UTC deployed nifi-operator-0.5.0 0.5.0
116-
secret-operator default 1 2022-02-15 08:17:32.700301793 +0000 UTC deployed secret-operator-0.2.0 0.2.0
117-
zookeeper-operatordefault 1 2022-02-15 08:17:17.893844595 +0000 UTC deployed zookeeper-operator-0.9.0 0.9.0
116+
OPERATOR VERSION NAMESPACE STATUS LAST UPDATED
117+
kafka 0.6.0-nightly default deployed 2022-06-16 13:51:05.661282811 +0200 CEST
118+
nifi 0.6.0-nightly default deployed 2022-06-20 16:22:45.985504689 +0200 CEST
119+
secret 0.5.0-nightly default deployed 2022-06-20 16:07:40.248027167 +0200 CEST
120+
zookeeper 0.10.0-nightly default deployed 2022-06-16 13:50:51.497813301 +0200 CEST
118121
----
119122

120123
== Deploying Stackable Services

modules/ROOT/pages/index.adoc

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ xref:druid::index.adoc[Read more]
112112
<h3>Apache HBase</h3>
113113
++++
114114

115-
HBase is a distributed, scalable, big data store
115+
HBase is a distributed, scalable, big data store.
116116

117117
xref:hbase::index.adoc[Read more]
118118

@@ -194,11 +194,7 @@ xref:nifi::index.adoc[Read more]
194194

195195
Apache Spark is a multi-language engine for executing data engineering, data science, and machine learning on single-node machines or clusters.
196196

197-
Stackable offers two different operators for managing Apache Spark clusters. One for multi-tenancy or standalone clusters and one for isolated workloads.
198-
199-
xref:spark::index.adoc[Read more] for more information on how to run a multi-tenancy Spark clusters with Stackable.
200-
201-
For more information on how to run isolated Spark workloads with Stackable operators xref:spark-k8s::index.adoc[see here].
197+
xref:spark-k8s::index.adoc[Read more]
202198

203199
++++
204200
</div>
@@ -212,7 +208,7 @@ For more information on how to run isolated Spark workloads with Stackable opera
212208
<h3>Apache Superset</h3>
213209
++++
214210

215-
Apache Superset is a modern data exploration and visualization platform
211+
Apache Superset is a modern data exploration and visualization platform.
216212

217213
xref:superset::index.adoc[Read more]
218214

modules/concepts/pages/s3.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ include::partial$diagrams/S3ResourceOverview.excalidraw[]
5151
The diagram above shows three examples of how the objects can be
5252
structured.
5353
// Option 1
54-
In option 1 all objects are separate from each other. This provides maximum reusability because the same connection or bucket object can be referenced by multiple resources. It also allows for separation of concerts across team members. Cluster administrators can define S3 connection objects that developers reference in their applications.
54+
In option 1 all objects are separate from each other. This provides maximum re-usability because the same connection or bucket object can be referenced by multiple resources. It also allows for separation of concerns across team members. Cluster administrators can define S3 connection objects that developers reference in their applications.
5555
// Option 2
5656
In option 2 the bucket is inlined in the cluster definition. This makes sense if you have a dedicated bucket for a specific purpose, if it is only used in this one cluster instance, in this single product.
5757
// Option 3
@@ -83,7 +83,7 @@ The inline definition is variant 3 in the figure above.
8383
include::partial$diagrams/S3ResourcesInlined.excalidraw[]
8484
----
8585

86-
This variant as the advantage that everything is defined in a single file, right where it is going to be used:
86+
This variant has the advantage that everything is defined in a single file, right where it is going to be used:
8787

8888
[source,yaml]
8989
----
@@ -179,7 +179,7 @@ metadata:
179179
secrets.stackable.tech/class: s3-credentials-class # <1>
180180
stringData:
181181
accessKey: YOUR_VALID_ACCESS_KEY_ID_HERE
182-
secretKey: YOUR_SECRET_ACCES_KEY_THATBELONGS_TO_THE_KEY_ID_HERE
182+
secretKey: YOUR_SECRET_ACCESS_KEY_THAT_BELONGS_TO_THE_KEY_ID_HERE
183183
----
184184

185185
<1> This label connects the `Secret` to the `SecretClass`.

modules/contributor/pages/development_dashboard.adoc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,6 @@ This page contains information about our products and relevant links you might n
6868
|https://docs.stackable.tech/nifi/index.html
6969
|
7070

71-
|Apache Spark (standalone)
72-
|https://spark.apache.org/
73-
|https://github.com/apache/spark
74-
|https://github.com/stackabletech/spark-operator
75-
|https://github.com/stackabletech/docker-images/tree/main/spark
76-
|https://ci.stackable.tech/job/Spark%20Operator%20Integration%20Tests/
77-
|https://docs.stackable.tech/spark/index.html
78-
|
79-
8071
|Apache Spark on Kubernetes
8172
|https://spark.apache.org/
8273
|https://github.com/apache/spark

modules/operators/pages/supported_versions.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@ include::nifi::partial$supported-versions.adoc[]
3434

3535
include::opa::partial$supported-versions.adoc[]
3636

37-
== Apache Spark (standalone)
38-
39-
include::spark::partial$supported-versions.adoc[]
40-
4137
== Apache Spark on Kubernetes
4238

4339
include::spark-k8s::partial$supported-versions.adoc[]

modules/operators/partials/operator_doc_links.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
** xref:hive::index.adoc[Apache Hive]
66
** xref:kafka::index.adoc[Apache Kafka]
77
** xref:nifi::index.adoc[Apache NiFi]
8-
** xref:spark::index.adoc[Apache Spark (standalone)]
98
** xref:spark-k8s::index.adoc[Apache Spark on K8S]
109
** xref:superset::index.adoc[Apache Superset]
1110
** xref:trino::index.adoc[Trino]

modules/reference/pages/s3.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= S3 resources
22

3-
This page contains the reference information for th S3Bucket and S3Connection resources. For guidance on usage, see xref:concepts:s3.adoc[S3 resources concept].
3+
This page contains the reference information for the S3Bucket and S3Connection resources. For guidance on usage, see xref:concepts:s3.adoc[S3 resources concept].
44

55
== S3Bucket
66

@@ -9,9 +9,9 @@ A bucket consists of a bucket name and the connection to the object store where
99
* `name`: `String`, the name of the Bucket.
1010
* `connection`: can either be `inline` or `reference`.
1111
** `inline`: See the properties below for <<S3Connection>>.
12-
** `reference`: `String`, the name of the referenced S3Connection resource. Must be in the same namespace as the S3Bucket resource.
12+
** `reference`: `String`, the name of the referenced S3Connection resource, which must be in the same namespace as the S3Bucket resource.
1313

14-
=== Full Examle
14+
=== Full Example
1515

1616
Using an inline connection:
1717

0 commit comments

Comments
 (0)