pulumi-gcp 8.3.0__py3-none-any.whl → 8.3.0a1726834947__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 +0 -120
- pulumi_gcp/alloydb/_inputs.py +0 -20
- pulumi_gcp/alloydb/instance.py +0 -36
- pulumi_gcp/alloydb/outputs.py +0 -14
- pulumi_gcp/compute/__init__.py +0 -1
- pulumi_gcp/compute/_inputs.py +0 -1400
- pulumi_gcp/compute/attached_disk.py +0 -103
- pulumi_gcp/compute/backend_service.py +22 -29
- pulumi_gcp/compute/outputs.py +0 -1019
- pulumi_gcp/compute/region_backend_service.py +22 -29
- pulumi_gcp/compute/router_nat.py +66 -27
- pulumi_gcp/config/__init__.pyi +0 -2
- pulumi_gcp/config/vars.py +0 -4
- pulumi_gcp/container/_inputs.py +99 -72
- pulumi_gcp/container/outputs.py +70 -53
- pulumi_gcp/databasemigrationservice/__init__.py +0 -1
- pulumi_gcp/databasemigrationservice/_inputs.py +0 -362
- pulumi_gcp/databasemigrationservice/outputs.py +0 -268
- pulumi_gcp/dataproc/get_metastore_service.py +1 -11
- pulumi_gcp/dataproc/metastore_service.py +0 -93
- pulumi_gcp/developerconnect/_inputs.py +39 -42
- pulumi_gcp/developerconnect/connection.py +83 -86
- pulumi_gcp/developerconnect/outputs.py +26 -28
- pulumi_gcp/discoveryengine/__init__.py +0 -1
- pulumi_gcp/discoveryengine/_inputs.py +0 -131
- pulumi_gcp/discoveryengine/outputs.py +0 -131
- pulumi_gcp/dns/managed_zone.py +1 -1
- pulumi_gcp/filestore/get_instance.py +1 -21
- pulumi_gcp/filestore/instance.py +0 -94
- pulumi_gcp/gkehub/feature_membership.py +62 -140
- pulumi_gcp/healthcare/__init__.py +0 -1
- pulumi_gcp/healthcare/_inputs.py +0 -39
- pulumi_gcp/healthcare/outputs.py +0 -40
- pulumi_gcp/looker/instance.py +0 -81
- pulumi_gcp/netapp/_inputs.py +0 -63
- pulumi_gcp/netapp/outputs.py +0 -57
- pulumi_gcp/netapp/storage_pool.py +0 -54
- pulumi_gcp/netapp/volume.py +0 -82
- pulumi_gcp/provider.py +0 -20
- pulumi_gcp/pubsub/subscription.py +7 -43
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/secretmanager/__init__.py +0 -8
- pulumi_gcp/secretmanager/_inputs.py +0 -308
- pulumi_gcp/secretmanager/outputs.py +0 -336
- pulumi_gcp/securitycenter/__init__.py +0 -4
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_exports.py +2 -6
- pulumi_gcp/siteverification/__init__.py +0 -3
- pulumi_gcp/spanner/__init__.py +0 -1
- pulumi_gcp/spanner/_inputs.py +0 -129
- pulumi_gcp/spanner/get_instance.py +1 -11
- pulumi_gcp/spanner/instance.py +0 -56
- pulumi_gcp/spanner/outputs.py +0 -93
- {pulumi_gcp-8.3.0.dist-info → pulumi_gcp-8.3.0a1726834947.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.3.0.dist-info → pulumi_gcp-8.3.0a1726834947.dist-info}/RECORD +56 -76
- pulumi_gcp/compute/firewall_policy_with_rules.py +0 -769
- pulumi_gcp/databasemigrationservice/migration_job.py +0 -1739
- pulumi_gcp/discoveryengine/target_site.py +0 -870
- pulumi_gcp/healthcare/workspace.py +0 -465
- pulumi_gcp/secretmanager/get_regional_secret.py +0 -279
- pulumi_gcp/secretmanager/get_regional_secret_iam_policy.py +0 -173
- pulumi_gcp/secretmanager/get_regional_secret_version.py +0 -241
- pulumi_gcp/secretmanager/regional_secret.py +0 -1433
- pulumi_gcp/secretmanager/regional_secret_iam_binding.py +0 -1082
- pulumi_gcp/secretmanager/regional_secret_iam_member.py +0 -1082
- pulumi_gcp/secretmanager/regional_secret_iam_policy.py +0 -901
- pulumi_gcp/secretmanager/regional_secret_version.py +0 -753
- pulumi_gcp/securitycenter/folder_scc_big_query_export.py +0 -795
- pulumi_gcp/securitycenter/organization_scc_big_query_export.py +0 -738
- pulumi_gcp/securitycenter/project_scc_big_query_export.py +0 -749
- pulumi_gcp/securitycenter/v2_organization_scc_big_query_export.py +0 -862
- pulumi_gcp/siteverification/_inputs.py +0 -85
- pulumi_gcp/siteverification/outputs.py +0 -57
- pulumi_gcp/siteverification/web_resource.py +0 -398
- pulumi_gcp/spanner/backup_schedule.py +0 -748
- {pulumi_gcp-8.3.0.dist-info → pulumi_gcp-8.3.0a1726834947.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.3.0.dist-info → pulumi_gcp-8.3.0a1726834947.dist-info}/top_level.txt +0 -0
pulumi_gcp/container/_inputs.py
CHANGED
@@ -9770,6 +9770,12 @@ class ClusterNodeConfigHostMaintenancePolicyArgs:
|
|
9770
9770
|
|
9771
9771
|
if not MYPY:
|
9772
9772
|
class ClusterNodeConfigKubeletConfigArgsDict(TypedDict):
|
9773
|
+
cpu_manager_policy: pulumi.Input[str]
|
9774
|
+
"""
|
9775
|
+
The CPU management policy on the node. See
|
9776
|
+
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
9777
|
+
One of `"none"` or `"static"`. Defaults to `none` when `kubelet_config` is unset.
|
9778
|
+
"""
|
9773
9779
|
cpu_cfs_quota: NotRequired[pulumi.Input[bool]]
|
9774
9780
|
"""
|
9775
9781
|
If true, enables CPU CFS quota enforcement for
|
@@ -9781,12 +9787,11 @@ if not MYPY:
|
|
9781
9787
|
as a sequence of decimal numbers, each with optional fraction and a unit suffix,
|
9782
9788
|
such as `"300ms"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m",
|
9783
9789
|
"h". The value must be a positive duration.
|
9784
|
-
|
9785
|
-
|
9786
|
-
|
9787
|
-
|
9788
|
-
|
9789
|
-
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
9790
|
+
|
9791
|
+
> Note: At the time of writing (2020/08/18) the GKE API rejects the `none`
|
9792
|
+
value and accepts an invalid `default` value instead. While this remains true,
|
9793
|
+
not specifying the `kubelet_config` block should be the equivalent of specifying
|
9794
|
+
`none`.
|
9790
9795
|
"""
|
9791
9796
|
insecure_kubelet_readonly_port_enabled: NotRequired[pulumi.Input[str]]
|
9792
9797
|
"""
|
@@ -9802,35 +9807,53 @@ elif False:
|
|
9802
9807
|
@pulumi.input_type
|
9803
9808
|
class ClusterNodeConfigKubeletConfigArgs:
|
9804
9809
|
def __init__(__self__, *,
|
9810
|
+
cpu_manager_policy: pulumi.Input[str],
|
9805
9811
|
cpu_cfs_quota: Optional[pulumi.Input[bool]] = None,
|
9806
9812
|
cpu_cfs_quota_period: Optional[pulumi.Input[str]] = None,
|
9807
|
-
cpu_manager_policy: Optional[pulumi.Input[str]] = None,
|
9808
9813
|
insecure_kubelet_readonly_port_enabled: Optional[pulumi.Input[str]] = None,
|
9809
9814
|
pod_pids_limit: Optional[pulumi.Input[int]] = None):
|
9810
9815
|
"""
|
9816
|
+
:param pulumi.Input[str] cpu_manager_policy: The CPU management policy on the node. See
|
9817
|
+
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
9818
|
+
One of `"none"` or `"static"`. Defaults to `none` when `kubelet_config` is unset.
|
9811
9819
|
:param pulumi.Input[bool] cpu_cfs_quota: If true, enables CPU CFS quota enforcement for
|
9812
9820
|
containers that specify CPU limits.
|
9813
9821
|
:param pulumi.Input[str] cpu_cfs_quota_period: The CPU CFS quota period value. Specified
|
9814
9822
|
as a sequence of decimal numbers, each with optional fraction and a unit suffix,
|
9815
9823
|
such as `"300ms"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m",
|
9816
9824
|
"h". The value must be a positive duration.
|
9817
|
-
|
9818
|
-
|
9819
|
-
|
9825
|
+
|
9826
|
+
> Note: At the time of writing (2020/08/18) the GKE API rejects the `none`
|
9827
|
+
value and accepts an invalid `default` value instead. While this remains true,
|
9828
|
+
not specifying the `kubelet_config` block should be the equivalent of specifying
|
9829
|
+
`none`.
|
9820
9830
|
: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`.
|
9821
9831
|
: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.
|
9822
9832
|
"""
|
9833
|
+
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
9823
9834
|
if cpu_cfs_quota is not None:
|
9824
9835
|
pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
|
9825
9836
|
if cpu_cfs_quota_period is not None:
|
9826
9837
|
pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
|
9827
|
-
if cpu_manager_policy is not None:
|
9828
|
-
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
9829
9838
|
if insecure_kubelet_readonly_port_enabled is not None:
|
9830
9839
|
pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
|
9831
9840
|
if pod_pids_limit is not None:
|
9832
9841
|
pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
|
9833
9842
|
|
9843
|
+
@property
|
9844
|
+
@pulumi.getter(name="cpuManagerPolicy")
|
9845
|
+
def cpu_manager_policy(self) -> pulumi.Input[str]:
|
9846
|
+
"""
|
9847
|
+
The CPU management policy on the node. See
|
9848
|
+
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
9849
|
+
One of `"none"` or `"static"`. Defaults to `none` when `kubelet_config` is unset.
|
9850
|
+
"""
|
9851
|
+
return pulumi.get(self, "cpu_manager_policy")
|
9852
|
+
|
9853
|
+
@cpu_manager_policy.setter
|
9854
|
+
def cpu_manager_policy(self, value: pulumi.Input[str]):
|
9855
|
+
pulumi.set(self, "cpu_manager_policy", value)
|
9856
|
+
|
9834
9857
|
@property
|
9835
9858
|
@pulumi.getter(name="cpuCfsQuota")
|
9836
9859
|
def cpu_cfs_quota(self) -> Optional[pulumi.Input[bool]]:
|
@@ -9852,6 +9875,11 @@ class ClusterNodeConfigKubeletConfigArgs:
|
|
9852
9875
|
as a sequence of decimal numbers, each with optional fraction and a unit suffix,
|
9853
9876
|
such as `"300ms"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m",
|
9854
9877
|
"h". The value must be a positive duration.
|
9878
|
+
|
9879
|
+
> Note: At the time of writing (2020/08/18) the GKE API rejects the `none`
|
9880
|
+
value and accepts an invalid `default` value instead. While this remains true,
|
9881
|
+
not specifying the `kubelet_config` block should be the equivalent of specifying
|
9882
|
+
`none`.
|
9855
9883
|
"""
|
9856
9884
|
return pulumi.get(self, "cpu_cfs_quota_period")
|
9857
9885
|
|
@@ -9859,20 +9887,6 @@ class ClusterNodeConfigKubeletConfigArgs:
|
|
9859
9887
|
def cpu_cfs_quota_period(self, value: Optional[pulumi.Input[str]]):
|
9860
9888
|
pulumi.set(self, "cpu_cfs_quota_period", value)
|
9861
9889
|
|
9862
|
-
@property
|
9863
|
-
@pulumi.getter(name="cpuManagerPolicy")
|
9864
|
-
def cpu_manager_policy(self) -> Optional[pulumi.Input[str]]:
|
9865
|
-
"""
|
9866
|
-
The CPU management policy on the node. See
|
9867
|
-
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
9868
|
-
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
9869
|
-
"""
|
9870
|
-
return pulumi.get(self, "cpu_manager_policy")
|
9871
|
-
|
9872
|
-
@cpu_manager_policy.setter
|
9873
|
-
def cpu_manager_policy(self, value: Optional[pulumi.Input[str]]):
|
9874
|
-
pulumi.set(self, "cpu_manager_policy", value)
|
9875
|
-
|
9876
9890
|
@property
|
9877
9891
|
@pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
|
9878
9892
|
def insecure_kubelet_readonly_port_enabled(self) -> Optional[pulumi.Input[str]]:
|
@@ -13589,6 +13603,12 @@ class ClusterNodePoolNodeConfigHostMaintenancePolicyArgs:
|
|
13589
13603
|
|
13590
13604
|
if not MYPY:
|
13591
13605
|
class ClusterNodePoolNodeConfigKubeletConfigArgsDict(TypedDict):
|
13606
|
+
cpu_manager_policy: pulumi.Input[str]
|
13607
|
+
"""
|
13608
|
+
The CPU management policy on the node. See
|
13609
|
+
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
13610
|
+
One of `"none"` or `"static"`. Defaults to `none` when `kubelet_config` is unset.
|
13611
|
+
"""
|
13592
13612
|
cpu_cfs_quota: NotRequired[pulumi.Input[bool]]
|
13593
13613
|
"""
|
13594
13614
|
If true, enables CPU CFS quota enforcement for
|
@@ -13600,12 +13620,11 @@ if not MYPY:
|
|
13600
13620
|
as a sequence of decimal numbers, each with optional fraction and a unit suffix,
|
13601
13621
|
such as `"300ms"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m",
|
13602
13622
|
"h". The value must be a positive duration.
|
13603
|
-
|
13604
|
-
|
13605
|
-
|
13606
|
-
|
13607
|
-
|
13608
|
-
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
13623
|
+
|
13624
|
+
> Note: At the time of writing (2020/08/18) the GKE API rejects the `none`
|
13625
|
+
value and accepts an invalid `default` value instead. While this remains true,
|
13626
|
+
not specifying the `kubelet_config` block should be the equivalent of specifying
|
13627
|
+
`none`.
|
13609
13628
|
"""
|
13610
13629
|
insecure_kubelet_readonly_port_enabled: NotRequired[pulumi.Input[str]]
|
13611
13630
|
"""
|
@@ -13621,35 +13640,53 @@ elif False:
|
|
13621
13640
|
@pulumi.input_type
|
13622
13641
|
class ClusterNodePoolNodeConfigKubeletConfigArgs:
|
13623
13642
|
def __init__(__self__, *,
|
13643
|
+
cpu_manager_policy: pulumi.Input[str],
|
13624
13644
|
cpu_cfs_quota: Optional[pulumi.Input[bool]] = None,
|
13625
13645
|
cpu_cfs_quota_period: Optional[pulumi.Input[str]] = None,
|
13626
|
-
cpu_manager_policy: Optional[pulumi.Input[str]] = None,
|
13627
13646
|
insecure_kubelet_readonly_port_enabled: Optional[pulumi.Input[str]] = None,
|
13628
13647
|
pod_pids_limit: Optional[pulumi.Input[int]] = None):
|
13629
13648
|
"""
|
13649
|
+
:param pulumi.Input[str] cpu_manager_policy: The CPU management policy on the node. See
|
13650
|
+
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
13651
|
+
One of `"none"` or `"static"`. Defaults to `none` when `kubelet_config` is unset.
|
13630
13652
|
:param pulumi.Input[bool] cpu_cfs_quota: If true, enables CPU CFS quota enforcement for
|
13631
13653
|
containers that specify CPU limits.
|
13632
13654
|
:param pulumi.Input[str] cpu_cfs_quota_period: The CPU CFS quota period value. Specified
|
13633
13655
|
as a sequence of decimal numbers, each with optional fraction and a unit suffix,
|
13634
13656
|
such as `"300ms"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m",
|
13635
13657
|
"h". The value must be a positive duration.
|
13636
|
-
|
13637
|
-
|
13638
|
-
|
13658
|
+
|
13659
|
+
> Note: At the time of writing (2020/08/18) the GKE API rejects the `none`
|
13660
|
+
value and accepts an invalid `default` value instead. While this remains true,
|
13661
|
+
not specifying the `kubelet_config` block should be the equivalent of specifying
|
13662
|
+
`none`.
|
13639
13663
|
: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`.
|
13640
13664
|
: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.
|
13641
13665
|
"""
|
13666
|
+
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
13642
13667
|
if cpu_cfs_quota is not None:
|
13643
13668
|
pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
|
13644
13669
|
if cpu_cfs_quota_period is not None:
|
13645
13670
|
pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
|
13646
|
-
if cpu_manager_policy is not None:
|
13647
|
-
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
13648
13671
|
if insecure_kubelet_readonly_port_enabled is not None:
|
13649
13672
|
pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
|
13650
13673
|
if pod_pids_limit is not None:
|
13651
13674
|
pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
|
13652
13675
|
|
13676
|
+
@property
|
13677
|
+
@pulumi.getter(name="cpuManagerPolicy")
|
13678
|
+
def cpu_manager_policy(self) -> pulumi.Input[str]:
|
13679
|
+
"""
|
13680
|
+
The CPU management policy on the node. See
|
13681
|
+
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
13682
|
+
One of `"none"` or `"static"`. Defaults to `none` when `kubelet_config` is unset.
|
13683
|
+
"""
|
13684
|
+
return pulumi.get(self, "cpu_manager_policy")
|
13685
|
+
|
13686
|
+
@cpu_manager_policy.setter
|
13687
|
+
def cpu_manager_policy(self, value: pulumi.Input[str]):
|
13688
|
+
pulumi.set(self, "cpu_manager_policy", value)
|
13689
|
+
|
13653
13690
|
@property
|
13654
13691
|
@pulumi.getter(name="cpuCfsQuota")
|
13655
13692
|
def cpu_cfs_quota(self) -> Optional[pulumi.Input[bool]]:
|
@@ -13671,6 +13708,11 @@ class ClusterNodePoolNodeConfigKubeletConfigArgs:
|
|
13671
13708
|
as a sequence of decimal numbers, each with optional fraction and a unit suffix,
|
13672
13709
|
such as `"300ms"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m",
|
13673
13710
|
"h". The value must be a positive duration.
|
13711
|
+
|
13712
|
+
> Note: At the time of writing (2020/08/18) the GKE API rejects the `none`
|
13713
|
+
value and accepts an invalid `default` value instead. While this remains true,
|
13714
|
+
not specifying the `kubelet_config` block should be the equivalent of specifying
|
13715
|
+
`none`.
|
13674
13716
|
"""
|
13675
13717
|
return pulumi.get(self, "cpu_cfs_quota_period")
|
13676
13718
|
|
@@ -13678,20 +13720,6 @@ class ClusterNodePoolNodeConfigKubeletConfigArgs:
|
|
13678
13720
|
def cpu_cfs_quota_period(self, value: Optional[pulumi.Input[str]]):
|
13679
13721
|
pulumi.set(self, "cpu_cfs_quota_period", value)
|
13680
13722
|
|
13681
|
-
@property
|
13682
|
-
@pulumi.getter(name="cpuManagerPolicy")
|
13683
|
-
def cpu_manager_policy(self) -> Optional[pulumi.Input[str]]:
|
13684
|
-
"""
|
13685
|
-
The CPU management policy on the node. See
|
13686
|
-
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
13687
|
-
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
13688
|
-
"""
|
13689
|
-
return pulumi.get(self, "cpu_manager_policy")
|
13690
|
-
|
13691
|
-
@cpu_manager_policy.setter
|
13692
|
-
def cpu_manager_policy(self, value: Optional[pulumi.Input[str]]):
|
13693
|
-
pulumi.set(self, "cpu_manager_policy", value)
|
13694
|
-
|
13695
13723
|
@property
|
13696
13724
|
@pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
|
13697
13725
|
def insecure_kubelet_readonly_port_enabled(self) -> Optional[pulumi.Input[str]]:
|
@@ -17657,6 +17685,10 @@ class NodePoolNodeConfigHostMaintenancePolicyArgs:
|
|
17657
17685
|
|
17658
17686
|
if not MYPY:
|
17659
17687
|
class NodePoolNodeConfigKubeletConfigArgsDict(TypedDict):
|
17688
|
+
cpu_manager_policy: pulumi.Input[str]
|
17689
|
+
"""
|
17690
|
+
Control the CPU management policy on the node.
|
17691
|
+
"""
|
17660
17692
|
cpu_cfs_quota: NotRequired[pulumi.Input[bool]]
|
17661
17693
|
"""
|
17662
17694
|
Enable CPU CFS quota enforcement for containers that specify CPU limits.
|
@@ -17665,10 +17697,6 @@ if not MYPY:
|
|
17665
17697
|
"""
|
17666
17698
|
Set the CPU CFS quota period value 'cpu.cfs_period_us'.
|
17667
17699
|
"""
|
17668
|
-
cpu_manager_policy: NotRequired[pulumi.Input[str]]
|
17669
|
-
"""
|
17670
|
-
Control the CPU management policy on the node.
|
17671
|
-
"""
|
17672
17700
|
insecure_kubelet_readonly_port_enabled: NotRequired[pulumi.Input[str]]
|
17673
17701
|
"""
|
17674
17702
|
Controls whether the kubelet read-only port is enabled. It is strongly recommended to set this to `FALSE`. Possible values: `TRUE`, `FALSE`.
|
@@ -17683,29 +17711,40 @@ elif False:
|
|
17683
17711
|
@pulumi.input_type
|
17684
17712
|
class NodePoolNodeConfigKubeletConfigArgs:
|
17685
17713
|
def __init__(__self__, *,
|
17714
|
+
cpu_manager_policy: pulumi.Input[str],
|
17686
17715
|
cpu_cfs_quota: Optional[pulumi.Input[bool]] = None,
|
17687
17716
|
cpu_cfs_quota_period: Optional[pulumi.Input[str]] = None,
|
17688
|
-
cpu_manager_policy: Optional[pulumi.Input[str]] = None,
|
17689
17717
|
insecure_kubelet_readonly_port_enabled: Optional[pulumi.Input[str]] = None,
|
17690
17718
|
pod_pids_limit: Optional[pulumi.Input[int]] = None):
|
17691
17719
|
"""
|
17720
|
+
:param pulumi.Input[str] cpu_manager_policy: Control the CPU management policy on the node.
|
17692
17721
|
:param pulumi.Input[bool] cpu_cfs_quota: Enable CPU CFS quota enforcement for containers that specify CPU limits.
|
17693
17722
|
:param pulumi.Input[str] cpu_cfs_quota_period: Set the CPU CFS quota period value 'cpu.cfs_period_us'.
|
17694
|
-
:param pulumi.Input[str] cpu_manager_policy: Control the CPU management policy on the node.
|
17695
17723
|
: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`.
|
17696
17724
|
:param pulumi.Input[int] pod_pids_limit: Controls the maximum number of processes allowed to run in a pod.
|
17697
17725
|
"""
|
17726
|
+
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
17698
17727
|
if cpu_cfs_quota is not None:
|
17699
17728
|
pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
|
17700
17729
|
if cpu_cfs_quota_period is not None:
|
17701
17730
|
pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
|
17702
|
-
if cpu_manager_policy is not None:
|
17703
|
-
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
17704
17731
|
if insecure_kubelet_readonly_port_enabled is not None:
|
17705
17732
|
pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
|
17706
17733
|
if pod_pids_limit is not None:
|
17707
17734
|
pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
|
17708
17735
|
|
17736
|
+
@property
|
17737
|
+
@pulumi.getter(name="cpuManagerPolicy")
|
17738
|
+
def cpu_manager_policy(self) -> pulumi.Input[str]:
|
17739
|
+
"""
|
17740
|
+
Control the CPU management policy on the node.
|
17741
|
+
"""
|
17742
|
+
return pulumi.get(self, "cpu_manager_policy")
|
17743
|
+
|
17744
|
+
@cpu_manager_policy.setter
|
17745
|
+
def cpu_manager_policy(self, value: pulumi.Input[str]):
|
17746
|
+
pulumi.set(self, "cpu_manager_policy", value)
|
17747
|
+
|
17709
17748
|
@property
|
17710
17749
|
@pulumi.getter(name="cpuCfsQuota")
|
17711
17750
|
def cpu_cfs_quota(self) -> Optional[pulumi.Input[bool]]:
|
@@ -17730,18 +17769,6 @@ class NodePoolNodeConfigKubeletConfigArgs:
|
|
17730
17769
|
def cpu_cfs_quota_period(self, value: Optional[pulumi.Input[str]]):
|
17731
17770
|
pulumi.set(self, "cpu_cfs_quota_period", value)
|
17732
17771
|
|
17733
|
-
@property
|
17734
|
-
@pulumi.getter(name="cpuManagerPolicy")
|
17735
|
-
def cpu_manager_policy(self) -> Optional[pulumi.Input[str]]:
|
17736
|
-
"""
|
17737
|
-
Control the CPU management policy on the node.
|
17738
|
-
"""
|
17739
|
-
return pulumi.get(self, "cpu_manager_policy")
|
17740
|
-
|
17741
|
-
@cpu_manager_policy.setter
|
17742
|
-
def cpu_manager_policy(self, value: Optional[pulumi.Input[str]]):
|
17743
|
-
pulumi.set(self, "cpu_manager_policy", value)
|
17744
|
-
|
17745
17772
|
@property
|
17746
17773
|
@pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
|
17747
17774
|
def insecure_kubelet_readonly_port_enabled(self) -> Optional[pulumi.Input[str]]:
|
pulumi_gcp/container/outputs.py
CHANGED
@@ -7923,12 +7923,12 @@ class ClusterNodeConfigKubeletConfig(dict):
|
|
7923
7923
|
@staticmethod
|
7924
7924
|
def __key_warning(key: str):
|
7925
7925
|
suggest = None
|
7926
|
-
if key == "
|
7926
|
+
if key == "cpuManagerPolicy":
|
7927
|
+
suggest = "cpu_manager_policy"
|
7928
|
+
elif key == "cpuCfsQuota":
|
7927
7929
|
suggest = "cpu_cfs_quota"
|
7928
7930
|
elif key == "cpuCfsQuotaPeriod":
|
7929
7931
|
suggest = "cpu_cfs_quota_period"
|
7930
|
-
elif key == "cpuManagerPolicy":
|
7931
|
-
suggest = "cpu_manager_policy"
|
7932
7932
|
elif key == "insecureKubeletReadonlyPortEnabled":
|
7933
7933
|
suggest = "insecure_kubelet_readonly_port_enabled"
|
7934
7934
|
elif key == "podPidsLimit":
|
@@ -7946,35 +7946,49 @@ class ClusterNodeConfigKubeletConfig(dict):
|
|
7946
7946
|
return super().get(key, default)
|
7947
7947
|
|
7948
7948
|
def __init__(__self__, *,
|
7949
|
+
cpu_manager_policy: str,
|
7949
7950
|
cpu_cfs_quota: Optional[bool] = None,
|
7950
7951
|
cpu_cfs_quota_period: Optional[str] = None,
|
7951
|
-
cpu_manager_policy: Optional[str] = None,
|
7952
7952
|
insecure_kubelet_readonly_port_enabled: Optional[str] = None,
|
7953
7953
|
pod_pids_limit: Optional[int] = None):
|
7954
7954
|
"""
|
7955
|
+
:param str cpu_manager_policy: The CPU management policy on the node. See
|
7956
|
+
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
7957
|
+
One of `"none"` or `"static"`. Defaults to `none` when `kubelet_config` is unset.
|
7955
7958
|
:param bool cpu_cfs_quota: If true, enables CPU CFS quota enforcement for
|
7956
7959
|
containers that specify CPU limits.
|
7957
7960
|
:param str cpu_cfs_quota_period: The CPU CFS quota period value. Specified
|
7958
7961
|
as a sequence of decimal numbers, each with optional fraction and a unit suffix,
|
7959
7962
|
such as `"300ms"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m",
|
7960
7963
|
"h". The value must be a positive duration.
|
7961
|
-
|
7962
|
-
|
7963
|
-
|
7964
|
+
|
7965
|
+
> Note: At the time of writing (2020/08/18) the GKE API rejects the `none`
|
7966
|
+
value and accepts an invalid `default` value instead. While this remains true,
|
7967
|
+
not specifying the `kubelet_config` block should be the equivalent of specifying
|
7968
|
+
`none`.
|
7964
7969
|
: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`.
|
7965
7970
|
: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.
|
7966
7971
|
"""
|
7972
|
+
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
7967
7973
|
if cpu_cfs_quota is not None:
|
7968
7974
|
pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
|
7969
7975
|
if cpu_cfs_quota_period is not None:
|
7970
7976
|
pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
|
7971
|
-
if cpu_manager_policy is not None:
|
7972
|
-
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
7973
7977
|
if insecure_kubelet_readonly_port_enabled is not None:
|
7974
7978
|
pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
|
7975
7979
|
if pod_pids_limit is not None:
|
7976
7980
|
pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
|
7977
7981
|
|
7982
|
+
@property
|
7983
|
+
@pulumi.getter(name="cpuManagerPolicy")
|
7984
|
+
def cpu_manager_policy(self) -> str:
|
7985
|
+
"""
|
7986
|
+
The CPU management policy on the node. See
|
7987
|
+
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
7988
|
+
One of `"none"` or `"static"`. Defaults to `none` when `kubelet_config` is unset.
|
7989
|
+
"""
|
7990
|
+
return pulumi.get(self, "cpu_manager_policy")
|
7991
|
+
|
7978
7992
|
@property
|
7979
7993
|
@pulumi.getter(name="cpuCfsQuota")
|
7980
7994
|
def cpu_cfs_quota(self) -> Optional[bool]:
|
@@ -7992,18 +8006,13 @@ class ClusterNodeConfigKubeletConfig(dict):
|
|
7992
8006
|
as a sequence of decimal numbers, each with optional fraction and a unit suffix,
|
7993
8007
|
such as `"300ms"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m",
|
7994
8008
|
"h". The value must be a positive duration.
|
7995
|
-
"""
|
7996
|
-
return pulumi.get(self, "cpu_cfs_quota_period")
|
7997
8009
|
|
7998
|
-
|
7999
|
-
|
8000
|
-
|
8001
|
-
|
8002
|
-
The CPU management policy on the node. See
|
8003
|
-
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
8004
|
-
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
8010
|
+
> Note: At the time of writing (2020/08/18) the GKE API rejects the `none`
|
8011
|
+
value and accepts an invalid `default` value instead. While this remains true,
|
8012
|
+
not specifying the `kubelet_config` block should be the equivalent of specifying
|
8013
|
+
`none`.
|
8005
8014
|
"""
|
8006
|
-
return pulumi.get(self, "
|
8015
|
+
return pulumi.get(self, "cpu_cfs_quota_period")
|
8007
8016
|
|
8008
8017
|
@property
|
8009
8018
|
@pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
|
@@ -10937,12 +10946,12 @@ class ClusterNodePoolNodeConfigKubeletConfig(dict):
|
|
10937
10946
|
@staticmethod
|
10938
10947
|
def __key_warning(key: str):
|
10939
10948
|
suggest = None
|
10940
|
-
if key == "
|
10949
|
+
if key == "cpuManagerPolicy":
|
10950
|
+
suggest = "cpu_manager_policy"
|
10951
|
+
elif key == "cpuCfsQuota":
|
10941
10952
|
suggest = "cpu_cfs_quota"
|
10942
10953
|
elif key == "cpuCfsQuotaPeriod":
|
10943
10954
|
suggest = "cpu_cfs_quota_period"
|
10944
|
-
elif key == "cpuManagerPolicy":
|
10945
|
-
suggest = "cpu_manager_policy"
|
10946
10955
|
elif key == "insecureKubeletReadonlyPortEnabled":
|
10947
10956
|
suggest = "insecure_kubelet_readonly_port_enabled"
|
10948
10957
|
elif key == "podPidsLimit":
|
@@ -10960,35 +10969,49 @@ class ClusterNodePoolNodeConfigKubeletConfig(dict):
|
|
10960
10969
|
return super().get(key, default)
|
10961
10970
|
|
10962
10971
|
def __init__(__self__, *,
|
10972
|
+
cpu_manager_policy: str,
|
10963
10973
|
cpu_cfs_quota: Optional[bool] = None,
|
10964
10974
|
cpu_cfs_quota_period: Optional[str] = None,
|
10965
|
-
cpu_manager_policy: Optional[str] = None,
|
10966
10975
|
insecure_kubelet_readonly_port_enabled: Optional[str] = None,
|
10967
10976
|
pod_pids_limit: Optional[int] = None):
|
10968
10977
|
"""
|
10978
|
+
:param str cpu_manager_policy: The CPU management policy on the node. See
|
10979
|
+
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
10980
|
+
One of `"none"` or `"static"`. Defaults to `none` when `kubelet_config` is unset.
|
10969
10981
|
:param bool cpu_cfs_quota: If true, enables CPU CFS quota enforcement for
|
10970
10982
|
containers that specify CPU limits.
|
10971
10983
|
:param str cpu_cfs_quota_period: The CPU CFS quota period value. Specified
|
10972
10984
|
as a sequence of decimal numbers, each with optional fraction and a unit suffix,
|
10973
10985
|
such as `"300ms"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m",
|
10974
10986
|
"h". The value must be a positive duration.
|
10975
|
-
|
10976
|
-
|
10977
|
-
|
10987
|
+
|
10988
|
+
> Note: At the time of writing (2020/08/18) the GKE API rejects the `none`
|
10989
|
+
value and accepts an invalid `default` value instead. While this remains true,
|
10990
|
+
not specifying the `kubelet_config` block should be the equivalent of specifying
|
10991
|
+
`none`.
|
10978
10992
|
: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`.
|
10979
10993
|
: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.
|
10980
10994
|
"""
|
10995
|
+
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
10981
10996
|
if cpu_cfs_quota is not None:
|
10982
10997
|
pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
|
10983
10998
|
if cpu_cfs_quota_period is not None:
|
10984
10999
|
pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
|
10985
|
-
if cpu_manager_policy is not None:
|
10986
|
-
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
10987
11000
|
if insecure_kubelet_readonly_port_enabled is not None:
|
10988
11001
|
pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
|
10989
11002
|
if pod_pids_limit is not None:
|
10990
11003
|
pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
|
10991
11004
|
|
11005
|
+
@property
|
11006
|
+
@pulumi.getter(name="cpuManagerPolicy")
|
11007
|
+
def cpu_manager_policy(self) -> str:
|
11008
|
+
"""
|
11009
|
+
The CPU management policy on the node. See
|
11010
|
+
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
11011
|
+
One of `"none"` or `"static"`. Defaults to `none` when `kubelet_config` is unset.
|
11012
|
+
"""
|
11013
|
+
return pulumi.get(self, "cpu_manager_policy")
|
11014
|
+
|
10992
11015
|
@property
|
10993
11016
|
@pulumi.getter(name="cpuCfsQuota")
|
10994
11017
|
def cpu_cfs_quota(self) -> Optional[bool]:
|
@@ -11006,18 +11029,13 @@ class ClusterNodePoolNodeConfigKubeletConfig(dict):
|
|
11006
11029
|
as a sequence of decimal numbers, each with optional fraction and a unit suffix,
|
11007
11030
|
such as `"300ms"`. Valid time units are "ns", "us" (or "µs"), "ms", "s", "m",
|
11008
11031
|
"h". The value must be a positive duration.
|
11009
|
-
"""
|
11010
|
-
return pulumi.get(self, "cpu_cfs_quota_period")
|
11011
11032
|
|
11012
|
-
|
11013
|
-
|
11014
|
-
|
11033
|
+
> Note: At the time of writing (2020/08/18) the GKE API rejects the `none`
|
11034
|
+
value and accepts an invalid `default` value instead. While this remains true,
|
11035
|
+
not specifying the `kubelet_config` block should be the equivalent of specifying
|
11036
|
+
`none`.
|
11015
11037
|
"""
|
11016
|
-
|
11017
|
-
[K8S CPU Management Policies](https://kubernetes.io/docs/tasks/administer-cluster/cpu-management-policies/).
|
11018
|
-
One of `"none"` or `"static"`. If unset (or set to the empty string `""`), the API will treat the field as if set to "none".
|
11019
|
-
"""
|
11020
|
-
return pulumi.get(self, "cpu_manager_policy")
|
11038
|
+
return pulumi.get(self, "cpu_cfs_quota_period")
|
11021
11039
|
|
11022
11040
|
@property
|
11023
11041
|
@pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
|
@@ -14170,12 +14188,12 @@ class NodePoolNodeConfigKubeletConfig(dict):
|
|
14170
14188
|
@staticmethod
|
14171
14189
|
def __key_warning(key: str):
|
14172
14190
|
suggest = None
|
14173
|
-
if key == "
|
14191
|
+
if key == "cpuManagerPolicy":
|
14192
|
+
suggest = "cpu_manager_policy"
|
14193
|
+
elif key == "cpuCfsQuota":
|
14174
14194
|
suggest = "cpu_cfs_quota"
|
14175
14195
|
elif key == "cpuCfsQuotaPeriod":
|
14176
14196
|
suggest = "cpu_cfs_quota_period"
|
14177
|
-
elif key == "cpuManagerPolicy":
|
14178
|
-
suggest = "cpu_manager_policy"
|
14179
14197
|
elif key == "insecureKubeletReadonlyPortEnabled":
|
14180
14198
|
suggest = "insecure_kubelet_readonly_port_enabled"
|
14181
14199
|
elif key == "podPidsLimit":
|
@@ -14193,29 +14211,36 @@ class NodePoolNodeConfigKubeletConfig(dict):
|
|
14193
14211
|
return super().get(key, default)
|
14194
14212
|
|
14195
14213
|
def __init__(__self__, *,
|
14214
|
+
cpu_manager_policy: str,
|
14196
14215
|
cpu_cfs_quota: Optional[bool] = None,
|
14197
14216
|
cpu_cfs_quota_period: Optional[str] = None,
|
14198
|
-
cpu_manager_policy: Optional[str] = None,
|
14199
14217
|
insecure_kubelet_readonly_port_enabled: Optional[str] = None,
|
14200
14218
|
pod_pids_limit: Optional[int] = None):
|
14201
14219
|
"""
|
14220
|
+
:param str cpu_manager_policy: Control the CPU management policy on the node.
|
14202
14221
|
:param bool cpu_cfs_quota: Enable CPU CFS quota enforcement for containers that specify CPU limits.
|
14203
14222
|
:param str cpu_cfs_quota_period: Set the CPU CFS quota period value 'cpu.cfs_period_us'.
|
14204
|
-
:param str cpu_manager_policy: Control the CPU management policy on the node.
|
14205
14223
|
: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`.
|
14206
14224
|
:param int pod_pids_limit: Controls the maximum number of processes allowed to run in a pod.
|
14207
14225
|
"""
|
14226
|
+
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
14208
14227
|
if cpu_cfs_quota is not None:
|
14209
14228
|
pulumi.set(__self__, "cpu_cfs_quota", cpu_cfs_quota)
|
14210
14229
|
if cpu_cfs_quota_period is not None:
|
14211
14230
|
pulumi.set(__self__, "cpu_cfs_quota_period", cpu_cfs_quota_period)
|
14212
|
-
if cpu_manager_policy is not None:
|
14213
|
-
pulumi.set(__self__, "cpu_manager_policy", cpu_manager_policy)
|
14214
14231
|
if insecure_kubelet_readonly_port_enabled is not None:
|
14215
14232
|
pulumi.set(__self__, "insecure_kubelet_readonly_port_enabled", insecure_kubelet_readonly_port_enabled)
|
14216
14233
|
if pod_pids_limit is not None:
|
14217
14234
|
pulumi.set(__self__, "pod_pids_limit", pod_pids_limit)
|
14218
14235
|
|
14236
|
+
@property
|
14237
|
+
@pulumi.getter(name="cpuManagerPolicy")
|
14238
|
+
def cpu_manager_policy(self) -> str:
|
14239
|
+
"""
|
14240
|
+
Control the CPU management policy on the node.
|
14241
|
+
"""
|
14242
|
+
return pulumi.get(self, "cpu_manager_policy")
|
14243
|
+
|
14219
14244
|
@property
|
14220
14245
|
@pulumi.getter(name="cpuCfsQuota")
|
14221
14246
|
def cpu_cfs_quota(self) -> Optional[bool]:
|
@@ -14232,14 +14257,6 @@ class NodePoolNodeConfigKubeletConfig(dict):
|
|
14232
14257
|
"""
|
14233
14258
|
return pulumi.get(self, "cpu_cfs_quota_period")
|
14234
14259
|
|
14235
|
-
@property
|
14236
|
-
@pulumi.getter(name="cpuManagerPolicy")
|
14237
|
-
def cpu_manager_policy(self) -> Optional[str]:
|
14238
|
-
"""
|
14239
|
-
Control the CPU management policy on the node.
|
14240
|
-
"""
|
14241
|
-
return pulumi.get(self, "cpu_manager_policy")
|
14242
|
-
|
14243
14260
|
@property
|
14244
14261
|
@pulumi.getter(name="insecureKubeletReadonlyPortEnabled")
|
14245
14262
|
def insecure_kubelet_readonly_port_enabled(self) -> Optional[str]:
|