Skip to content

Commit

Permalink
fix: keep only one node pool (#11)
Browse files Browse the repository at this point in the history
* fix: remove non default node pools

* doc: remove big machine
  • Loading branch information
alexouzounis authored Feb 26, 2020
1 parent c687e42 commit d7f95a6
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 21 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ module "gke-cluster" {
kubernetes_version = var.gke_kubernetes_version
machine_type = var.gke_machine_type
big_machine_type = var.gke_big_machine_type
machine_disk_size = var.gke_machine_disk_size
machine_is_preemptible = var.gke_machine_is_preemptible
min_nodes = var.gke_min_nodes
Expand Down
16 changes: 0 additions & 16 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,4 @@ module "default_workers" {
min_nodes = var.min_nodes
max_nodes = var.max_nodes
init_nodes = var.init_nodes
}

module "big_worker" {
source = "./modules/gke-workers"
region = var.region
group_name = "big"
zones = var.zones
gke_cluster_name = module.cluster.gke_cluster_name
gke_node_scopes = var.gke_node_scopes
machine_type = var.big_machine_type
machine_disk_size = var.machine_disk_size
machine_disk_type = var.machine_disk_type
machine_is_preemptible = var.machine_is_preemptible
min_nodes = var.min_nodes
max_nodes = var.max_nodes
init_nodes = "0"
}
4 changes: 0 additions & 4 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ variable "machine_type" {
description = "Instance type for the primary pool of workers"
}

variable "big_machine_type" {
description = "Instance type for the beefier pool of workers"
}

variable "machine_disk_size" {
description = "Disk size for the primary pool of workers"
}
Expand Down

0 comments on commit d7f95a6

Please sign in to comment.