Skip to content

Commit

Permalink
DAOSGCP-111 cleanup 1
Browse files Browse the repository at this point in the history
  more tested needed to move the index to 0.

  The current DAOS configs are 3%

Signed-off-by: Keith Mannthey <keith.mannthey@intel.com>
  • Loading branch information
Kmannth committed May 18, 2022
1 parent d62124a commit 94e4cd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions terraform/examples/daos_cluster/terraform.tfvars.perf.example
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ server_daos_scm_size = 45
# {
# name = "pool1",
# size = "1TB",
# tier_ratio = 6
# tier_ratio = 3
# acls = [
# "A::OWNER@:rwdtTaAo",
# "A:G:GROUP@:rwtT",
# "A::EVERYONE@:r",
# ],
# properties = {
# reclaim = "lazy"
# checksum = "disabled"
# },
# containers = [
# {
Expand Down
6 changes: 3 additions & 3 deletions terraform/modules/daos_client/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ resource "google_compute_instance_group_manager" "daos_sig" {
name = var.mig_name
count = var.number_of_instances > 0 ? 1 : 0
version {
instance_template = google_compute_instance_template.daos_sig_template[1].self_link
instance_template = google_compute_instance_template.daos_sig_template[0].self_link
}

base_instance_name = var.instance_base_name
Expand All @@ -96,7 +96,7 @@ resource "google_compute_instance_group_manager" "daos_sig" {
resource "google_compute_per_instance_config" "named_instances" {
zone = var.zone
project = var.project_id
instance_group_manager = google_compute_instance_group_manager.daos_sig[1].name
instance_group_manager = google_compute_instance_group_manager.daos_sig[0].name
count = var.number_of_instances
name = format("%s-%04d", var.instance_base_name, sum([count.index, 1]))
preserved_state {
Expand All @@ -109,7 +109,7 @@ resource "google_compute_per_instance_config" "named_instances" {
# Adding a reference to the instance template used causes the stateful instance to update
# if the instance template changes. Otherwise there is no explicit dependency and template
# changes may not occur on the stateful instance
instance_template = google_compute_instance_template.daos_sig_template[1].self_link
instance_template = google_compute_instance_template.daos_sig_template[0].self_link
}
}
}

0 comments on commit 94e4cd1

Please sign in to comment.