Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Cherry Pick] add reservations for kueue integration tests #3431

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tools/cloud-build/daily-tests/blueprints/gke-a2-highgpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ vars:
project_id: hpc-toolkit-dev ## Set GCP Project ID Here ##
deployment_name: gke-a2-highgpu
region: us-central1
zone: us-central1-c
zone: us-central1-f

# Cidr block containing the IP of the machine calling terraform.
# The following line must be updated for this example to work.
Expand Down Expand Up @@ -84,6 +84,7 @@ deployment_groups:
zones: [$(vars.zone)]
image_type: UBUNTU_CONTAINERD
placement_policy:
name: a2-highgpu-compact
type: "COMPACT"
outputs: [instructions]

Expand Down
10 changes: 8 additions & 2 deletions tools/cloud-build/daily-tests/tests/gke-a2-highgpu-kueue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,19 @@ workspace: /workspace
blueprint_yaml: "{{ workspace }}/tools/cloud-build/daily-tests/blueprints/gke-a2-highgpu.yaml"
network: "gke-a2high-net-{{ build }}"
region: us-central1
zone: us-central1-c
zone: us-central1-f
remote_node: "{{ deployment_name }}-remote-node-0"
reservation_affinity:
consume_reservation_type: SPECIFIC_RESERVATION
specific_reservations:
- name: a2-reservation-0
project: "{{ project }}"
cli_deployment_vars:
region: "{{ region }}"
zone: "{{ zone }}"
network_name: "{{ network }}"
local_ssd_count_nvme_block: 8
reservation_affinity: "{{ reservation_affinity }}"
local_ssd_count_nvme_block: 2
custom_vars:
project: "{{ project }}"
post_deploy_tests:
Expand Down
Loading