From f6b726126ad0f10f9cb4b999dc359cf2196185db Mon Sep 17 00:00:00 2001 From: Miguel Caballer Date: Thu, 7 Mar 2024 09:01:25 +0100 Subject: [PATCH] Fix errors --- artifacts/k8s_galaxy.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/artifacts/k8s_galaxy.yml b/artifacts/k8s_galaxy.yml index 2ebc6a7..13a0d43 100644 --- a/artifacts/k8s_galaxy.yml +++ b/artifacts/k8s_galaxy.yml @@ -163,7 +163,7 @@ destinations: k8s: runner: k8s - {{ 'max_cores: ' ~ max_cores if max_cores | int > 0 else '# no max_cores' }} + {{ 'max_cores: ' ~ (max_cores | int - 1) if max_cores | int > 0 else '# no max_cores' }} {{ 'max_mem: ' ~ max_mem if max_mem | int > 0 else '# no max_mem' }} # try to pack all the pods in the same nodes {{ AFFINITY | to_yaml }} @@ -174,9 +174,10 @@ KUBECONFIG: /etc/kubernetes/admin.conf - name: Deploy Galaxy - command: helm install --create-namespace -n {{ NAMESPACE }} galaxy galaxy/galaxy --timeout 15m -f /opt/galaxy_values.yaml --version 5.9.0 + command: helm install --create-namespace -n {{ NAMESPACE }} galaxy galaxy/galaxy --timeout 10m -f /opt/galaxy_values.yaml --version 5.9.0 environment: KUBECONFIG: /etc/kubernetes/admin.conf + ignore_errors: yes - name: Wait pods to be ready pause: