Skip to content

Commit 0d89bbf

Browse files
author
Felix Hennig
committed
Spike/distributed component (#424)
# Description *Please add a description here. This will become the commit message of the merge request later.*
1 parent 3e2f105 commit 0d89bbf

28 files changed

+34
-39
lines changed

docs/antora.yml

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
name: nifi
1+
---
2+
name: home
23
version: "nightly"
3-
title: Stackable Operator for Apache NiFi
4-
nav:
5-
- modules/getting_started/nav.adoc
6-
- modules/ROOT/nav.adoc
7-
- modules/usage_guide/nav.adoc
8-
prerelease: true

docs/modules/ROOT/nav.adoc

-2
This file was deleted.

docs/modules/getting_started/nav.adoc

-3
This file was deleted.

docs/modules/getting_started/pages/first_steps.adoc docs/modules/nifi/pages/getting_started/first_steps.adoc

+12-12
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= First steps
22

3-
After going through the xref:installation.adoc[] section and having installed all the operators, you will now deploy a NiFi cluster and the required dependencies. Afterwards you can <<_verify_that_it_works, verify that it works>> by querying the REST API.
3+
After going through the xref:getting_started/installation.adoc[] section and having installed all the operators, you will now deploy a NiFi cluster and the required dependencies. Afterwards you can <<_verify_that_it_works, verify that it works>> by querying the REST API.
44

55
== Setup
66

@@ -17,32 +17,32 @@ To create a ZooKeeper instance run the following command:
1717

1818
[source,bash]
1919
----
20-
include::example$code/getting-started.sh[tag=install-zookeeper]
20+
include::example$getting_started/getting-started.sh[tag=install-zookeeper]
2121
----
2222

2323
Create a Znode object:
2424

2525
[source,bash]
2626
----
27-
include::example$code/getting-started.sh[tag=install-znode]
27+
include::example$getting_started/getting-started.sh[tag=install-znode]
2828
----
2929

30-
The xref:zookeeper:ROOT:znodes.adoc[ZNode] makes sure that the NiFi cluster will operate in its own separated directory in ZooKeeper.
30+
The xref:zookeeper:znodes.adoc[ZNode] makes sure that the NiFi cluster will operate in its own separated directory in ZooKeeper.
3131

3232
=== Apache NiFi
3333

3434
The NiFi cluster requires authentication. Create a set of credentials for this purpose:
3535

3636
[source,bash]
3737
----
38-
include::example$code/getting-started.sh[tag=install-nifi-credentials]
38+
include::example$getting_started/getting-started.sh[tag=install-nifi-credentials]
3939
----
4040

4141
Finally create a NiFi instance:
4242

4343
[source,bash]
4444
----
45-
include::example$code/getting-started.sh[tag=install-nifi]
45+
include::example$getting_started/getting-started.sh[tag=install-nifi]
4646
----
4747

4848
== Verify that it works
@@ -51,7 +51,7 @@ First, make sure all pods are ready:
5151

5252
[source,bash]
5353
----
54-
include::example$code/getting-started.sh[tag=wait-nifi-rollout]
54+
include::example$getting_started/getting-started.sh[tag=wait-nifi-rollout]
5555
----
5656

5757
Then make sure the StatefulSets are ready:
@@ -105,7 +105,7 @@ Extracting the IP and port via `kubectl` is cumbersome. We recommend using `stac
105105

106106
[source,bash]
107107
----
108-
include::example$code/getting-started.sh[tag=get-nifi-node-name]
108+
include::example$getting_started/getting-started.sh[tag=get-nifi-node-name]
109109
----
110110

111111
which should output a single node name where a NiFi pod is scheduled:
@@ -119,7 +119,7 @@ Retrieve the IP of that node:
119119

120120
[source,bash]
121121
----
122-
include::example$code/getting-started.sh[tag=get-nifi-node-ip]
122+
include::example$getting_started/getting-started.sh[tag=get-nifi-node-ip]
123123
----
124124

125125
which should output the internal IP of that node:
@@ -133,7 +133,7 @@ Finally, retrieve the NodePort of the `simple-nifi` service:
133133

134134
[source,bash]
135135
----
136-
include::example$code/getting-started.sh[tag=get-nifi-service-port]
136+
include::example$getting_started/getting-started.sh[tag=get-nifi-service-port]
137137
----
138138

139139
which should output the NodePort:
@@ -147,7 +147,7 @@ Now build the full URL:
147147

148148
[source,bash]
149149
----
150-
include::example$code/getting-started.sh[tag=create_nifi_url]
150+
include::example$getting_started/getting-started.sh[tag=create_nifi_url]
151151
----
152152

153153
which should output a URL to connect to the NiFi web interface:
@@ -161,4 +161,4 @@ Then connect to `https://172.18.0.3:32595/nifi` and you should see the NiFi web
161161

162162
== What's next
163163

164-
Have a look at the xref:usage_guide:index.adoc[] page to find out more about the features of the NiFi Operator.
164+
Have a look at the xref:usage_guide/index.adoc[] page to find out more about the features of the NiFi Operator.

docs/modules/getting_started/pages/index.adoc docs/modules/nifi/pages/getting_started/index.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@ Resource sizing depends on cluster type(s), usage and scope, but as a starting p
1919

2020
The guide is divided into the following steps:
2121

22-
* xref:installation.adoc[Installing the Operators]
23-
* xref:first_steps.adoc[Setting up the NiFi cluster]
22+
* xref:getting_started/installation.adoc[Installing the Operators]
23+
* xref:getting_started/first_steps.adoc[Setting up the NiFi cluster]

docs/modules/getting_started/pages/installation.adoc docs/modules/nifi/pages/getting_started/installation.adoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ running, run the following command to install all operators necessary for NiFi:
1919

2020
[source,bash]
2121
----
22-
include::example$code/getting-started.sh[tag=stackablectl-install-operators]
22+
include::example$getting_started/getting-started.sh[tag=stackablectl-install-operators]
2323
----
2424

2525
The output should contain the following lines
2626

2727
[source]
2828
----
29-
include::example$code/install-operator-output.txt[tag=stackablectl-install-operators-output]
29+
include::example$getting_started/install-operator-output.txt[tag=stackablectl-install-operators-output]
3030
----
3131

3232
TIP: Consult the xref:stackablectl::quickstart.adoc[] to learn more about how to use `stackablectl`.
@@ -37,18 +37,18 @@ You can also use Helm to install the operators. Add the Stackable Helm repositor
3737

3838
[source,bash]
3939
----
40-
include::example$code/getting-started.sh[tag=helm-add-repo]
40+
include::example$getting_started/getting-started.sh[tag=helm-add-repo]
4141
----
4242

4343
Then install the Stackable Operators:
4444

4545
[source,bash]
4646
----
47-
include::example$code/getting-started.sh[tag=helm-install-operators]
47+
include::example$getting_started/getting-started.sh[tag=helm-install-operators]
4848
----
4949

5050
Helm will deploy the operators in a Kubernetes Deployment and apply the CRDs for the Apache NiFi service (as well as the CRDs for the required operators). You are now ready to deploy Apache NiFi in Kubernetes.
5151

5252
== What's next
5353

54-
xref:first_steps.adoc[Setting up a NiFi cluster] and its dependencies.
54+
xref:getting_started/first_steps.adoc[Setting up a NiFi cluster] and its dependencies.
File renamed without changes.
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
= Usage guide
22

3-
This section will help you to use various aspects of the Stackable Operator for Apache NiFi. For a general introduction into the operator follow the xref:getting_started:index.adoc[] guide.
3+
This section will help you to use various aspects of the Stackable Operator for Apache NiFi. For a general introduction into the operator follow the xref:getting_started/index.adoc[] guide.

docs/modules/nifi/partials/nav.adoc

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
* xref:nifi:getting_started/index.adoc[]
2+
** xref:nifi:getting_started/installation.adoc[]
3+
** xref:nifi:getting_started/first_steps.adoc[]
4+
* xref:nifi:dependencies.adoc[]
5+
* xref:nifi:configuration.adoc[]
6+
* xref:nifi:usage_guide/index.adoc[]
7+
** xref:nifi:usage_guide/security.adoc[]
8+
** xref:nifi:usage_guide/resource-configuration.adoc[]
9+
** xref:nifi:usage_guide/monitoring.adoc[]
10+
** xref:nifi:usage_guide/log-aggregation.adoc[]
11+
** xref:nifi:usage_guide/configuration-environment-overrides.adoc[]
12+
** xref:nifi:usage_guide/updating.adoc[]

docs/modules/usage_guide/nav.adoc

-7
This file was deleted.

0 commit comments

Comments
 (0)