add tele secretbfor webhook
This commit is contained in:
parent
3bf9cf1067
commit
86550e1c9c
6 changed files with 63 additions and 8 deletions
27
modules/new-nodepool.tf
Normal file
27
modules/new-nodepool.tf
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
|
||||
resource "google_container_node_pool" "e4-node-pool" {
|
||||
name = "devops-lab-nodepool-e4"
|
||||
location = "us-central1-a"
|
||||
cluster = google_container_cluster.primary.name
|
||||
initial_node_count = 1
|
||||
network_config {
|
||||
pod_range = "pod-ranges"
|
||||
}
|
||||
|
||||
autoscaling {
|
||||
min_node_count = 1
|
||||
max_node_count = 5
|
||||
}
|
||||
|
||||
node_config {
|
||||
machine_type = "e2-standard-4"
|
||||
spot = false
|
||||
disk_size_gb = 100
|
||||
disk_type = "pd-standard"
|
||||
oauth_scopes = [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
]
|
||||
}
|
||||
depends_on = [google_container_cluster.primary]
|
||||
|
||||
}
|
||||
|
|
@ -16,7 +16,7 @@ resource "google_container_node_pool" "cluster" {
|
|||
node_config {
|
||||
machine_type = "e2-standard-2"
|
||||
spot = false
|
||||
disk_size_gb = 20
|
||||
disk_size_gb = 100
|
||||
disk_type = "pd-standard"
|
||||
oauth_scopes = [
|
||||
"https://www.googleapis.com/auth/cloud-platform"
|
||||
|
|
|
|||
Loading…
Reference in a new issue