Skip to content
This repository was archived by the owner on Feb 16, 2024. It is now read-only.

Commit 71be854

Browse files
authored
docs: Document resource requests of stacks and demos (#278)
1 parent eda4594 commit 71be854

File tree

2 files changed

+92
-0
lines changed

2 files changed

+92
-0
lines changed

demos/demos-v2.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ demos:
1212
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/airflow-scheduled-job/03-enable-and-run-spark-dag.yaml
1313
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/airflow-scheduled-job/04-enable-and-run-date-dag.yaml
1414
supportedNamespaces: []
15+
resourceRequests:
16+
cpu: 2401m
17+
memory: 9010Mi
18+
pvc: 24Gi
1519
hbase-hdfs-load-cycling-data:
1620
description: Copy data from S3 bucket to an HBase table
1721
stackableStack: hdfs-hbase
@@ -23,6 +27,10 @@ demos:
2327
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/hbase-hdfs-load-cycling-data/distcp-cycling-data.yaml
2428
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/hbase-hdfs-load-cycling-data/create-hfile-and-import-to-hbase.yaml
2529
supportedNamespaces: []
30+
resourceRequests:
31+
cpu: "3"
32+
memory: 5638Mi
33+
pvc: 16Gi
2634
nifi-kafka-druid-earthquake-data:
2735
description: Demo ingesting earthquake data into Kafka using NiFi, streaming it into Druid and creating a Superset dashboard
2836
documentation: https://docs.stackable.tech/stackablectl/stable/demos/nifi-kafka-druid-earthquake-data.html
@@ -40,6 +48,10 @@ demos:
4048
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/nifi-kafka-druid-earthquake-data/create-druid-ingestion-job.yaml
4149
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/nifi-kafka-druid-earthquake-data/setup-superset.yaml
4250
supportedNamespaces: ["default"]
51+
resourceRequests:
52+
cpu: 8700m
53+
memory: 27746Mi
54+
pvc: 75Gi # 30Gi for Kafka
4355
nifi-kafka-druid-water-level-data:
4456
description: Demo ingesting water level data into Kafka using NiFi, streaming it into Druid and creating a Superset dashboard
4557
documentation: https://docs.stackable.tech/stackablectl/stable/demos/nifi-kafka-druid-water-level-data.html
@@ -57,6 +69,10 @@ demos:
5769
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/nifi-kafka-druid-water-level-data/create-druid-ingestion-job.yaml
5870
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/nifi-kafka-druid-water-level-data/setup-superset.yaml
5971
supportedNamespaces: ["default"]
72+
resourceRequests:
73+
cpu: 8900m
74+
memory: 28042Mi
75+
pvc: 75Gi # 30Gi for Kafka
6076
spark-k8s-anomaly-detection-taxi-data:
6177
description: Demo loading New York taxi data into an S3 bucket and carrying out an anomaly detection analysis on it
6278
documentation: https://docs.stackable.tech/stackablectl/stable/demos/spark-k8s-anomaly-detection-taxi-data.html
@@ -73,6 +89,10 @@ demos:
7389
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/spark-k8s-anomaly-detection-taxi-data/create-spark-anomaly-detection-job.yaml
7490
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/spark-k8s-anomaly-detection-taxi-data/setup-superset.yaml
7591
supportedNamespaces: []
92+
resourceRequests:
93+
cpu: 6400m
94+
memory: 12622Mi
95+
pvc: 35Gi
7696
trino-iceberg:
7797
description: Demo containing Trino using Apache Iceberg as a S3 data lakehouse
7898
documentation: https://docs.stackable.tech/stackablectl/stable/demos/trino-iceberg.html
@@ -84,6 +104,10 @@ demos:
84104
- s3
85105
manifests: []
86106
supportedNamespaces: []
107+
resourceRequests:
108+
cpu: 8550m
109+
memory: 26662Mi
110+
pvc: 110Gi # 100Gi for MinIO
87111
trino-taxi-data:
88112
description: Demo loading 2.5 years of New York taxi data into S3 bucket, creating a Trino table and a Superset dashboard
89113
documentation: https://docs.stackable.tech/stackablectl/stable/demos/trino-taxi-data.html
@@ -99,6 +123,10 @@ demos:
99123
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/trino-taxi-data/create-table-in-trino.yaml
100124
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/trino-taxi-data/setup-superset.yaml
101125
supportedNamespaces: []
126+
resourceRequests:
127+
cpu: 6800m
128+
memory: 15822Mi
129+
pvc: 28Gi
102130
data-lakehouse-iceberg-trino-spark:
103131
description: Data lakehouse using Iceberg lakehouse on S3, Trino as query engine, Spark for streaming ingest and Superset for data visualization. Multiple datasources like taxi data, water levels in Germany, earthquakes, e-charging stations and more are loaded.
104132
documentation: https://docs.stackable.tech/stackablectl/stable/demos/data-lakehouse-iceberg-trino-spark.html
@@ -123,6 +151,10 @@ demos:
123151
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/data-lakehouse-iceberg-trino-spark/create-spark-ingestion-job.yaml
124152
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/data-lakehouse-iceberg-trino-spark/setup-superset.yaml
125153
supportedNamespaces: ["default"]
154+
resourceRequests:
155+
cpu: "80"
156+
memory: 200Gi
157+
pvc: 1Ti
126158
jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data:
127159
description: Jupyterhub with PySpark and HDFS integration
128160
documentation: https://docs.stackable.tech/stackablectl/stable/demos/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data.html
@@ -135,6 +167,10 @@ demos:
135167
manifests:
136168
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/jupyterhub-pyspark-hdfs-anomaly-detection-taxi-data/load-test-data.yaml
137169
supportedNamespaces: []
170+
resourceRequests:
171+
cpu: 3350m
172+
memory: 5098Mi
173+
pvc: 22Gi
138174
logging:
139175
description: Demo showing the logging stack in action
140176
documentation: https://docs.stackable.tech/stackablectl/stable/demos/logging.html
@@ -148,3 +184,7 @@ demos:
148184
manifests:
149185
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/demos/logging/zookeeper.yaml
150186
supportedNamespaces: []
187+
resourceRequests:
188+
cpu: 6500m
189+
memory: 5098Mi
190+
pvc: 27Gi

stacks/stacks-v2.yaml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ stacks:
1313
- helmChart: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/_templates/prometheus.yaml
1414
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/_templates/prometheus-service-monitor.yaml
1515
supportedNamespaces: []
16+
resourceRequests:
17+
cpu: 1750m
18+
memory: 1714Mi
19+
pvc: 110Gi
1620
parameters:
1721
- name: grafanaAdminPassword
1822
description: Password of the Grafana admin user
@@ -35,6 +39,10 @@ stacks:
3539
- helmChart: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/_templates/vector-aggregator.yaml
3640
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/_templates/vector-aggregator-discovery.yaml
3741
supportedNamespaces: []
42+
resourceRequests:
43+
cpu: 5150m
44+
memory: 3147Mi
45+
pvc: 24Gi
3846
parameters:
3947
- name: openSearchAdminPassword
4048
description: Password of the OpenSearch admin user
@@ -60,6 +68,10 @@ stacks:
6068
- helmChart: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/_templates/redis-airflow.yaml
6169
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/airflow/airflow.yaml
6270
supportedNamespaces: []
71+
resourceRequests:
72+
cpu: 3400m
73+
memory: 9010Mi
74+
pvc: 24Gi
6375
parameters:
6476
- name: airflowAdminPassword
6577
description: Password of the Airflow admin user
@@ -103,6 +115,10 @@ stacks:
103115
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/data-lakehouse-iceberg-trino-spark/nifi.yaml
104116
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/nifi-kafka-druid-superset-s3/superset.yaml # Reuse
105117
supportedNamespaces: []
118+
resourceRequests:
119+
cpu: "71"
120+
memory: 160Gi
121+
pvc: 1Ti
106122
parameters:
107123
- name: trinoAdminPassword
108124
description: Password of the Trino admin user
@@ -136,6 +152,10 @@ stacks:
136152
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/hdfs-hbase/hdfs.yaml
137153
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/hdfs-hbase/hbase.yaml
138154
supportedNamespaces: []
155+
resourceRequests:
156+
cpu: 4200m
157+
memory: 10758Mi
158+
pvc: 21Gi
139159
parameters: []
140160
nifi-kafka-druid-superset-s3:
141161
description: Stack containing NiFi, Kafka, Druid, MinIO and Superset for data visualization
@@ -165,6 +185,10 @@ stacks:
165185
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/nifi-kafka-druid-superset-s3/superset.yaml
166186
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/nifi-kafka-druid-superset-s3/nifi.yaml
167187
supportedNamespaces: []
188+
resourceRequests:
189+
cpu: 8900m
190+
memory: 28042Mi
191+
pvc: 75Gi
168192
parameters:
169193
- name: nifiAdminPassword
170194
description: Password of the NiFI admin user
@@ -205,6 +229,10 @@ stacks:
205229
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/spark-trino-superset-s3/trino-prediction-catalog.yaml
206230
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/trino-superset-s3/superset.yaml
207231
supportedNamespaces: []
232+
resourceRequests:
233+
cpu: 7100m
234+
memory: 15910Mi
235+
pvc: 36Gi
208236
parameters:
209237
- name: trinoAdminPassword
210238
description: Password of the Trino admin user
@@ -242,6 +270,10 @@ stacks:
242270
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/trino-superset-s3/trino.yaml
243271
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/trino-superset-s3/superset.yaml
244272
supportedNamespaces: []
273+
resourceRequests:
274+
cpu: 6800m
275+
memory: 15822Mi
276+
pvc: 28Gi
245277
parameters:
246278
- name: trinoAdminPassword
247279
description: Password of the Trino admin user
@@ -277,6 +309,10 @@ stacks:
277309
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/trino-iceberg/hive-metastores.yaml
278310
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/trino-iceberg/trino.yaml
279311
supportedNamespaces: []
312+
resourceRequests:
313+
cpu: 8550m
314+
memory: 26662Mi
315+
pvc: 110Gi
280316
parameters:
281317
- name: trinoAdminPassword
282318
description: Password of the Trino admin user
@@ -305,6 +341,10 @@ stacks:
305341
# TODO Use patched JHub that created service for us from customer setup (ask Sebastian)
306342
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/jupyterhub-pyspark-hdfs/spark_driver_service.yaml
307343
supportedNamespaces: []
344+
resourceRequests:
345+
cpu: 3350m
346+
memory: 7174Mi
347+
pvc: 110Gi
308348
parameters:
309349
- name: jupyterHubAdminPassword
310350
description: Password of the JupyterHub admin user
@@ -333,6 +373,10 @@ stacks:
333373
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/dual-hive-hdfs-s3/hive.yaml
334374
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/dual-hive-hdfs-s3/trino.yaml
335375
supportedNamespaces: []
376+
resourceRequests:
377+
cpu: 7750m
378+
memory: 19974Mi
379+
pvc: 44Gi
336380
parameters:
337381
- name: minioAdminPassword
338382
description: Password of the Minio admin user
@@ -353,6 +397,10 @@ stacks:
353397
manifests:
354398
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/authentication/openldap-tls.yaml
355399
supportedNamespaces: ["default"]
400+
resourceRequests:
401+
cpu: 1950m
402+
memory: 2182Mi
403+
pvc: 0Gi
356404
# TODO: Parameterize
357405
parameters: []
358406
openldap:
@@ -372,5 +420,9 @@ stacks:
372420
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/authentication/openldap-tls.yaml
373421
- plainYaml: https://raw.githubusercontent.com/stackabletech/stackablectl/main/stacks/authentication/openldap-tls-authenticationclass.yaml
374422
supportedNamespaces: []
423+
resourceRequests:
424+
cpu: 1950m
425+
memory: 2182Mi
426+
pvc: 0Gi
375427
# TODO: Parameterize
376428
parameters: []

0 commit comments

Comments
 (0)