Skip to content

Commit

Permalink
fix(gce): change default number of disks to 4
Browse files Browse the repository at this point in the history
since 831116f changes the default
instance type for gce, we need to chaneg the default disk number
so we won't run into following error:

```
Number of local SSDs for an instance of type n2-highmem-8 should be one of
[0, 1, 2, 4, 8, 16, 24], while [3] is requested.
```
  • Loading branch information
fruch committed Dec 1, 2024
1 parent a8fb34a commit 1d64cf9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion defaults/gce_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ gce_n_local_ssd_disk_monitor: 0
gce_instance_type_db: 'n2-highmem-8'
gce_root_disk_type_db: 'pd-ssd'
root_disk_size_db: 50
gce_n_local_ssd_disk_db: 3
gce_n_local_ssd_disk_db: 4

gce_pd_standard_disk_size_db: 0
gce_pd_ssd_disk_size_db: 0
Expand Down
2 changes: 1 addition & 1 deletion defaults/k8s_gke_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ gke_k8s_release_channel: ''
gce_instance_type_db: 'n2-standard-8'
gce_root_disk_type_db: 'pd-ssd'
root_disk_size_db: 50
gce_n_local_ssd_disk_db: 3
gce_n_local_ssd_disk_db: 4

n_db_nodes: 4
k8s_n_scylla_pods_per_cluster: 3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ k8s_scylla_disk_gi: 3490
gce_datacenter: 'us-east1 us-west1'
gce_instance_type_db: 'n2-standard-16'
gce_root_disk_type_db: 'pd-ssd'
gce_n_local_ssd_disk_db: 3
gce_n_local_ssd_disk_db: 4

# NOTE: for GKE job the 'k8s_scylla_disk_gi' and 'user_prefix' options must be redefined
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ k8s_scylla_disk_gi: 1500
gce_datacenter: 'us-east1 us-west1'
gce_instance_type_db: 'n2-standard-8'
gce_root_disk_type_db: 'pd-ssd'
gce_n_local_ssd_disk_db: 3
gce_n_local_ssd_disk_db: 4

# NOTE: for GKE job the 'k8s_scylla_disk_gi' and 'user_prefix' options must be redefined

0 comments on commit 1d64cf9

Please sign in to comment.