You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3
Original file line number
Diff line number
Diff line change
@@ -110,6 +110,8 @@ Then perform the following commands on the root folder:
110
110
| default\_max\_pods\_per\_node | The maximum number of pods to schedule per node | string |`"110"`| no |
111
111
| description | The description of the cluster | string |`""`| no |
112
112
| disable\_legacy\_metadata\_endpoints | Disable the /0.1/ and /v1beta1/ metadata server endpoints on the node. Changing this value will cause all node pools to be recreated. | bool |`"true"`| no |
113
+
| enable\_network\_egress\_export | Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic. | bool |`"false"`| no |
114
+
| enable\_resource\_consumption\_export | Whether to enable resource consumption metering on this cluster. When enabled, a table will be created in the resource export BigQuery dataset to store resource consumption data. The resulting table can be joined with the resource usage table or with BigQuery billing export. | bool |`"true"`| no |
113
115
| firewall\_inbound\_ports | List of TCP ports for admission/webhook controllers | list(string) |`<list>`| no |
114
116
| firewall\_priority | Priority rule for firewall rules | number |`"1000"`| no |
115
117
| grant\_registry\_access | Grants created cluster-specific service account storage.objectViewer role. | bool |`"false"`| no |
@@ -142,6 +144,7 @@ Then perform the following commands on the root folder:
142
144
| regional | Whether is a regional cluster (zonal cluster if set false. WARNING: changing this after cluster creation is destructive!) | bool |`"true"`| no |
143
145
| registry\_project\_id | Project holding the Google Container Registry. If empty, we use the cluster project. If grant_registry_access is true, storage.objectViewer role is assigned on this project. | string |`""`| no |
144
146
| remove\_default\_node\_pool | Remove default node pool while setting up the cluster | bool |`"false"`| no |
147
+
| resource\_usage\_export\_dataset\_id | The ID of a BigQuery Dataset for using BigQuery as the destination of resource usage export. | string |`""`| no |
145
148
| service\_account | The service account to run nodes as if not overridden in `node_pools`. The create_service_account variable default value (true) will cause a cluster-specific service account to be created. | string |`""`| no |
146
149
| skip\_provisioners | Flag to skip all local-exec provisioners. It breaks `stub_domains` and `upstream_nameservers` variables functionality. | bool |`"false"`| no |
147
150
| stub\_domains | Map of stub domains and their resolvers to forward DNS queries for a certain domain to an external DNS server | map(list(string)) |`<map>`| no |
description = "The ID of a BigQuery Dataset for using BigQuery as the destination of resource usage export."
189
+
default = ""
190
+
}
191
+
192
+
variable "enable_network_egress_export" {
193
+
type = bool
194
+
description = "Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic."
195
+
default = false
196
+
}
197
+
198
+
variable "enable_resource_consumption_export" {
199
+
type = bool
200
+
description = "Whether to enable resource consumption metering on this cluster. When enabled, a table will be created in the resource export BigQuery dataset to store resource consumption data. The resulting table can be joined with the resource usage table or with BigQuery billing export."
description = "The dataset id for which network egress metering for this cluster will be enabled. If enabled, a daemonset will be created in the cluster to meter network egress traffic."
434
-
default = ""
435
-
}
436
-
437
449
variable "node_metadata" {
438
450
description = "Specifies how node metadata is exposed to the workload running on the node"
description = "Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic."
274
+
default = false
275
+
}
276
+
277
+
variable "enable_resource_consumption_export" {
278
+
type = bool
279
+
description = "Whether to enable resource consumption metering on this cluster. When enabled, a table will be created in the resource export BigQuery dataset to store resource consumption data. The resulting table can be joined with the resource usage table or with BigQuery billing export."
280
+
default = true
281
+
}
282
+
271
283
variable "sandbox_enabled" {
272
284
type = bool
273
285
description = "(Beta) Enable GKE Sandbox (Do not forget to set `image_type` = `COS_CONTAINERD` to use it)."
| enable\_intranode\_visibility | Whether Intra-node visibility is enabled for this cluster. This makes same node pod to pod traffic visible for VPC network | bool |`"false"`| no |
177
177
| enable\_kubernetes\_alpha | Whether to enable Kubernetes Alpha features for this cluster. Note that when this option is enabled, the cluster cannot be upgraded and will be automatically deleted after 30 days. | bool |`"false"`| no |
178
+
| enable\_network\_egress\_export | Whether to enable network egress metering for this cluster. If enabled, a daemonset will be created in the cluster to meter network egress traffic. | bool |`"false"`| no |
178
179
| enable\_private\_endpoint | (Beta) Whether the master's internal IP address is used as the cluster endpoint | bool |`"false"`| no |
179
180
| enable\_private\_nodes | (Beta) Whether nodes have internal IP addresses only | bool |`"false"`| no |
181
+
| enable\_resource\_consumption\_export | Whether to enable resource consumption metering on this cluster. When enabled, a table will be created in the resource export BigQuery dataset to store resource consumption data. The resulting table can be joined with the resource usage table or with BigQuery billing export. | bool |`"true"`| no |
180
182
| enable\_shielded\_nodes | Enable Shielded Nodes features on all nodes in this cluster | bool |`"true"`| no |
181
183
| enable\_vertical\_pod\_autoscaling | Vertical Pod Autoscaling automatically adjusts the resources of pods controlled by it | bool |`"false"`| no |
182
184
| firewall\_inbound\_ports | List of TCP ports for admission/webhook controllers | list(string) |`<list>`| no |
@@ -221,7 +223,7 @@ Then perform the following commands on the root folder:
221
223
| registry\_project\_id | Project holding the Google Container Registry. If empty, we use the cluster project. If grant_registry_access is true, storage.objectViewer role is assigned on this project. | string |`""`| no |
222
224
| release\_channel | (Beta) The release channel of this cluster. Accepted values are `UNSPECIFIED`, `RAPID`, `REGULAR` and `STABLE`. Defaults to `UNSPECIFIED`. | string |`"null"`| no |
223
225
| remove\_default\_node\_pool | Remove default node pool while setting up the cluster | bool |`"false"`| no |
224
-
| resource\_usage\_export\_dataset\_id | The dataset id for which network egress metering for this cluster will be enabled. If enabled, a daemonset will be created in the cluster to meter network egress traffic. | string |`""`| no |
226
+
| resource\_usage\_export\_dataset\_id | The ID of a BigQuery Dataset for using BigQuery as the destination of resource usage export. | string |`""`| no |
225
227
| sandbox\_enabled | (Beta) Enable GKE Sandbox (Do not forget to set `image_type` = `COS_CONTAINERD` to use it). | bool |`"false"`| no |
226
228
| service\_account | The service account to run nodes as if not overridden in `node_pools`. The create_service_account variable default value (true) will cause a cluster-specific service account to be created. | string |`""`| no |
227
229
| skip\_provisioners | Flag to skip all local-exec provisioners. It breaks `stub_domains` and `upstream_nameservers` variables functionality. | bool |`"false"`| no |
0 commit comments