Skip to content

Commit d55713b

Browse files
authored
Add descriptions (#538)
1 parent 2ff05d9 commit d55713b

File tree

10 files changed

+40
-27
lines changed

10 files changed

+40
-27
lines changed

docs/modules/superset/pages/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
= Stackable Operator for Apache Superset
2-
:description: The Stackable operator for Apache Superset is a Kubernetes operator that can manage Apache Superset clusters. Learn about its features, resources, dependencies and demos, and see the list of supported Superset versions.
2+
:description: Stackable Operator for Apache Superset manages Superset clusters on Kubernetes for data exploration, SQL connections, and visualization.
33
:keywords: Stackable operator, Apache Superset, Kubernetes, operator, data science, data exploration
44
:superset: https://superset.apache.org/
55
:crs: https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/

docs/modules/superset/pages/required-external-components.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
= Required external components
2+
:description: Superset requires an SQL database for metadata storage. Supported databases include PostgreSQL and MySQL.
23

3-
Superset uses an SQL database to store metadata. The supported databases and versions are:
4+
Superset uses an SQL database to store metadata.
5+
The supported databases and versions are:
46

57
* PostgreSQL 10, 11, 12, 13, 14, 15
68
* MySQL 5

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,12 @@ The cluster definition also supports overriding configuration properties and env
44
either per role or per role group, where the more specific override (role group) has precedence over
55
the less specific one (role).
66

7-
IMPORTANT: Overriding certain properties which are set by the operator (such as the `STATS_LOGGER`)
8-
can interfere with the operator and can lead to problems.
7+
IMPORTANT: Overriding certain properties which are set by the operator (such as the `STATS_LOGGER`) can interfere with the operator and can lead to problems.
98

109
== Configuration Properties
1110

12-
For a role or role group, at the same level of `config`, you can specify `configOverrides` for the
13-
`superset_config.py`. For example, if you want to set the CSV export encoding and the preferred
14-
databases adapt the `nodes` section of the cluster resource as follows:
11+
For a role or role group, at the same level of `config`, you can specify `configOverrides` for the `superset_config.py`.
12+
For example, if you want to set the CSV export encoding and the preferred databases adapt the `nodes` section of the cluster resource as follows:
1513

1614
[source,yaml]
1715
----
@@ -53,8 +51,9 @@ nodes:
5351
config: {}
5452
----
5553

56-
All override property values must be strings. They are treated as Python expressions. So care must
57-
be taken to produce a valid configuration.
54+
All override property values must be strings.
55+
They are treated as Python expressions.
56+
So care must be taken to produce a valid configuration.
5857

5958
For a full list of configuration options we refer to the
6059
https://github.com/apache/superset/blob/master/superset/config.py[main config file for Superset].
@@ -88,7 +87,8 @@ nodes:
8887

8988
== Environment Variables
9089

91-
In a similar fashion, environment variables can be (over)written. For example per role group:
90+
In a similar fashion, environment variables can be (over)written.
91+
For example per role group:
9292

9393
[source,yaml]
9494
----

docs/modules/superset/pages/usage-guide/connecting-druid.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
= Connecting Apache Druid clusters
2-
:description: A guide on how to connect Apache Superset to Apache Druid on the Stackable Data Platform using the DruidConnection CustomResource.
2+
:description: Connect Apache Superset to Apache Druid on the Stackable Data Platform using the DruidConnection CustomResource.
33
:keywords: Stackable, SDP, Druid, Superset, database, connection
4+
:k8s-job: https://kubernetes.io/docs/concepts/workloads/controllers/job/
5+
:k8s-network-policies: https://kubernetes.io/docs/concepts/services-networking/network-policies/
46

57
The operator can automatically connect Superset clusters that it manages to Apache Druid clusters managed by the xref:druid:index.adoc[Stackable operator for Apache Druid].
68

@@ -27,9 +29,9 @@ spec:
2729

2830
The `namespace` part is optional in both cases; if it is omitted it will default to the namespace of the DruidConnection.
2931

30-
Once Superset startup is complete and the database is initialized, the Superset operator will create a https://kubernetes.io/docs/concepts/workloads/controllers/job/[Job] that will connect to the Superset cluster to run an import command to add the Druid cluster as a datasource.
32+
Once Superset startup is complete and the database is initialized, the Superset operator will create a {k8s-job}[Job] that will connect to the Superset cluster to run an import command to add the Druid cluster as a datasource.
3133

32-
IMPORTANT: The Job is connecting to the Superset Pods. If you are restricting network traffic in your Kubernetes cluster, make sure to configure a https://kubernetes.io/docs/concepts/services-networking/network-policies/[NetworkPolicy] that allows the Job to connect to Superset.
34+
IMPORTANT: The Job is connecting to the Superset Pods. If you are restricting network traffic in your Kubernetes cluster, make sure to configure a {k8s-network-policies}[NetworkPolicy] that allows the Job to connect to Superset.
3335

3436
Once the Job is completed you can see the Druid cluster as a database in the user interface under Data > Databases:
3537

docs/modules/superset/pages/usage-guide/index.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
= Usage guide
22
:page-aliases: usage.doc
3+
:description: Superset usage guide: configure resources, connect to Apache Druid, set up authentication, logging, and monitoring.
34

45
The usage guide covers various aspects of configuring Superset and interconnection with other tools.
56

docs/modules/superset/pages/usage-guide/listenerclass.adoc

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
= Service exposition with ListenerClasses
2+
:description: Superset service exposition with ListenerClass: configure access via internal, external-unstable, or external-stable services.
23

3-
Apache Superset offers a web UI and an API. The Operator deploys a service called `<name>-external` (where `<name>` is the name of the SupersetCluster) through which Superset can be reached.
4+
Apache Superset offers a web UI and an API.
5+
The Operator deploys a service called `<name>-external` (where `<name>` is the name of the SupersetCluster) through which Superset can be reached.
46

5-
This service can have three different types: `cluster-internal`, `external-unstable` and `external-stable`. Read more about the types in the xref:concepts:service-exposition.adoc[service exposition] documentation at platform level.
7+
This service can have three different types: `cluster-internal`, `external-unstable` and `external-stable`.
8+
Read more about the types in the xref:concepts:service-exposition.adoc[service exposition] documentation at platform level.
69

710
This is how the ListenerClass is configured:
811

docs/modules/superset/pages/usage-guide/logging.adoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
= Log aggregation
2+
:description: The logs can be forwarded to a Vector log aggregator by providing a discovery ConfigMap for the aggregator and by enabling the log agent.
23

3-
The logs can be forwarded to a Vector log aggregator by providing a discovery
4-
ConfigMap for the aggregator and by enabling the log agent:
4+
The logs can be forwarded to a Vector log aggregator by providing a discovery ConfigMap for the aggregator and by enabling the log agent:
55

66
[source,yaml]
77
----
@@ -14,5 +14,4 @@ spec:
1414
enableVectorAgent: true
1515
----
1616

17-
Further information on how to configure logging, can be found in
18-
xref:concepts:logging.adoc[].
17+
Further information on how to configure logging, can be found in xref:concepts:logging.adoc[].
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
= Monitoring
2+
:description: The managed Superset instances are automatically configured to export Prometheus metrics.
23

3-
The managed Superset instances are automatically configured to export Prometheus metrics. See
4-
xref:operators:monitoring.adoc[] for more details.
4+
The managed Superset instances are automatically configured to export Prometheus metrics.
5+
See xref:operators:monitoring.adoc[] for more details.

docs/modules/superset/pages/usage-guide/security.adoc

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
= Security
2+
:description: Superset security: configure authentication via database, LDAP, or OpenID Connect with roles-based authorization for user access control.
3+
:superset-roles: https://superset.apache.org/docs/security/#roles
4+
:superset-security: https://superset.apache.org/docs/security
5+
:keycloak: https://www.keycloak.org/
26

37
== [[authentication]]Authentication
48

@@ -40,7 +44,7 @@ spec:
4044
<1> The reference to an AuthenticationClass called `ldap`
4145
<2> The default role to which all users are assigned
4246

43-
Users that log in with LDAP are assigned to a default https://superset.apache.org/docs/security/#roles[Role^{external-link-icon}^] which is specified with the `userRegistrationRole` property.
47+
Users that log in with LDAP are assigned to a default {superset-roles}[Role^{external-link-icon}^] which is specified with the `userRegistrationRole` property.
4448

4549
You can follow the xref:tutorials:authentication_with_openldap.adoc[] tutorial to learn how to set up an AuthenticationClass for an LDAP server, as well as consulting the xref:concepts:authentication.adoc#_ldap[AuthenticationClass concepts page].
4650

@@ -50,7 +54,7 @@ An OpenID Connect provider can be used for authentication.
5054
Unfortunately, there is no generic support for OpenID Connect built into Superset.
5155
This means that only specific OpenID Connect providers can be configured.
5256

53-
IMPORTANT: Superset deployments on the Stackable Data Platform only support https://www.keycloak.org/[Keycloak^{external-link-icon}^].
57+
IMPORTANT: Superset deployments on the Stackable Data Platform only support {keycloak}[Keycloak^{external-link-icon}^].
5458

5559
[source,yaml]
5660
----
@@ -73,7 +77,7 @@ spec:
7377
<2> The reference to the Secret containing the Superset client credentials
7478
<3> The default role to which all users are assigned
7579

76-
Users that log in with OpenID Connect are assigned to a default https://superset.apache.org/docs/security/#roles[Role^{external-link-icon}^] which is specified with the `userRegistrationRole` property.
80+
Users that log in with OpenID Connect are assigned to a default {superset-roles}[Role^{external-link-icon}^] which is specified with the `userRegistrationRole` property.
7781

7882
The Secret containing the Superset client credentials:
7983

@@ -120,15 +124,15 @@ Further information for specifying an AuthenticationClass for an OIDC provider c
120124
== [[authorization]]Authorization
121125

122126
Superset has a concept called `Roles` which allows you to grant user permissions based on roles.
123-
Have a look at the https://superset.apache.org/docs/security[Superset documentation on Security^{external-link-icon}^].
127+
Have a look at the {superset-security}[Superset documentation on Security^{external-link-icon}^].
124128

125129
=== Superset database
126130

127131
You can view all the available roles in the web interface of Superset and can also assign users to these roles.
128132

129133
=== LDAP
130134

131-
Superset supports assigning https://superset.apache.org/docs/security/#roles[Roles^{external-link-icon}^] to users based on their LDAP group membership, though this is not yet supported by the Stackable operator.
135+
Superset supports assigning {superset-roles}[Roles^{external-link-icon}^] to users based on their LDAP group membership, though this is not yet supported by the Stackable operator.
132136
All the users logging in via LDAP get assigned to the same role which you can configure via the attribute `authentication[*].userRegistrationRole` on the `SupersetCluster` object:
133137

134138
[source,yaml]
@@ -149,7 +153,7 @@ spec:
149153
=== OpenID Connect
150154

151155
The mechanism for assigning roles to users described in the LDAP section also applies to OpenID Connect.
152-
Superset supports assigning https://superset.apache.org/docs/security/#roles[Roles^{external-link-icon}^] to users based on their OpenID Connect scopes, though this is not yet supported by the Stackable operator.
156+
Superset supports assigning {superset-roles}[Roles^{external-link-icon}^] to users based on their OpenID Connect scopes, though this is not yet supported by the Stackable operator.
153157
All the users logging in via OpenID Connect get assigned to the same role which you can configure via the attribute `authentication[*].userRegistrationRole` on the `SupersetCluster` object:
154158

155159
[source,yaml]

docs/modules/superset/pages/usage-guide/storage-resource-configuration.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
= Storage and resource configuration
2+
:description: Superset resource configuration: default CPU and memory requests for HA setup with guidance for adapting production resource needs.
23

34
== Resource Requests
45

0 commit comments

Comments
 (0)