pulumi-gcp 8.20.0a1739946722__py3-none-any.whl → 8.21.0a1740551699__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (189) hide show
  1. pulumi_gcp/__init__.py +48 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +168 -8
  3. pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +2 -2
  4. pulumi_gcp/accesscontextmanager/outputs.py +104 -8
  5. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +78 -3
  6. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +78 -3
  7. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +78 -3
  8. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +78 -3
  9. pulumi_gcp/alloydb/__init__.py +1 -0
  10. pulumi_gcp/alloydb/get_instance.py +466 -0
  11. pulumi_gcp/alloydb/outputs.py +352 -0
  12. pulumi_gcp/apigateway/get_api_config_iam_policy.py +20 -2
  13. pulumi_gcp/apigateway/get_api_iam_policy.py +20 -2
  14. pulumi_gcp/apigateway/get_gateway_iam_policy.py +22 -2
  15. pulumi_gcp/apigee/get_environment_iam_policy.py +2 -2
  16. pulumi_gcp/artifactregistry/get_repository_iam_policy.py +2 -2
  17. pulumi_gcp/beyondcorp/get_application_iam_policy.py +2 -2
  18. pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -2
  19. pulumi_gcp/bigquery/connection.py +2 -14
  20. pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -2
  21. pulumi_gcp/bigquery/get_table_iam_policy.py +2 -2
  22. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +8 -8
  23. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +8 -8
  24. pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +8 -8
  25. pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
  26. pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
  27. pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +8 -8
  28. pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +8 -8
  29. pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +8 -8
  30. pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -2
  31. pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +2 -2
  32. pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +2 -2
  33. pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +2 -2
  34. pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -2
  35. pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +2 -2
  36. pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +2 -2
  37. pulumi_gcp/clouddeploy/get_target_iam_policy.py +2 -2
  38. pulumi_gcp/cloudfunctions/get_function_iam_policy.py +2 -2
  39. pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +2 -2
  40. pulumi_gcp/cloudrun/_inputs.py +6 -3
  41. pulumi_gcp/cloudrun/get_service_iam_policy.py +2 -2
  42. pulumi_gcp/cloudrun/outputs.py +4 -2
  43. pulumi_gcp/cloudrunv2/get_job_iam_policy.py +2 -2
  44. pulumi_gcp/cloudrunv2/get_service_iam_policy.py +2 -2
  45. pulumi_gcp/cloudtasks/get_queue_iam_policy.py +2 -2
  46. pulumi_gcp/colab/get_runtime_template_iam_policy.py +2 -2
  47. pulumi_gcp/composer/_inputs.py +6 -6
  48. pulumi_gcp/composer/outputs.py +8 -8
  49. pulumi_gcp/compute/_inputs.py +756 -30
  50. pulumi_gcp/compute/firewall_policy_rule.py +0 -2
  51. pulumi_gcp/compute/get_backend_bucket_iam_policy.py +20 -2
  52. pulumi_gcp/compute/get_backend_service_iam_policy.py +20 -2
  53. pulumi_gcp/compute/get_disk_iam_policy.py +2 -2
  54. pulumi_gcp/compute/get_hc_vpn_gateway.py +45 -1
  55. pulumi_gcp/compute/get_image_iam_policy.py +2 -2
  56. pulumi_gcp/compute/get_instance_iam_policy.py +2 -2
  57. pulumi_gcp/compute/get_instance_template_iam_policy.py +2 -2
  58. pulumi_gcp/compute/get_machine_image_iam_policy.py +20 -2
  59. pulumi_gcp/compute/get_region_backend_service_iam_policy.py +22 -2
  60. pulumi_gcp/compute/get_region_disk_iam_policy.py +2 -2
  61. pulumi_gcp/compute/get_snapshot_iam_policy.py +2 -2
  62. pulumi_gcp/compute/get_subnetwork_iam_policy.py +2 -2
  63. pulumi_gcp/compute/ha_vpn_gateway.py +189 -2
  64. pulumi_gcp/compute/instance_template.py +14 -35
  65. pulumi_gcp/compute/outputs.py +796 -18
  66. pulumi_gcp/config/__init__.pyi +2 -0
  67. pulumi_gcp/config/vars.py +4 -0
  68. pulumi_gcp/container/_inputs.py +447 -3
  69. pulumi_gcp/container/outputs.py +469 -5
  70. pulumi_gcp/containeranalysis/get_note_iam_policy.py +2 -2
  71. pulumi_gcp/datacatalog/entry_group_iam_binding.py +8 -8
  72. pulumi_gcp/datacatalog/entry_group_iam_member.py +8 -8
  73. pulumi_gcp/datacatalog/entry_group_iam_policy.py +8 -8
  74. pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +2 -2
  75. pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +2 -2
  76. pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +2 -2
  77. pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +2 -2
  78. pulumi_gcp/datacatalog/policy_tag_iam_binding.py +8 -8
  79. pulumi_gcp/datacatalog/policy_tag_iam_member.py +8 -8
  80. pulumi_gcp/datacatalog/policy_tag_iam_policy.py +8 -8
  81. pulumi_gcp/datacatalog/tag_template_iam_binding.py +8 -8
  82. pulumi_gcp/datacatalog/tag_template_iam_member.py +8 -8
  83. pulumi_gcp/datacatalog/tag_template_iam_policy.py +8 -8
  84. pulumi_gcp/datacatalog/taxonomy_iam_binding.py +8 -8
  85. pulumi_gcp/datacatalog/taxonomy_iam_member.py +8 -8
  86. pulumi_gcp/datacatalog/taxonomy_iam_policy.py +8 -8
  87. pulumi_gcp/dataform/get_repository_iam_policy.py +22 -2
  88. pulumi_gcp/datafusion/get_instance_iam_policy.py +2 -2
  89. pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -2
  90. pulumi_gcp/dataplex/get_asset_iam_policy.py +2 -2
  91. pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -2
  92. pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -2
  93. pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -2
  94. pulumi_gcp/dataplex/get_lake_iam_policy.py +2 -2
  95. pulumi_gcp/dataplex/get_task_iam_policy.py +2 -2
  96. pulumi_gcp/dataplex/get_zone_iam_policy.py +2 -2
  97. pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -2
  98. pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -2
  99. pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -2
  100. pulumi_gcp/dataproc/metastore_federation_iam_binding.py +8 -8
  101. pulumi_gcp/dataproc/metastore_federation_iam_member.py +8 -8
  102. pulumi_gcp/dataproc/metastore_federation_iam_policy.py +8 -8
  103. pulumi_gcp/dataproc/metastore_service_iam_binding.py +8 -8
  104. pulumi_gcp/dataproc/metastore_service_iam_member.py +8 -8
  105. pulumi_gcp/dataproc/metastore_service_iam_policy.py +8 -8
  106. pulumi_gcp/dns/get_managed_zone_iam_policy.py +2 -2
  107. pulumi_gcp/endpoints/get_service_iam_policy.py +2 -2
  108. pulumi_gcp/eventarc/_inputs.py +29 -8
  109. pulumi_gcp/eventarc/google_channel_config.py +58 -46
  110. pulumi_gcp/eventarc/outputs.py +20 -6
  111. pulumi_gcp/eventarc/trigger.py +95 -72
  112. pulumi_gcp/filestore/backup.py +4 -4
  113. pulumi_gcp/firebase/__init__.py +1 -0
  114. pulumi_gcp/firebase/data_connect_service.py +937 -0
  115. pulumi_gcp/gemini/__init__.py +4 -0
  116. pulumi_gcp/gemini/data_sharing_with_google_setting.py +607 -0
  117. pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +608 -0
  118. pulumi_gcp/gemini/get_repository_group_iam_policy.py +2 -2
  119. pulumi_gcp/gemini/logging_setting.py +42 -54
  120. pulumi_gcp/gemini/logging_setting_binding.py +722 -0
  121. pulumi_gcp/gemini/release_channel_setting.py +39 -43
  122. pulumi_gcp/gemini/release_channel_setting_binding.py +734 -0
  123. pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +2 -2
  124. pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +2 -2
  125. pulumi_gcp/gkehub/get_feature_iam_policy.py +2 -2
  126. pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -2
  127. pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -2
  128. pulumi_gcp/healthcare/get_consent_store_iam_policy.py +2 -2
  129. pulumi_gcp/iap/get_app_engine_service_iam_policy.py +2 -2
  130. pulumi_gcp/iap/get_app_engine_version_iam_policy.py +2 -2
  131. pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -2
  132. pulumi_gcp/iap/get_tunnel_iam_policy.py +2 -2
  133. pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +2 -2
  134. pulumi_gcp/iap/get_web_backend_service_iam_policy.py +2 -2
  135. pulumi_gcp/iap/get_web_iam_policy.py +2 -2
  136. pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +2 -2
  137. pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
  138. pulumi_gcp/iap/get_web_type_compute_iam_policy.py +2 -2
  139. pulumi_gcp/kms/get_ekm_connection_iam_policy.py +2 -2
  140. pulumi_gcp/logging/get_log_view_iam_policy.py +2 -2
  141. pulumi_gcp/monitoring/_inputs.py +588 -0
  142. pulumi_gcp/monitoring/outputs.py +410 -0
  143. pulumi_gcp/netapp/__init__.py +1 -0
  144. pulumi_gcp/netapp/volume_quota_rule.py +895 -0
  145. pulumi_gcp/networksecurity/address_group_iam_binding.py +4 -4
  146. pulumi_gcp/networksecurity/address_group_iam_member.py +4 -4
  147. pulumi_gcp/networksecurity/address_group_iam_policy.py +4 -4
  148. pulumi_gcp/networkservices/authz_extension.py +8 -15
  149. pulumi_gcp/networkservices/mesh.py +79 -12
  150. pulumi_gcp/notebooks/get_instance_iam_policy.py +2 -2
  151. pulumi_gcp/notebooks/get_runtime_iam_policy.py +2 -2
  152. pulumi_gcp/provider.py +20 -0
  153. pulumi_gcp/pubsub/get_schema_iam_policy.py +2 -2
  154. pulumi_gcp/pubsub/get_topic_iam_policy.py +2 -2
  155. pulumi_gcp/pulumi-plugin.json +1 -1
  156. pulumi_gcp/runtimeconfig/get_config_iam_policy.py +20 -2
  157. pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -2
  158. pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -2
  159. pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -2
  160. pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -2
  161. pulumi_gcp/securitycenter/get_source_iam_policy.py +2 -2
  162. pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +2 -2
  163. pulumi_gcp/securitycenter/mute_config.py +136 -3
  164. pulumi_gcp/securitycenter/v2_folder_notification_config.py +2 -14
  165. pulumi_gcp/securitycenter/v2_organization_notification_config.py +2 -14
  166. pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +8 -8
  167. pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +8 -8
  168. pulumi_gcp/securitycenter/v2_organization_source_iam_policy.py +8 -8
  169. pulumi_gcp/securitycenter/v2_project_notification_config.py +2 -14
  170. pulumi_gcp/servicedirectory/get_namespace_iam_policy.py +18 -2
  171. pulumi_gcp/servicedirectory/get_service_iam_policy.py +18 -2
  172. pulumi_gcp/sourcerepo/get_repository_iam_policy.py +2 -2
  173. pulumi_gcp/spanner/instance.py +0 -46
  174. pulumi_gcp/sql/_inputs.py +6 -6
  175. pulumi_gcp/sql/outputs.py +4 -4
  176. pulumi_gcp/storage/bucket.py +30 -0
  177. pulumi_gcp/storage/get_bucket_iam_policy.py +2 -2
  178. pulumi_gcp/tags/get_tag_key_iam_policy.py +2 -2
  179. pulumi_gcp/tags/get_tag_value_iam_policy.py +2 -2
  180. pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +22 -2
  181. pulumi_gcp/vertex/get_ai_featurestore_entitytype_iam_policy.py +20 -2
  182. pulumi_gcp/vertex/get_ai_featurestore_iam_policy.py +22 -2
  183. pulumi_gcp/workbench/get_instance_iam_policy.py +2 -2
  184. pulumi_gcp/workstations/get_workstation_config_iam_policy.py +24 -2
  185. pulumi_gcp/workstations/get_workstation_iam_policy.py +26 -2
  186. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/METADATA +1 -1
  187. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/RECORD +189 -182
  188. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/WHEEL +1 -1
  189. {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/top_level.txt +0 -0
@@ -6595,7 +6595,7 @@ class ClusterMasterAuthorizedNetworksConfig(dict):
6595
6595
  Kubernetes cluster master through HTTPS.
6596
6596
  :param bool gcp_public_cidrs_access_enabled: Whether Kubernetes master is
6597
6597
  accessible via Google Compute Engine Public IPs.
6598
- :param bool private_endpoint_enforcement_enabled: Whether authorized networks is enforced on the private endpoint or not. Defaults to false.
6598
+ :param bool private_endpoint_enforcement_enabled: Whether authorized networks is enforced on the private endpoint or not.
6599
6599
  """
6600
6600
  if cidr_blocks is not None:
6601
6601
  pulumi.set(__self__, "cidr_blocks", cidr_blocks)
@@ -6626,7 +6626,7 @@ class ClusterMasterAuthorizedNetworksConfig(dict):
6626
6626
  @pulumi.getter(name="privateEndpointEnforcementEnabled")
6627
6627
  def private_endpoint_enforcement_enabled(self) -> Optional[bool]:
6628
6628
  """
6629
- Whether authorized networks is enforced on the private endpoint or not. Defaults to false.
6629
+ Whether authorized networks is enforced on the private endpoint or not.
6630
6630
  """
6631
6631
  return pulumi.get(self, "private_endpoint_enforcement_enabled")
6632
6632
 
@@ -8281,12 +8281,26 @@ class ClusterNodeConfigKubeletConfig(dict):
8281
8281
  @staticmethod
8282
8282
  def __key_warning(key: str):
8283
8283
  suggest = None
8284
- if key == "cpuCfsQuota":
8284
+ if key == "allowedUnsafeSysctls":
8285
+ suggest = "allowed_unsafe_sysctls"
8286
+ elif key == "containerLogMaxFiles":
8287
+ suggest = "container_log_max_files"
8288
+ elif key == "containerLogMaxSize":
8289
+ suggest = "container_log_max_size"
8290
+ elif key == "cpuCfsQuota":
8285
8291
  suggest = "cpu_cfs_quota"
8286
8292
  elif key == "cpuCfsQuotaPeriod":
8287
8293
  suggest = "cpu_cfs_quota_period"
8288
8294
  elif key == "cpuManagerPolicy":
8289
8295
  suggest = "cpu_manager_policy"
8296
+ elif key == "imageGcHighThresholdPercent":
8297
+ suggest = "image_gc_high_threshold_percent"
8298
+ elif key == "imageGcLowThresholdPercent":
8299
+ suggest = "image_gc_low_threshold_percent"
8300
+ elif key == "imageMaximumGcAge":
8301
+ suggest = "image_maximum_gc_age"
8302
+ elif key == "imageMinimumGcAge":
8303
+ suggest = "image_minimum_gc_age"
8290
8304
  elif key == "insecureKubeletReadonlyPortEnabled":
8291
8305
  suggest = "insecure_kubelet_readonly_port_enabled"
8292
8306
  elif key == "podPidsLimit":
@@ -8304,12 +8318,26 @@ class ClusterNodeConfigKubeletConfig(dict):
8304
8318
  return super().get(key, default)
8305
8319
 
8306
8320
  def __init__(__self__, *,
8321
+ allowed_unsafe_sysctls: Optional[Sequence[str]] = None,
8322
+ container_log_max_files: Optional[int] = None,
8323
+ container_log_max_size: Optional[str] = None,
8307
8324
  cpu_cfs_quota: Optional[bool] = None,
8308
8325
  cpu_cfs_quota_period: Optional[str] = None,
8309
8326
  cpu_manager_policy: Optional[str] = None,
8327
+ image_gc_high_threshold_percent: Optional[int] = None,
8328
+ image_gc_low_threshold_percent: Optional[int] = None,
8329
+ image_maximum_gc_age: Optional[str] = None,
8330
+ image_minimum_gc_age: Optional[str] = None,
8310
8331
  insecure_kubelet_readonly_port_enabled: Optional[str] = None,
8311
8332
  pod_pids_limit: Optional[int] = None):
8312
8333
  """
8334
+ :param Sequence[str] allowed_unsafe_sysctls: Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods. The allowed sysctl groups are `kernel.shm*`, `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`.
8335
+ :param int container_log_max_files: Defines the maximum number of container log files that can be present for a container. The integer must be between 2 and 10, inclusive.
8336
+ :param str container_log_max_size: Defines the maximum size of the
8337
+ container log file before it is rotated. Specified as a positive number and a
8338
+ unit suffix, such as `"100Ki"`, `"10Mi"`. Valid units are "Ki", "Mi", "Gi".
8339
+ The value must be between `"10Mi"` and `"500Mi"`, inclusive. And the total container log size
8340
+ (`container_log_max_size` * `container_log_max_files`) cannot exceed 1% of the total storage of the node.
8313
8341
  :param bool cpu_cfs_quota: If true, enables CPU CFS quota enforcement for
8314
8342
  containers that specify CPU limits.
8315
8343
  :param str cpu_cfs_quota_period: The CPU CFS quota period value. Specified
@@ -8321,20 +8349,66 @@ class ClusterNodeConfigKubeletConfig(dict):
8321
8349
  One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
8322
8350
  Prior to the 6.4.0 this field was marked as required. The workaround for the required field
8323
8351
  is setting the empty string `""`, which will function identically to not setting this field.
8352
+ :param int image_gc_high_threshold_percent: Defines the percent of disk usage after which image garbage collection is always run. The integer must be between 10 and 85, inclusive.
8353
+ :param int image_gc_low_threshold_percent: Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The integer must be between 10 and 85, inclusive.
8354
+ :param str image_maximum_gc_age: Defines the maximum age an image can be unused before it is garbage collected. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as `"300s"`, `"1.5m"`, and `"2h45m"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
8355
+ :param str image_minimum_gc_age: Defines the minimum age for an unused image before it is garbage collected. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as `"300s"`, `"1.5m"`. The value cannot be greater than "2m".
8324
8356
  :param str insecure_kubelet_readonly_port_enabled: Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to `FALSE`. Possible values: `TRUE`, `FALSE`.
8325
8357
  :param int pod_pids_limit: Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
8326
8358
  """
8359
+ if allowed_unsafe_sysctls is not None:
8360
+ pulumi.set(__self__, "allowed_unsafe_sysctls", allowed_unsafe_sysctls)
8361
+ if container_log_max_files is not None:
8362
+ pulumi.set(__self__, "container_log_max_files", container_log_max_files)
8363
+ if container_log_max_size is not None:
8364
+ pulumi.set(__self__, "container_log_max_size", container_log_max_size)
8327
8365
  if cpu_cfs_quota is not None:
8328
8366
  pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
8329
8367
  if cpu_cfs_quota_period is not None:
8330
8368
  pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
8331
8369
  if cpu_manager_policy is not None:
8332
8370
  pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
8371
+ if image_gc_high_threshold_percent is not None:
8372
+ pulumi.set(__self__, "image_gc_high_threshold_percent", image_gc_high_threshold_percent)
8373
+ if image_gc_low_threshold_percent is not None:
8374
+ pulumi.set(__self__, "image_gc_low_threshold_percent", image_gc_low_threshold_percent)
8375
+ if image_maximum_gc_age is not None:
8376
+ pulumi.set(__self__, "image_maximum_gc_age", image_maximum_gc_age)
8377
+ if image_minimum_gc_age is not None:
8378
+ pulumi.set(__self__, "image_minimum_gc_age", image_minimum_gc_age)
8333
8379
  if insecure_kubelet_readonly_port_enabled is not None:
8334
8380
  pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
8335
8381
  if pod_pids_limit is not None:
8336
8382
  pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
8337
8383
 
8384
+ @property
8385
+ @pulumi.getter(name="allowedUnsafeSysctls")
8386
+ def allowed_unsafe_sysctls(self) -> Optional[Sequence[str]]:
8387
+ """
8388
+ Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods. The allowed sysctl groups are `kernel.shm*`, `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`.
8389
+ """
8390
+ return pulumi.get(self, "allowed_unsafe_sysctls")
8391
+
8392
+ @property
8393
+ @pulumi.getter(name="containerLogMaxFiles")
8394
+ def container_log_max_files(self) -> Optional[int]:
8395
+ """
8396
+ Defines the maximum number of container log files that can be present for a container. The integer must be between 2 and 10, inclusive.
8397
+ """
8398
+ return pulumi.get(self, "container_log_max_files")
8399
+
8400
+ @property
8401
+ @pulumi.getter(name="containerLogMaxSize")
8402
+ def container_log_max_size(self) -> Optional[str]:
8403
+ """
8404
+ Defines the maximum size of the
8405
+ container log file before it is rotated. Specified as a positive number and a
8406
+ unit suffix, such as `"100Ki"`, `"10Mi"`. Valid units are "Ki", "Mi", "Gi".
8407
+ The value must be between `"10Mi"` and `"500Mi"`, inclusive. And the total container log size
8408
+ (`container_log_max_size` * `container_log_max_files`) cannot exceed 1% of the total storage of the node.
8409
+ """
8410
+ return pulumi.get(self, "container_log_max_size")
8411
+
8338
8412
  @property
8339
8413
  @pulumi.getter(name="cpuCfsQuota")
8340
8414
  def cpu_cfs_quota(self) -> Optional[bool]:
@@ -8367,6 +8441,38 @@ class ClusterNodeConfigKubeletConfig(dict):
8367
8441
  """
8368
8442
  return pulumi.get(self, "cpu_manager_policy")
8369
8443
 
8444
+ @property
8445
+ @pulumi.getter(name="imageGcHighThresholdPercent")
8446
+ def image_gc_high_threshold_percent(self) -> Optional[int]:
8447
+ """
8448
+ Defines the percent of disk usage after which image garbage collection is always run. The integer must be between 10 and 85, inclusive.
8449
+ """
8450
+ return pulumi.get(self, "image_gc_high_threshold_percent")
8451
+
8452
+ @property
8453
+ @pulumi.getter(name="imageGcLowThresholdPercent")
8454
+ def image_gc_low_threshold_percent(self) -> Optional[int]:
8455
+ """
8456
+ Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The integer must be between 10 and 85, inclusive.
8457
+ """
8458
+ return pulumi.get(self, "image_gc_low_threshold_percent")
8459
+
8460
+ @property
8461
+ @pulumi.getter(name="imageMaximumGcAge")
8462
+ def image_maximum_gc_age(self) -> Optional[str]:
8463
+ """
8464
+ Defines the maximum age an image can be unused before it is garbage collected. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as `"300s"`, `"1.5m"`, and `"2h45m"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
8465
+ """
8466
+ return pulumi.get(self, "image_maximum_gc_age")
8467
+
8468
+ @property
8469
+ @pulumi.getter(name="imageMinimumGcAge")
8470
+ def image_minimum_gc_age(self) -> Optional[str]:
8471
+ """
8472
+ Defines the minimum age for an unused image before it is garbage collected. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as `"300s"`, `"1.5m"`. The value cannot be greater than "2m".
8473
+ """
8474
+ return pulumi.get(self, "image_minimum_gc_age")
8475
+
8370
8476
  @property
8371
8477
  @pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
8372
8478
  def insecure_kubelet_readonly_port_enabled(self) -> Optional[str]:
@@ -11455,12 +11561,26 @@ class ClusterNodePoolNodeConfigKubeletConfig(dict):
11455
11561
  @staticmethod
11456
11562
  def __key_warning(key: str):
11457
11563
  suggest = None
11458
- if key == "cpuCfsQuota":
11564
+ if key == "allowedUnsafeSysctls":
11565
+ suggest = "allowed_unsafe_sysctls"
11566
+ elif key == "containerLogMaxFiles":
11567
+ suggest = "container_log_max_files"
11568
+ elif key == "containerLogMaxSize":
11569
+ suggest = "container_log_max_size"
11570
+ elif key == "cpuCfsQuota":
11459
11571
  suggest = "cpu_cfs_quota"
11460
11572
  elif key == "cpuCfsQuotaPeriod":
11461
11573
  suggest = "cpu_cfs_quota_period"
11462
11574
  elif key == "cpuManagerPolicy":
11463
11575
  suggest = "cpu_manager_policy"
11576
+ elif key == "imageGcHighThresholdPercent":
11577
+ suggest = "image_gc_high_threshold_percent"
11578
+ elif key == "imageGcLowThresholdPercent":
11579
+ suggest = "image_gc_low_threshold_percent"
11580
+ elif key == "imageMaximumGcAge":
11581
+ suggest = "image_maximum_gc_age"
11582
+ elif key == "imageMinimumGcAge":
11583
+ suggest = "image_minimum_gc_age"
11464
11584
  elif key == "insecureKubeletReadonlyPortEnabled":
11465
11585
  suggest = "insecure_kubelet_readonly_port_enabled"
11466
11586
  elif key == "podPidsLimit":
@@ -11478,12 +11598,26 @@ class ClusterNodePoolNodeConfigKubeletConfig(dict):
11478
11598
  return super().get(key, default)
11479
11599
 
11480
11600
  def __init__(__self__, *,
11601
+ allowed_unsafe_sysctls: Optional[Sequence[str]] = None,
11602
+ container_log_max_files: Optional[int] = None,
11603
+ container_log_max_size: Optional[str] = None,
11481
11604
  cpu_cfs_quota: Optional[bool] = None,
11482
11605
  cpu_cfs_quota_period: Optional[str] = None,
11483
11606
  cpu_manager_policy: Optional[str] = None,
11607
+ image_gc_high_threshold_percent: Optional[int] = None,
11608
+ image_gc_low_threshold_percent: Optional[int] = None,
11609
+ image_maximum_gc_age: Optional[str] = None,
11610
+ image_minimum_gc_age: Optional[str] = None,
11484
11611
  insecure_kubelet_readonly_port_enabled: Optional[str] = None,
11485
11612
  pod_pids_limit: Optional[int] = None):
11486
11613
  """
11614
+ :param Sequence[str] allowed_unsafe_sysctls: Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods. The allowed sysctl groups are `kernel.shm*`, `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`.
11615
+ :param int container_log_max_files: Defines the maximum number of container log files that can be present for a container. The integer must be between 2 and 10, inclusive.
11616
+ :param str container_log_max_size: Defines the maximum size of the
11617
+ container log file before it is rotated. Specified as a positive number and a
11618
+ unit suffix, such as `"100Ki"`, `"10Mi"`. Valid units are "Ki", "Mi", "Gi".
11619
+ The value must be between `"10Mi"` and `"500Mi"`, inclusive. And the total container log size
11620
+ (`container_log_max_size` * `container_log_max_files`) cannot exceed 1% of the total storage of the node.
11487
11621
  :param bool cpu_cfs_quota: If true, enables CPU CFS quota enforcement for
11488
11622
  containers that specify CPU limits.
11489
11623
  :param str cpu_cfs_quota_period: The CPU CFS quota period value. Specified
@@ -11495,20 +11629,66 @@ class ClusterNodePoolNodeConfigKubeletConfig(dict):
11495
11629
  One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
11496
11630
  Prior to the 6.4.0 this field was marked as required. The workaround for the required field
11497
11631
  is setting the empty string `""`, which will function identically to not setting this field.
11632
+ :param int image_gc_high_threshold_percent: Defines the percent of disk usage after which image garbage collection is always run. The integer must be between 10 and 85, inclusive.
11633
+ :param int image_gc_low_threshold_percent: Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The integer must be between 10 and 85, inclusive.
11634
+ :param str image_maximum_gc_age: Defines the maximum age an image can be unused before it is garbage collected. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as `"300s"`, `"1.5m"`, and `"2h45m"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
11635
+ :param str image_minimum_gc_age: Defines the minimum age for an unused image before it is garbage collected. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as `"300s"`, `"1.5m"`. The value cannot be greater than "2m".
11498
11636
  :param str insecure_kubelet_readonly_port_enabled: Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to `FALSE`. Possible values: `TRUE`, `FALSE`.
11499
11637
  :param int pod_pids_limit: Controls the maximum number of processes allowed to run in a pod. The value must be greater than or equal to 1024 and less than 4194304.
11500
11638
  """
11639
+ if allowed_unsafe_sysctls is not None:
11640
+ pulumi.set(__self__, "allowed_unsafe_sysctls", allowed_unsafe_sysctls)
11641
+ if container_log_max_files is not None:
11642
+ pulumi.set(__self__, "container_log_max_files", container_log_max_files)
11643
+ if container_log_max_size is not None:
11644
+ pulumi.set(__self__, "container_log_max_size", container_log_max_size)
11501
11645
  if cpu_cfs_quota is not None:
11502
11646
  pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
11503
11647
  if cpu_cfs_quota_period is not None:
11504
11648
  pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
11505
11649
  if cpu_manager_policy is not None:
11506
11650
  pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
11651
+ if image_gc_high_threshold_percent is not None:
11652
+ pulumi.set(__self__, "image_gc_high_threshold_percent", image_gc_high_threshold_percent)
11653
+ if image_gc_low_threshold_percent is not None:
11654
+ pulumi.set(__self__, "image_gc_low_threshold_percent", image_gc_low_threshold_percent)
11655
+ if image_maximum_gc_age is not None:
11656
+ pulumi.set(__self__, "image_maximum_gc_age", image_maximum_gc_age)
11657
+ if image_minimum_gc_age is not None:
11658
+ pulumi.set(__self__, "image_minimum_gc_age", image_minimum_gc_age)
11507
11659
  if insecure_kubelet_readonly_port_enabled is not None:
11508
11660
  pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
11509
11661
  if pod_pids_limit is not None:
11510
11662
  pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
11511
11663
 
11664
+ @property
11665
+ @pulumi.getter(name="allowedUnsafeSysctls")
11666
+ def allowed_unsafe_sysctls(self) -> Optional[Sequence[str]]:
11667
+ """
11668
+ Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods. The allowed sysctl groups are `kernel.shm*`, `kernel.msg*`, `kernel.sem`, `fs.mqueue.*`, and `net.*`.
11669
+ """
11670
+ return pulumi.get(self, "allowed_unsafe_sysctls")
11671
+
11672
+ @property
11673
+ @pulumi.getter(name="containerLogMaxFiles")
11674
+ def container_log_max_files(self) -> Optional[int]:
11675
+ """
11676
+ Defines the maximum number of container log files that can be present for a container. The integer must be between 2 and 10, inclusive.
11677
+ """
11678
+ return pulumi.get(self, "container_log_max_files")
11679
+
11680
+ @property
11681
+ @pulumi.getter(name="containerLogMaxSize")
11682
+ def container_log_max_size(self) -> Optional[str]:
11683
+ """
11684
+ Defines the maximum size of the
11685
+ container log file before it is rotated. Specified as a positive number and a
11686
+ unit suffix, such as `"100Ki"`, `"10Mi"`. Valid units are "Ki", "Mi", "Gi".
11687
+ The value must be between `"10Mi"` and `"500Mi"`, inclusive. And the total container log size
11688
+ (`container_log_max_size` * `container_log_max_files`) cannot exceed 1% of the total storage of the node.
11689
+ """
11690
+ return pulumi.get(self, "container_log_max_size")
11691
+
11512
11692
  @property
11513
11693
  @pulumi.getter(name="cpuCfsQuota")
11514
11694
  def cpu_cfs_quota(self) -> Optional[bool]:
@@ -11541,6 +11721,38 @@ class ClusterNodePoolNodeConfigKubeletConfig(dict):
11541
11721
  """
11542
11722
  return pulumi.get(self, "cpu_manager_policy")
11543
11723
 
11724
+ @property
11725
+ @pulumi.getter(name="imageGcHighThresholdPercent")
11726
+ def image_gc_high_threshold_percent(self) -> Optional[int]:
11727
+ """
11728
+ Defines the percent of disk usage after which image garbage collection is always run. The integer must be between 10 and 85, inclusive.
11729
+ """
11730
+ return pulumi.get(self, "image_gc_high_threshold_percent")
11731
+
11732
+ @property
11733
+ @pulumi.getter(name="imageGcLowThresholdPercent")
11734
+ def image_gc_low_threshold_percent(self) -> Optional[int]:
11735
+ """
11736
+ Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to. The integer must be between 10 and 85, inclusive.
11737
+ """
11738
+ return pulumi.get(self, "image_gc_low_threshold_percent")
11739
+
11740
+ @property
11741
+ @pulumi.getter(name="imageMaximumGcAge")
11742
+ def image_maximum_gc_age(self) -> Optional[str]:
11743
+ """
11744
+ Defines the maximum age an image can be unused before it is garbage collected. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as `"300s"`, `"1.5m"`, and `"2h45m"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h". The value must be a positive duration.
11745
+ """
11746
+ return pulumi.get(self, "image_maximum_gc_age")
11747
+
11748
+ @property
11749
+ @pulumi.getter(name="imageMinimumGcAge")
11750
+ def image_minimum_gc_age(self) -> Optional[str]:
11751
+ """
11752
+ Defines the minimum age for an unused image before it is garbage collected. Specified as a sequence of decimal numbers, each with optional fraction and a unit suffix, such as `"300s"`, `"1.5m"`. The value cannot be greater than "2m".
11753
+ """
11754
+ return pulumi.get(self, "image_minimum_gc_age")
11755
+
11544
11756
  @property
11545
11757
  @pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
11546
11758
  def insecure_kubelet_readonly_port_enabled(self) -> Optional[str]:
@@ -14918,12 +15130,26 @@ class NodePoolNodeConfigKubeletConfig(dict):
14918
15130
  @staticmethod
14919
15131
  def __key_warning(key: str):
14920
15132
  suggest = None
14921
- if key == "cpuCfsQuota":
15133
+ if key == "allowedUnsafeSysctls":
15134
+ suggest = "allowed_unsafe_sysctls"
15135
+ elif key == "containerLogMaxFiles":
15136
+ suggest = "container_log_max_files"
15137
+ elif key == "containerLogMaxSize":
15138
+ suggest = "container_log_max_size"
15139
+ elif key == "cpuCfsQuota":
14922
15140
  suggest = "cpu_cfs_quota"
14923
15141
  elif key == "cpuCfsQuotaPeriod":
14924
15142
  suggest = "cpu_cfs_quota_period"
14925
15143
  elif key == "cpuManagerPolicy":
14926
15144
  suggest = "cpu_manager_policy"
15145
+ elif key == "imageGcHighThresholdPercent":
15146
+ suggest = "image_gc_high_threshold_percent"
15147
+ elif key == "imageGcLowThresholdPercent":
15148
+ suggest = "image_gc_low_threshold_percent"
15149
+ elif key == "imageMaximumGcAge":
15150
+ suggest = "image_maximum_gc_age"
15151
+ elif key == "imageMinimumGcAge":
15152
+ suggest = "image_minimum_gc_age"
14927
15153
  elif key == "insecureKubeletReadonlyPortEnabled":
14928
15154
  suggest = "insecure_kubelet_readonly_port_enabled"
14929
15155
  elif key == "podPidsLimit":
@@ -14941,29 +15167,81 @@ class NodePoolNodeConfigKubeletConfig(dict):
14941
15167
  return super().get(key, default)
14942
15168
 
14943
15169
  def __init__(__self__, *,
15170
+ allowed_unsafe_sysctls: Optional[Sequence[str]] = None,
15171
+ container_log_max_files: Optional[int] = None,
15172
+ container_log_max_size: Optional[str] = None,
14944
15173
  cpu_cfs_quota: Optional[bool] = None,
14945
15174
  cpu_cfs_quota_period: Optional[str] = None,
14946
15175
  cpu_manager_policy: Optional[str] = None,
15176
+ image_gc_high_threshold_percent: Optional[int] = None,
15177
+ image_gc_low_threshold_percent: Optional[int] = None,
15178
+ image_maximum_gc_age: Optional[str] = None,
15179
+ image_minimum_gc_age: Optional[str] = None,
14947
15180
  insecure_kubelet_readonly_port_enabled: Optional[str] = None,
14948
15181
  pod_pids_limit: Optional[int] = None):
14949
15182
  """
15183
+ :param Sequence[str] allowed_unsafe_sysctls: Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods.
15184
+ :param int container_log_max_files: Defines the maximum number of container log files that can be present for a container.
15185
+ :param str container_log_max_size: Defines the maximum size of the container log file before it is rotated.
14950
15186
  :param bool cpu_cfs_quota: Enable CPU CFS quota enforcement for containers that specify CPU limits.
14951
15187
  :param str cpu_cfs_quota_period: Set the CPU CFS quota period value 'cpu.cfs_period_us'.
14952
15188
  :param str cpu_manager_policy: Control the CPU management policy on the node.
15189
+ :param int image_gc_high_threshold_percent: Defines the percent of disk usage after which image garbage collection is always run.
15190
+ :param int image_gc_low_threshold_percent: Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to.
15191
+ :param str image_maximum_gc_age: Defines the maximum age an image can be unused before it is garbage collected.
15192
+ :param str image_minimum_gc_age: Defines the minimum age for an unused image before it is garbage collected.
14953
15193
  :param str insecure_kubelet_readonly_port_enabled: Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to `FALSE`. Possible values: `TRUE`, `FALSE`.
14954
15194
  :param int pod_pids_limit: Controls the maximum number of processes allowed to run in a pod.
14955
15195
  """
15196
+ if allowed_unsafe_sysctls is not None:
15197
+ pulumi.set(__self__, "allowed_unsafe_sysctls", allowed_unsafe_sysctls)
15198
+ if container_log_max_files is not None:
15199
+ pulumi.set(__self__, "container_log_max_files", container_log_max_files)
15200
+ if container_log_max_size is not None:
15201
+ pulumi.set(__self__, "container_log_max_size", container_log_max_size)
14956
15202
  if cpu_cfs_quota is not None:
14957
15203
  pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
14958
15204
  if cpu_cfs_quota_period is not None:
14959
15205
  pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
14960
15206
  if cpu_manager_policy is not None:
14961
15207
  pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
15208
+ if image_gc_high_threshold_percent is not None:
15209
+ pulumi.set(__self__, "image_gc_high_threshold_percent", image_gc_high_threshold_percent)
15210
+ if image_gc_low_threshold_percent is not None:
15211
+ pulumi.set(__self__, "image_gc_low_threshold_percent", image_gc_low_threshold_percent)
15212
+ if image_maximum_gc_age is not None:
15213
+ pulumi.set(__self__, "image_maximum_gc_age", image_maximum_gc_age)
15214
+ if image_minimum_gc_age is not None:
15215
+ pulumi.set(__self__, "image_minimum_gc_age", image_minimum_gc_age)
14962
15216
  if insecure_kubelet_readonly_port_enabled is not None:
14963
15217
  pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
14964
15218
  if pod_pids_limit is not None:
14965
15219
  pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
14966
15220
 
15221
+ @property
15222
+ @pulumi.getter(name="allowedUnsafeSysctls")
15223
+ def allowed_unsafe_sysctls(self) -> Optional[Sequence[str]]:
15224
+ """
15225
+ Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods.
15226
+ """
15227
+ return pulumi.get(self, "allowed_unsafe_sysctls")
15228
+
15229
+ @property
15230
+ @pulumi.getter(name="containerLogMaxFiles")
15231
+ def container_log_max_files(self) -> Optional[int]:
15232
+ """
15233
+ Defines the maximum number of container log files that can be present for a container.
15234
+ """
15235
+ return pulumi.get(self, "container_log_max_files")
15236
+
15237
+ @property
15238
+ @pulumi.getter(name="containerLogMaxSize")
15239
+ def container_log_max_size(self) -> Optional[str]:
15240
+ """
15241
+ Defines the maximum size of the container log file before it is rotated.
15242
+ """
15243
+ return pulumi.get(self, "container_log_max_size")
15244
+
14967
15245
  @property
14968
15246
  @pulumi.getter(name="cpuCfsQuota")
14969
15247
  def cpu_cfs_quota(self) -> Optional[bool]:
@@ -14988,6 +15266,38 @@ class NodePoolNodeConfigKubeletConfig(dict):
14988
15266
  """
14989
15267
  return pulumi.get(self, "cpu_manager_policy")
14990
15268
 
15269
+ @property
15270
+ @pulumi.getter(name="imageGcHighThresholdPercent")
15271
+ def image_gc_high_threshold_percent(self) -> Optional[int]:
15272
+ """
15273
+ Defines the percent of disk usage after which image garbage collection is always run.
15274
+ """
15275
+ return pulumi.get(self, "image_gc_high_threshold_percent")
15276
+
15277
+ @property
15278
+ @pulumi.getter(name="imageGcLowThresholdPercent")
15279
+ def image_gc_low_threshold_percent(self) -> Optional[int]:
15280
+ """
15281
+ Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to.
15282
+ """
15283
+ return pulumi.get(self, "image_gc_low_threshold_percent")
15284
+
15285
+ @property
15286
+ @pulumi.getter(name="imageMaximumGcAge")
15287
+ def image_maximum_gc_age(self) -> Optional[str]:
15288
+ """
15289
+ Defines the maximum age an image can be unused before it is garbage collected.
15290
+ """
15291
+ return pulumi.get(self, "image_maximum_gc_age")
15292
+
15293
+ @property
15294
+ @pulumi.getter(name="imageMinimumGcAge")
15295
+ def image_minimum_gc_age(self) -> Optional[str]:
15296
+ """
15297
+ Defines the minimum age for an unused image before it is garbage collected.
15298
+ """
15299
+ return pulumi.get(self, "image_minimum_gc_age")
15300
+
14991
15301
  @property
14992
15302
  @pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
14993
15303
  def insecure_kubelet_readonly_port_enabled(self) -> Optional[str]:
@@ -18498,24 +18808,69 @@ class GetClusterNodeConfigHostMaintenancePolicyResult(dict):
18498
18808
  @pulumi.output_type
18499
18809
  class GetClusterNodeConfigKubeletConfigResult(dict):
18500
18810
  def __init__(__self__, *,
18811
+ allowed_unsafe_sysctls: Sequence[str],
18812
+ container_log_max_files: int,
18813
+ container_log_max_size: str,
18501
18814
  cpu_cfs_quota: bool,
18502
18815
  cpu_cfs_quota_period: str,
18503
18816
  cpu_manager_policy: str,
18817
+ image_gc_high_threshold_percent: int,
18818
+ image_gc_low_threshold_percent: int,
18819
+ image_maximum_gc_age: str,
18820
+ image_minimum_gc_age: str,
18504
18821
  insecure_kubelet_readonly_port_enabled: str,
18505
18822
  pod_pids_limit: int):
18506
18823
  """
18824
+ :param Sequence[str] allowed_unsafe_sysctls: Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods.
18825
+ :param int container_log_max_files: Defines the maximum number of container log files that can be present for a container.
18826
+ :param str container_log_max_size: Defines the maximum size of the container log file before it is rotated.
18507
18827
  :param bool cpu_cfs_quota: Enable CPU CFS quota enforcement for containers that specify CPU limits.
18508
18828
  :param str cpu_cfs_quota_period: Set the CPU CFS quota period value 'cpu.cfs_period_us'.
18509
18829
  :param str cpu_manager_policy: Control the CPU management policy on the node.
18830
+ :param int image_gc_high_threshold_percent: Defines the percent of disk usage after which image garbage collection is always run.
18831
+ :param int image_gc_low_threshold_percent: Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to.
18832
+ :param str image_maximum_gc_age: Defines the maximum age an image can be unused before it is garbage collected.
18833
+ :param str image_minimum_gc_age: Defines the minimum age for an unused image before it is garbage collected.
18510
18834
  :param str insecure_kubelet_readonly_port_enabled: Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to `FALSE`. Possible values: `TRUE`, `FALSE`.
18511
18835
  :param int pod_pids_limit: Controls the maximum number of processes allowed to run in a pod.
18512
18836
  """
18837
+ pulumi.set(__self__, "allowed_unsafe_sysctls", allowed_unsafe_sysctls)
18838
+ pulumi.set(__self__, "container_log_max_files", container_log_max_files)
18839
+ pulumi.set(__self__, "container_log_max_size", container_log_max_size)
18513
18840
  pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
18514
18841
  pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
18515
18842
  pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
18843
+ pulumi.set(__self__, "image_gc_high_threshold_percent", image_gc_high_threshold_percent)
18844
+ pulumi.set(__self__, "image_gc_low_threshold_percent", image_gc_low_threshold_percent)
18845
+ pulumi.set(__self__, "image_maximum_gc_age", image_maximum_gc_age)
18846
+ pulumi.set(__self__, "image_minimum_gc_age", image_minimum_gc_age)
18516
18847
  pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
18517
18848
  pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
18518
18849
 
18850
+ @property
18851
+ @pulumi.getter(name="allowedUnsafeSysctls")
18852
+ def allowed_unsafe_sysctls(self) -> Sequence[str]:
18853
+ """
18854
+ Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods.
18855
+ """
18856
+ return pulumi.get(self, "allowed_unsafe_sysctls")
18857
+
18858
+ @property
18859
+ @pulumi.getter(name="containerLogMaxFiles")
18860
+ def container_log_max_files(self) -> int:
18861
+ """
18862
+ Defines the maximum number of container log files that can be present for a container.
18863
+ """
18864
+ return pulumi.get(self, "container_log_max_files")
18865
+
18866
+ @property
18867
+ @pulumi.getter(name="containerLogMaxSize")
18868
+ def container_log_max_size(self) -> str:
18869
+ """
18870
+ Defines the maximum size of the container log file before it is rotated.
18871
+ """
18872
+ return pulumi.get(self, "container_log_max_size")
18873
+
18519
18874
  @property
18520
18875
  @pulumi.getter(name="cpuCfsQuota")
18521
18876
  def cpu_cfs_quota(self) -> bool:
@@ -18540,6 +18895,38 @@ class GetClusterNodeConfigKubeletConfigResult(dict):
18540
18895
  """
18541
18896
  return pulumi.get(self, "cpu_manager_policy")
18542
18897
 
18898
+ @property
18899
+ @pulumi.getter(name="imageGcHighThresholdPercent")
18900
+ def image_gc_high_threshold_percent(self) -> int:
18901
+ """
18902
+ Defines the percent of disk usage after which image garbage collection is always run.
18903
+ """
18904
+ return pulumi.get(self, "image_gc_high_threshold_percent")
18905
+
18906
+ @property
18907
+ @pulumi.getter(name="imageGcLowThresholdPercent")
18908
+ def image_gc_low_threshold_percent(self) -> int:
18909
+ """
18910
+ Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to.
18911
+ """
18912
+ return pulumi.get(self, "image_gc_low_threshold_percent")
18913
+
18914
+ @property
18915
+ @pulumi.getter(name="imageMaximumGcAge")
18916
+ def image_maximum_gc_age(self) -> str:
18917
+ """
18918
+ Defines the maximum age an image can be unused before it is garbage collected.
18919
+ """
18920
+ return pulumi.get(self, "image_maximum_gc_age")
18921
+
18922
+ @property
18923
+ @pulumi.getter(name="imageMinimumGcAge")
18924
+ def image_minimum_gc_age(self) -> str:
18925
+ """
18926
+ Defines the minimum age for an unused image before it is garbage collected.
18927
+ """
18928
+ return pulumi.get(self, "image_minimum_gc_age")
18929
+
18543
18930
  @property
18544
18931
  @pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
18545
18932
  def insecure_kubelet_readonly_port_enabled(self) -> str:
@@ -20507,24 +20894,69 @@ class GetClusterNodePoolNodeConfigHostMaintenancePolicyResult(dict):
20507
20894
  @pulumi.output_type
20508
20895
  class GetClusterNodePoolNodeConfigKubeletConfigResult(dict):
20509
20896
  def __init__(__self__, *,
20897
+ allowed_unsafe_sysctls: Sequence[str],
20898
+ container_log_max_files: int,
20899
+ container_log_max_size: str,
20510
20900
  cpu_cfs_quota: bool,
20511
20901
  cpu_cfs_quota_period: str,
20512
20902
  cpu_manager_policy: str,
20903
+ image_gc_high_threshold_percent: int,
20904
+ image_gc_low_threshold_percent: int,
20905
+ image_maximum_gc_age: str,
20906
+ image_minimum_gc_age: str,
20513
20907
  insecure_kubelet_readonly_port_enabled: str,
20514
20908
  pod_pids_limit: int):
20515
20909
  """
20910
+ :param Sequence[str] allowed_unsafe_sysctls: Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods.
20911
+ :param int container_log_max_files: Defines the maximum number of container log files that can be present for a container.
20912
+ :param str container_log_max_size: Defines the maximum size of the container log file before it is rotated.
20516
20913
  :param bool cpu_cfs_quota: Enable CPU CFS quota enforcement for containers that specify CPU limits.
20517
20914
  :param str cpu_cfs_quota_period: Set the CPU CFS quota period value 'cpu.cfs_period_us'.
20518
20915
  :param str cpu_manager_policy: Control the CPU management policy on the node.
20916
+ :param int image_gc_high_threshold_percent: Defines the percent of disk usage after which image garbage collection is always run.
20917
+ :param int image_gc_low_threshold_percent: Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to.
20918
+ :param str image_maximum_gc_age: Defines the maximum age an image can be unused before it is garbage collected.
20919
+ :param str image_minimum_gc_age: Defines the minimum age for an unused image before it is garbage collected.
20519
20920
  :param str insecure_kubelet_readonly_port_enabled: Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to `FALSE`. Possible values: `TRUE`, `FALSE`.
20520
20921
  :param int pod_pids_limit: Controls the maximum number of processes allowed to run in a pod.
20521
20922
  """
20923
+ pulumi.set(__self__, "allowed_unsafe_sysctls", allowed_unsafe_sysctls)
20924
+ pulumi.set(__self__, "container_log_max_files", container_log_max_files)
20925
+ pulumi.set(__self__, "container_log_max_size", container_log_max_size)
20522
20926
  pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
20523
20927
  pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
20524
20928
  pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
20929
+ pulumi.set(__self__, "image_gc_high_threshold_percent", image_gc_high_threshold_percent)
20930
+ pulumi.set(__self__, "image_gc_low_threshold_percent", image_gc_low_threshold_percent)
20931
+ pulumi.set(__self__, "image_maximum_gc_age", image_maximum_gc_age)
20932
+ pulumi.set(__self__, "image_minimum_gc_age", image_minimum_gc_age)
20525
20933
  pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
20526
20934
  pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
20527
20935
 
20936
+ @property
20937
+ @pulumi.getter(name="allowedUnsafeSysctls")
20938
+ def allowed_unsafe_sysctls(self) -> Sequence[str]:
20939
+ """
20940
+ Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods.
20941
+ """
20942
+ return pulumi.get(self, "allowed_unsafe_sysctls")
20943
+
20944
+ @property
20945
+ @pulumi.getter(name="containerLogMaxFiles")
20946
+ def container_log_max_files(self) -> int:
20947
+ """
20948
+ Defines the maximum number of container log files that can be present for a container.
20949
+ """
20950
+ return pulumi.get(self, "container_log_max_files")
20951
+
20952
+ @property
20953
+ @pulumi.getter(name="containerLogMaxSize")
20954
+ def container_log_max_size(self) -> str:
20955
+ """
20956
+ Defines the maximum size of the container log file before it is rotated.
20957
+ """
20958
+ return pulumi.get(self, "container_log_max_size")
20959
+
20528
20960
  @property
20529
20961
  @pulumi.getter(name="cpuCfsQuota")
20530
20962
  def cpu_cfs_quota(self) -> bool:
@@ -20549,6 +20981,38 @@ class GetClusterNodePoolNodeConfigKubeletConfigResult(dict):
20549
20981
  """
20550
20982
  return pulumi.get(self, "cpu_manager_policy")
20551
20983
 
20984
+ @property
20985
+ @pulumi.getter(name="imageGcHighThresholdPercent")
20986
+ def image_gc_high_threshold_percent(self) -> int:
20987
+ """
20988
+ Defines the percent of disk usage after which image garbage collection is always run.
20989
+ """
20990
+ return pulumi.get(self, "image_gc_high_threshold_percent")
20991
+
20992
+ @property
20993
+ @pulumi.getter(name="imageGcLowThresholdPercent")
20994
+ def image_gc_low_threshold_percent(self) -> int:
20995
+ """
20996
+ Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to.
20997
+ """
20998
+ return pulumi.get(self, "image_gc_low_threshold_percent")
20999
+
21000
+ @property
21001
+ @pulumi.getter(name="imageMaximumGcAge")
21002
+ def image_maximum_gc_age(self) -> str:
21003
+ """
21004
+ Defines the maximum age an image can be unused before it is garbage collected.
21005
+ """
21006
+ return pulumi.get(self, "image_maximum_gc_age")
21007
+
21008
+ @property
21009
+ @pulumi.getter(name="imageMinimumGcAge")
21010
+ def image_minimum_gc_age(self) -> str:
21011
+ """
21012
+ Defines the minimum age for an unused image before it is garbage collected.
21013
+ """
21014
+ return pulumi.get(self, "image_minimum_gc_age")
21015
+
20552
21016
  @property
20553
21017
  @pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
20554
21018
  def insecure_kubelet_readonly_port_enabled(self) -> str: