Skip to content

Commit

Permalink
Update the CPU machine type to be n1-standard-16 to improve kueue crd…
Browse files Browse the repository at this point in the history
… installation (#85)
  • Loading branch information
Obliviour authored Mar 15, 2024
1 parent c40e765 commit 0079e43
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ on:
types: [submitted]

jobs:
cluster-create-and-delete:
if: ${{ (github.event.review.state == 'approved') || (github.event_name == 'push')}}
cluster-create-and-delete:
if: ${{ (github.event.review.state == 'approved') || (github.event_name == 'push')}}
runs-on: [ubuntu-20.04]
steps:
- uses: actions/checkout@v4
Expand All @@ -36,10 +36,10 @@ jobs:
with:
version: '>= 363.0.0'
install_components: 'beta,gke-gcloud-auth-plugin'
- name: Verify gcp setup
- name: Verify gcp setup
run: gcloud info
- name: Create an XPK Cluster with 2x v4-8 nodepools
run: python xpk.py cluster create --cluster test-2-v4-8-nodepool --device-type=v4-8 --num-slices=2 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-8 --spot --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
run: python xpk.py cluster create --cluster test-2-v4-8-nodepool --device-type=v4-8 --num-slices=2 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-16 --spot --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
- name: Delete the cluster created
run: python xpk.py cluster delete --cluster test-2-v4-8-nodepool --zone=us-central2-b

Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/nightly_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ name: Nightly Tests
on:
workflow_dispatch:
schedule: #schedule the job run at 12AM PST daily
- cron: '0 8 * * *'
- cron: '0 8 * * *'

jobs:
cluster-create-and-delete:
cluster-create-and-delete:
runs-on: [ubuntu-20.04]
steps:
- uses: actions/checkout@v4
Expand All @@ -34,14 +34,14 @@ jobs:
with:
version: '>= 363.0.0'
install_components: 'beta,gke-gcloud-auth-plugin'
- name: Verify gcp setup
- name: Verify gcp setup
run: gcloud info
- name: Create an XPK Cluster with zero node pools
run: python xpk.py cluster create --cluster test-zero-nodepool --device-type=v4-8 --num-slices=0 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-8 --spot --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
run: python xpk.py cluster create --cluster test-zero-nodepool --device-type=v4-8 --num-slices=0 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-16 --spot --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
- name: Delete the cluster created
run: python xpk.py cluster delete --cluster test-zero-nodepool --zone=us-central2-b
- name: Create an XPK Cluster with 2x v4-8 nodepools
run: python xpk.py cluster create --cluster test-2-v4-8-nodepool --device-type=v4-8 --num-slices=2 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-8 --spot --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
run: python xpk.py cluster delete --cluster test-zero-nodepool --zone=us-central2-b
- name: Create an XPK Cluster with 2x v4-8 nodepools
run: python xpk.py cluster create --cluster test-2-v4-8-nodepool --device-type=v4-8 --num-slices=2 --zone=us-central2-b --default-pool-cpu-machine-type=n1-standard-16 --spot --custom-cluster-arguments='${{ secrets.CLUSTER_ARGUMENTS }}'
- name: Delete the cluster created
run: python xpk.py cluster delete --cluster test-2-v4-8-nodepool --zone=us-central2-b

Expand Down

0 comments on commit 0079e43

Please sign in to comment.