-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add
auto_provisioning_defaults
to `google_container_cluster.cluster…
…_autoscaling` Signed-off-by: Modular Magician <[email protected]>
- Loading branch information
1 parent
08ef6ce
commit c986a5f
Showing
6 changed files
with
268 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -362,6 +362,9 @@ cluster. Configuring the `cpu` and `memory` types is required if node | |
auto-provisioning is enabled. These limits will apply to node pool autoscaling | ||
in addition to node auto-provisioning. Structure is documented below. | ||
|
||
* `auto_provisioning_defaults` - (Optional) Contains defaults for a node pool created by NAP. | ||
Structure is documented below. | ||
|
||
The `resource_limits` block supports: | ||
|
||
* `resource_type` - (Required) The type of the resource. For example, `cpu` and | ||
|
@@ -372,6 +375,14 @@ for a list of types. | |
|
||
* `maximum` - (Optional) Maximum amount of the resource in the cluster. | ||
|
||
The `auto_provisioning_defaults` block supports: | ||
|
||
* `oauth_scopes` - (Optional) Scopes that are used by NAP when creating node pools. | ||
If `oauth_scopes` are specified, `service_account` must be empty. | ||
|
||
* `service_account` - (Optional) The Google Cloud Platform Service Account to be used by the node VMs. | ||
If `service_account` is specified, `oauth_scopes` must be empty. | ||
|
||
The `authenticator_groups_config` block supports: | ||
|
||
* `security_group` - (Required) The name of the RBAC security group for use with Google security groups in Kubernetes RBAC. Group name must be in format `[email protected]`. | ||
|