From 081086c8fcd98c5b49ddce974648413ddffee901 Mon Sep 17 00:00:00 2001 From: Maja Massarini Date: Thu, 12 Sep 2024 10:45:38 +0200 Subject: [PATCH] Increase memory resources for local cluster Otherwise packit-service pods will not start all --- .github/workflows/tf-tests.yml | 2 +- containers/Vagrantfile | 2 +- plans/deployment.fmf | 2 +- playbooks/oc-cluster-setup.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tf-tests.yml b/.github/workflows/tf-tests.yml index c2e5e0e..fb03ce9 100644 --- a/.github/workflows/tf-tests.yml +++ b/.github/workflows/tf-tests.yml @@ -19,7 +19,7 @@ jobs: git_url: "https://github.com/packit/deployment" git_ref: "tf-openshift-tests" tmt_plan_regex: "deployment/remote" - tmt_hardware: '{"memory": ">= 13 GiB", "disk": [{"size": ">= 100 GB"}], "cpu": {"cores": ">= 6"}, "virtualization": {"is-supported": true}}' + tmt_hardware: '{"memory": ">= 16 GiB", "disk": [{"size": ">= 100 GB"}], "cpu": {"cores": ">= 6"}, "virtualization": {"is-supported": true}}' pull_request_status_name: "Deployment" timeout: 3600 secrets: CRC_PULL_SECRET=${{ secrets.CRC_PULL_SECRET }} diff --git a/containers/Vagrantfile b/containers/Vagrantfile index 4a50130..a5a6c3d 100644 --- a/containers/Vagrantfile +++ b/containers/Vagrantfile @@ -79,7 +79,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # Season to taste domain.cpus = 6 domain.graphics_type = "spice" - domain.memory = 14336 + domain.memory = 15032 domain.video_type = "qxl" domain.machine_virtual_size = 100 diff --git a/plans/deployment.fmf b/plans/deployment.fmf index 8be5d2a..d34bde5 100644 --- a/plans/deployment.fmf +++ b/plans/deployment.fmf @@ -43,7 +43,7 @@ discover: how: virtual image: centos-stream disk: 100 - memory: 14336 + memory: 15032 # cpu.cores: 6 # I can not customize cpu cores in virtual testcloud prepare plugin # but OpenShift Cluster will not start without 4 cores at least # change DEFAULT_CPU_COUNT in tmt/steps/provision/testcloud.py to 6 diff --git a/playbooks/oc-cluster-setup.yml b/playbooks/oc-cluster-setup.yml index 46ff421..c35c29f 100644 --- a/playbooks/oc-cluster-setup.yml +++ b/playbooks/oc-cluster-setup.yml @@ -47,7 +47,7 @@ ansible.builtin.command: "{{ crc_path }}/crc config set enable-cluster-monitoring false" changed_when: False - name: Setup minimum packit-service memory requirements - ansible.builtin.command: "{{ crc_path }}/crc config set memory 13312 MiB" + ansible.builtin.command: "{{ crc_path }}/crc config set memory 14336 MiB" changed_when: False - name: Setup minimum packit-service disk space requirements ansible.builtin.command: "{{ crc_path }}/crc config set disk-size 60 Gi"