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.
- pulumi_gcp/__init__.py +48 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +168 -8
- pulumi_gcp/accesscontextmanager/get_access_policy_iam_policy.py +2 -2
- pulumi_gcp/accesscontextmanager/outputs.py +104 -8
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +78 -3
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +78 -3
- pulumi_gcp/alloydb/__init__.py +1 -0
- pulumi_gcp/alloydb/get_instance.py +466 -0
- pulumi_gcp/alloydb/outputs.py +352 -0
- pulumi_gcp/apigateway/get_api_config_iam_policy.py +20 -2
- pulumi_gcp/apigateway/get_api_iam_policy.py +20 -2
- pulumi_gcp/apigateway/get_gateway_iam_policy.py +22 -2
- pulumi_gcp/apigee/get_environment_iam_policy.py +2 -2
- pulumi_gcp/artifactregistry/get_repository_iam_policy.py +2 -2
- pulumi_gcp/beyondcorp/get_application_iam_policy.py +2 -2
- pulumi_gcp/beyondcorp/get_security_gateway_iam_policy.py +2 -2
- pulumi_gcp/bigquery/connection.py +2 -14
- pulumi_gcp/bigquery/get_connection_iam_policy.py +2 -2
- pulumi_gcp/bigquery/get_table_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_binding.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_member.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/data_exchange_iam_policy.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/get_data_exchange_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/get_listing_iam_policy.py +2 -2
- pulumi_gcp/bigqueryanalyticshub/listing_iam_binding.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/listing_iam_member.py +8 -8
- pulumi_gcp/bigqueryanalyticshub/listing_iam_policy.py +8 -8
- pulumi_gcp/bigquerydatapolicy/get_iam_policy.py +2 -2
- pulumi_gcp/binaryauthorization/get_attestor_iam_policy.py +2 -2
- pulumi_gcp/certificateauthority/get_ca_pool_iam_policy.py +2 -2
- pulumi_gcp/certificateauthority/get_certificate_template_iam_policy.py +2 -2
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_custom_target_type_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_delivery_pipeline_iam_policy.py +2 -2
- pulumi_gcp/clouddeploy/get_target_iam_policy.py +2 -2
- pulumi_gcp/cloudfunctions/get_function_iam_policy.py +2 -2
- pulumi_gcp/cloudfunctionsv2/get_function_iam_policy.py +2 -2
- pulumi_gcp/cloudrun/_inputs.py +6 -3
- pulumi_gcp/cloudrun/get_service_iam_policy.py +2 -2
- pulumi_gcp/cloudrun/outputs.py +4 -2
- pulumi_gcp/cloudrunv2/get_job_iam_policy.py +2 -2
- pulumi_gcp/cloudrunv2/get_service_iam_policy.py +2 -2
- pulumi_gcp/cloudtasks/get_queue_iam_policy.py +2 -2
- pulumi_gcp/colab/get_runtime_template_iam_policy.py +2 -2
- pulumi_gcp/composer/_inputs.py +6 -6
- pulumi_gcp/composer/outputs.py +8 -8
- pulumi_gcp/compute/_inputs.py +756 -30
- pulumi_gcp/compute/firewall_policy_rule.py +0 -2
- pulumi_gcp/compute/get_backend_bucket_iam_policy.py +20 -2
- pulumi_gcp/compute/get_backend_service_iam_policy.py +20 -2
- pulumi_gcp/compute/get_disk_iam_policy.py +2 -2
- pulumi_gcp/compute/get_hc_vpn_gateway.py +45 -1
- pulumi_gcp/compute/get_image_iam_policy.py +2 -2
- pulumi_gcp/compute/get_instance_iam_policy.py +2 -2
- pulumi_gcp/compute/get_instance_template_iam_policy.py +2 -2
- pulumi_gcp/compute/get_machine_image_iam_policy.py +20 -2
- pulumi_gcp/compute/get_region_backend_service_iam_policy.py +22 -2
- pulumi_gcp/compute/get_region_disk_iam_policy.py +2 -2
- pulumi_gcp/compute/get_snapshot_iam_policy.py +2 -2
- pulumi_gcp/compute/get_subnetwork_iam_policy.py +2 -2
- pulumi_gcp/compute/ha_vpn_gateway.py +189 -2
- pulumi_gcp/compute/instance_template.py +14 -35
- pulumi_gcp/compute/outputs.py +796 -18
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +447 -3
- pulumi_gcp/container/outputs.py +469 -5
- pulumi_gcp/containeranalysis/get_note_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/entry_group_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/entry_group_iam_member.py +8 -8
- pulumi_gcp/datacatalog/entry_group_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/get_entry_group_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_policy_tag_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_tag_template_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/get_taxonomy_iam_policy.py +2 -2
- pulumi_gcp/datacatalog/policy_tag_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/policy_tag_iam_member.py +8 -8
- pulumi_gcp/datacatalog/policy_tag_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/tag_template_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/tag_template_iam_member.py +8 -8
- pulumi_gcp/datacatalog/tag_template_iam_policy.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_binding.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_member.py +8 -8
- pulumi_gcp/datacatalog/taxonomy_iam_policy.py +8 -8
- pulumi_gcp/dataform/get_repository_iam_policy.py +22 -2
- pulumi_gcp/datafusion/get_instance_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_aspect_type_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_asset_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_datascan_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_entry_group_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_entry_type_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_lake_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_task_iam_policy.py +2 -2
- pulumi_gcp/dataplex/get_zone_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_autoscaling_policy_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_metastore_federation_iam_policy.py +2 -2
- pulumi_gcp/dataproc/get_metastore_service_iam_policy.py +2 -2
- pulumi_gcp/dataproc/metastore_federation_iam_binding.py +8 -8
- pulumi_gcp/dataproc/metastore_federation_iam_member.py +8 -8
- pulumi_gcp/dataproc/metastore_federation_iam_policy.py +8 -8
- pulumi_gcp/dataproc/metastore_service_iam_binding.py +8 -8
- pulumi_gcp/dataproc/metastore_service_iam_member.py +8 -8
- pulumi_gcp/dataproc/metastore_service_iam_policy.py +8 -8
- pulumi_gcp/dns/get_managed_zone_iam_policy.py +2 -2
- pulumi_gcp/endpoints/get_service_iam_policy.py +2 -2
- pulumi_gcp/eventarc/_inputs.py +29 -8
- pulumi_gcp/eventarc/google_channel_config.py +58 -46
- pulumi_gcp/eventarc/outputs.py +20 -6
- pulumi_gcp/eventarc/trigger.py +95 -72
- pulumi_gcp/filestore/backup.py +4 -4
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/data_connect_service.py +937 -0
- pulumi_gcp/gemini/__init__.py +4 -0
- pulumi_gcp/gemini/data_sharing_with_google_setting.py +607 -0
- pulumi_gcp/gemini/gemini_gcp_enablement_setting.py +608 -0
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +2 -2
- pulumi_gcp/gemini/logging_setting.py +42 -54
- pulumi_gcp/gemini/logging_setting_binding.py +722 -0
- pulumi_gcp/gemini/release_channel_setting.py +39 -43
- pulumi_gcp/gemini/release_channel_setting_binding.py +734 -0
- pulumi_gcp/gkebackup/get_backup_plan_iam_policy.py +2 -2
- pulumi_gcp/gkebackup/get_restore_plan_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_feature_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_membership_iam_policy.py +2 -2
- pulumi_gcp/gkehub/get_scope_iam_policy.py +2 -2
- pulumi_gcp/healthcare/get_consent_store_iam_policy.py +2 -2
- pulumi_gcp/iap/get_app_engine_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_app_engine_version_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_dest_group_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_iam_policy.py +2 -2
- pulumi_gcp/iap/get_tunnel_instance_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_backend_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_region_backend_service_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_type_app_engine_iam_policy.py +2 -2
- pulumi_gcp/iap/get_web_type_compute_iam_policy.py +2 -2
- pulumi_gcp/kms/get_ekm_connection_iam_policy.py +2 -2
- pulumi_gcp/logging/get_log_view_iam_policy.py +2 -2
- pulumi_gcp/monitoring/_inputs.py +588 -0
- pulumi_gcp/monitoring/outputs.py +410 -0
- pulumi_gcp/netapp/__init__.py +1 -0
- pulumi_gcp/netapp/volume_quota_rule.py +895 -0
- pulumi_gcp/networksecurity/address_group_iam_binding.py +4 -4
- pulumi_gcp/networksecurity/address_group_iam_member.py +4 -4
- pulumi_gcp/networksecurity/address_group_iam_policy.py +4 -4
- pulumi_gcp/networkservices/authz_extension.py +8 -15
- pulumi_gcp/networkservices/mesh.py +79 -12
- pulumi_gcp/notebooks/get_instance_iam_policy.py +2 -2
- pulumi_gcp/notebooks/get_runtime_iam_policy.py +2 -2
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/get_schema_iam_policy.py +2 -2
- pulumi_gcp/pubsub/get_topic_iam_policy.py +2 -2
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/runtimeconfig/get_config_iam_policy.py +20 -2
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +2 -2
- pulumi_gcp/secretmanager/get_secret_iam_policy.py +2 -2
- pulumi_gcp/securesourcemanager/get_instance_iam_policy.py +2 -2
- pulumi_gcp/securesourcemanager/get_repository_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/get_source_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/get_v2_organization_source_iam_policy.py +2 -2
- pulumi_gcp/securitycenter/mute_config.py +136 -3
- pulumi_gcp/securitycenter/v2_folder_notification_config.py +2 -14
- pulumi_gcp/securitycenter/v2_organization_notification_config.py +2 -14
- pulumi_gcp/securitycenter/v2_organization_source_iam_binding.py +8 -8
- pulumi_gcp/securitycenter/v2_organization_source_iam_member.py +8 -8
- pulumi_gcp/securitycenter/v2_organization_source_iam_policy.py +8 -8
- pulumi_gcp/securitycenter/v2_project_notification_config.py +2 -14
- pulumi_gcp/servicedirectory/get_namespace_iam_policy.py +18 -2
- pulumi_gcp/servicedirectory/get_service_iam_policy.py +18 -2
- pulumi_gcp/sourcerepo/get_repository_iam_policy.py +2 -2
- pulumi_gcp/spanner/instance.py +0 -46
- pulumi_gcp/sql/_inputs.py +6 -6
- pulumi_gcp/sql/outputs.py +4 -4
- pulumi_gcp/storage/bucket.py +30 -0
- pulumi_gcp/storage/get_bucket_iam_policy.py +2 -2
- pulumi_gcp/tags/get_tag_key_iam_policy.py +2 -2
- pulumi_gcp/tags/get_tag_value_iam_policy.py +2 -2
- pulumi_gcp/vertex/get_ai_endpoint_iam_policy.py +22 -2
- pulumi_gcp/vertex/get_ai_featurestore_entitytype_iam_policy.py +20 -2
- pulumi_gcp/vertex/get_ai_featurestore_iam_policy.py +22 -2
- pulumi_gcp/workbench/get_instance_iam_policy.py +2 -2
- pulumi_gcp/workstations/get_workstation_config_iam_policy.py +24 -2
- pulumi_gcp/workstations/get_workstation_iam_policy.py +26 -2
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/RECORD +189 -182
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/WHEEL +1 -1
- {pulumi_gcp-8.20.0a1739946722.dist-info → pulumi_gcp-8.21.0a1740551699.dist-info}/top_level.txt +0 -0
pulumi_gcp/config/__init__.pyi
CHANGED
@@ -191,6 +191,8 @@ firebaseAppCheckCustomEndpoint: Optional[str]
|
|
191
191
|
|
192
192
|
firebaseCustomEndpoint: Optional[str]
|
193
193
|
|
194
|
+
firebaseDataConnectCustomEndpoint: Optional[str]
|
195
|
+
|
194
196
|
firebaseDatabaseCustomEndpoint: Optional[str]
|
195
197
|
|
196
198
|
firebaseExtensionsCustomEndpoint: Optional[str]
|
pulumi_gcp/config/vars.py
CHANGED
@@ -373,6 +373,10 @@ class _ExportableConfig(types.ModuleType):
|
|
373
373
|
def firebase_custom_endpoint(self) -> Optional[str]:
|
374
374
|
return __config__.get('firebaseCustomEndpoint')
|
375
375
|
|
376
|
+
@property
|
377
|
+
def firebase_data_connect_custom_endpoint(self) -> Optional[str]:
|
378
|
+
return __config__.get('firebaseDataConnectCustomEndpoint')
|
379
|
+
|
376
380
|
@property
|
377
381
|
def firebase_database_custom_endpoint(self) -> Optional[str]:
|
378
382
|
return __config__.get('firebaseDatabaseCustomEndpoint')
|
pulumi_gcp/container/_inputs.py
CHANGED
@@ -8007,7 +8007,7 @@ if not MYPY:
|
|
8007
8007
|
"""
|
8008
8008
|
private_endpoint_enforcement_enabled: NotRequired[pulumi.Input[bool]]
|
8009
8009
|
"""
|
8010
|
-
Whether authorized networks is enforced on the private endpoint or not.
|
8010
|
+
Whether authorized networks is enforced on the private endpoint or not.
|
8011
8011
|
"""
|
8012
8012
|
elif False:
|
8013
8013
|
ClusterMasterAuthorizedNetworksConfigArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -8023,7 +8023,7 @@ class ClusterMasterAuthorizedNetworksConfigArgs:
|
|
8023
8023
|
Kubernetes cluster master through HTTPS.
|
8024
8024
|
:param pulumi.Input[bool] gcp_public_cidrs_access_enabled: Whether Kubernetes master is
|
8025
8025
|
accessible via Google Compute Engine Public IPs.
|
8026
|
-
:param pulumi.Input[bool] private_endpoint_enforcement_enabled: Whether authorized networks is enforced on the private endpoint or not.
|
8026
|
+
:param pulumi.Input[bool] private_endpoint_enforcement_enabled: Whether authorized networks is enforced on the private endpoint or not.
|
8027
8027
|
"""
|
8028
8028
|
if cidr_blocks is not None:
|
8029
8029
|
pulumi.set(__self__, "cidr_blocks", cidr_blocks)
|
@@ -8062,7 +8062,7 @@ class ClusterMasterAuthorizedNetworksConfigArgs:
|
|
8062
8062
|
@pulumi.getter(name="privateEndpointEnforcementEnabled")
|
8063
8063
|
def private_endpoint_enforcement_enabled(self) -> Optional[pulumi.Input[bool]]:
|
8064
8064
|
"""
|
8065
|
-
Whether authorized networks is enforced on the private endpoint or not.
|
8065
|
+
Whether authorized networks is enforced on the private endpoint or not.
|
8066
8066
|
"""
|
8067
8067
|
return pulumi.get(self, "private_endpoint_enforcement_enabled")
|
8068
8068
|
|
@@ -10190,6 +10190,22 @@ class ClusterNodeConfigHostMaintenancePolicyArgs:
|
|
10190
10190
|
|
10191
10191
|
if not MYPY:
|
10192
10192
|
class ClusterNodeConfigKubeletConfigArgsDict(TypedDict):
|
10193
|
+
allowed_unsafe_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
10194
|
+
"""
|
10195
|
+
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.*`.
|
10196
|
+
"""
|
10197
|
+
container_log_max_files: NotRequired[pulumi.Input[int]]
|
10198
|
+
"""
|
10199
|
+
Defines the maximum number of container log files that can be present for a container. The integer must be between 2 and 10, inclusive.
|
10200
|
+
"""
|
10201
|
+
container_log_max_size: NotRequired[pulumi.Input[str]]
|
10202
|
+
"""
|
10203
|
+
Defines the maximum size of the
|
10204
|
+
container log file before it is rotated. Specified as a positive number and a
|
10205
|
+
unit suffix, such as `"100Ki"`, `"10Mi"`. Valid units are "Ki", "Mi", "Gi".
|
10206
|
+
The value must be between `"10Mi"` and `"500Mi"`, inclusive. And the total container log size
|
10207
|
+
(`container_log_max_size` * `container_log_max_files`) cannot exceed 1% of the total storage of the node.
|
10208
|
+
"""
|
10193
10209
|
cpu_cfs_quota: NotRequired[pulumi.Input[bool]]
|
10194
10210
|
"""
|
10195
10211
|
If true, enables CPU CFS quota enforcement for
|
@@ -10210,6 +10226,22 @@ if not MYPY:
|
|
10210
10226
|
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
10211
10227
|
is setting the empty string `""`, which will function identically to not setting this field.
|
10212
10228
|
"""
|
10229
|
+
image_gc_high_threshold_percent: NotRequired[pulumi.Input[int]]
|
10230
|
+
"""
|
10231
|
+
Defines the percent of disk usage after which image garbage collection is always run. The integer must be between 10 and 85, inclusive.
|
10232
|
+
"""
|
10233
|
+
image_gc_low_threshold_percent: NotRequired[pulumi.Input[int]]
|
10234
|
+
"""
|
10235
|
+
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.
|
10236
|
+
"""
|
10237
|
+
image_maximum_gc_age: NotRequired[pulumi.Input[str]]
|
10238
|
+
"""
|
10239
|
+
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.
|
10240
|
+
"""
|
10241
|
+
image_minimum_gc_age: NotRequired[pulumi.Input[str]]
|
10242
|
+
"""
|
10243
|
+
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".
|
10244
|
+
"""
|
10213
10245
|
insecure_kubelet_readonly_port_enabled: NotRequired[pulumi.Input[str]]
|
10214
10246
|
"""
|
10215
10247
|
Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to `FALSE`. Possible values: `TRUE`, `FALSE`.
|
@@ -10224,12 +10256,26 @@ elif False:
|
|
10224
10256
|
@pulumi.input_type
|
10225
10257
|
class ClusterNodeConfigKubeletConfigArgs:
|
10226
10258
|
def __init__(__self__, *,
|
10259
|
+
allowed_unsafe_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
10260
|
+
container_log_max_files: Optional[pulumi.Input[int]] = None,
|
10261
|
+
container_log_max_size: Optional[pulumi.Input[str]] = None,
|
10227
10262
|
cpu_cfs_quota: Optional[pulumi.Input[bool]] = None,
|
10228
10263
|
cpu_cfs_quota_period: Optional[pulumi.Input[str]] = None,
|
10229
10264
|
cpu_manager_policy: Optional[pulumi.Input[str]] = None,
|
10265
|
+
image_gc_high_threshold_percent: Optional[pulumi.Input[int]] = None,
|
10266
|
+
image_gc_low_threshold_percent: Optional[pulumi.Input[int]] = None,
|
10267
|
+
image_maximum_gc_age: Optional[pulumi.Input[str]] = None,
|
10268
|
+
image_minimum_gc_age: Optional[pulumi.Input[str]] = None,
|
10230
10269
|
insecure_kubelet_readonly_port_enabled: Optional[pulumi.Input[str]] = None,
|
10231
10270
|
pod_pids_limit: Optional[pulumi.Input[int]] = None):
|
10232
10271
|
"""
|
10272
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.*`.
|
10273
|
+
:param pulumi.Input[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.
|
10274
|
+
:param pulumi.Input[str] container_log_max_size: Defines the maximum size of the
|
10275
|
+
container log file before it is rotated. Specified as a positive number and a
|
10276
|
+
unit suffix, such as `"100Ki"`, `"10Mi"`. Valid units are "Ki", "Mi", "Gi".
|
10277
|
+
The value must be between `"10Mi"` and `"500Mi"`, inclusive. And the total container log size
|
10278
|
+
(`container_log_max_size` * `container_log_max_files`) cannot exceed 1% of the total storage of the node.
|
10233
10279
|
:param pulumi.Input[bool] cpu_cfs_quota: If true, enables CPU CFS quota enforcement for
|
10234
10280
|
containers that specify CPU limits.
|
10235
10281
|
:param pulumi.Input[str] cpu_cfs_quota_period: The CPU CFS quota period value. Specified
|
@@ -10241,20 +10287,78 @@ class ClusterNodeConfigKubeletConfigArgs:
|
|
10241
10287
|
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
10242
10288
|
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
10243
10289
|
is setting the empty string `""`, which will function identically to not setting this field.
|
10290
|
+
:param pulumi.Input[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.
|
10291
|
+
:param pulumi.Input[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.
|
10292
|
+
:param pulumi.Input[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.
|
10293
|
+
:param pulumi.Input[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".
|
10244
10294
|
:param pulumi.Input[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`.
|
10245
10295
|
:param pulumi.Input[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.
|
10246
10296
|
"""
|
10297
|
+
if allowed_unsafe_sysctls is not None:
|
10298
|
+
pulumi.set(__self__, "allowed_unsafe_sysctls", allowed_unsafe_sysctls)
|
10299
|
+
if container_log_max_files is not None:
|
10300
|
+
pulumi.set(__self__, "container_log_max_files", container_log_max_files)
|
10301
|
+
if container_log_max_size is not None:
|
10302
|
+
pulumi.set(__self__, "container_log_max_size", container_log_max_size)
|
10247
10303
|
if cpu_cfs_quota is not None:
|
10248
10304
|
pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
|
10249
10305
|
if cpu_cfs_quota_period is not None:
|
10250
10306
|
pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
|
10251
10307
|
if cpu_manager_policy is not None:
|
10252
10308
|
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
10309
|
+
if image_gc_high_threshold_percent is not None:
|
10310
|
+
pulumi.set(__self__, "image_gc_high_threshold_percent", image_gc_high_threshold_percent)
|
10311
|
+
if image_gc_low_threshold_percent is not None:
|
10312
|
+
pulumi.set(__self__, "image_gc_low_threshold_percent", image_gc_low_threshold_percent)
|
10313
|
+
if image_maximum_gc_age is not None:
|
10314
|
+
pulumi.set(__self__, "image_maximum_gc_age", image_maximum_gc_age)
|
10315
|
+
if image_minimum_gc_age is not None:
|
10316
|
+
pulumi.set(__self__, "image_minimum_gc_age", image_minimum_gc_age)
|
10253
10317
|
if insecure_kubelet_readonly_port_enabled is not None:
|
10254
10318
|
pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
|
10255
10319
|
if pod_pids_limit is not None:
|
10256
10320
|
pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
|
10257
10321
|
|
10322
|
+
@property
|
10323
|
+
@pulumi.getter(name="allowedUnsafeSysctls")
|
10324
|
+
def allowed_unsafe_sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
10325
|
+
"""
|
10326
|
+
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.*`.
|
10327
|
+
"""
|
10328
|
+
return pulumi.get(self, "allowed_unsafe_sysctls")
|
10329
|
+
|
10330
|
+
@allowed_unsafe_sysctls.setter
|
10331
|
+
def allowed_unsafe_sysctls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
10332
|
+
pulumi.set(self, "allowed_unsafe_sysctls", value)
|
10333
|
+
|
10334
|
+
@property
|
10335
|
+
@pulumi.getter(name="containerLogMaxFiles")
|
10336
|
+
def container_log_max_files(self) -> Optional[pulumi.Input[int]]:
|
10337
|
+
"""
|
10338
|
+
Defines the maximum number of container log files that can be present for a container. The integer must be between 2 and 10, inclusive.
|
10339
|
+
"""
|
10340
|
+
return pulumi.get(self, "container_log_max_files")
|
10341
|
+
|
10342
|
+
@container_log_max_files.setter
|
10343
|
+
def container_log_max_files(self, value: Optional[pulumi.Input[int]]):
|
10344
|
+
pulumi.set(self, "container_log_max_files", value)
|
10345
|
+
|
10346
|
+
@property
|
10347
|
+
@pulumi.getter(name="containerLogMaxSize")
|
10348
|
+
def container_log_max_size(self) -> Optional[pulumi.Input[str]]:
|
10349
|
+
"""
|
10350
|
+
Defines the maximum size of the
|
10351
|
+
container log file before it is rotated. Specified as a positive number and a
|
10352
|
+
unit suffix, such as `"100Ki"`, `"10Mi"`. Valid units are "Ki", "Mi", "Gi".
|
10353
|
+
The value must be between `"10Mi"` and `"500Mi"`, inclusive. And the total container log size
|
10354
|
+
(`container_log_max_size` * `container_log_max_files`) cannot exceed 1% of the total storage of the node.
|
10355
|
+
"""
|
10356
|
+
return pulumi.get(self, "container_log_max_size")
|
10357
|
+
|
10358
|
+
@container_log_max_size.setter
|
10359
|
+
def container_log_max_size(self, value: Optional[pulumi.Input[str]]):
|
10360
|
+
pulumi.set(self, "container_log_max_size", value)
|
10361
|
+
|
10258
10362
|
@property
|
10259
10363
|
@pulumi.getter(name="cpuCfsQuota")
|
10260
10364
|
def cpu_cfs_quota(self) -> Optional[pulumi.Input[bool]]:
|
@@ -10299,6 +10403,54 @@ class ClusterNodeConfigKubeletConfigArgs:
|
|
10299
10403
|
def cpu_manager_policy(self, value: Optional[pulumi.Input[str]]):
|
10300
10404
|
pulumi.set(self, "cpu_manager_policy", value)
|
10301
10405
|
|
10406
|
+
@property
|
10407
|
+
@pulumi.getter(name="imageGcHighThresholdPercent")
|
10408
|
+
def image_gc_high_threshold_percent(self) -> Optional[pulumi.Input[int]]:
|
10409
|
+
"""
|
10410
|
+
Defines the percent of disk usage after which image garbage collection is always run. The integer must be between 10 and 85, inclusive.
|
10411
|
+
"""
|
10412
|
+
return pulumi.get(self, "image_gc_high_threshold_percent")
|
10413
|
+
|
10414
|
+
@image_gc_high_threshold_percent.setter
|
10415
|
+
def image_gc_high_threshold_percent(self, value: Optional[pulumi.Input[int]]):
|
10416
|
+
pulumi.set(self, "image_gc_high_threshold_percent", value)
|
10417
|
+
|
10418
|
+
@property
|
10419
|
+
@pulumi.getter(name="imageGcLowThresholdPercent")
|
10420
|
+
def image_gc_low_threshold_percent(self) -> Optional[pulumi.Input[int]]:
|
10421
|
+
"""
|
10422
|
+
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.
|
10423
|
+
"""
|
10424
|
+
return pulumi.get(self, "image_gc_low_threshold_percent")
|
10425
|
+
|
10426
|
+
@image_gc_low_threshold_percent.setter
|
10427
|
+
def image_gc_low_threshold_percent(self, value: Optional[pulumi.Input[int]]):
|
10428
|
+
pulumi.set(self, "image_gc_low_threshold_percent", value)
|
10429
|
+
|
10430
|
+
@property
|
10431
|
+
@pulumi.getter(name="imageMaximumGcAge")
|
10432
|
+
def image_maximum_gc_age(self) -> Optional[pulumi.Input[str]]:
|
10433
|
+
"""
|
10434
|
+
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.
|
10435
|
+
"""
|
10436
|
+
return pulumi.get(self, "image_maximum_gc_age")
|
10437
|
+
|
10438
|
+
@image_maximum_gc_age.setter
|
10439
|
+
def image_maximum_gc_age(self, value: Optional[pulumi.Input[str]]):
|
10440
|
+
pulumi.set(self, "image_maximum_gc_age", value)
|
10441
|
+
|
10442
|
+
@property
|
10443
|
+
@pulumi.getter(name="imageMinimumGcAge")
|
10444
|
+
def image_minimum_gc_age(self) -> Optional[pulumi.Input[str]]:
|
10445
|
+
"""
|
10446
|
+
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".
|
10447
|
+
"""
|
10448
|
+
return pulumi.get(self, "image_minimum_gc_age")
|
10449
|
+
|
10450
|
+
@image_minimum_gc_age.setter
|
10451
|
+
def image_minimum_gc_age(self, value: Optional[pulumi.Input[str]]):
|
10452
|
+
pulumi.set(self, "image_minimum_gc_age", value)
|
10453
|
+
|
10302
10454
|
@property
|
10303
10455
|
@pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
|
10304
10456
|
def insecure_kubelet_readonly_port_enabled(self) -> Optional[pulumi.Input[str]]:
|
@@ -14200,6 +14352,22 @@ class ClusterNodePoolNodeConfigHostMaintenancePolicyArgs:
|
|
14200
14352
|
|
14201
14353
|
if not MYPY:
|
14202
14354
|
class ClusterNodePoolNodeConfigKubeletConfigArgsDict(TypedDict):
|
14355
|
+
allowed_unsafe_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
14356
|
+
"""
|
14357
|
+
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.*`.
|
14358
|
+
"""
|
14359
|
+
container_log_max_files: NotRequired[pulumi.Input[int]]
|
14360
|
+
"""
|
14361
|
+
Defines the maximum number of container log files that can be present for a container. The integer must be between 2 and 10, inclusive.
|
14362
|
+
"""
|
14363
|
+
container_log_max_size: NotRequired[pulumi.Input[str]]
|
14364
|
+
"""
|
14365
|
+
Defines the maximum size of the
|
14366
|
+
container log file before it is rotated. Specified as a positive number and a
|
14367
|
+
unit suffix, such as `"100Ki"`, `"10Mi"`. Valid units are "Ki", "Mi", "Gi".
|
14368
|
+
The value must be between `"10Mi"` and `"500Mi"`, inclusive. And the total container log size
|
14369
|
+
(`container_log_max_size` * `container_log_max_files`) cannot exceed 1% of the total storage of the node.
|
14370
|
+
"""
|
14203
14371
|
cpu_cfs_quota: NotRequired[pulumi.Input[bool]]
|
14204
14372
|
"""
|
14205
14373
|
If true, enables CPU CFS quota enforcement for
|
@@ -14220,6 +14388,22 @@ if not MYPY:
|
|
14220
14388
|
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
14221
14389
|
is setting the empty string `""`, which will function identically to not setting this field.
|
14222
14390
|
"""
|
14391
|
+
image_gc_high_threshold_percent: NotRequired[pulumi.Input[int]]
|
14392
|
+
"""
|
14393
|
+
Defines the percent of disk usage after which image garbage collection is always run. The integer must be between 10 and 85, inclusive.
|
14394
|
+
"""
|
14395
|
+
image_gc_low_threshold_percent: NotRequired[pulumi.Input[int]]
|
14396
|
+
"""
|
14397
|
+
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.
|
14398
|
+
"""
|
14399
|
+
image_maximum_gc_age: NotRequired[pulumi.Input[str]]
|
14400
|
+
"""
|
14401
|
+
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.
|
14402
|
+
"""
|
14403
|
+
image_minimum_gc_age: NotRequired[pulumi.Input[str]]
|
14404
|
+
"""
|
14405
|
+
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".
|
14406
|
+
"""
|
14223
14407
|
insecure_kubelet_readonly_port_enabled: NotRequired[pulumi.Input[str]]
|
14224
14408
|
"""
|
14225
14409
|
Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to `FALSE`. Possible values: `TRUE`, `FALSE`.
|
@@ -14234,12 +14418,26 @@ elif False:
|
|
14234
14418
|
@pulumi.input_type
|
14235
14419
|
class ClusterNodePoolNodeConfigKubeletConfigArgs:
|
14236
14420
|
def __init__(__self__, *,
|
14421
|
+
allowed_unsafe_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
14422
|
+
container_log_max_files: Optional[pulumi.Input[int]] = None,
|
14423
|
+
container_log_max_size: Optional[pulumi.Input[str]] = None,
|
14237
14424
|
cpu_cfs_quota: Optional[pulumi.Input[bool]] = None,
|
14238
14425
|
cpu_cfs_quota_period: Optional[pulumi.Input[str]] = None,
|
14239
14426
|
cpu_manager_policy: Optional[pulumi.Input[str]] = None,
|
14427
|
+
image_gc_high_threshold_percent: Optional[pulumi.Input[int]] = None,
|
14428
|
+
image_gc_low_threshold_percent: Optional[pulumi.Input[int]] = None,
|
14429
|
+
image_maximum_gc_age: Optional[pulumi.Input[str]] = None,
|
14430
|
+
image_minimum_gc_age: Optional[pulumi.Input[str]] = None,
|
14240
14431
|
insecure_kubelet_readonly_port_enabled: Optional[pulumi.Input[str]] = None,
|
14241
14432
|
pod_pids_limit: Optional[pulumi.Input[int]] = None):
|
14242
14433
|
"""
|
14434
|
+
:param pulumi.Input[Sequence[pulumi.Input[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.*`.
|
14435
|
+
:param pulumi.Input[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.
|
14436
|
+
:param pulumi.Input[str] container_log_max_size: Defines the maximum size of the
|
14437
|
+
container log file before it is rotated. Specified as a positive number and a
|
14438
|
+
unit suffix, such as `"100Ki"`, `"10Mi"`. Valid units are "Ki", "Mi", "Gi".
|
14439
|
+
The value must be between `"10Mi"` and `"500Mi"`, inclusive. And the total container log size
|
14440
|
+
(`container_log_max_size` * `container_log_max_files`) cannot exceed 1% of the total storage of the node.
|
14243
14441
|
:param pulumi.Input[bool] cpu_cfs_quota: If true, enables CPU CFS quota enforcement for
|
14244
14442
|
containers that specify CPU limits.
|
14245
14443
|
:param pulumi.Input[str] cpu_cfs_quota_period: The CPU CFS quota period value. Specified
|
@@ -14251,20 +14449,78 @@ class ClusterNodePoolNodeConfigKubeletConfigArgs:
|
|
14251
14449
|
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
14252
14450
|
Prior to the 6.4.0 this field was marked as required. The workaround for the required field
|
14253
14451
|
is setting the empty string `""`, which will function identically to not setting this field.
|
14452
|
+
:param pulumi.Input[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.
|
14453
|
+
:param pulumi.Input[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.
|
14454
|
+
:param pulumi.Input[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.
|
14455
|
+
:param pulumi.Input[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".
|
14254
14456
|
:param pulumi.Input[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`.
|
14255
14457
|
:param pulumi.Input[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.
|
14256
14458
|
"""
|
14459
|
+
if allowed_unsafe_sysctls is not None:
|
14460
|
+
pulumi.set(__self__, "allowed_unsafe_sysctls", allowed_unsafe_sysctls)
|
14461
|
+
if container_log_max_files is not None:
|
14462
|
+
pulumi.set(__self__, "container_log_max_files", container_log_max_files)
|
14463
|
+
if container_log_max_size is not None:
|
14464
|
+
pulumi.set(__self__, "container_log_max_size", container_log_max_size)
|
14257
14465
|
if cpu_cfs_quota is not None:
|
14258
14466
|
pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
|
14259
14467
|
if cpu_cfs_quota_period is not None:
|
14260
14468
|
pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
|
14261
14469
|
if cpu_manager_policy is not None:
|
14262
14470
|
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
14471
|
+
if image_gc_high_threshold_percent is not None:
|
14472
|
+
pulumi.set(__self__, "image_gc_high_threshold_percent", image_gc_high_threshold_percent)
|
14473
|
+
if image_gc_low_threshold_percent is not None:
|
14474
|
+
pulumi.set(__self__, "image_gc_low_threshold_percent", image_gc_low_threshold_percent)
|
14475
|
+
if image_maximum_gc_age is not None:
|
14476
|
+
pulumi.set(__self__, "image_maximum_gc_age", image_maximum_gc_age)
|
14477
|
+
if image_minimum_gc_age is not None:
|
14478
|
+
pulumi.set(__self__, "image_minimum_gc_age", image_minimum_gc_age)
|
14263
14479
|
if insecure_kubelet_readonly_port_enabled is not None:
|
14264
14480
|
pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
|
14265
14481
|
if pod_pids_limit is not None:
|
14266
14482
|
pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
|
14267
14483
|
|
14484
|
+
@property
|
14485
|
+
@pulumi.getter(name="allowedUnsafeSysctls")
|
14486
|
+
def allowed_unsafe_sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
14487
|
+
"""
|
14488
|
+
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.*`.
|
14489
|
+
"""
|
14490
|
+
return pulumi.get(self, "allowed_unsafe_sysctls")
|
14491
|
+
|
14492
|
+
@allowed_unsafe_sysctls.setter
|
14493
|
+
def allowed_unsafe_sysctls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
14494
|
+
pulumi.set(self, "allowed_unsafe_sysctls", value)
|
14495
|
+
|
14496
|
+
@property
|
14497
|
+
@pulumi.getter(name="containerLogMaxFiles")
|
14498
|
+
def container_log_max_files(self) -> Optional[pulumi.Input[int]]:
|
14499
|
+
"""
|
14500
|
+
Defines the maximum number of container log files that can be present for a container. The integer must be between 2 and 10, inclusive.
|
14501
|
+
"""
|
14502
|
+
return pulumi.get(self, "container_log_max_files")
|
14503
|
+
|
14504
|
+
@container_log_max_files.setter
|
14505
|
+
def container_log_max_files(self, value: Optional[pulumi.Input[int]]):
|
14506
|
+
pulumi.set(self, "container_log_max_files", value)
|
14507
|
+
|
14508
|
+
@property
|
14509
|
+
@pulumi.getter(name="containerLogMaxSize")
|
14510
|
+
def container_log_max_size(self) -> Optional[pulumi.Input[str]]:
|
14511
|
+
"""
|
14512
|
+
Defines the maximum size of the
|
14513
|
+
container log file before it is rotated. Specified as a positive number and a
|
14514
|
+
unit suffix, such as `"100Ki"`, `"10Mi"`. Valid units are "Ki", "Mi", "Gi".
|
14515
|
+
The value must be between `"10Mi"` and `"500Mi"`, inclusive. And the total container log size
|
14516
|
+
(`container_log_max_size` * `container_log_max_files`) cannot exceed 1% of the total storage of the node.
|
14517
|
+
"""
|
14518
|
+
return pulumi.get(self, "container_log_max_size")
|
14519
|
+
|
14520
|
+
@container_log_max_size.setter
|
14521
|
+
def container_log_max_size(self, value: Optional[pulumi.Input[str]]):
|
14522
|
+
pulumi.set(self, "container_log_max_size", value)
|
14523
|
+
|
14268
14524
|
@property
|
14269
14525
|
@pulumi.getter(name="cpuCfsQuota")
|
14270
14526
|
def cpu_cfs_quota(self) -> Optional[pulumi.Input[bool]]:
|
@@ -14309,6 +14565,54 @@ class ClusterNodePoolNodeConfigKubeletConfigArgs:
|
|
14309
14565
|
def cpu_manager_policy(self, value: Optional[pulumi.Input[str]]):
|
14310
14566
|
pulumi.set(self, "cpu_manager_policy", value)
|
14311
14567
|
|
14568
|
+
@property
|
14569
|
+
@pulumi.getter(name="imageGcHighThresholdPercent")
|
14570
|
+
def image_gc_high_threshold_percent(self) -> Optional[pulumi.Input[int]]:
|
14571
|
+
"""
|
14572
|
+
Defines the percent of disk usage after which image garbage collection is always run. The integer must be between 10 and 85, inclusive.
|
14573
|
+
"""
|
14574
|
+
return pulumi.get(self, "image_gc_high_threshold_percent")
|
14575
|
+
|
14576
|
+
@image_gc_high_threshold_percent.setter
|
14577
|
+
def image_gc_high_threshold_percent(self, value: Optional[pulumi.Input[int]]):
|
14578
|
+
pulumi.set(self, "image_gc_high_threshold_percent", value)
|
14579
|
+
|
14580
|
+
@property
|
14581
|
+
@pulumi.getter(name="imageGcLowThresholdPercent")
|
14582
|
+
def image_gc_low_threshold_percent(self) -> Optional[pulumi.Input[int]]:
|
14583
|
+
"""
|
14584
|
+
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.
|
14585
|
+
"""
|
14586
|
+
return pulumi.get(self, "image_gc_low_threshold_percent")
|
14587
|
+
|
14588
|
+
@image_gc_low_threshold_percent.setter
|
14589
|
+
def image_gc_low_threshold_percent(self, value: Optional[pulumi.Input[int]]):
|
14590
|
+
pulumi.set(self, "image_gc_low_threshold_percent", value)
|
14591
|
+
|
14592
|
+
@property
|
14593
|
+
@pulumi.getter(name="imageMaximumGcAge")
|
14594
|
+
def image_maximum_gc_age(self) -> Optional[pulumi.Input[str]]:
|
14595
|
+
"""
|
14596
|
+
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.
|
14597
|
+
"""
|
14598
|
+
return pulumi.get(self, "image_maximum_gc_age")
|
14599
|
+
|
14600
|
+
@image_maximum_gc_age.setter
|
14601
|
+
def image_maximum_gc_age(self, value: Optional[pulumi.Input[str]]):
|
14602
|
+
pulumi.set(self, "image_maximum_gc_age", value)
|
14603
|
+
|
14604
|
+
@property
|
14605
|
+
@pulumi.getter(name="imageMinimumGcAge")
|
14606
|
+
def image_minimum_gc_age(self) -> Optional[pulumi.Input[str]]:
|
14607
|
+
"""
|
14608
|
+
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".
|
14609
|
+
"""
|
14610
|
+
return pulumi.get(self, "image_minimum_gc_age")
|
14611
|
+
|
14612
|
+
@image_minimum_gc_age.setter
|
14613
|
+
def image_minimum_gc_age(self, value: Optional[pulumi.Input[str]]):
|
14614
|
+
pulumi.set(self, "image_minimum_gc_age", value)
|
14615
|
+
|
14312
14616
|
@property
|
14313
14617
|
@pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
|
14314
14618
|
def insecure_kubelet_readonly_port_enabled(self) -> Optional[pulumi.Input[str]]:
|
@@ -18558,6 +18862,18 @@ class NodePoolNodeConfigHostMaintenancePolicyArgs:
|
|
18558
18862
|
|
18559
18863
|
if not MYPY:
|
18560
18864
|
class NodePoolNodeConfigKubeletConfigArgsDict(TypedDict):
|
18865
|
+
allowed_unsafe_sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
18866
|
+
"""
|
18867
|
+
Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods.
|
18868
|
+
"""
|
18869
|
+
container_log_max_files: NotRequired[pulumi.Input[int]]
|
18870
|
+
"""
|
18871
|
+
Defines the maximum number of container log files that can be present for a container.
|
18872
|
+
"""
|
18873
|
+
container_log_max_size: NotRequired[pulumi.Input[str]]
|
18874
|
+
"""
|
18875
|
+
Defines the maximum size of the container log file before it is rotated.
|
18876
|
+
"""
|
18561
18877
|
cpu_cfs_quota: NotRequired[pulumi.Input[bool]]
|
18562
18878
|
"""
|
18563
18879
|
Enable CPU CFS quota enforcement for containers that specify CPU limits.
|
@@ -18570,6 +18886,22 @@ if not MYPY:
|
|
18570
18886
|
"""
|
18571
18887
|
Control the CPU management policy on the node.
|
18572
18888
|
"""
|
18889
|
+
image_gc_high_threshold_percent: NotRequired[pulumi.Input[int]]
|
18890
|
+
"""
|
18891
|
+
Defines the percent of disk usage after which image garbage collection is always run.
|
18892
|
+
"""
|
18893
|
+
image_gc_low_threshold_percent: NotRequired[pulumi.Input[int]]
|
18894
|
+
"""
|
18895
|
+
Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to.
|
18896
|
+
"""
|
18897
|
+
image_maximum_gc_age: NotRequired[pulumi.Input[str]]
|
18898
|
+
"""
|
18899
|
+
Defines the maximum age an image can be unused before it is garbage collected.
|
18900
|
+
"""
|
18901
|
+
image_minimum_gc_age: NotRequired[pulumi.Input[str]]
|
18902
|
+
"""
|
18903
|
+
Defines the minimum age for an unused image before it is garbage collected.
|
18904
|
+
"""
|
18573
18905
|
insecure_kubelet_readonly_port_enabled: NotRequired[pulumi.Input[str]]
|
18574
18906
|
"""
|
18575
18907
|
Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to `FALSE`. Possible values: `TRUE`, `FALSE`.
|
@@ -18584,29 +18916,93 @@ elif False:
|
|
18584
18916
|
@pulumi.input_type
|
18585
18917
|
class NodePoolNodeConfigKubeletConfigArgs:
|
18586
18918
|
def __init__(__self__, *,
|
18919
|
+
allowed_unsafe_sysctls: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
18920
|
+
container_log_max_files: Optional[pulumi.Input[int]] = None,
|
18921
|
+
container_log_max_size: Optional[pulumi.Input[str]] = None,
|
18587
18922
|
cpu_cfs_quota: Optional[pulumi.Input[bool]] = None,
|
18588
18923
|
cpu_cfs_quota_period: Optional[pulumi.Input[str]] = None,
|
18589
18924
|
cpu_manager_policy: Optional[pulumi.Input[str]] = None,
|
18925
|
+
image_gc_high_threshold_percent: Optional[pulumi.Input[int]] = None,
|
18926
|
+
image_gc_low_threshold_percent: Optional[pulumi.Input[int]] = None,
|
18927
|
+
image_maximum_gc_age: Optional[pulumi.Input[str]] = None,
|
18928
|
+
image_minimum_gc_age: Optional[pulumi.Input[str]] = None,
|
18590
18929
|
insecure_kubelet_readonly_port_enabled: Optional[pulumi.Input[str]] = None,
|
18591
18930
|
pod_pids_limit: Optional[pulumi.Input[int]] = None):
|
18592
18931
|
"""
|
18932
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] allowed_unsafe_sysctls: Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods.
|
18933
|
+
:param pulumi.Input[int] container_log_max_files: Defines the maximum number of container log files that can be present for a container.
|
18934
|
+
:param pulumi.Input[str] container_log_max_size: Defines the maximum size of the container log file before it is rotated.
|
18593
18935
|
:param pulumi.Input[bool] cpu_cfs_quota: Enable CPU CFS quota enforcement for containers that specify CPU limits.
|
18594
18936
|
:param pulumi.Input[str] cpu_cfs_quota_period: Set the CPU CFS quota period value 'cpu.cfs_period_us'.
|
18595
18937
|
:param pulumi.Input[str] cpu_manager_policy: Control the CPU management policy on the node.
|
18938
|
+
:param pulumi.Input[int] image_gc_high_threshold_percent: Defines the percent of disk usage after which image garbage collection is always run.
|
18939
|
+
:param pulumi.Input[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.
|
18940
|
+
:param pulumi.Input[str] image_maximum_gc_age: Defines the maximum age an image can be unused before it is garbage collected.
|
18941
|
+
:param pulumi.Input[str] image_minimum_gc_age: Defines the minimum age for an unused image before it is garbage collected.
|
18596
18942
|
:param pulumi.Input[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`.
|
18597
18943
|
:param pulumi.Input[int] pod_pids_limit: Controls the maximum number of processes allowed to run in a pod.
|
18598
18944
|
"""
|
18945
|
+
if allowed_unsafe_sysctls is not None:
|
18946
|
+
pulumi.set(__self__, "allowed_unsafe_sysctls", allowed_unsafe_sysctls)
|
18947
|
+
if container_log_max_files is not None:
|
18948
|
+
pulumi.set(__self__, "container_log_max_files", container_log_max_files)
|
18949
|
+
if container_log_max_size is not None:
|
18950
|
+
pulumi.set(__self__, "container_log_max_size", container_log_max_size)
|
18599
18951
|
if cpu_cfs_quota is not None:
|
18600
18952
|
pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
|
18601
18953
|
if cpu_cfs_quota_period is not None:
|
18602
18954
|
pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
|
18603
18955
|
if cpu_manager_policy is not None:
|
18604
18956
|
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
18957
|
+
if image_gc_high_threshold_percent is not None:
|
18958
|
+
pulumi.set(__self__, "image_gc_high_threshold_percent", image_gc_high_threshold_percent)
|
18959
|
+
if image_gc_low_threshold_percent is not None:
|
18960
|
+
pulumi.set(__self__, "image_gc_low_threshold_percent", image_gc_low_threshold_percent)
|
18961
|
+
if image_maximum_gc_age is not None:
|
18962
|
+
pulumi.set(__self__, "image_maximum_gc_age", image_maximum_gc_age)
|
18963
|
+
if image_minimum_gc_age is not None:
|
18964
|
+
pulumi.set(__self__, "image_minimum_gc_age", image_minimum_gc_age)
|
18605
18965
|
if insecure_kubelet_readonly_port_enabled is not None:
|
18606
18966
|
pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
|
18607
18967
|
if pod_pids_limit is not None:
|
18608
18968
|
pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
|
18609
18969
|
|
18970
|
+
@property
|
18971
|
+
@pulumi.getter(name="allowedUnsafeSysctls")
|
18972
|
+
def allowed_unsafe_sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
18973
|
+
"""
|
18974
|
+
Defines a comma-separated allowlist of unsafe sysctls or sysctl patterns which can be set on the Pods.
|
18975
|
+
"""
|
18976
|
+
return pulumi.get(self, "allowed_unsafe_sysctls")
|
18977
|
+
|
18978
|
+
@allowed_unsafe_sysctls.setter
|
18979
|
+
def allowed_unsafe_sysctls(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
18980
|
+
pulumi.set(self, "allowed_unsafe_sysctls", value)
|
18981
|
+
|
18982
|
+
@property
|
18983
|
+
@pulumi.getter(name="containerLogMaxFiles")
|
18984
|
+
def container_log_max_files(self) -> Optional[pulumi.Input[int]]:
|
18985
|
+
"""
|
18986
|
+
Defines the maximum number of container log files that can be present for a container.
|
18987
|
+
"""
|
18988
|
+
return pulumi.get(self, "container_log_max_files")
|
18989
|
+
|
18990
|
+
@container_log_max_files.setter
|
18991
|
+
def container_log_max_files(self, value: Optional[pulumi.Input[int]]):
|
18992
|
+
pulumi.set(self, "container_log_max_files", value)
|
18993
|
+
|
18994
|
+
@property
|
18995
|
+
@pulumi.getter(name="containerLogMaxSize")
|
18996
|
+
def container_log_max_size(self) -> Optional[pulumi.Input[str]]:
|
18997
|
+
"""
|
18998
|
+
Defines the maximum size of the container log file before it is rotated.
|
18999
|
+
"""
|
19000
|
+
return pulumi.get(self, "container_log_max_size")
|
19001
|
+
|
19002
|
+
@container_log_max_size.setter
|
19003
|
+
def container_log_max_size(self, value: Optional[pulumi.Input[str]]):
|
19004
|
+
pulumi.set(self, "container_log_max_size", value)
|
19005
|
+
|
18610
19006
|
@property
|
18611
19007
|
@pulumi.getter(name="cpuCfsQuota")
|
18612
19008
|
def cpu_cfs_quota(self) -> Optional[pulumi.Input[bool]]:
|
@@ -18643,6 +19039,54 @@ class NodePoolNodeConfigKubeletConfigArgs:
|
|
18643
19039
|
def cpu_manager_policy(self, value: Optional[pulumi.Input[str]]):
|
18644
19040
|
pulumi.set(self, "cpu_manager_policy", value)
|
18645
19041
|
|
19042
|
+
@property
|
19043
|
+
@pulumi.getter(name="imageGcHighThresholdPercent")
|
19044
|
+
def image_gc_high_threshold_percent(self) -> Optional[pulumi.Input[int]]:
|
19045
|
+
"""
|
19046
|
+
Defines the percent of disk usage after which image garbage collection is always run.
|
19047
|
+
"""
|
19048
|
+
return pulumi.get(self, "image_gc_high_threshold_percent")
|
19049
|
+
|
19050
|
+
@image_gc_high_threshold_percent.setter
|
19051
|
+
def image_gc_high_threshold_percent(self, value: Optional[pulumi.Input[int]]):
|
19052
|
+
pulumi.set(self, "image_gc_high_threshold_percent", value)
|
19053
|
+
|
19054
|
+
@property
|
19055
|
+
@pulumi.getter(name="imageGcLowThresholdPercent")
|
19056
|
+
def image_gc_low_threshold_percent(self) -> Optional[pulumi.Input[int]]:
|
19057
|
+
"""
|
19058
|
+
Defines the percent of disk usage before which image garbage collection is never run. Lowest disk usage to garbage collect to.
|
19059
|
+
"""
|
19060
|
+
return pulumi.get(self, "image_gc_low_threshold_percent")
|
19061
|
+
|
19062
|
+
@image_gc_low_threshold_percent.setter
|
19063
|
+
def image_gc_low_threshold_percent(self, value: Optional[pulumi.Input[int]]):
|
19064
|
+
pulumi.set(self, "image_gc_low_threshold_percent", value)
|
19065
|
+
|
19066
|
+
@property
|
19067
|
+
@pulumi.getter(name="imageMaximumGcAge")
|
19068
|
+
def image_maximum_gc_age(self) -> Optional[pulumi.Input[str]]:
|
19069
|
+
"""
|
19070
|
+
Defines the maximum age an image can be unused before it is garbage collected.
|
19071
|
+
"""
|
19072
|
+
return pulumi.get(self, "image_maximum_gc_age")
|
19073
|
+
|
19074
|
+
@image_maximum_gc_age.setter
|
19075
|
+
def image_maximum_gc_age(self, value: Optional[pulumi.Input[str]]):
|
19076
|
+
pulumi.set(self, "image_maximum_gc_age", value)
|
19077
|
+
|
19078
|
+
@property
|
19079
|
+
@pulumi.getter(name="imageMinimumGcAge")
|
19080
|
+
def image_minimum_gc_age(self) -> Optional[pulumi.Input[str]]:
|
19081
|
+
"""
|
19082
|
+
Defines the minimum age for an unused image before it is garbage collected.
|
19083
|
+
"""
|
19084
|
+
return pulumi.get(self, "image_minimum_gc_age")
|
19085
|
+
|
19086
|
+
@image_minimum_gc_age.setter
|
19087
|
+
def image_minimum_gc_age(self, value: Optional[pulumi.Input[str]]):
|
19088
|
+
pulumi.set(self, "image_minimum_gc_age", value)
|
19089
|
+
|
18646
19090
|
@property
|
18647
19091
|
@pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
|
18648
19092
|
def insecure_kubelet_readonly_port_enabled(self) -> Optional[pulumi.Input[str]]:
|