Skip to content

Commit

Permalink
Updates VM disk images in sandbox and staging (#67)
Browse files Browse the repository at this point in the history
* Updates disk images for mlab-sandbox

The new image contains an update write_metadata.sh script which takes into
account whether the VM is standalone or part of a MIG.

* Updates staging disk images

Like in sandbox, the updated disk images handle creating appropriate external
IP address metadata depending on whether the VM is standalone or a MIG.
  • Loading branch information
nkinkade committed Feb 14, 2024
1 parent c8c1bf1 commit e3c0c24
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions mlab-sandbox/platform-cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module "platform-cluster" {
instances = {
attributes = {
daemonset = "ndt"
disk_image = "platform-cluster-instance-2024-01-25t19-46-00"
disk_image = "platform-cluster-instance-2024-02-13t21-13-10"
disk_size_gb = 100
disk_type = "pd-ssd"
machine_type = "n2-highcpu-4"
Expand Down Expand Up @@ -39,7 +39,7 @@ module "platform-cluster" {

api_instances = {
machine_attributes = {
disk_image = "platform-cluster-api-instance-2024-01-25t19-46-00"
disk_image = "platform-cluster-api-instance-2024-02-13t21-13-10"
disk_size_gb_boot = 100
disk_size_gb_data = 10
# This will show up as /dev/disk/by-id/google-<name>
Expand Down Expand Up @@ -73,7 +73,7 @@ module "platform-cluster" {
}

prometheus_instance = {
disk_image = "platform-cluster-internal-instance-2024-01-25t19-46-00"
disk_image = "platform-cluster-internal-instance-2024-02-13t21-13-10"
disk_size_gb_boot = 100
disk_size_gb_data = 200
disk_type = "pd-ssd"
Expand Down
6 changes: 3 additions & 3 deletions mlab-staging/platform-cluster.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module "platform-cluster" {
instances = {
attributes = {
daemonset = "ndt"
disk_image = "platform-cluster-instance-2024-01-25t20-14-35"
disk_image = "platform-cluster-instance-2024-02-13t23-11-03"
disk_size_gb = 100
disk_type = "pd-ssd"
machine_type = "n2-highcpu-4"
Expand Down Expand Up @@ -41,7 +41,7 @@ module "platform-cluster" {

api_instances = {
machine_attributes = {
disk_image = "platform-cluster-api-instance-2024-01-25t20-14-35"
disk_image = "platform-cluster-api-instance-2024-02-13t23-11-03"
disk_size_gb_boot = 100
disk_size_gb_data = 10
# This will show up as /dev/disk/by-id/google-<name>
Expand Down Expand Up @@ -75,7 +75,7 @@ module "platform-cluster" {
}

prometheus_instance = {
disk_image = "platform-cluster-internal-instance-2024-01-25t20-14-35"
disk_image = "platform-cluster-internal-instance-2024-02-13t23-11-03"
disk_size_gb_boot = 100
disk_size_gb_data = 1500
disk_type = "pd-ssd"
Expand Down

0 comments on commit e3c0c24

Please sign in to comment.