From ff6e1ca0fcc61e1ec135b28fd8f1bf2c9ed8d628 Mon Sep 17 00:00:00 2001 From: Guillaume Prevost Date: Mon, 3 Jul 2023 17:33:35 +0200 Subject: [PATCH] SDKTECHNO-233: Add default resources' value on jobs and apps --- technologies/app/grafana/technology.yaml | 5 +++++ technologies/app/jupyter/technology.yaml | 5 +++++ technologies/app/metabase/technology.yaml | 5 +++++ technologies/app/pgadmin4/technology.yaml | 5 +++++ technologies/app/rstudio/technology.yaml | 5 +++++ technologies/app/spark-history-server/technology.yaml | 5 +++++ technologies/job/bash/technology.yaml | 7 ++++++- technologies/job/dbt/technology.yaml | 7 ++++++- technologies/job/generic/technology.yaml | 7 ++++++- technologies/job/java-scala/technology.yaml | 7 ++++++- technologies/job/python/technology.yaml | 7 ++++++- technologies/job/r/technology.yaml | 7 ++++++- technologies/job/spark/technology.yaml | 5 +++++ technologies/job/sqoop/technology.yaml | 7 ++++++- technologies/job/talend/technology.yaml | 5 +++++ 15 files changed, 82 insertions(+), 7 deletions(-) diff --git a/technologies/app/grafana/technology.yaml b/technologies/app/grafana/technology.yaml index 81db73e6b..87d6e0765 100644 --- a/technologies/app/grafana/technology.yaml +++ b/technologies/app/grafana/technology.yaml @@ -6,6 +6,11 @@ baseline: The open-source platform for monitoring and observability. Default adm description: Grafana allows you to query, visualize, alert on and understand your metrics no matter where they are stored. available: true icon: grafana +defaultResources: + cpu: + limit: 1 + memory: + limit: 2 GiB backgroundColor: "#1857B8" customFlags: [] readme: /technologies/app/grafana \ No newline at end of file diff --git a/technologies/app/jupyter/technology.yaml b/technologies/app/jupyter/technology.yaml index 7755ae937..9d852e22f 100644 --- a/technologies/app/jupyter/technology.yaml +++ b/technologies/app/jupyter/technology.yaml @@ -6,6 +6,11 @@ baseline: Data Science Notebook. description: The Jupyter Notebook is an open-source web application that allows you to create and share documents that contain live code, equations, visualization and narrative text. available: true icon: jupyter +defaultResources: + cpu: + limit: 2 + memory: + limit: 16 GiB backgroundColor: "#E87A35" customFlags: [] readme: /technologies/app/jupyter \ No newline at end of file diff --git a/technologies/app/metabase/technology.yaml b/technologies/app/metabase/technology.yaml index 088464b84..932f9ee94 100644 --- a/technologies/app/metabase/technology.yaml +++ b/technologies/app/metabase/technology.yaml @@ -6,6 +6,11 @@ available: true baseline: "Metabase is an open source business intelligence tool. This version is bundled with Impala and Athena drivers" description: "Metabase is an open source business intelligence tool. This version is bundled with Impala and Athena drivers" icon: metabase +defaultResources: + cpu: + limit: 1 + memory: + limit: 8 GiB backgroundColor: "#5ea4e3" customFlags: [] readme: /technologies/app/metabase diff --git a/technologies/app/pgadmin4/technology.yaml b/technologies/app/pgadmin4/technology.yaml index 3a56a2992..1273fb3c2 100644 --- a/technologies/app/pgadmin4/technology.yaml +++ b/technologies/app/pgadmin4/technology.yaml @@ -6,6 +6,11 @@ baseline: "pgAdmin4" description: "pgAdmin4 is a postgresql browser. \nCreate an environment variable named 'PGADMIN_DEFAULT_EMAIL' to set a user mail and PGADMIN_DEFAULT_PASSWORD for his password." available: true icon: pgadmin4 +defaultResources: + cpu: + limit: 1 + memory: + limit: 4 GiB backgroundColor: "#326690" customFlags: [] readme: /technologies/app/pgadmin4 \ No newline at end of file diff --git a/technologies/app/rstudio/technology.yaml b/technologies/app/rstudio/technology.yaml index a03ef4147..7f05382df 100644 --- a/technologies/app/rstudio/technology.yaml +++ b/technologies/app/rstudio/technology.yaml @@ -6,6 +6,11 @@ baseline: IDE for R. description: RStudio is an integrated development environment (IDE) for R. available: true icon: rstudio +defaultResources: + cpu: + limit: 1 + memory: + limit: 8 GiB backgroundColor: "#75aadb" customFlags: [] readme: /technologies/app/rstudio \ No newline at end of file diff --git a/technologies/app/spark-history-server/technology.yaml b/technologies/app/spark-history-server/technology.yaml index b9665da66..85ad61ceb 100644 --- a/technologies/app/spark-history-server/technology.yaml +++ b/technologies/app/spark-history-server/technology.yaml @@ -6,6 +6,11 @@ baseline: "The Spark history server is a monitoring tool that displays informati description: "The Spark history server is a monitoring tool that displays information about completed Spark applications" available: true icon: spark +defaultResources: + cpu: + limit: 1 + memory: + limit: 2 GiB backgroundColor: "#e25a1c" customFlags: [] readme: /technologies/app/spark-history-server \ No newline at end of file diff --git a/technologies/job/bash/technology.yaml b/technologies/job/bash/technology.yaml index f0bbe3b2f..44ee57997 100644 --- a/technologies/job/bash/technology.yaml +++ b/technologies/job/bash/technology.yaml @@ -4,4 +4,9 @@ id: bash label: Bash description: Bash is a command processor that typically runs in a text window where the user types commands that cause actions. available: true -icon: bash \ No newline at end of file +icon: bash +defaultResources: + cpu: + limit: 1 + memory: + limit: 2 GiB \ No newline at end of file diff --git a/technologies/job/dbt/technology.yaml b/technologies/job/dbt/technology.yaml index ebdac7e11..3040baaf7 100644 --- a/technologies/job/dbt/technology.yaml +++ b/technologies/job/dbt/technology.yaml @@ -4,4 +4,9 @@ id: dbt-cli label: dbt description: dbt-cli is a transformation workflow that lets teams quickly and collaboratively deploy analytics code following software engineering best practices like modularity, portability, CI/CD, and documentation. available: true -icon: dbt \ No newline at end of file +icon: dbt +defaultResources: + cpu: + limit: 1 + memory: + limit: 2 GiB \ No newline at end of file diff --git a/technologies/job/generic/technology.yaml b/technologies/job/generic/technology.yaml index 31c64104f..2f7578819 100644 --- a/technologies/job/generic/technology.yaml +++ b/technologies/job/generic/technology.yaml @@ -4,4 +4,9 @@ id: generic label: Generic description: A generic Docker image that can be used to execute code in a Docker container. available: true -icon: docker \ No newline at end of file +icon: docker +defaultResources: + cpu: + limit: 1 + memory: + limit: 2 GiB \ No newline at end of file diff --git a/technologies/job/java-scala/technology.yaml b/technologies/job/java-scala/technology.yaml index affe63e6f..8e52acfcb 100644 --- a/technologies/job/java-scala/technology.yaml +++ b/technologies/job/java-scala/technology.yaml @@ -4,4 +4,9 @@ id: java-scala label: Java/Scala description: Java and Scala jobs offer the ability to process content in the JVM. available: true -icon: java-scala \ No newline at end of file +icon: java-scala +defaultResources: + cpu: + limit: 1 + memory: + limit: 2 GiB \ No newline at end of file diff --git a/technologies/job/python/technology.yaml b/technologies/job/python/technology.yaml index 643042bef..2c8500afc 100644 --- a/technologies/job/python/technology.yaml +++ b/technologies/job/python/technology.yaml @@ -4,4 +4,9 @@ id: python label: Python description: Python is an interpreted high-level general-purpose programming language. available: true -icon: python \ No newline at end of file +icon: python +defaultResources: + cpu: + limit: 1 + memory: + limit: 2 GiB \ No newline at end of file diff --git a/technologies/job/r/technology.yaml b/technologies/job/r/technology.yaml index 719f507cf..d1e6e126d 100644 --- a/technologies/job/r/technology.yaml +++ b/technologies/job/r/technology.yaml @@ -4,4 +4,9 @@ id: r label: R description: R is a programming language and a statistic data analysis environment. available: true -icon: r \ No newline at end of file +icon: r +defaultResources: + cpu: + limit: 1 + memory: + limit: 2 GiB \ No newline at end of file diff --git a/technologies/job/spark/technology.yaml b/technologies/job/spark/technology.yaml index 05918191c..7d7181286 100644 --- a/technologies/job/spark/technology.yaml +++ b/technologies/job/spark/technology.yaml @@ -5,4 +5,9 @@ label: Spark description: Spark is an open-source cluster computing framework developed to process large data volumes. available: true icon: spark +defaultResources: + cpu: + limit: 1 + memory: + limit: 2 GiB customFlags: [Spark] diff --git a/technologies/job/sqoop/technology.yaml b/technologies/job/sqoop/technology.yaml index 4f02ea8e4..61e224379 100644 --- a/technologies/job/sqoop/technology.yaml +++ b/technologies/job/sqoop/technology.yaml @@ -4,4 +4,9 @@ id: sqoop label: SQOOP description: Sqoop is a command-line interface application for transferring data between relational databases and Hadoop. available: true -icon: sqoop \ No newline at end of file +icon: sqoop +defaultResources: + cpu: + limit: 1 + memory: + limit: 2 GiB \ No newline at end of file diff --git a/technologies/job/talend/technology.yaml b/technologies/job/talend/technology.yaml index ba9bd1535..9b1e71117 100644 --- a/technologies/job/talend/technology.yaml +++ b/technologies/job/talend/technology.yaml @@ -5,4 +5,9 @@ label: Talend description: Talend is a complete set of open source software to extract and integrate data. available: true icon: talend +defaultResources: + cpu: + limit: 1 + memory: + limit: 4 GiB mainClass: __TALEND_SH_FILENAME__ \ No newline at end of file