Skip to content

Commit

Permalink
change name of script and instance type
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisp018 committed Jul 3, 2023
1 parent b765d70 commit a6ceefb
Show file tree
Hide file tree
Showing 8 changed files with 29 additions and 38 deletions.
58 changes: 29 additions & 29 deletions system/infra/modules/skeleton-infra/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -42,38 +42,38 @@ variable "eks_cluster_name" {
variable "node_groups" {
type = any
default = {
# app = {
# disk_size = 20
# instance_types = ["m5.2xlarge", "m5a.2xlarge", "m6a.2xlarge"]
# capacity_type = "SPOT"
# desired_capacity = 2
# max_size = 3
# min_size = 2
# kubernetes_taints = [{
# key = "node-group"
# value = "app"
# effect = "NO_EXECUTE"
# }]
# }
# request = {
# disk_size = 20
# instance_types = ["m5.2xlarge", "m5a.2xlarge", "m6a.2xlarge"]
# capacity_type = "SPOT"
# desired_capacity = 2
# max_size = 3
# min_size = 2
# kubernetes_taints = [
# {
# key = "node-group"
# value = "request"
# effect = "NO_EXECUTE"
# }
# ]
# }
app = {
disk_size = 20
instance_types = ["m5.2xlarge", "m5a.2xlarge", "m6a.2xlarge"]
capacity_type = "ON_DEMAND"
desired_capacity = 2
max_size = 3
min_size = 2
kubernetes_taints = [{
key = "node-group"
value = "app"
effect = "NO_EXECUTE"
}]
}
request = {
disk_size = 20
instance_types = ["m5.2xlarge", "m5a.2xlarge", "m6a.2xlarge"]
capacity_type = "ON_DEMAND"
desired_capacity = 2
max_size = 3
min_size = 2
kubernetes_taints = [
{
key = "node-group"
value = "request"
effect = "NO_EXECUTE"
}
]
}
system = {
disk_size = 20
instance_types = ["t3.medium", "t3a.medium"] #["m5.2xlarge", "m5a.2xlarge", "m6a.2xlarge"] #["t3.medium", "t3a.medium"]
capacity_type = "SPOT"
capacity_type = "ON_DEMAND"
desired_capacity = 1
max_size = 3
min_size = 1
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 0 additions & 9 deletions system/terraform.tfstate

This file was deleted.

0 comments on commit a6ceefb

Please sign in to comment.