From d9fe28865cc7ba9d5827aea65bd698bf935d8431 Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Tue, 5 Mar 2024 10:24:30 +0100 Subject: [PATCH] Restrict K8s input values --- templates/k8s_galaxy.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/templates/k8s_galaxy.yaml b/templates/k8s_galaxy.yaml index d53e6a2..fe049fd 100644 --- a/templates/k8s_galaxy.yaml +++ b/templates/k8s_galaxy.yaml @@ -31,6 +31,26 @@ topology_template: default: "docker" constraints: - valid_values: [ docker ] + wn_num: + type: integer + description: Number of WNs in the cluster + default: 2 + required: yes + wn_cpus: + type: integer + description: Number of CPUs for the WNs + default: 4 + required: yes + constraints: + - valid_values: [ 4, 8, 16, 32, 64 ] + wn_mem: + type: scalar-unit.size + description: Amount of Memory for the WNs + default: 8 GB + required: yes + constraints: + - valid_values: [ 8 GB, 16 GB, 32 GB, 64 GB, 128 GB, 256 GB, 512 GB ] + node_templates: