Skip to content

Commit d435215

Browse files
fhennigadwk67
andauthored
document pod overrides (#545)
* document-pod-overrides * use tabs in the installation section * Change a bunch of wording * Change a bunch of wording * Change a bunch of wording * Update docs/modules/superset/pages/getting_started/first_steps.adoc Co-authored-by: Andrew Kenworthy <[email protected]> * Update docs/modules/superset/pages/getting_started/first_steps.adoc Co-authored-by: Andrew Kenworthy <[email protected]> * Update docs/modules/superset/pages/getting_started/first_steps.adoc Co-authored-by: Andrew Kenworthy <[email protected]> * Update docs/modules/superset/pages/getting_started/installation.adoc Co-authored-by: Andrew Kenworthy <[email protected]> --------- Co-authored-by: Andrew Kenworthy <[email protected]>
1 parent fece758 commit d435215

File tree

5 files changed

+57
-42
lines changed

5 files changed

+57
-42
lines changed

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

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,37 @@ Once you have followed the steps in xref:getting_started/installation.adoc[] fo
66

77
Superset metadata (slices, connections, tables, dashboards etc.) is stored in an SQL database.
88

9-
For testing purposes, you can spin up a PostgreSQL database with the following commands:
9+
For testing, you can set up a PostgreSQL database with these commands:
1010

1111
[source,bash]
1212
include::example$getting_started/getting_started.sh[tag=add-bitnami-repo]
1313

1414
[source,bash]
1515
include::example$getting_started/getting_started.sh[tag=install-bitnami-psql]
1616

17-
WARNING: This setup is unsuitable for production use! Follow the specific production setup instructions for one of the xref:required-external-components[supported databases] to get a production-ready database.
17+
WARNING: This setup is not suitable for use in production.
18+
Refer to the xref:required-external-components[supported databases] for production-ready database setup instructions.
1819

1920
== Secret with Superset credentials
2021

21-
A secret with the necessary credentials must be created: this contains database connection credentials as well as an admin account for Superset itself. Create a file called `superset-credentials.yaml`:
22+
You need to create a secret with the required credentials (database connection credentials and an admin account for Superset).
23+
Create a file called `superset-credentials.yaml`:
2224

2325
[source,yaml]
2426
include::example$getting_started/superset-credentials.yaml[]
2527

26-
And apply it:
28+
Apply the Secret:
2729

2830
[source,bash]
2931
include::example$getting_started/getting_started.sh[tag=apply-superset-credentials]
3032

31-
The `connections.secretKey` will be used for securely signing the session cookies and can be used
32-
for any other security related needs by extensions. It should be a long random string of bytes.
33+
The `connections.secretKey` will be used for securely signing the session cookies and can be used by the extensions for any other security-related needs.
34+
It should be a long, random string.
3335

34-
`connections.sqlalchemyDatabaseUri` must contain the connection string to the SQL database storing
35-
the Superset metadata.
36+
`connections.sqlalchemyDatabaseUri` must contain the connection string to the SQL database storing the Superset metadata.
3637

3738
The `adminUser` fields are used to create an admin user.
38-
Please note that the admin user will be disabled if you use a non-default authentication mechanism like LDAP.
39+
If using non-default authentication (e.g., LDAP), the admin user is disabled.
3940

4041
== Creation of a Superset node
4142

@@ -67,40 +68,43 @@ include::example$getting_started/getting_started.sh[tag=wait-superset]
6768

6869
== Connecting to the web interface
6970

70-
When the Superset node is created and the database is initialized, Superset can be opened in the
71-
browser.
71+
Once the Superset node is created and the database is initialized, you can open Superset in your browser.
7272

73-
The Superset port which defaults to `8088` can be forwarded to the local host:
73+
To forward the Superset port (`8088`) to localhost, run:
7474

7575
[source,bash]
7676
include::example$getting_started/getting_started.sh[tag=port-forwarding]
7777

78-
Then it can be opened in the browser with `http://localhost:8088`.
79-
80-
Enter the admin credentials from the Kubernetes secret:
78+
Then, open `http://localhost:8088` in your browser and log in with the admin credentials from the Kubernetes secret.
8179

8280
image::getting_started/superset-login.png[Login screen of Superset]
8381

84-
Great! Now the Superset is already ready to use, but if you also want some sample data and dashboards to explore the functionalities Superset has to offer, continue with the next step.
82+
Superset is now ready for use.
83+
If you want to load sample data and dashboards and explore Superset's functionality, proceed to the next step.
8584

8685
== Loading examples and accessing example dashboards
8786

88-
To have some data to play with and some dashboards to explore, Superset comes with some example data that you can load. To do so, create a file `superset-load-examples-job.yaml` with this content:
87+
To have some data to play with and some dashboards to explore, Superset comes with some example data that you can load.
88+
To do so, create a file `superset-load-examples-job.yaml` with this content:
8989

9090
[source,bash]
9191
include::example$getting_started/superset-load-examples-job.yaml[]
9292

93-
This is a Kubernetes Job. The same connection information and credentials are loaded that are also used by the Superset instance. The Job will load the example data. Execute it and await its termination like so:
93+
This Kubernetes Job uses the same connection information and credentials as the Superset instance to load the example data.
94+
Run the Job and wait for it to finish with the following command:
9495

9596
[source,bash]
9697
include::example$getting_started/getting_started.sh[tag=load-examples]
9798

98-
The Job will take a few minutes to terminate. Afterwards, check back again on the web interface. New dashboards should be available:
99+
The Job will take a few minutes to terminate.
100+
Afterwards, check back again on the web interface.
101+
New dashboards should be available:
99102

100103
image::getting_started/superset-dashboard.png[Superset dashboard showing birth names]
101104

102-
Great! Now you can explore this sample data, run queries on it or create your own dashboards.
105+
Great!
106+
Now you can explore this sample data, run queries on it or create your own dashboards.
103107

104108
== What's next
105109

106-
Look at the xref:usage-guide/index.adoc[] to find out more about configuring your Superset instance or have a look at the Superset documentation to https://superset.apache.org/docs/creating-charts-dashboards/creating-your-first-dashboard[create your first dashboard].
110+
Check the xref:usage-guide/index.adoc[] to find out more about configuring your Superset instance or have a look at the Superset documentation to https://superset.apache.org/docs/creating-charts-dashboards/creating-your-first-dashboard[create your first dashboard].

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

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
= Getting started
22

3-
This guide will get you started with Superset using the Stackable Operator. It will guide you through the installation of the Operator and its dependencies, setting up your first Superset instance, connecting to it and looking at some sample data.
3+
This guide helps you get started with Superset using the Stackable Operator.
4+
It covers the installation of the Operator and its dependencies, setting up your first Superset instance, connecting to it, and exploring sample data.
45

56
== Prerequisites
67

7-
You will need:
8+
You’ll need the following:
89

910
* a Kubernetes cluster
1011
* kubectl
@@ -17,7 +18,7 @@ Resource sizing depends on cluster type(s), usage and scope, but as a starting p
1718

1819
== What's next
1920

20-
The Guide is divided into two steps:
21+
The guide is divided into two steps:
2122

2223
* xref:getting_started/installation.adoc[Installing the Operators].
2324
* xref:getting_started/first_steps.adoc[Setting up the Superset instance and connecting to it].

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

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
= Installation
22

3-
On this page you will install the Stackable Superset Operator as well as the commons, secret and listener Operator which are
4-
required by all Stackable Operators.
3+
On this page you will install the Stackable Superset Operator as well as the commons, secret and listener operators which are required by all Stackable Operators.
54

65
== Stackable Operators
76

8-
There are 2 ways to run Stackable Operators
9-
10-
. Using xref:management:stackablectl:index.adoc[]
11-
. Using Helm
12-
13-
=== stackablectl
7+
There are multiple ways to install the Stackable Operator for Apache Zookeeper.
8+
`stackablectl` is the preferred way but Helm is also supported.
9+
OpenShift users may prefer installing the operator from the RedHat Certified Operator catalog using the OpenShift web console.
1410

11+
[tabs]
12+
====
13+
stackablectl (recommended)::
14+
+
15+
--
1516
`stackablectl` is the command line tool to interact with Stackable operators and our recommended way to install
1617
Operators. Follow the xref:management:stackablectl:installation.adoc[installation steps] for your platform.
1718
@@ -27,12 +28,15 @@ The tool will show
2728
[source]
2829
include::example$getting_started/install_output.txt[]
2930
30-
TIP: Consult the xref:management:stackablectl:quickstart.adoc[] to learn more about how to use `stackablectl`. For
31-
example, you can use the `--cluster kind` flag to create a Kubernetes cluster with link:https://kind.sigs.k8s.io/[kind].
32-
33-
=== Helm
31+
TIP: Consult the xref:management:stackablectl:quickstart.adoc[] to learn more about how to use `stackablectl`.
32+
For example, you can use the `--cluster kind` flag to create a Kubernetes cluster with link:https://kind.sigs.k8s.io/[kind].
33+
--
3434
35-
You can also use Helm to install the Operators. Add the Stackable Helm repository:
35+
Helm::
36+
+
37+
--
38+
You can also use Helm to install the Operators.
39+
Add the Stackable Helm repository:
3640
[source,bash]
3741
----
3842
include::example$getting_started/getting_started.sh[tag=helm-add-repo]
@@ -44,8 +48,10 @@ Then install the Stackable Operators:
4448
include::example$getting_started/getting_started.sh[tag=helm-install-operators]
4549
----
4650
47-
Helm will deploy the Operators in a Kubernetes Deployment and apply the CRDs for the Superset service (as well as the
48-
CRDs for the required operators). You are now ready to deploy Superset in Kubernetes.
51+
Helm will deploy the operators in a Kubernetes Deployment and apply the CRDs for the Superset service (as well as the CRDs for the required operators).
52+
You are now ready to deploy Superset in Kubernetes.
53+
--
54+
====
4955

5056
== What's next
5157

docs/modules/superset/pages/index.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
* {feature-tracker}[Feature Tracker {external-link-icon}^]
1414
* {crd}[CRD documentation {external-link-icon}^]
1515

16-
The Stackable operator for {superset}[Apache Superset] is an operator that can deploy and manage Apache Superset clusters on Kubernetes.
17-
Superset is a data exploration and visualization tool that connects to data sources via SQL.
16+
The Stackable operator for {superset}[Apache Superset] deploys and manages Superset clusters on Kubernetes.
17+
Superset is a data exploration and visualization tool that connects to SQL-based data sources.
1818
Store your data in Apache Druid or Trino, and manage your Druid and Trino instances with the Stackable operators for xref:druid:index.adoc[Apache Druid] or xref:trino:index.adoc[Trino].
1919
This operator helps you manage your Superset instances on Kubernetes efficiently.
2020

docs/modules/superset/pages/usage-guide/configuration-environment-overrides.adoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,5 +112,9 @@ nodes:
112112
config: {}
113113
----
114114

115-
116115
// cliOverrides don't make sense for this operator, so the feature is omitted for now
116+
117+
== Pod overrides
118+
119+
The Superset operator also supports Pod overrides, allowing you to override any property that you can set on a Kubernetes Pod.
120+
Read the xref:concepts:overrides.adoc#pod-overrides[Pod overrides documentation] to learn more about this feature.

0 commit comments

Comments
 (0)