Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Plural
platform
terraform-google-kubernetes-engine
Commits
83c74495
Commit
83c74495
authored
6 years ago
by
Olivier Cervello
Browse files
Options
Download
Email Patches
Plain Diff
Add node pool to example
parent
a7c02007
beta-module
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/beta_regional/main.tf
+43
-0
examples/beta_regional/main.tf
with
43 additions
and
0 deletions
+43
-0
examples/beta_regional/main.tf
+
43
-
0
View file @
83c74495
...
...
@@ -43,6 +43,49 @@ module "gke" {
ip_range_pods
=
"
${
var
.
ip_range_pods
}
"
ip_range_services
=
"
${
var
.
ip_range_services
}
"
service_account
=
"
${
var
.
compute_engine_service_account
}
"
node_pools
=
[
{
name
=
"pool-01"
min_count
=
1
max_count
=
2
service_account
=
"
${
var
.
compute_engine_service_account
}
"
auto_upgrade
=
true
},
]
node_pools_metadata
=
{
all
=
{}
pool
-
01
=
{}
}
node_pools_labels
=
{
all
=
{}
pool
-
01
=
{
pool
-
01
-
example
=
"true"
}
}
node_pools_taints
=
{
all
=
[]
pool
-
01
=
[
{
key
=
"pool-01-example"
value
=
"true"
effect
=
"PREFER_NO_SCHEDULE"
},
]
}
node_pools_tags
=
{
all
=
[]
pool
-
01
=
[
"pool-01-example"
,
]
}
}
data
"google_client_config"
"default"
{}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help