Skip to content

Commit

Permalink
Increase memory resources for local cluster
Browse files Browse the repository at this point in the history
Otherwise packit-service pods will not start all
  • Loading branch information
majamassarini committed Sep 12, 2024
1 parent bd22907 commit 64f0e4b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tf-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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": ">= 18 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 }}
2 changes: 1 addition & 1 deletion containers/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 = 16384
domain.video_type = "qxl"
domain.machine_virtual_size = 100

Expand Down
2 changes: 1 addition & 1 deletion plans/deployment.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ discover:
how: virtual
image: centos-stream
disk: 100
memory: 14336
memory: 16384
# 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
Expand Down
2 changes: 1 addition & 1 deletion playbooks/oc-cluster-setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 16384 MiB"
changed_when: False
- name: Setup minimum packit-service disk space requirements
ansible.builtin.command: "{{ crc_path }}/crc config set disk-size 60 Gi"
Expand Down

0 comments on commit 64f0e4b

Please sign in to comment.