pulumi-kubernetes 4.17.0__py3-none-any.whl → 4.17.0a1723228048__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.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +2 -42
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +17 -18
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +17 -18
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +17 -18
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +17 -18
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +17 -18
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +17 -18
- pulumi_kubernetes/apiextensions/v1/_inputs.py +6 -6
- pulumi_kubernetes/apiextensions/v1/outputs.py +4 -4
- pulumi_kubernetes/apps/v1/_inputs.py +12 -12
- pulumi_kubernetes/apps/v1/outputs.py +8 -8
- pulumi_kubernetes/batch/v1/_inputs.py +27 -15
- pulumi_kubernetes/batch/v1/outputs.py +20 -12
- pulumi_kubernetes/coordination/__init__.py +0 -3
- pulumi_kubernetes/coordination/v1/_inputs.py +14 -94
- pulumi_kubernetes/coordination/v1/outputs.py +10 -62
- pulumi_kubernetes/core/v1/Service.py +22 -6
- pulumi_kubernetes/core/v1/ServicePatch.py +22 -6
- pulumi_kubernetes/core/v1/_inputs.py +206 -961
- pulumi_kubernetes/core/v1/outputs.py +163 -1038
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +0 -2
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +0 -2
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +0 -2
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +0 -2
- pulumi_kubernetes/networking/v1beta1/__init__.py +0 -6
- pulumi_kubernetes/networking/v1beta1/_inputs.py +0 -599
- pulumi_kubernetes/networking/v1beta1/outputs.py +0 -461
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/resource/__init__.py +0 -3
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +0 -2
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +0 -2
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +0 -2
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +0 -2
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +0 -2
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +0 -2
- pulumi_kubernetes/storage/v1beta1/__init__.py +0 -3
- pulumi_kubernetes/storage/v1beta1/_inputs.py +0 -123
- pulumi_kubernetes/storage/v1beta1/outputs.py +0 -94
- pulumi_kubernetes/yaml/yaml.py +0 -102
- {pulumi_kubernetes-4.17.0.dist-info → pulumi_kubernetes-4.17.0a1723228048.dist-info}/METADATA +1 -1
- {pulumi_kubernetes-4.17.0.dist-info → pulumi_kubernetes-4.17.0a1723228048.dist-info}/RECORD +51 -83
- {pulumi_kubernetes-4.17.0.dist-info → pulumi_kubernetes-4.17.0a1723228048.dist-info}/WHEEL +1 -1
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +0 -214
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +0 -215
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +0 -226
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +0 -12
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +0 -418
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +0 -334
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +0 -216
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +0 -215
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +0 -228
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +0 -226
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +0 -215
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +0 -238
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +0 -236
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +0 -216
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +0 -247
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +0 -231
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +0 -215
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +0 -242
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +0 -232
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +0 -216
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +0 -243
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +0 -229
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +0 -215
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +0 -240
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +0 -246
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +0 -257
- pulumi_kubernetes/resource/v1alpha3/__init__.py +0 -23
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +0 -3924
- pulumi_kubernetes/resource/v1alpha3/outputs.py +0 -3327
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +0 -252
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +0 -215
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +0 -263
- {pulumi_kubernetes-4.17.0.dist-info → pulumi_kubernetes-4.17.0a1723228048.dist-info}/top_level.txt +0 -0
|
@@ -127,8 +127,6 @@ __all__ = [
|
|
|
127
127
|
'ContainerStateArgsDict',
|
|
128
128
|
'ContainerStatusArgs',
|
|
129
129
|
'ContainerStatusArgsDict',
|
|
130
|
-
'ContainerUserArgs',
|
|
131
|
-
'ContainerUserArgsDict',
|
|
132
130
|
'ContainerArgs',
|
|
133
131
|
'ContainerArgsDict',
|
|
134
132
|
'DaemonEndpointArgs',
|
|
@@ -259,10 +257,6 @@ __all__ = [
|
|
|
259
257
|
'ISCSIVolumeSourcePatchArgsDict',
|
|
260
258
|
'ISCSIVolumeSourceArgs',
|
|
261
259
|
'ISCSIVolumeSourceArgsDict',
|
|
262
|
-
'ImageVolumeSourcePatchArgs',
|
|
263
|
-
'ImageVolumeSourcePatchArgsDict',
|
|
264
|
-
'ImageVolumeSourceArgs',
|
|
265
|
-
'ImageVolumeSourceArgsDict',
|
|
266
260
|
'KeyToPathPatchArgs',
|
|
267
261
|
'KeyToPathPatchArgsDict',
|
|
268
262
|
'KeyToPathArgs',
|
|
@@ -285,8 +279,6 @@ __all__ = [
|
|
|
285
279
|
'LimitRangeSpecArgsDict',
|
|
286
280
|
'LimitRangeArgs',
|
|
287
281
|
'LimitRangeArgsDict',
|
|
288
|
-
'LinuxContainerUserArgs',
|
|
289
|
-
'LinuxContainerUserArgsDict',
|
|
290
282
|
'LoadBalancerIngressArgs',
|
|
291
283
|
'LoadBalancerIngressArgsDict',
|
|
292
284
|
'LoadBalancerStatusArgs',
|
|
@@ -333,8 +325,6 @@ __all__ = [
|
|
|
333
325
|
'NodeConfigStatusArgsDict',
|
|
334
326
|
'NodeDaemonEndpointsArgs',
|
|
335
327
|
'NodeDaemonEndpointsArgsDict',
|
|
336
|
-
'NodeFeaturesArgs',
|
|
337
|
-
'NodeFeaturesArgsDict',
|
|
338
328
|
'NodeRuntimeHandlerFeaturesArgs',
|
|
339
329
|
'NodeRuntimeHandlerFeaturesArgsDict',
|
|
340
330
|
'NodeRuntimeHandlerArgs',
|
|
@@ -513,8 +503,6 @@ __all__ = [
|
|
|
513
503
|
'ResourceFieldSelectorPatchArgsDict',
|
|
514
504
|
'ResourceFieldSelectorArgs',
|
|
515
505
|
'ResourceFieldSelectorArgsDict',
|
|
516
|
-
'ResourceHealthArgs',
|
|
517
|
-
'ResourceHealthArgsDict',
|
|
518
506
|
'ResourceQuotaSpecPatchArgs',
|
|
519
507
|
'ResourceQuotaSpecPatchArgsDict',
|
|
520
508
|
'ResourceQuotaSpecArgs',
|
|
@@ -527,8 +515,6 @@ __all__ = [
|
|
|
527
515
|
'ResourceRequirementsPatchArgsDict',
|
|
528
516
|
'ResourceRequirementsArgs',
|
|
529
517
|
'ResourceRequirementsArgsDict',
|
|
530
|
-
'ResourceStatusArgs',
|
|
531
|
-
'ResourceStatusArgsDict',
|
|
532
518
|
'SELinuxOptionsPatchArgs',
|
|
533
519
|
'SELinuxOptionsPatchArgsDict',
|
|
534
520
|
'SELinuxOptionsArgs',
|
|
@@ -3547,9 +3533,7 @@ if not MYPY:
|
|
|
3547
3533
|
"""
|
|
3548
3534
|
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
|
|
3549
3535
|
|
|
3550
|
-
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The
|
|
3551
|
-
|
|
3552
|
-
An existing ResourceClaim with that name that is not owned by the pod will not be used for the pod to avoid using an unrelated resource by mistake. Scheduling and pod startup are then blocked until the unrelated ResourceClaim is removed.
|
|
3536
|
+
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
|
3553
3537
|
|
|
3554
3538
|
This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
|
|
3555
3539
|
"""
|
|
@@ -3568,9 +3552,7 @@ class ClaimSourcePatchArgs:
|
|
|
3568
3552
|
:param pulumi.Input[str] resource_claim_name: ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
|
|
3569
3553
|
:param pulumi.Input[str] resource_claim_template_name: ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
|
|
3570
3554
|
|
|
3571
|
-
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The
|
|
3572
|
-
|
|
3573
|
-
An existing ResourceClaim with that name that is not owned by the pod will not be used for the pod to avoid using an unrelated resource by mistake. Scheduling and pod startup are then blocked until the unrelated ResourceClaim is removed.
|
|
3555
|
+
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
|
3574
3556
|
|
|
3575
3557
|
This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
|
|
3576
3558
|
"""
|
|
@@ -3597,9 +3579,7 @@ class ClaimSourcePatchArgs:
|
|
|
3597
3579
|
"""
|
|
3598
3580
|
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
|
|
3599
3581
|
|
|
3600
|
-
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The
|
|
3601
|
-
|
|
3602
|
-
An existing ResourceClaim with that name that is not owned by the pod will not be used for the pod to avoid using an unrelated resource by mistake. Scheduling and pod startup are then blocked until the unrelated ResourceClaim is removed.
|
|
3582
|
+
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
|
3603
3583
|
|
|
3604
3584
|
This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
|
|
3605
3585
|
"""
|
|
@@ -3625,9 +3605,7 @@ if not MYPY:
|
|
|
3625
3605
|
"""
|
|
3626
3606
|
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
|
|
3627
3607
|
|
|
3628
|
-
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The
|
|
3629
|
-
|
|
3630
|
-
An existing ResourceClaim with that name that is not owned by the pod will not be used for the pod to avoid using an unrelated resource by mistake. Scheduling and pod startup are then blocked until the unrelated ResourceClaim is removed.
|
|
3608
|
+
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
|
3631
3609
|
|
|
3632
3610
|
This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
|
|
3633
3611
|
"""
|
|
@@ -3646,9 +3624,7 @@ class ClaimSourceArgs:
|
|
|
3646
3624
|
:param pulumi.Input[str] resource_claim_name: ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
|
|
3647
3625
|
:param pulumi.Input[str] resource_claim_template_name: ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
|
|
3648
3626
|
|
|
3649
|
-
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The
|
|
3650
|
-
|
|
3651
|
-
An existing ResourceClaim with that name that is not owned by the pod will not be used for the pod to avoid using an unrelated resource by mistake. Scheduling and pod startup are then blocked until the unrelated ResourceClaim is removed.
|
|
3627
|
+
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
|
3652
3628
|
|
|
3653
3629
|
This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
|
|
3654
3630
|
"""
|
|
@@ -3675,9 +3651,7 @@ class ClaimSourceArgs:
|
|
|
3675
3651
|
"""
|
|
3676
3652
|
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
|
|
3677
3653
|
|
|
3678
|
-
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The
|
|
3679
|
-
|
|
3680
|
-
An existing ResourceClaim with that name that is not owned by the pod will not be used for the pod to avoid using an unrelated resource by mistake. Scheduling and pod startup are then blocked until the unrelated ResourceClaim is removed.
|
|
3654
|
+
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
|
3681
3655
|
|
|
3682
3656
|
This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
|
|
3683
3657
|
"""
|
|
@@ -4000,7 +3974,7 @@ if not MYPY:
|
|
|
4000
3974
|
"""
|
|
4001
3975
|
name: NotRequired[pulumi.Input[str]]
|
|
4002
3976
|
"""
|
|
4003
|
-
Name of the referent.
|
|
3977
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4004
3978
|
"""
|
|
4005
3979
|
optional: NotRequired[pulumi.Input[bool]]
|
|
4006
3980
|
"""
|
|
@@ -4018,7 +3992,7 @@ class ConfigMapEnvSourcePatchArgs:
|
|
|
4018
3992
|
ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.
|
|
4019
3993
|
|
|
4020
3994
|
The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
|
|
4021
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
3995
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4022
3996
|
:param pulumi.Input[bool] optional: Specify whether the ConfigMap must be defined
|
|
4023
3997
|
"""
|
|
4024
3998
|
if name is not None:
|
|
@@ -4030,7 +4004,7 @@ class ConfigMapEnvSourcePatchArgs:
|
|
|
4030
4004
|
@pulumi.getter
|
|
4031
4005
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
4032
4006
|
"""
|
|
4033
|
-
Name of the referent.
|
|
4007
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4034
4008
|
"""
|
|
4035
4009
|
return pulumi.get(self, "name")
|
|
4036
4010
|
|
|
@@ -4060,7 +4034,7 @@ if not MYPY:
|
|
|
4060
4034
|
"""
|
|
4061
4035
|
name: NotRequired[pulumi.Input[str]]
|
|
4062
4036
|
"""
|
|
4063
|
-
Name of the referent.
|
|
4037
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4064
4038
|
"""
|
|
4065
4039
|
optional: NotRequired[pulumi.Input[bool]]
|
|
4066
4040
|
"""
|
|
@@ -4078,7 +4052,7 @@ class ConfigMapEnvSourceArgs:
|
|
|
4078
4052
|
ConfigMapEnvSource selects a ConfigMap to populate the environment variables with.
|
|
4079
4053
|
|
|
4080
4054
|
The contents of the target ConfigMap's Data field will represent the key-value pairs as environment variables.
|
|
4081
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
4055
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4082
4056
|
:param pulumi.Input[bool] optional: Specify whether the ConfigMap must be defined
|
|
4083
4057
|
"""
|
|
4084
4058
|
if name is not None:
|
|
@@ -4090,7 +4064,7 @@ class ConfigMapEnvSourceArgs:
|
|
|
4090
4064
|
@pulumi.getter
|
|
4091
4065
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
4092
4066
|
"""
|
|
4093
|
-
Name of the referent.
|
|
4067
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4094
4068
|
"""
|
|
4095
4069
|
return pulumi.get(self, "name")
|
|
4096
4070
|
|
|
@@ -4122,7 +4096,7 @@ if not MYPY:
|
|
|
4122
4096
|
"""
|
|
4123
4097
|
name: NotRequired[pulumi.Input[str]]
|
|
4124
4098
|
"""
|
|
4125
|
-
Name of the referent.
|
|
4099
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4126
4100
|
"""
|
|
4127
4101
|
optional: NotRequired[pulumi.Input[bool]]
|
|
4128
4102
|
"""
|
|
@@ -4140,7 +4114,7 @@ class ConfigMapKeySelectorPatchArgs:
|
|
|
4140
4114
|
"""
|
|
4141
4115
|
Selects a key from a ConfigMap.
|
|
4142
4116
|
:param pulumi.Input[str] key: The key to select.
|
|
4143
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
4117
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4144
4118
|
:param pulumi.Input[bool] optional: Specify whether the ConfigMap or its key must be defined
|
|
4145
4119
|
"""
|
|
4146
4120
|
if key is not None:
|
|
@@ -4166,7 +4140,7 @@ class ConfigMapKeySelectorPatchArgs:
|
|
|
4166
4140
|
@pulumi.getter
|
|
4167
4141
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
4168
4142
|
"""
|
|
4169
|
-
Name of the referent.
|
|
4143
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4170
4144
|
"""
|
|
4171
4145
|
return pulumi.get(self, "name")
|
|
4172
4146
|
|
|
@@ -4198,7 +4172,7 @@ if not MYPY:
|
|
|
4198
4172
|
"""
|
|
4199
4173
|
name: NotRequired[pulumi.Input[str]]
|
|
4200
4174
|
"""
|
|
4201
|
-
Name of the referent.
|
|
4175
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4202
4176
|
"""
|
|
4203
4177
|
optional: NotRequired[pulumi.Input[bool]]
|
|
4204
4178
|
"""
|
|
@@ -4216,7 +4190,7 @@ class ConfigMapKeySelectorArgs:
|
|
|
4216
4190
|
"""
|
|
4217
4191
|
Selects a key from a ConfigMap.
|
|
4218
4192
|
:param pulumi.Input[str] key: The key to select.
|
|
4219
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
4193
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4220
4194
|
:param pulumi.Input[bool] optional: Specify whether the ConfigMap or its key must be defined
|
|
4221
4195
|
"""
|
|
4222
4196
|
pulumi.set(__self__, "key", key)
|
|
@@ -4241,7 +4215,7 @@ class ConfigMapKeySelectorArgs:
|
|
|
4241
4215
|
@pulumi.getter
|
|
4242
4216
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
4243
4217
|
"""
|
|
4244
|
-
Name of the referent.
|
|
4218
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4245
4219
|
"""
|
|
4246
4220
|
return pulumi.get(self, "name")
|
|
4247
4221
|
|
|
@@ -4504,7 +4478,7 @@ if not MYPY:
|
|
|
4504
4478
|
"""
|
|
4505
4479
|
name: NotRequired[pulumi.Input[str]]
|
|
4506
4480
|
"""
|
|
4507
|
-
Name of the referent.
|
|
4481
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4508
4482
|
"""
|
|
4509
4483
|
optional: NotRequired[pulumi.Input[bool]]
|
|
4510
4484
|
"""
|
|
@@ -4524,7 +4498,7 @@ class ConfigMapProjectionPatchArgs:
|
|
|
4524
4498
|
|
|
4525
4499
|
The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.
|
|
4526
4500
|
:param pulumi.Input[Sequence[pulumi.Input['KeyToPathPatchArgs']]] items: items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
|
|
4527
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
4501
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4528
4502
|
:param pulumi.Input[bool] optional: optional specify whether the ConfigMap or its keys must be defined
|
|
4529
4503
|
"""
|
|
4530
4504
|
if items is not None:
|
|
@@ -4550,7 +4524,7 @@ class ConfigMapProjectionPatchArgs:
|
|
|
4550
4524
|
@pulumi.getter
|
|
4551
4525
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
4552
4526
|
"""
|
|
4553
|
-
Name of the referent.
|
|
4527
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4554
4528
|
"""
|
|
4555
4529
|
return pulumi.get(self, "name")
|
|
4556
4530
|
|
|
@@ -4584,7 +4558,7 @@ if not MYPY:
|
|
|
4584
4558
|
"""
|
|
4585
4559
|
name: NotRequired[pulumi.Input[str]]
|
|
4586
4560
|
"""
|
|
4587
|
-
Name of the referent.
|
|
4561
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4588
4562
|
"""
|
|
4589
4563
|
optional: NotRequired[pulumi.Input[bool]]
|
|
4590
4564
|
"""
|
|
@@ -4604,7 +4578,7 @@ class ConfigMapProjectionArgs:
|
|
|
4604
4578
|
|
|
4605
4579
|
The contents of the target ConfigMap's Data field will be presented in a projected volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. Note that this is identical to a configmap volume source without the default mode.
|
|
4606
4580
|
:param pulumi.Input[Sequence[pulumi.Input['KeyToPathArgs']]] items: items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
|
|
4607
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
4581
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4608
4582
|
:param pulumi.Input[bool] optional: optional specify whether the ConfigMap or its keys must be defined
|
|
4609
4583
|
"""
|
|
4610
4584
|
if items is not None:
|
|
@@ -4630,7 +4604,7 @@ class ConfigMapProjectionArgs:
|
|
|
4630
4604
|
@pulumi.getter
|
|
4631
4605
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
4632
4606
|
"""
|
|
4633
|
-
Name of the referent.
|
|
4607
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4634
4608
|
"""
|
|
4635
4609
|
return pulumi.get(self, "name")
|
|
4636
4610
|
|
|
@@ -4668,7 +4642,7 @@ if not MYPY:
|
|
|
4668
4642
|
"""
|
|
4669
4643
|
name: NotRequired[pulumi.Input[str]]
|
|
4670
4644
|
"""
|
|
4671
|
-
Name of the referent.
|
|
4645
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4672
4646
|
"""
|
|
4673
4647
|
optional: NotRequired[pulumi.Input[bool]]
|
|
4674
4648
|
"""
|
|
@@ -4690,7 +4664,7 @@ class ConfigMapVolumeSourcePatchArgs:
|
|
|
4690
4664
|
The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.
|
|
4691
4665
|
:param pulumi.Input[int] default_mode: defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
4692
4666
|
:param pulumi.Input[Sequence[pulumi.Input['KeyToPathPatchArgs']]] items: items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
|
|
4693
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
4667
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4694
4668
|
:param pulumi.Input[bool] optional: optional specify whether the ConfigMap or its keys must be defined
|
|
4695
4669
|
"""
|
|
4696
4670
|
if default_mode is not None:
|
|
@@ -4730,7 +4704,7 @@ class ConfigMapVolumeSourcePatchArgs:
|
|
|
4730
4704
|
@pulumi.getter
|
|
4731
4705
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
4732
4706
|
"""
|
|
4733
|
-
Name of the referent.
|
|
4707
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4734
4708
|
"""
|
|
4735
4709
|
return pulumi.get(self, "name")
|
|
4736
4710
|
|
|
@@ -4768,7 +4742,7 @@ if not MYPY:
|
|
|
4768
4742
|
"""
|
|
4769
4743
|
name: NotRequired[pulumi.Input[str]]
|
|
4770
4744
|
"""
|
|
4771
|
-
Name of the referent.
|
|
4745
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4772
4746
|
"""
|
|
4773
4747
|
optional: NotRequired[pulumi.Input[bool]]
|
|
4774
4748
|
"""
|
|
@@ -4790,7 +4764,7 @@ class ConfigMapVolumeSourceArgs:
|
|
|
4790
4764
|
The contents of the target ConfigMap's Data field will be presented in a volume as files using the keys in the Data field as the file names, unless the items element is populated with specific mappings of keys to paths. ConfigMap volumes support ownership management and SELinux relabeling.
|
|
4791
4765
|
:param pulumi.Input[int] default_mode: defaultMode is optional: mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Defaults to 0644. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
4792
4766
|
:param pulumi.Input[Sequence[pulumi.Input['KeyToPathArgs']]] items: items if unspecified, each key-value pair in the Data field of the referenced ConfigMap will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the ConfigMap, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
|
|
4793
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
4767
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4794
4768
|
:param pulumi.Input[bool] optional: optional specify whether the ConfigMap or its keys must be defined
|
|
4795
4769
|
"""
|
|
4796
4770
|
if default_mode is not None:
|
|
@@ -4830,7 +4804,7 @@ class ConfigMapVolumeSourceArgs:
|
|
|
4830
4804
|
@pulumi.getter
|
|
4831
4805
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
4832
4806
|
"""
|
|
4833
|
-
Name of the referent.
|
|
4807
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
4834
4808
|
"""
|
|
4835
4809
|
return pulumi.get(self, "name")
|
|
4836
4810
|
|
|
@@ -6233,10 +6207,6 @@ if not MYPY:
|
|
|
6233
6207
|
"""
|
|
6234
6208
|
AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize.
|
|
6235
6209
|
"""
|
|
6236
|
-
allocated_resources_status: NotRequired[pulumi.Input[Sequence[pulumi.Input['ResourceStatusArgsDict']]]]
|
|
6237
|
-
"""
|
|
6238
|
-
AllocatedResourcesStatus represents the status of various resources allocated for this Pod.
|
|
6239
|
-
"""
|
|
6240
6210
|
container_id: NotRequired[pulumi.Input[str]]
|
|
6241
6211
|
"""
|
|
6242
6212
|
ContainerID is the ID of the container in the format '<type>://<container_id>'. Where type is a container runtime identifier, returned from Version call of CRI API (for example "containerd").
|
|
@@ -6257,10 +6227,6 @@ if not MYPY:
|
|
|
6257
6227
|
"""
|
|
6258
6228
|
State holds details about the container's current condition.
|
|
6259
6229
|
"""
|
|
6260
|
-
user: NotRequired[pulumi.Input['ContainerUserArgsDict']]
|
|
6261
|
-
"""
|
|
6262
|
-
User represents user identity information initially attached to the first process of the container
|
|
6263
|
-
"""
|
|
6264
6230
|
volume_mounts: NotRequired[pulumi.Input[Sequence[pulumi.Input['VolumeMountStatusArgsDict']]]]
|
|
6265
6231
|
"""
|
|
6266
6232
|
Status of volume mounts.
|
|
@@ -6277,13 +6243,11 @@ class ContainerStatusArgs:
|
|
|
6277
6243
|
ready: pulumi.Input[bool],
|
|
6278
6244
|
restart_count: pulumi.Input[int],
|
|
6279
6245
|
allocated_resources: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
|
6280
|
-
allocated_resources_status: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceStatusArgs']]]] = None,
|
|
6281
6246
|
container_id: Optional[pulumi.Input[str]] = None,
|
|
6282
6247
|
last_state: Optional[pulumi.Input['ContainerStateArgs']] = None,
|
|
6283
6248
|
resources: Optional[pulumi.Input['ResourceRequirementsArgs']] = None,
|
|
6284
6249
|
started: Optional[pulumi.Input[bool]] = None,
|
|
6285
6250
|
state: Optional[pulumi.Input['ContainerStateArgs']] = None,
|
|
6286
|
-
user: Optional[pulumi.Input['ContainerUserArgs']] = None,
|
|
6287
6251
|
volume_mounts: Optional[pulumi.Input[Sequence[pulumi.Input['VolumeMountStatusArgs']]]] = None):
|
|
6288
6252
|
"""
|
|
6289
6253
|
ContainerStatus contains details for the current status of this container.
|
|
@@ -6295,13 +6259,11 @@ class ContainerStatusArgs:
|
|
|
6295
6259
|
The value is typically used to determine whether a container is ready to accept traffic.
|
|
6296
6260
|
:param pulumi.Input[int] restart_count: RestartCount holds the number of times the container has been restarted. Kubelet makes an effort to always increment the value, but there are cases when the state may be lost due to node restarts and then the value may be reset to 0. The value is never negative.
|
|
6297
6261
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] allocated_resources: AllocatedResources represents the compute resources allocated for this container by the node. Kubelet sets this value to Container.Resources.Requests upon successful pod admission and after successfully admitting desired pod resize.
|
|
6298
|
-
:param pulumi.Input[Sequence[pulumi.Input['ResourceStatusArgs']]] allocated_resources_status: AllocatedResourcesStatus represents the status of various resources allocated for this Pod.
|
|
6299
6262
|
:param pulumi.Input[str] container_id: ContainerID is the ID of the container in the format '<type>://<container_id>'. Where type is a container runtime identifier, returned from Version call of CRI API (for example "containerd").
|
|
6300
6263
|
:param pulumi.Input['ContainerStateArgs'] last_state: LastTerminationState holds the last termination state of the container to help debug container crashes and restarts. This field is not populated if the container is still running and RestartCount is 0.
|
|
6301
6264
|
:param pulumi.Input['ResourceRequirementsArgs'] resources: Resources represents the compute resource requests and limits that have been successfully enacted on the running container after it has been started or has been successfully resized.
|
|
6302
6265
|
:param pulumi.Input[bool] started: Started indicates whether the container has finished its postStart lifecycle hook and passed its startup probe. Initialized as false, becomes true after startupProbe is considered successful. Resets to false when the container is restarted, or if kubelet loses state temporarily. In both cases, startup probes will run again. Is always true when no startupProbe is defined and container is running and has passed the postStart lifecycle hook. The null value must be treated the same as false.
|
|
6303
6266
|
:param pulumi.Input['ContainerStateArgs'] state: State holds details about the container's current condition.
|
|
6304
|
-
:param pulumi.Input['ContainerUserArgs'] user: User represents user identity information initially attached to the first process of the container
|
|
6305
6267
|
:param pulumi.Input[Sequence[pulumi.Input['VolumeMountStatusArgs']]] volume_mounts: Status of volume mounts.
|
|
6306
6268
|
"""
|
|
6307
6269
|
pulumi.set(__self__, "image", image)
|
|
@@ -6311,8 +6273,6 @@ class ContainerStatusArgs:
|
|
|
6311
6273
|
pulumi.set(__self__, "restart_count", restart_count)
|
|
6312
6274
|
if allocated_resources is not None:
|
|
6313
6275
|
pulumi.set(__self__, "allocated_resources", allocated_resources)
|
|
6314
|
-
if allocated_resources_status is not None:
|
|
6315
|
-
pulumi.set(__self__, "allocated_resources_status", allocated_resources_status)
|
|
6316
6276
|
if container_id is not None:
|
|
6317
6277
|
pulumi.set(__self__, "container_id", container_id)
|
|
6318
6278
|
if last_state is not None:
|
|
@@ -6323,8 +6283,6 @@ class ContainerStatusArgs:
|
|
|
6323
6283
|
pulumi.set(__self__, "started", started)
|
|
6324
6284
|
if state is not None:
|
|
6325
6285
|
pulumi.set(__self__, "state", state)
|
|
6326
|
-
if user is not None:
|
|
6327
|
-
pulumi.set(__self__, "user", user)
|
|
6328
6286
|
if volume_mounts is not None:
|
|
6329
6287
|
pulumi.set(__self__, "volume_mounts", volume_mounts)
|
|
6330
6288
|
|
|
@@ -6402,18 +6360,6 @@ class ContainerStatusArgs:
|
|
|
6402
6360
|
def allocated_resources(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
|
6403
6361
|
pulumi.set(self, "allocated_resources", value)
|
|
6404
6362
|
|
|
6405
|
-
@property
|
|
6406
|
-
@pulumi.getter(name="allocatedResourcesStatus")
|
|
6407
|
-
def allocated_resources_status(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourceStatusArgs']]]]:
|
|
6408
|
-
"""
|
|
6409
|
-
AllocatedResourcesStatus represents the status of various resources allocated for this Pod.
|
|
6410
|
-
"""
|
|
6411
|
-
return pulumi.get(self, "allocated_resources_status")
|
|
6412
|
-
|
|
6413
|
-
@allocated_resources_status.setter
|
|
6414
|
-
def allocated_resources_status(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceStatusArgs']]]]):
|
|
6415
|
-
pulumi.set(self, "allocated_resources_status", value)
|
|
6416
|
-
|
|
6417
6363
|
@property
|
|
6418
6364
|
@pulumi.getter(name="containerID")
|
|
6419
6365
|
def container_id(self) -> Optional[pulumi.Input[str]]:
|
|
@@ -6474,18 +6420,6 @@ class ContainerStatusArgs:
|
|
|
6474
6420
|
def state(self, value: Optional[pulumi.Input['ContainerStateArgs']]):
|
|
6475
6421
|
pulumi.set(self, "state", value)
|
|
6476
6422
|
|
|
6477
|
-
@property
|
|
6478
|
-
@pulumi.getter
|
|
6479
|
-
def user(self) -> Optional[pulumi.Input['ContainerUserArgs']]:
|
|
6480
|
-
"""
|
|
6481
|
-
User represents user identity information initially attached to the first process of the container
|
|
6482
|
-
"""
|
|
6483
|
-
return pulumi.get(self, "user")
|
|
6484
|
-
|
|
6485
|
-
@user.setter
|
|
6486
|
-
def user(self, value: Optional[pulumi.Input['ContainerUserArgs']]):
|
|
6487
|
-
pulumi.set(self, "user", value)
|
|
6488
|
-
|
|
6489
6423
|
@property
|
|
6490
6424
|
@pulumi.getter(name="volumeMounts")
|
|
6491
6425
|
def volume_mounts(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VolumeMountStatusArgs']]]]:
|
|
@@ -6499,42 +6433,6 @@ class ContainerStatusArgs:
|
|
|
6499
6433
|
pulumi.set(self, "volume_mounts", value)
|
|
6500
6434
|
|
|
6501
6435
|
|
|
6502
|
-
if not MYPY:
|
|
6503
|
-
class ContainerUserArgsDict(TypedDict):
|
|
6504
|
-
"""
|
|
6505
|
-
ContainerUser represents user identity information
|
|
6506
|
-
"""
|
|
6507
|
-
linux: NotRequired[pulumi.Input['LinuxContainerUserArgsDict']]
|
|
6508
|
-
"""
|
|
6509
|
-
Linux holds user identity information initially attached to the first process of the containers in Linux. Note that the actual running identity can be changed if the process has enough privilege to do so.
|
|
6510
|
-
"""
|
|
6511
|
-
elif False:
|
|
6512
|
-
ContainerUserArgsDict: TypeAlias = Mapping[str, Any]
|
|
6513
|
-
|
|
6514
|
-
@pulumi.input_type
|
|
6515
|
-
class ContainerUserArgs:
|
|
6516
|
-
def __init__(__self__, *,
|
|
6517
|
-
linux: Optional[pulumi.Input['LinuxContainerUserArgs']] = None):
|
|
6518
|
-
"""
|
|
6519
|
-
ContainerUser represents user identity information
|
|
6520
|
-
:param pulumi.Input['LinuxContainerUserArgs'] linux: Linux holds user identity information initially attached to the first process of the containers in Linux. Note that the actual running identity can be changed if the process has enough privilege to do so.
|
|
6521
|
-
"""
|
|
6522
|
-
if linux is not None:
|
|
6523
|
-
pulumi.set(__self__, "linux", linux)
|
|
6524
|
-
|
|
6525
|
-
@property
|
|
6526
|
-
@pulumi.getter
|
|
6527
|
-
def linux(self) -> Optional[pulumi.Input['LinuxContainerUserArgs']]:
|
|
6528
|
-
"""
|
|
6529
|
-
Linux holds user identity information initially attached to the first process of the containers in Linux. Note that the actual running identity can be changed if the process has enough privilege to do so.
|
|
6530
|
-
"""
|
|
6531
|
-
return pulumi.get(self, "linux")
|
|
6532
|
-
|
|
6533
|
-
@linux.setter
|
|
6534
|
-
def linux(self, value: Optional[pulumi.Input['LinuxContainerUserArgs']]):
|
|
6535
|
-
pulumi.set(self, "linux", value)
|
|
6536
|
-
|
|
6537
|
-
|
|
6538
6436
|
if not MYPY:
|
|
6539
6437
|
class ContainerArgsDict(TypedDict):
|
|
6540
6438
|
"""
|
|
@@ -12705,42 +12603,31 @@ if not MYPY:
|
|
|
12705
12603
|
"""
|
|
12706
12604
|
HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
|
|
12707
12605
|
"""
|
|
12708
|
-
ip: pulumi.Input[str]
|
|
12709
|
-
"""
|
|
12710
|
-
IP address of the host file entry.
|
|
12711
|
-
"""
|
|
12712
12606
|
hostnames: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
12713
12607
|
"""
|
|
12714
12608
|
Hostnames for the above IP address.
|
|
12715
12609
|
"""
|
|
12610
|
+
ip: NotRequired[pulumi.Input[str]]
|
|
12611
|
+
"""
|
|
12612
|
+
IP address of the host file entry.
|
|
12613
|
+
"""
|
|
12716
12614
|
elif False:
|
|
12717
12615
|
HostAliasArgsDict: TypeAlias = Mapping[str, Any]
|
|
12718
12616
|
|
|
12719
12617
|
@pulumi.input_type
|
|
12720
12618
|
class HostAliasArgs:
|
|
12721
12619
|
def __init__(__self__, *,
|
|
12722
|
-
|
|
12723
|
-
|
|
12620
|
+
hostnames: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
12621
|
+
ip: Optional[pulumi.Input[str]] = None):
|
|
12724
12622
|
"""
|
|
12725
12623
|
HostAlias holds the mapping between IP and hostnames that will be injected as an entry in the pod's hosts file.
|
|
12726
|
-
:param pulumi.Input[str] ip: IP address of the host file entry.
|
|
12727
12624
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] hostnames: Hostnames for the above IP address.
|
|
12625
|
+
:param pulumi.Input[str] ip: IP address of the host file entry.
|
|
12728
12626
|
"""
|
|
12729
|
-
pulumi.set(__self__, "ip", ip)
|
|
12730
12627
|
if hostnames is not None:
|
|
12731
12628
|
pulumi.set(__self__, "hostnames", hostnames)
|
|
12732
|
-
|
|
12733
|
-
|
|
12734
|
-
@pulumi.getter
|
|
12735
|
-
def ip(self) -> pulumi.Input[str]:
|
|
12736
|
-
"""
|
|
12737
|
-
IP address of the host file entry.
|
|
12738
|
-
"""
|
|
12739
|
-
return pulumi.get(self, "ip")
|
|
12740
|
-
|
|
12741
|
-
@ip.setter
|
|
12742
|
-
def ip(self, value: pulumi.Input[str]):
|
|
12743
|
-
pulumi.set(self, "ip", value)
|
|
12629
|
+
if ip is not None:
|
|
12630
|
+
pulumi.set(__self__, "ip", ip)
|
|
12744
12631
|
|
|
12745
12632
|
@property
|
|
12746
12633
|
@pulumi.getter
|
|
@@ -12754,13 +12641,25 @@ class HostAliasArgs:
|
|
|
12754
12641
|
def hostnames(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
12755
12642
|
pulumi.set(self, "hostnames", value)
|
|
12756
12643
|
|
|
12644
|
+
@property
|
|
12645
|
+
@pulumi.getter
|
|
12646
|
+
def ip(self) -> Optional[pulumi.Input[str]]:
|
|
12647
|
+
"""
|
|
12648
|
+
IP address of the host file entry.
|
|
12649
|
+
"""
|
|
12650
|
+
return pulumi.get(self, "ip")
|
|
12651
|
+
|
|
12652
|
+
@ip.setter
|
|
12653
|
+
def ip(self, value: Optional[pulumi.Input[str]]):
|
|
12654
|
+
pulumi.set(self, "ip", value)
|
|
12655
|
+
|
|
12757
12656
|
|
|
12758
12657
|
if not MYPY:
|
|
12759
12658
|
class HostIPArgsDict(TypedDict):
|
|
12760
12659
|
"""
|
|
12761
12660
|
HostIP represents a single IP address allocated to the host.
|
|
12762
12661
|
"""
|
|
12763
|
-
ip: pulumi.Input[str]
|
|
12662
|
+
ip: NotRequired[pulumi.Input[str]]
|
|
12764
12663
|
"""
|
|
12765
12664
|
IP is the IP address assigned to the host
|
|
12766
12665
|
"""
|
|
@@ -12770,23 +12669,24 @@ elif False:
|
|
|
12770
12669
|
@pulumi.input_type
|
|
12771
12670
|
class HostIPArgs:
|
|
12772
12671
|
def __init__(__self__, *,
|
|
12773
|
-
ip: pulumi.Input[str]):
|
|
12672
|
+
ip: Optional[pulumi.Input[str]] = None):
|
|
12774
12673
|
"""
|
|
12775
12674
|
HostIP represents a single IP address allocated to the host.
|
|
12776
12675
|
:param pulumi.Input[str] ip: IP is the IP address assigned to the host
|
|
12777
12676
|
"""
|
|
12778
|
-
|
|
12677
|
+
if ip is not None:
|
|
12678
|
+
pulumi.set(__self__, "ip", ip)
|
|
12779
12679
|
|
|
12780
12680
|
@property
|
|
12781
12681
|
@pulumi.getter
|
|
12782
|
-
def ip(self) -> pulumi.Input[str]:
|
|
12682
|
+
def ip(self) -> Optional[pulumi.Input[str]]:
|
|
12783
12683
|
"""
|
|
12784
12684
|
IP is the IP address assigned to the host
|
|
12785
12685
|
"""
|
|
12786
12686
|
return pulumi.get(self, "ip")
|
|
12787
12687
|
|
|
12788
12688
|
@ip.setter
|
|
12789
|
-
def ip(self, value: pulumi.Input[str]):
|
|
12689
|
+
def ip(self, value: Optional[pulumi.Input[str]]):
|
|
12790
12690
|
pulumi.set(self, "ip", value)
|
|
12791
12691
|
|
|
12792
12692
|
|
|
@@ -13839,118 +13739,6 @@ class ISCSIVolumeSourceArgs:
|
|
|
13839
13739
|
pulumi.set(self, "secret_ref", value)
|
|
13840
13740
|
|
|
13841
13741
|
|
|
13842
|
-
if not MYPY:
|
|
13843
|
-
class ImageVolumeSourcePatchArgsDict(TypedDict):
|
|
13844
|
-
"""
|
|
13845
|
-
ImageVolumeSource represents a image volume resource.
|
|
13846
|
-
"""
|
|
13847
|
-
pull_policy: NotRequired[pulumi.Input[str]]
|
|
13848
|
-
"""
|
|
13849
|
-
Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
|
|
13850
|
-
"""
|
|
13851
|
-
reference: NotRequired[pulumi.Input[str]]
|
|
13852
|
-
"""
|
|
13853
|
-
Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.
|
|
13854
|
-
"""
|
|
13855
|
-
elif False:
|
|
13856
|
-
ImageVolumeSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
13857
|
-
|
|
13858
|
-
@pulumi.input_type
|
|
13859
|
-
class ImageVolumeSourcePatchArgs:
|
|
13860
|
-
def __init__(__self__, *,
|
|
13861
|
-
pull_policy: Optional[pulumi.Input[str]] = None,
|
|
13862
|
-
reference: Optional[pulumi.Input[str]] = None):
|
|
13863
|
-
"""
|
|
13864
|
-
ImageVolumeSource represents a image volume resource.
|
|
13865
|
-
:param pulumi.Input[str] pull_policy: Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
|
|
13866
|
-
:param pulumi.Input[str] reference: Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.
|
|
13867
|
-
"""
|
|
13868
|
-
if pull_policy is not None:
|
|
13869
|
-
pulumi.set(__self__, "pull_policy", pull_policy)
|
|
13870
|
-
if reference is not None:
|
|
13871
|
-
pulumi.set(__self__, "reference", reference)
|
|
13872
|
-
|
|
13873
|
-
@property
|
|
13874
|
-
@pulumi.getter(name="pullPolicy")
|
|
13875
|
-
def pull_policy(self) -> Optional[pulumi.Input[str]]:
|
|
13876
|
-
"""
|
|
13877
|
-
Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
|
|
13878
|
-
"""
|
|
13879
|
-
return pulumi.get(self, "pull_policy")
|
|
13880
|
-
|
|
13881
|
-
@pull_policy.setter
|
|
13882
|
-
def pull_policy(self, value: Optional[pulumi.Input[str]]):
|
|
13883
|
-
pulumi.set(self, "pull_policy", value)
|
|
13884
|
-
|
|
13885
|
-
@property
|
|
13886
|
-
@pulumi.getter
|
|
13887
|
-
def reference(self) -> Optional[pulumi.Input[str]]:
|
|
13888
|
-
"""
|
|
13889
|
-
Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.
|
|
13890
|
-
"""
|
|
13891
|
-
return pulumi.get(self, "reference")
|
|
13892
|
-
|
|
13893
|
-
@reference.setter
|
|
13894
|
-
def reference(self, value: Optional[pulumi.Input[str]]):
|
|
13895
|
-
pulumi.set(self, "reference", value)
|
|
13896
|
-
|
|
13897
|
-
|
|
13898
|
-
if not MYPY:
|
|
13899
|
-
class ImageVolumeSourceArgsDict(TypedDict):
|
|
13900
|
-
"""
|
|
13901
|
-
ImageVolumeSource represents a image volume resource.
|
|
13902
|
-
"""
|
|
13903
|
-
pull_policy: NotRequired[pulumi.Input[str]]
|
|
13904
|
-
"""
|
|
13905
|
-
Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
|
|
13906
|
-
"""
|
|
13907
|
-
reference: NotRequired[pulumi.Input[str]]
|
|
13908
|
-
"""
|
|
13909
|
-
Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.
|
|
13910
|
-
"""
|
|
13911
|
-
elif False:
|
|
13912
|
-
ImageVolumeSourceArgsDict: TypeAlias = Mapping[str, Any]
|
|
13913
|
-
|
|
13914
|
-
@pulumi.input_type
|
|
13915
|
-
class ImageVolumeSourceArgs:
|
|
13916
|
-
def __init__(__self__, *,
|
|
13917
|
-
pull_policy: Optional[pulumi.Input[str]] = None,
|
|
13918
|
-
reference: Optional[pulumi.Input[str]] = None):
|
|
13919
|
-
"""
|
|
13920
|
-
ImageVolumeSource represents a image volume resource.
|
|
13921
|
-
:param pulumi.Input[str] pull_policy: Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
|
|
13922
|
-
:param pulumi.Input[str] reference: Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.
|
|
13923
|
-
"""
|
|
13924
|
-
if pull_policy is not None:
|
|
13925
|
-
pulumi.set(__self__, "pull_policy", pull_policy)
|
|
13926
|
-
if reference is not None:
|
|
13927
|
-
pulumi.set(__self__, "reference", reference)
|
|
13928
|
-
|
|
13929
|
-
@property
|
|
13930
|
-
@pulumi.getter(name="pullPolicy")
|
|
13931
|
-
def pull_policy(self) -> Optional[pulumi.Input[str]]:
|
|
13932
|
-
"""
|
|
13933
|
-
Policy for pulling OCI objects. Possible values are: Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails. Defaults to Always if :latest tag is specified, or IfNotPresent otherwise.
|
|
13934
|
-
"""
|
|
13935
|
-
return pulumi.get(self, "pull_policy")
|
|
13936
|
-
|
|
13937
|
-
@pull_policy.setter
|
|
13938
|
-
def pull_policy(self, value: Optional[pulumi.Input[str]]):
|
|
13939
|
-
pulumi.set(self, "pull_policy", value)
|
|
13940
|
-
|
|
13941
|
-
@property
|
|
13942
|
-
@pulumi.getter
|
|
13943
|
-
def reference(self) -> Optional[pulumi.Input[str]]:
|
|
13944
|
-
"""
|
|
13945
|
-
Required: Image or artifact reference to be used. Behaves in the same way as pod.spec.containers[*].image. Pull secrets will be assembled in the same way as for the container image by looking up node credentials, SA image pull secrets, and pod spec image pull secrets. More info: https://kubernetes.io/docs/concepts/containers/images This field is optional to allow higher level config management to default or override container images in workload controllers like Deployments and StatefulSets.
|
|
13946
|
-
"""
|
|
13947
|
-
return pulumi.get(self, "reference")
|
|
13948
|
-
|
|
13949
|
-
@reference.setter
|
|
13950
|
-
def reference(self, value: Optional[pulumi.Input[str]]):
|
|
13951
|
-
pulumi.set(self, "reference", value)
|
|
13952
|
-
|
|
13953
|
-
|
|
13954
13742
|
if not MYPY:
|
|
13955
13743
|
class KeyToPathPatchArgsDict(TypedDict):
|
|
13956
13744
|
"""
|
|
@@ -14843,80 +14631,6 @@ class LimitRangeArgs:
|
|
|
14843
14631
|
pulumi.set(self, "spec", value)
|
|
14844
14632
|
|
|
14845
14633
|
|
|
14846
|
-
if not MYPY:
|
|
14847
|
-
class LinuxContainerUserArgsDict(TypedDict):
|
|
14848
|
-
"""
|
|
14849
|
-
LinuxContainerUser represents user identity information in Linux containers
|
|
14850
|
-
"""
|
|
14851
|
-
gid: pulumi.Input[int]
|
|
14852
|
-
"""
|
|
14853
|
-
GID is the primary gid initially attached to the first process in the container
|
|
14854
|
-
"""
|
|
14855
|
-
uid: pulumi.Input[int]
|
|
14856
|
-
"""
|
|
14857
|
-
UID is the primary uid initially attached to the first process in the container
|
|
14858
|
-
"""
|
|
14859
|
-
supplemental_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]]
|
|
14860
|
-
"""
|
|
14861
|
-
SupplementalGroups are the supplemental groups initially attached to the first process in the container
|
|
14862
|
-
"""
|
|
14863
|
-
elif False:
|
|
14864
|
-
LinuxContainerUserArgsDict: TypeAlias = Mapping[str, Any]
|
|
14865
|
-
|
|
14866
|
-
@pulumi.input_type
|
|
14867
|
-
class LinuxContainerUserArgs:
|
|
14868
|
-
def __init__(__self__, *,
|
|
14869
|
-
gid: pulumi.Input[int],
|
|
14870
|
-
uid: pulumi.Input[int],
|
|
14871
|
-
supplemental_groups: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None):
|
|
14872
|
-
"""
|
|
14873
|
-
LinuxContainerUser represents user identity information in Linux containers
|
|
14874
|
-
:param pulumi.Input[int] gid: GID is the primary gid initially attached to the first process in the container
|
|
14875
|
-
:param pulumi.Input[int] uid: UID is the primary uid initially attached to the first process in the container
|
|
14876
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] supplemental_groups: SupplementalGroups are the supplemental groups initially attached to the first process in the container
|
|
14877
|
-
"""
|
|
14878
|
-
pulumi.set(__self__, "gid", gid)
|
|
14879
|
-
pulumi.set(__self__, "uid", uid)
|
|
14880
|
-
if supplemental_groups is not None:
|
|
14881
|
-
pulumi.set(__self__, "supplemental_groups", supplemental_groups)
|
|
14882
|
-
|
|
14883
|
-
@property
|
|
14884
|
-
@pulumi.getter
|
|
14885
|
-
def gid(self) -> pulumi.Input[int]:
|
|
14886
|
-
"""
|
|
14887
|
-
GID is the primary gid initially attached to the first process in the container
|
|
14888
|
-
"""
|
|
14889
|
-
return pulumi.get(self, "gid")
|
|
14890
|
-
|
|
14891
|
-
@gid.setter
|
|
14892
|
-
def gid(self, value: pulumi.Input[int]):
|
|
14893
|
-
pulumi.set(self, "gid", value)
|
|
14894
|
-
|
|
14895
|
-
@property
|
|
14896
|
-
@pulumi.getter
|
|
14897
|
-
def uid(self) -> pulumi.Input[int]:
|
|
14898
|
-
"""
|
|
14899
|
-
UID is the primary uid initially attached to the first process in the container
|
|
14900
|
-
"""
|
|
14901
|
-
return pulumi.get(self, "uid")
|
|
14902
|
-
|
|
14903
|
-
@uid.setter
|
|
14904
|
-
def uid(self, value: pulumi.Input[int]):
|
|
14905
|
-
pulumi.set(self, "uid", value)
|
|
14906
|
-
|
|
14907
|
-
@property
|
|
14908
|
-
@pulumi.getter(name="supplementalGroups")
|
|
14909
|
-
def supplemental_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
|
|
14910
|
-
"""
|
|
14911
|
-
SupplementalGroups are the supplemental groups initially attached to the first process in the container
|
|
14912
|
-
"""
|
|
14913
|
-
return pulumi.get(self, "supplemental_groups")
|
|
14914
|
-
|
|
14915
|
-
@supplemental_groups.setter
|
|
14916
|
-
def supplemental_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
|
|
14917
|
-
pulumi.set(self, "supplemental_groups", value)
|
|
14918
|
-
|
|
14919
|
-
|
|
14920
14634
|
if not MYPY:
|
|
14921
14635
|
class LoadBalancerIngressArgsDict(TypedDict):
|
|
14922
14636
|
"""
|
|
@@ -15056,7 +14770,7 @@ if not MYPY:
|
|
|
15056
14770
|
"""
|
|
15057
14771
|
name: NotRequired[pulumi.Input[str]]
|
|
15058
14772
|
"""
|
|
15059
|
-
Name of the referent.
|
|
14773
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
15060
14774
|
"""
|
|
15061
14775
|
elif False:
|
|
15062
14776
|
LocalObjectReferencePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -15067,7 +14781,7 @@ class LocalObjectReferencePatchArgs:
|
|
|
15067
14781
|
name: Optional[pulumi.Input[str]] = None):
|
|
15068
14782
|
"""
|
|
15069
14783
|
LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
|
|
15070
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
14784
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
15071
14785
|
"""
|
|
15072
14786
|
if name is not None:
|
|
15073
14787
|
pulumi.set(__self__, "name", name)
|
|
@@ -15076,7 +14790,7 @@ class LocalObjectReferencePatchArgs:
|
|
|
15076
14790
|
@pulumi.getter
|
|
15077
14791
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
15078
14792
|
"""
|
|
15079
|
-
Name of the referent.
|
|
14793
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
15080
14794
|
"""
|
|
15081
14795
|
return pulumi.get(self, "name")
|
|
15082
14796
|
|
|
@@ -15092,7 +14806,7 @@ if not MYPY:
|
|
|
15092
14806
|
"""
|
|
15093
14807
|
name: NotRequired[pulumi.Input[str]]
|
|
15094
14808
|
"""
|
|
15095
|
-
Name of the referent.
|
|
14809
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
15096
14810
|
"""
|
|
15097
14811
|
elif False:
|
|
15098
14812
|
LocalObjectReferenceArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -15103,7 +14817,7 @@ class LocalObjectReferenceArgs:
|
|
|
15103
14817
|
name: Optional[pulumi.Input[str]] = None):
|
|
15104
14818
|
"""
|
|
15105
14819
|
LocalObjectReference contains enough information to let you locate the referenced object inside the same namespace.
|
|
15106
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
14820
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
15107
14821
|
"""
|
|
15108
14822
|
if name is not None:
|
|
15109
14823
|
pulumi.set(__self__, "name", name)
|
|
@@ -15112,7 +14826,7 @@ class LocalObjectReferenceArgs:
|
|
|
15112
14826
|
@pulumi.getter
|
|
15113
14827
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
15114
14828
|
"""
|
|
15115
|
-
Name of the referent.
|
|
14829
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
15116
14830
|
"""
|
|
15117
14831
|
return pulumi.get(self, "name")
|
|
15118
14832
|
|
|
@@ -16388,72 +16102,28 @@ class NodeDaemonEndpointsArgs:
|
|
|
16388
16102
|
pulumi.set(self, "kubelet_endpoint", value)
|
|
16389
16103
|
|
|
16390
16104
|
|
|
16391
|
-
if not MYPY:
|
|
16392
|
-
class NodeFeaturesArgsDict(TypedDict):
|
|
16393
|
-
"""
|
|
16394
|
-
NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.
|
|
16395
|
-
"""
|
|
16396
|
-
supplemental_groups_policy: NotRequired[pulumi.Input[bool]]
|
|
16397
|
-
"""
|
|
16398
|
-
SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.
|
|
16399
|
-
"""
|
|
16400
|
-
elif False:
|
|
16401
|
-
NodeFeaturesArgsDict: TypeAlias = Mapping[str, Any]
|
|
16402
|
-
|
|
16403
|
-
@pulumi.input_type
|
|
16404
|
-
class NodeFeaturesArgs:
|
|
16405
|
-
def __init__(__self__, *,
|
|
16406
|
-
supplemental_groups_policy: Optional[pulumi.Input[bool]] = None):
|
|
16407
|
-
"""
|
|
16408
|
-
NodeFeatures describes the set of features implemented by the CRI implementation. The features contained in the NodeFeatures should depend only on the cri implementation independent of runtime handlers.
|
|
16409
|
-
:param pulumi.Input[bool] supplemental_groups_policy: SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.
|
|
16410
|
-
"""
|
|
16411
|
-
if supplemental_groups_policy is not None:
|
|
16412
|
-
pulumi.set(__self__, "supplemental_groups_policy", supplemental_groups_policy)
|
|
16413
|
-
|
|
16414
|
-
@property
|
|
16415
|
-
@pulumi.getter(name="supplementalGroupsPolicy")
|
|
16416
|
-
def supplemental_groups_policy(self) -> Optional[pulumi.Input[bool]]:
|
|
16417
|
-
"""
|
|
16418
|
-
SupplementalGroupsPolicy is set to true if the runtime supports SupplementalGroupsPolicy and ContainerUser.
|
|
16419
|
-
"""
|
|
16420
|
-
return pulumi.get(self, "supplemental_groups_policy")
|
|
16421
|
-
|
|
16422
|
-
@supplemental_groups_policy.setter
|
|
16423
|
-
def supplemental_groups_policy(self, value: Optional[pulumi.Input[bool]]):
|
|
16424
|
-
pulumi.set(self, "supplemental_groups_policy", value)
|
|
16425
|
-
|
|
16426
|
-
|
|
16427
16105
|
if not MYPY:
|
|
16428
16106
|
class NodeRuntimeHandlerFeaturesArgsDict(TypedDict):
|
|
16429
16107
|
"""
|
|
16430
|
-
NodeRuntimeHandlerFeatures is a set of
|
|
16108
|
+
NodeRuntimeHandlerFeatures is a set of runtime features.
|
|
16431
16109
|
"""
|
|
16432
16110
|
recursive_read_only_mounts: NotRequired[pulumi.Input[bool]]
|
|
16433
16111
|
"""
|
|
16434
16112
|
RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.
|
|
16435
16113
|
"""
|
|
16436
|
-
user_namespaces: NotRequired[pulumi.Input[bool]]
|
|
16437
|
-
"""
|
|
16438
|
-
UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes.
|
|
16439
|
-
"""
|
|
16440
16114
|
elif False:
|
|
16441
16115
|
NodeRuntimeHandlerFeaturesArgsDict: TypeAlias = Mapping[str, Any]
|
|
16442
16116
|
|
|
16443
16117
|
@pulumi.input_type
|
|
16444
16118
|
class NodeRuntimeHandlerFeaturesArgs:
|
|
16445
16119
|
def __init__(__self__, *,
|
|
16446
|
-
recursive_read_only_mounts: Optional[pulumi.Input[bool]] = None
|
|
16447
|
-
user_namespaces: Optional[pulumi.Input[bool]] = None):
|
|
16120
|
+
recursive_read_only_mounts: Optional[pulumi.Input[bool]] = None):
|
|
16448
16121
|
"""
|
|
16449
|
-
NodeRuntimeHandlerFeatures is a set of
|
|
16122
|
+
NodeRuntimeHandlerFeatures is a set of runtime features.
|
|
16450
16123
|
:param pulumi.Input[bool] recursive_read_only_mounts: RecursiveReadOnlyMounts is set to true if the runtime handler supports RecursiveReadOnlyMounts.
|
|
16451
|
-
:param pulumi.Input[bool] user_namespaces: UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes.
|
|
16452
16124
|
"""
|
|
16453
16125
|
if recursive_read_only_mounts is not None:
|
|
16454
16126
|
pulumi.set(__self__, "recursive_read_only_mounts", recursive_read_only_mounts)
|
|
16455
|
-
if user_namespaces is not None:
|
|
16456
|
-
pulumi.set(__self__, "user_namespaces", user_namespaces)
|
|
16457
16127
|
|
|
16458
16128
|
@property
|
|
16459
16129
|
@pulumi.getter(name="recursiveReadOnlyMounts")
|
|
@@ -16467,18 +16137,6 @@ class NodeRuntimeHandlerFeaturesArgs:
|
|
|
16467
16137
|
def recursive_read_only_mounts(self, value: Optional[pulumi.Input[bool]]):
|
|
16468
16138
|
pulumi.set(self, "recursive_read_only_mounts", value)
|
|
16469
16139
|
|
|
16470
|
-
@property
|
|
16471
|
-
@pulumi.getter(name="userNamespaces")
|
|
16472
|
-
def user_namespaces(self) -> Optional[pulumi.Input[bool]]:
|
|
16473
|
-
"""
|
|
16474
|
-
UserNamespaces is set to true if the runtime handler supports UserNamespaces, including for volumes.
|
|
16475
|
-
"""
|
|
16476
|
-
return pulumi.get(self, "user_namespaces")
|
|
16477
|
-
|
|
16478
|
-
@user_namespaces.setter
|
|
16479
|
-
def user_namespaces(self, value: Optional[pulumi.Input[bool]]):
|
|
16480
|
-
pulumi.set(self, "user_namespaces", value)
|
|
16481
|
-
|
|
16482
16140
|
|
|
16483
16141
|
if not MYPY:
|
|
16484
16142
|
class NodeRuntimeHandlerArgsDict(TypedDict):
|
|
@@ -17196,7 +16854,7 @@ if not MYPY:
|
|
|
17196
16854
|
"""
|
|
17197
16855
|
capacity: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
17198
16856
|
"""
|
|
17199
|
-
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/
|
|
16857
|
+
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
|
|
17200
16858
|
"""
|
|
17201
16859
|
conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['NodeConditionArgsDict']]]]
|
|
17202
16860
|
"""
|
|
@@ -17210,10 +16868,6 @@ if not MYPY:
|
|
|
17210
16868
|
"""
|
|
17211
16869
|
Endpoints of daemons running on the Node.
|
|
17212
16870
|
"""
|
|
17213
|
-
features: NotRequired[pulumi.Input['NodeFeaturesArgsDict']]
|
|
17214
|
-
"""
|
|
17215
|
-
Features describes the set of features implemented by the CRI implementation.
|
|
17216
|
-
"""
|
|
17217
16871
|
images: NotRequired[pulumi.Input[Sequence[pulumi.Input['ContainerImageArgsDict']]]]
|
|
17218
16872
|
"""
|
|
17219
16873
|
List of container images on this node
|
|
@@ -17250,7 +16904,6 @@ class NodeStatusArgs:
|
|
|
17250
16904
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['NodeConditionArgs']]]] = None,
|
|
17251
16905
|
config: Optional[pulumi.Input['NodeConfigStatusArgs']] = None,
|
|
17252
16906
|
daemon_endpoints: Optional[pulumi.Input['NodeDaemonEndpointsArgs']] = None,
|
|
17253
|
-
features: Optional[pulumi.Input['NodeFeaturesArgs']] = None,
|
|
17254
16907
|
images: Optional[pulumi.Input[Sequence[pulumi.Input['ContainerImageArgs']]]] = None,
|
|
17255
16908
|
node_info: Optional[pulumi.Input['NodeSystemInfoArgs']] = None,
|
|
17256
16909
|
phase: Optional[pulumi.Input[str]] = None,
|
|
@@ -17261,11 +16914,10 @@ class NodeStatusArgs:
|
|
|
17261
16914
|
NodeStatus is information about the current status of a node.
|
|
17262
16915
|
:param pulumi.Input[Sequence[pulumi.Input['NodeAddressArgs']]] addresses: List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP).
|
|
17263
16916
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] allocatable: Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.
|
|
17264
|
-
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] capacity: Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/
|
|
16917
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] capacity: Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
|
|
17265
16918
|
:param pulumi.Input[Sequence[pulumi.Input['NodeConditionArgs']]] conditions: Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition
|
|
17266
16919
|
:param pulumi.Input['NodeConfigStatusArgs'] config: Status of the config assigned to the node via the dynamic Kubelet config feature.
|
|
17267
16920
|
:param pulumi.Input['NodeDaemonEndpointsArgs'] daemon_endpoints: Endpoints of daemons running on the Node.
|
|
17268
|
-
:param pulumi.Input['NodeFeaturesArgs'] features: Features describes the set of features implemented by the CRI implementation.
|
|
17269
16921
|
:param pulumi.Input[Sequence[pulumi.Input['ContainerImageArgs']]] images: List of container images on this node
|
|
17270
16922
|
:param pulumi.Input['NodeSystemInfoArgs'] node_info: Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#info
|
|
17271
16923
|
:param pulumi.Input[str] phase: NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated.
|
|
@@ -17285,8 +16937,6 @@ class NodeStatusArgs:
|
|
|
17285
16937
|
pulumi.set(__self__, "config", config)
|
|
17286
16938
|
if daemon_endpoints is not None:
|
|
17287
16939
|
pulumi.set(__self__, "daemon_endpoints", daemon_endpoints)
|
|
17288
|
-
if features is not None:
|
|
17289
|
-
pulumi.set(__self__, "features", features)
|
|
17290
16940
|
if images is not None:
|
|
17291
16941
|
pulumi.set(__self__, "images", images)
|
|
17292
16942
|
if node_info is not None:
|
|
@@ -17328,7 +16978,7 @@ class NodeStatusArgs:
|
|
|
17328
16978
|
@pulumi.getter
|
|
17329
16979
|
def capacity(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
|
17330
16980
|
"""
|
|
17331
|
-
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/
|
|
16981
|
+
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#capacity
|
|
17332
16982
|
"""
|
|
17333
16983
|
return pulumi.get(self, "capacity")
|
|
17334
16984
|
|
|
@@ -17372,18 +17022,6 @@ class NodeStatusArgs:
|
|
|
17372
17022
|
def daemon_endpoints(self, value: Optional[pulumi.Input['NodeDaemonEndpointsArgs']]):
|
|
17373
17023
|
pulumi.set(self, "daemon_endpoints", value)
|
|
17374
17024
|
|
|
17375
|
-
@property
|
|
17376
|
-
@pulumi.getter
|
|
17377
|
-
def features(self) -> Optional[pulumi.Input['NodeFeaturesArgs']]:
|
|
17378
|
-
"""
|
|
17379
|
-
Features describes the set of features implemented by the CRI implementation.
|
|
17380
|
-
"""
|
|
17381
|
-
return pulumi.get(self, "features")
|
|
17382
|
-
|
|
17383
|
-
@features.setter
|
|
17384
|
-
def features(self, value: Optional[pulumi.Input['NodeFeaturesArgs']]):
|
|
17385
|
-
pulumi.set(self, "features", value)
|
|
17386
|
-
|
|
17387
17025
|
@property
|
|
17388
17026
|
@pulumi.getter
|
|
17389
17027
|
def images(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ContainerImageArgs']]]]:
|
|
@@ -17480,7 +17118,7 @@ if not MYPY:
|
|
|
17480
17118
|
"""
|
|
17481
17119
|
kube_proxy_version: pulumi.Input[str]
|
|
17482
17120
|
"""
|
|
17483
|
-
|
|
17121
|
+
KubeProxy Version reported by the node.
|
|
17484
17122
|
"""
|
|
17485
17123
|
kubelet_version: pulumi.Input[str]
|
|
17486
17124
|
"""
|
|
@@ -17524,7 +17162,7 @@ class NodeSystemInfoArgs:
|
|
|
17524
17162
|
:param pulumi.Input[str] boot_id: Boot ID reported by the node.
|
|
17525
17163
|
:param pulumi.Input[str] container_runtime_version: ContainerRuntime Version reported by the node through runtime remote API (e.g. containerd://1.4.2).
|
|
17526
17164
|
:param pulumi.Input[str] kernel_version: Kernel Version reported by the node from 'uname -r' (e.g. 3.16.0-0.bpo.4-amd64).
|
|
17527
|
-
:param pulumi.Input[str] kube_proxy_version:
|
|
17165
|
+
:param pulumi.Input[str] kube_proxy_version: KubeProxy Version reported by the node.
|
|
17528
17166
|
:param pulumi.Input[str] kubelet_version: Kubelet Version reported by the node.
|
|
17529
17167
|
:param pulumi.Input[str] machine_id: MachineID reported by the node. For unique machine identification in the cluster this field is preferred. Learn more from man(5) machine-id: http://man7.org/linux/man-pages/man5/machine-id.5.html
|
|
17530
17168
|
:param pulumi.Input[str] operating_system: The Operating System reported by the node
|
|
@@ -17594,7 +17232,7 @@ class NodeSystemInfoArgs:
|
|
|
17594
17232
|
@pulumi.getter(name="kubeProxyVersion")
|
|
17595
17233
|
def kube_proxy_version(self) -> pulumi.Input[str]:
|
|
17596
17234
|
"""
|
|
17597
|
-
|
|
17235
|
+
KubeProxy Version reported by the node.
|
|
17598
17236
|
"""
|
|
17599
17237
|
return pulumi.get(self, "kube_proxy_version")
|
|
17600
17238
|
|
|
@@ -18598,7 +18236,7 @@ if not MYPY:
|
|
|
18598
18236
|
"""
|
|
18599
18237
|
volume_attributes_class_name: NotRequired[pulumi.Input[str]]
|
|
18600
18238
|
"""
|
|
18601
|
-
volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (
|
|
18239
|
+
volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
|
|
18602
18240
|
"""
|
|
18603
18241
|
volume_mode: NotRequired[pulumi.Input[str]]
|
|
18604
18242
|
"""
|
|
@@ -18638,7 +18276,7 @@ class PersistentVolumeClaimSpecPatchArgs:
|
|
|
18638
18276
|
:param pulumi.Input['VolumeResourceRequirementsPatchArgs'] resources: resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
|
|
18639
18277
|
:param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] selector: selector is a label query over volumes to consider for binding.
|
|
18640
18278
|
:param pulumi.Input[str] storage_class_name: storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
|
|
18641
|
-
:param pulumi.Input[str] volume_attributes_class_name: volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (
|
|
18279
|
+
:param pulumi.Input[str] volume_attributes_class_name: volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
|
|
18642
18280
|
:param pulumi.Input[str] volume_mode: volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
|
|
18643
18281
|
:param pulumi.Input[str] volume_name: volumeName is the binding reference to the PersistentVolume backing this claim.
|
|
18644
18282
|
"""
|
|
@@ -18744,7 +18382,7 @@ class PersistentVolumeClaimSpecPatchArgs:
|
|
|
18744
18382
|
@pulumi.getter(name="volumeAttributesClassName")
|
|
18745
18383
|
def volume_attributes_class_name(self) -> Optional[pulumi.Input[str]]:
|
|
18746
18384
|
"""
|
|
18747
|
-
volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (
|
|
18385
|
+
volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
|
|
18748
18386
|
"""
|
|
18749
18387
|
return pulumi.get(self, "volume_attributes_class_name")
|
|
18750
18388
|
|
|
@@ -18815,7 +18453,7 @@ if not MYPY:
|
|
|
18815
18453
|
"""
|
|
18816
18454
|
volume_attributes_class_name: NotRequired[pulumi.Input[str]]
|
|
18817
18455
|
"""
|
|
18818
|
-
volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (
|
|
18456
|
+
volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
|
|
18819
18457
|
"""
|
|
18820
18458
|
volume_mode: NotRequired[pulumi.Input[str]]
|
|
18821
18459
|
"""
|
|
@@ -18855,7 +18493,7 @@ class PersistentVolumeClaimSpecArgs:
|
|
|
18855
18493
|
:param pulumi.Input['VolumeResourceRequirementsArgs'] resources: resources represents the minimum resources the volume should have. If RecoverVolumeExpansionFailure feature is enabled users are allowed to specify resource requirements that are lower than previous value but must still be higher than capacity recorded in the status field of the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#resources
|
|
18856
18494
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: selector is a label query over volumes to consider for binding.
|
|
18857
18495
|
:param pulumi.Input[str] storage_class_name: storageClassName is the name of the StorageClass required by the claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#class-1
|
|
18858
|
-
:param pulumi.Input[str] volume_attributes_class_name: volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (
|
|
18496
|
+
:param pulumi.Input[str] volume_attributes_class_name: volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
|
|
18859
18497
|
:param pulumi.Input[str] volume_mode: volumeMode defines what type of volume is required by the claim. Value of Filesystem is implied when not included in claim spec.
|
|
18860
18498
|
:param pulumi.Input[str] volume_name: volumeName is the binding reference to the PersistentVolume backing this claim.
|
|
18861
18499
|
"""
|
|
@@ -18961,7 +18599,7 @@ class PersistentVolumeClaimSpecArgs:
|
|
|
18961
18599
|
@pulumi.getter(name="volumeAttributesClassName")
|
|
18962
18600
|
def volume_attributes_class_name(self) -> Optional[pulumi.Input[str]]:
|
|
18963
18601
|
"""
|
|
18964
|
-
volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (
|
|
18602
|
+
volumeAttributesClassName may be used to set the VolumeAttributesClass used by this claim. If specified, the CSI driver will create or update the volume with the attributes defined in the corresponding VolumeAttributesClass. This has a different purpose than storageClassName, it can be changed after the claim is created. An empty string value means that no VolumeAttributesClass will be applied to the claim but it's not allowed to reset this field to empty string once it is set. If unspecified and the PersistentVolumeClaim is unbound, the default VolumeAttributesClass will be set by the persistentvolume controller if it exists. If the resource referred to by volumeAttributesClass does not exist, this PersistentVolumeClaim will be set to a Pending state, as reflected by the modifyVolumeStatus field, until such as a resource exists. More info: https://kubernetes.io/docs/concepts/storage/volume-attributes-classes/ (Alpha) Using this field requires the VolumeAttributesClass feature gate to be enabled.
|
|
18965
18603
|
"""
|
|
18966
18604
|
return pulumi.get(self, "volume_attributes_class_name")
|
|
18967
18605
|
|
|
@@ -19060,11 +18698,11 @@ if not MYPY:
|
|
|
19060
18698
|
"""
|
|
19061
18699
|
current_volume_attributes_class_name: NotRequired[pulumi.Input[str]]
|
|
19062
18700
|
"""
|
|
19063
|
-
currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is
|
|
18701
|
+
currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
19064
18702
|
"""
|
|
19065
18703
|
modify_volume_status: NotRequired[pulumi.Input['ModifyVolumeStatusPatchArgsDict']]
|
|
19066
18704
|
"""
|
|
19067
|
-
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is
|
|
18705
|
+
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
19068
18706
|
"""
|
|
19069
18707
|
phase: NotRequired[pulumi.Input[str]]
|
|
19070
18708
|
"""
|
|
@@ -19135,8 +18773,8 @@ class PersistentVolumeClaimStatusPatchArgs:
|
|
|
19135
18773
|
This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
|
|
19136
18774
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] capacity: capacity represents the actual resources of the underlying volume.
|
|
19137
18775
|
:param pulumi.Input[Sequence[pulumi.Input['PersistentVolumeClaimConditionPatchArgs']]] conditions: conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
|
|
19138
|
-
:param pulumi.Input[str] current_volume_attributes_class_name: currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is
|
|
19139
|
-
:param pulumi.Input['ModifyVolumeStatusPatchArgs'] modify_volume_status: ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is
|
|
18776
|
+
:param pulumi.Input[str] current_volume_attributes_class_name: currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
18777
|
+
:param pulumi.Input['ModifyVolumeStatusPatchArgs'] modify_volume_status: ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
19140
18778
|
:param pulumi.Input[str] phase: phase represents the current phase of PersistentVolumeClaim.
|
|
19141
18779
|
:param pulumi.Input[str] resize_status: resizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
|
|
19142
18780
|
"""
|
|
@@ -19262,7 +18900,7 @@ class PersistentVolumeClaimStatusPatchArgs:
|
|
|
19262
18900
|
@pulumi.getter(name="currentVolumeAttributesClassName")
|
|
19263
18901
|
def current_volume_attributes_class_name(self) -> Optional[pulumi.Input[str]]:
|
|
19264
18902
|
"""
|
|
19265
|
-
currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is
|
|
18903
|
+
currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
19266
18904
|
"""
|
|
19267
18905
|
return pulumi.get(self, "current_volume_attributes_class_name")
|
|
19268
18906
|
|
|
@@ -19274,7 +18912,7 @@ class PersistentVolumeClaimStatusPatchArgs:
|
|
|
19274
18912
|
@pulumi.getter(name="modifyVolumeStatus")
|
|
19275
18913
|
def modify_volume_status(self) -> Optional[pulumi.Input['ModifyVolumeStatusPatchArgs']]:
|
|
19276
18914
|
"""
|
|
19277
|
-
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is
|
|
18915
|
+
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
19278
18916
|
"""
|
|
19279
18917
|
return pulumi.get(self, "modify_volume_status")
|
|
19280
18918
|
|
|
@@ -19373,11 +19011,11 @@ if not MYPY:
|
|
|
19373
19011
|
"""
|
|
19374
19012
|
current_volume_attributes_class_name: NotRequired[pulumi.Input[str]]
|
|
19375
19013
|
"""
|
|
19376
|
-
currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is
|
|
19014
|
+
currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
19377
19015
|
"""
|
|
19378
19016
|
modify_volume_status: NotRequired[pulumi.Input['ModifyVolumeStatusArgsDict']]
|
|
19379
19017
|
"""
|
|
19380
|
-
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is
|
|
19018
|
+
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
19381
19019
|
"""
|
|
19382
19020
|
phase: NotRequired[pulumi.Input[str]]
|
|
19383
19021
|
"""
|
|
@@ -19448,8 +19086,8 @@ class PersistentVolumeClaimStatusArgs:
|
|
|
19448
19086
|
This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
|
|
19449
19087
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] capacity: capacity represents the actual resources of the underlying volume.
|
|
19450
19088
|
:param pulumi.Input[Sequence[pulumi.Input['PersistentVolumeClaimConditionArgs']]] conditions: conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'.
|
|
19451
|
-
:param pulumi.Input[str] current_volume_attributes_class_name: currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is
|
|
19452
|
-
:param pulumi.Input['ModifyVolumeStatusArgs'] modify_volume_status: ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is
|
|
19089
|
+
:param pulumi.Input[str] current_volume_attributes_class_name: currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
19090
|
+
:param pulumi.Input['ModifyVolumeStatusArgs'] modify_volume_status: ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
19453
19091
|
:param pulumi.Input[str] phase: phase represents the current phase of PersistentVolumeClaim.
|
|
19454
19092
|
:param pulumi.Input[str] resize_status: resizeStatus stores status of resize operation. ResizeStatus is not set by default but when expansion is complete resizeStatus is set to empty string by resize controller or kubelet. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature.
|
|
19455
19093
|
"""
|
|
@@ -19575,7 +19213,7 @@ class PersistentVolumeClaimStatusArgs:
|
|
|
19575
19213
|
@pulumi.getter(name="currentVolumeAttributesClassName")
|
|
19576
19214
|
def current_volume_attributes_class_name(self) -> Optional[pulumi.Input[str]]:
|
|
19577
19215
|
"""
|
|
19578
|
-
currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is
|
|
19216
|
+
currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
19579
19217
|
"""
|
|
19580
19218
|
return pulumi.get(self, "current_volume_attributes_class_name")
|
|
19581
19219
|
|
|
@@ -19587,7 +19225,7 @@ class PersistentVolumeClaimStatusArgs:
|
|
|
19587
19225
|
@pulumi.getter(name="modifyVolumeStatus")
|
|
19588
19226
|
def modify_volume_status(self) -> Optional[pulumi.Input['ModifyVolumeStatusArgs']]:
|
|
19589
19227
|
"""
|
|
19590
|
-
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is
|
|
19228
|
+
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
19591
19229
|
"""
|
|
19592
19230
|
return pulumi.get(self, "modify_volume_status")
|
|
19593
19231
|
|
|
@@ -20077,7 +19715,7 @@ if not MYPY:
|
|
|
20077
19715
|
"""
|
|
20078
19716
|
volume_attributes_class_name: NotRequired[pulumi.Input[str]]
|
|
20079
19717
|
"""
|
|
20080
|
-
Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is
|
|
19718
|
+
Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
20081
19719
|
"""
|
|
20082
19720
|
volume_mode: NotRequired[pulumi.Input[str]]
|
|
20083
19721
|
"""
|
|
@@ -20154,7 +19792,7 @@ class PersistentVolumeSpecPatchArgs:
|
|
|
20154
19792
|
:param pulumi.Input['ScaleIOPersistentVolumeSourcePatchArgs'] scale_io: scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
|
|
20155
19793
|
:param pulumi.Input[str] storage_class_name: storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.
|
|
20156
19794
|
:param pulumi.Input['StorageOSPersistentVolumeSourcePatchArgs'] storageos: storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md
|
|
20157
|
-
:param pulumi.Input[str] volume_attributes_class_name: Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is
|
|
19795
|
+
:param pulumi.Input[str] volume_attributes_class_name: Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
20158
19796
|
:param pulumi.Input[str] volume_mode: volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.
|
|
20159
19797
|
:param pulumi.Input['VsphereVirtualDiskVolumeSourcePatchArgs'] vsphere_volume: vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
|
|
20160
19798
|
"""
|
|
@@ -20561,7 +20199,7 @@ class PersistentVolumeSpecPatchArgs:
|
|
|
20561
20199
|
@pulumi.getter(name="volumeAttributesClassName")
|
|
20562
20200
|
def volume_attributes_class_name(self) -> Optional[pulumi.Input[str]]:
|
|
20563
20201
|
"""
|
|
20564
|
-
Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is
|
|
20202
|
+
Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
20565
20203
|
"""
|
|
20566
20204
|
return pulumi.get(self, "volume_attributes_class_name")
|
|
20567
20205
|
|
|
@@ -20713,7 +20351,7 @@ if not MYPY:
|
|
|
20713
20351
|
"""
|
|
20714
20352
|
volume_attributes_class_name: NotRequired[pulumi.Input[str]]
|
|
20715
20353
|
"""
|
|
20716
|
-
Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is
|
|
20354
|
+
Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
20717
20355
|
"""
|
|
20718
20356
|
volume_mode: NotRequired[pulumi.Input[str]]
|
|
20719
20357
|
"""
|
|
@@ -20790,7 +20428,7 @@ class PersistentVolumeSpecArgs:
|
|
|
20790
20428
|
:param pulumi.Input['ScaleIOPersistentVolumeSourceArgs'] scale_io: scaleIO represents a ScaleIO persistent volume attached and mounted on Kubernetes nodes.
|
|
20791
20429
|
:param pulumi.Input[str] storage_class_name: storageClassName is the name of StorageClass to which this persistent volume belongs. Empty value means that this volume does not belong to any StorageClass.
|
|
20792
20430
|
:param pulumi.Input['StorageOSPersistentVolumeSourceArgs'] storageos: storageOS represents a StorageOS volume that is attached to the kubelet's host machine and mounted into the pod More info: https://examples.k8s.io/volumes/storageos/README.md
|
|
20793
|
-
:param pulumi.Input[str] volume_attributes_class_name: Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is
|
|
20431
|
+
:param pulumi.Input[str] volume_attributes_class_name: Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
20794
20432
|
:param pulumi.Input[str] volume_mode: volumeMode defines if a volume is intended to be used with a formatted filesystem or to remain in raw block state. Value of Filesystem is implied when not included in spec.
|
|
20795
20433
|
:param pulumi.Input['VsphereVirtualDiskVolumeSourceArgs'] vsphere_volume: vsphereVolume represents a vSphere volume attached and mounted on kubelets host machine
|
|
20796
20434
|
"""
|
|
@@ -21197,7 +20835,7 @@ class PersistentVolumeSpecArgs:
|
|
|
21197
20835
|
@pulumi.getter(name="volumeAttributesClassName")
|
|
21198
20836
|
def volume_attributes_class_name(self) -> Optional[pulumi.Input[str]]:
|
|
21199
20837
|
"""
|
|
21200
|
-
Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is
|
|
20838
|
+
Name of VolumeAttributesClass to which this persistent volume belongs. Empty value is not allowed. When this field is not set, it indicates that this volume does not belong to any VolumeAttributesClass. This field is mutable and can be changed by the CSI driver after a volume has been updated successfully to a new class. For an unbound PersistentVolume, the volumeAttributesClassName will be matched with unbound PersistentVolumeClaims during the binding process. This is an alpha field and requires enabling VolumeAttributesClass feature.
|
|
21201
20839
|
"""
|
|
21202
20840
|
return pulumi.get(self, "volume_attributes_class_name")
|
|
21203
20841
|
|
|
@@ -21237,7 +20875,7 @@ if not MYPY:
|
|
|
21237
20875
|
"""
|
|
21238
20876
|
last_phase_transition_time: NotRequired[pulumi.Input[str]]
|
|
21239
20877
|
"""
|
|
21240
|
-
lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.
|
|
20878
|
+
lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).
|
|
21241
20879
|
"""
|
|
21242
20880
|
message: NotRequired[pulumi.Input[str]]
|
|
21243
20881
|
"""
|
|
@@ -21263,7 +20901,7 @@ class PersistentVolumeStatusArgs:
|
|
|
21263
20901
|
reason: Optional[pulumi.Input[str]] = None):
|
|
21264
20902
|
"""
|
|
21265
20903
|
PersistentVolumeStatus is the current status of a persistent volume.
|
|
21266
|
-
:param pulumi.Input[str] last_phase_transition_time: lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.
|
|
20904
|
+
:param pulumi.Input[str] last_phase_transition_time: lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).
|
|
21267
20905
|
:param pulumi.Input[str] message: message is a human-readable message indicating details about why the volume is in this state.
|
|
21268
20906
|
:param pulumi.Input[str] phase: phase indicates if a volume is available, bound to a claim, or released by a claim. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#phase
|
|
21269
20907
|
:param pulumi.Input[str] reason: reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
|
|
@@ -21281,7 +20919,7 @@ class PersistentVolumeStatusArgs:
|
|
|
21281
20919
|
@pulumi.getter(name="lastPhaseTransitionTime")
|
|
21282
20920
|
def last_phase_transition_time(self) -> Optional[pulumi.Input[str]]:
|
|
21283
20921
|
"""
|
|
21284
|
-
lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions.
|
|
20922
|
+
lastPhaseTransitionTime is the time the phase transitioned from one to another and automatically resets to current time everytime a volume phase transitions. This is a beta field and requires the PersistentVolumeLastPhaseTransitionTime feature to be enabled (enabled by default).
|
|
21285
20923
|
"""
|
|
21286
20924
|
return pulumi.get(self, "last_phase_transition_time")
|
|
21287
20925
|
|
|
@@ -21620,11 +21258,11 @@ if not MYPY:
|
|
|
21620
21258
|
"""
|
|
21621
21259
|
match_label_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
21622
21260
|
"""
|
|
21623
|
-
MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is
|
|
21261
|
+
MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
|
|
21624
21262
|
"""
|
|
21625
21263
|
mismatch_label_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
21626
21264
|
"""
|
|
21627
|
-
MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is
|
|
21265
|
+
MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
|
|
21628
21266
|
"""
|
|
21629
21267
|
namespace_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
|
|
21630
21268
|
"""
|
|
@@ -21653,8 +21291,8 @@ class PodAffinityTermPatchArgs:
|
|
|
21653
21291
|
"""
|
|
21654
21292
|
Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running
|
|
21655
21293
|
:param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] label_selector: A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
|
|
21656
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] match_label_keys: MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is
|
|
21657
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] mismatch_label_keys: MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is
|
|
21294
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] match_label_keys: MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
|
|
21295
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] mismatch_label_keys: MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
|
|
21658
21296
|
:param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] namespace_selector: A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.
|
|
21659
21297
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] namespaces: namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
|
|
21660
21298
|
:param pulumi.Input[str] topology_key: This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
|
|
@@ -21688,7 +21326,7 @@ class PodAffinityTermPatchArgs:
|
|
|
21688
21326
|
@pulumi.getter(name="matchLabelKeys")
|
|
21689
21327
|
def match_label_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
21690
21328
|
"""
|
|
21691
|
-
MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is
|
|
21329
|
+
MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
|
|
21692
21330
|
"""
|
|
21693
21331
|
return pulumi.get(self, "match_label_keys")
|
|
21694
21332
|
|
|
@@ -21700,7 +21338,7 @@ class PodAffinityTermPatchArgs:
|
|
|
21700
21338
|
@pulumi.getter(name="mismatchLabelKeys")
|
|
21701
21339
|
def mismatch_label_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
21702
21340
|
"""
|
|
21703
|
-
MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is
|
|
21341
|
+
MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
|
|
21704
21342
|
"""
|
|
21705
21343
|
return pulumi.get(self, "mismatch_label_keys")
|
|
21706
21344
|
|
|
@@ -21760,11 +21398,11 @@ if not MYPY:
|
|
|
21760
21398
|
"""
|
|
21761
21399
|
match_label_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
21762
21400
|
"""
|
|
21763
|
-
MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is
|
|
21401
|
+
MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
|
|
21764
21402
|
"""
|
|
21765
21403
|
mismatch_label_keys: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
21766
21404
|
"""
|
|
21767
|
-
MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is
|
|
21405
|
+
MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
|
|
21768
21406
|
"""
|
|
21769
21407
|
namespace_selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
|
|
21770
21408
|
"""
|
|
@@ -21790,8 +21428,8 @@ class PodAffinityTermArgs:
|
|
|
21790
21428
|
Defines a set of pods (namely those matching the labelSelector relative to the given namespace(s)) that this pod should be co-located (affinity) or not co-located (anti-affinity) with, where co-located is defined as running on a node whose value of the label with key <topologyKey> matches that of any node on which a pod of the set of pods is running
|
|
21791
21429
|
:param pulumi.Input[str] topology_key: This pod should be co-located (affinity) or not co-located (anti-affinity) with the pods matching the labelSelector in the specified namespaces, where co-located is defined as running on a node whose value of the label with key topologyKey matches that of any node on which any of the selected pods is running. Empty topologyKey is not allowed.
|
|
21792
21430
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] label_selector: A label query over a set of resources, in this case pods. If it's null, this PodAffinityTerm matches with no Pods.
|
|
21793
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] match_label_keys: MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is
|
|
21794
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] mismatch_label_keys: MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is
|
|
21431
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] match_label_keys: MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
|
|
21432
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] mismatch_label_keys: MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
|
|
21795
21433
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] namespace_selector: A label query over the set of namespaces that the term applies to. The term is applied to the union of the namespaces selected by this field and the ones listed in the namespaces field. null selector and null or empty namespaces list means "this pod's namespace". An empty selector ({}) matches all namespaces.
|
|
21796
21434
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] namespaces: namespaces specifies a static list of namespace names that the term applies to. The term is applied to the union of the namespaces listed in this field and the ones selected by namespaceSelector. null or empty namespaces list and null namespaceSelector means "this pod's namespace".
|
|
21797
21435
|
"""
|
|
@@ -21835,7 +21473,7 @@ class PodAffinityTermArgs:
|
|
|
21835
21473
|
@pulumi.getter(name="matchLabelKeys")
|
|
21836
21474
|
def match_label_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
21837
21475
|
"""
|
|
21838
|
-
MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is
|
|
21476
|
+
MatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key in (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both matchLabelKeys and labelSelector. Also, matchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
|
|
21839
21477
|
"""
|
|
21840
21478
|
return pulumi.get(self, "match_label_keys")
|
|
21841
21479
|
|
|
@@ -21847,7 +21485,7 @@ class PodAffinityTermArgs:
|
|
|
21847
21485
|
@pulumi.getter(name="mismatchLabelKeys")
|
|
21848
21486
|
def mismatch_label_keys(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
21849
21487
|
"""
|
|
21850
|
-
MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is
|
|
21488
|
+
MismatchLabelKeys is a set of pod label keys to select which pods will be taken into consideration. The keys are used to lookup values from the incoming pod labels, those key-value labels are merged with `labelSelector` as `key notin (value)` to select the group of existing pods which pods will be taken into consideration for the incoming pod's pod (anti) affinity. Keys that don't exist in the incoming pod labels will be ignored. The default value is empty. The same key is forbidden to exist in both mismatchLabelKeys and labelSelector. Also, mismatchLabelKeys cannot be set when labelSelector isn't set. This is an alpha field and requires enabling MatchLabelKeysInPodAffinity feature gate.
|
|
21851
21489
|
"""
|
|
21852
21490
|
return pulumi.get(self, "mismatch_label_keys")
|
|
21853
21491
|
|
|
@@ -22437,7 +22075,7 @@ if not MYPY:
|
|
|
22437
22075
|
"""
|
|
22438
22076
|
PodIP represents a single IP address allocated to the pod.
|
|
22439
22077
|
"""
|
|
22440
|
-
ip: pulumi.Input[str]
|
|
22078
|
+
ip: NotRequired[pulumi.Input[str]]
|
|
22441
22079
|
"""
|
|
22442
22080
|
IP is the IP address assigned to the pod
|
|
22443
22081
|
"""
|
|
@@ -22447,23 +22085,24 @@ elif False:
|
|
|
22447
22085
|
@pulumi.input_type
|
|
22448
22086
|
class PodIPArgs:
|
|
22449
22087
|
def __init__(__self__, *,
|
|
22450
|
-
ip: pulumi.Input[str]):
|
|
22088
|
+
ip: Optional[pulumi.Input[str]] = None):
|
|
22451
22089
|
"""
|
|
22452
22090
|
PodIP represents a single IP address allocated to the pod.
|
|
22453
22091
|
:param pulumi.Input[str] ip: IP is the IP address assigned to the pod
|
|
22454
22092
|
"""
|
|
22455
|
-
|
|
22093
|
+
if ip is not None:
|
|
22094
|
+
pulumi.set(__self__, "ip", ip)
|
|
22456
22095
|
|
|
22457
22096
|
@property
|
|
22458
22097
|
@pulumi.getter
|
|
22459
|
-
def ip(self) -> pulumi.Input[str]:
|
|
22098
|
+
def ip(self) -> Optional[pulumi.Input[str]]:
|
|
22460
22099
|
"""
|
|
22461
22100
|
IP is the IP address assigned to the pod
|
|
22462
22101
|
"""
|
|
22463
22102
|
return pulumi.get(self, "ip")
|
|
22464
22103
|
|
|
22465
22104
|
@ip.setter
|
|
22466
|
-
def ip(self, value: pulumi.Input[str]):
|
|
22105
|
+
def ip(self, value: Optional[pulumi.Input[str]]):
|
|
22467
22106
|
pulumi.set(self, "ip", value)
|
|
22468
22107
|
|
|
22469
22108
|
|
|
@@ -22612,30 +22251,12 @@ class PodReadinessGateArgs:
|
|
|
22612
22251
|
if not MYPY:
|
|
22613
22252
|
class PodResourceClaimPatchArgsDict(TypedDict):
|
|
22614
22253
|
"""
|
|
22615
|
-
PodResourceClaim references exactly one ResourceClaim
|
|
22616
|
-
|
|
22617
|
-
It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
|
|
22254
|
+
PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
|
|
22618
22255
|
"""
|
|
22619
22256
|
name: NotRequired[pulumi.Input[str]]
|
|
22620
22257
|
"""
|
|
22621
22258
|
Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
|
|
22622
22259
|
"""
|
|
22623
|
-
resource_claim_name: NotRequired[pulumi.Input[str]]
|
|
22624
|
-
"""
|
|
22625
|
-
ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
|
|
22626
|
-
|
|
22627
|
-
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
|
|
22628
|
-
"""
|
|
22629
|
-
resource_claim_template_name: NotRequired[pulumi.Input[str]]
|
|
22630
|
-
"""
|
|
22631
|
-
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
|
|
22632
|
-
|
|
22633
|
-
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
|
22634
|
-
|
|
22635
|
-
This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
|
|
22636
|
-
|
|
22637
|
-
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
|
|
22638
|
-
"""
|
|
22639
22260
|
source: NotRequired[pulumi.Input['ClaimSourcePatchArgsDict']]
|
|
22640
22261
|
"""
|
|
22641
22262
|
Source describes where to find the ResourceClaim.
|
|
@@ -22647,32 +22268,14 @@ elif False:
|
|
|
22647
22268
|
class PodResourceClaimPatchArgs:
|
|
22648
22269
|
def __init__(__self__, *,
|
|
22649
22270
|
name: Optional[pulumi.Input[str]] = None,
|
|
22650
|
-
resource_claim_name: Optional[pulumi.Input[str]] = None,
|
|
22651
|
-
resource_claim_template_name: Optional[pulumi.Input[str]] = None,
|
|
22652
22271
|
source: Optional[pulumi.Input['ClaimSourcePatchArgs']] = None):
|
|
22653
22272
|
"""
|
|
22654
|
-
PodResourceClaim references exactly one ResourceClaim
|
|
22655
|
-
|
|
22656
|
-
It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
|
|
22273
|
+
PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
|
|
22657
22274
|
:param pulumi.Input[str] name: Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
|
|
22658
|
-
:param pulumi.Input[str] resource_claim_name: ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
|
|
22659
|
-
|
|
22660
|
-
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
|
|
22661
|
-
:param pulumi.Input[str] resource_claim_template_name: ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
|
|
22662
|
-
|
|
22663
|
-
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
|
22664
|
-
|
|
22665
|
-
This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
|
|
22666
|
-
|
|
22667
|
-
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
|
|
22668
22275
|
:param pulumi.Input['ClaimSourcePatchArgs'] source: Source describes where to find the ResourceClaim.
|
|
22669
22276
|
"""
|
|
22670
22277
|
if name is not None:
|
|
22671
22278
|
pulumi.set(__self__, "name", name)
|
|
22672
|
-
if resource_claim_name is not None:
|
|
22673
|
-
pulumi.set(__self__, "resource_claim_name", resource_claim_name)
|
|
22674
|
-
if resource_claim_template_name is not None:
|
|
22675
|
-
pulumi.set(__self__, "resource_claim_template_name", resource_claim_template_name)
|
|
22676
22279
|
if source is not None:
|
|
22677
22280
|
pulumi.set(__self__, "source", source)
|
|
22678
22281
|
|
|
@@ -22688,38 +22291,6 @@ class PodResourceClaimPatchArgs:
|
|
|
22688
22291
|
def name(self, value: Optional[pulumi.Input[str]]):
|
|
22689
22292
|
pulumi.set(self, "name", value)
|
|
22690
22293
|
|
|
22691
|
-
@property
|
|
22692
|
-
@pulumi.getter(name="resourceClaimName")
|
|
22693
|
-
def resource_claim_name(self) -> Optional[pulumi.Input[str]]:
|
|
22694
|
-
"""
|
|
22695
|
-
ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
|
|
22696
|
-
|
|
22697
|
-
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
|
|
22698
|
-
"""
|
|
22699
|
-
return pulumi.get(self, "resource_claim_name")
|
|
22700
|
-
|
|
22701
|
-
@resource_claim_name.setter
|
|
22702
|
-
def resource_claim_name(self, value: Optional[pulumi.Input[str]]):
|
|
22703
|
-
pulumi.set(self, "resource_claim_name", value)
|
|
22704
|
-
|
|
22705
|
-
@property
|
|
22706
|
-
@pulumi.getter(name="resourceClaimTemplateName")
|
|
22707
|
-
def resource_claim_template_name(self) -> Optional[pulumi.Input[str]]:
|
|
22708
|
-
"""
|
|
22709
|
-
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
|
|
22710
|
-
|
|
22711
|
-
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
|
22712
|
-
|
|
22713
|
-
This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
|
|
22714
|
-
|
|
22715
|
-
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
|
|
22716
|
-
"""
|
|
22717
|
-
return pulumi.get(self, "resource_claim_template_name")
|
|
22718
|
-
|
|
22719
|
-
@resource_claim_template_name.setter
|
|
22720
|
-
def resource_claim_template_name(self, value: Optional[pulumi.Input[str]]):
|
|
22721
|
-
pulumi.set(self, "resource_claim_template_name", value)
|
|
22722
|
-
|
|
22723
22294
|
@property
|
|
22724
22295
|
@pulumi.getter
|
|
22725
22296
|
def source(self) -> Optional[pulumi.Input['ClaimSourcePatchArgs']]:
|
|
@@ -22744,7 +22315,7 @@ if not MYPY:
|
|
|
22744
22315
|
"""
|
|
22745
22316
|
resource_claim_name: NotRequired[pulumi.Input[str]]
|
|
22746
22317
|
"""
|
|
22747
|
-
ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.
|
|
22318
|
+
ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.
|
|
22748
22319
|
"""
|
|
22749
22320
|
elif False:
|
|
22750
22321
|
PodResourceClaimStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -22757,7 +22328,7 @@ class PodResourceClaimStatusArgs:
|
|
|
22757
22328
|
"""
|
|
22758
22329
|
PodResourceClaimStatus is stored in the PodStatus for each PodResourceClaim which references a ResourceClaimTemplate. It stores the generated name for the corresponding ResourceClaim.
|
|
22759
22330
|
:param pulumi.Input[str] name: Name uniquely identifies this resource claim inside the pod. This must match the name of an entry in pod.spec.resourceClaims, which implies that the string must be a DNS_LABEL.
|
|
22760
|
-
:param pulumi.Input[str] resource_claim_name: ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.
|
|
22331
|
+
:param pulumi.Input[str] resource_claim_name: ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.
|
|
22761
22332
|
"""
|
|
22762
22333
|
pulumi.set(__self__, "name", name)
|
|
22763
22334
|
if resource_claim_name is not None:
|
|
@@ -22779,7 +22350,7 @@ class PodResourceClaimStatusArgs:
|
|
|
22779
22350
|
@pulumi.getter(name="resourceClaimName")
|
|
22780
22351
|
def resource_claim_name(self) -> Optional[pulumi.Input[str]]:
|
|
22781
22352
|
"""
|
|
22782
|
-
ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod.
|
|
22353
|
+
ResourceClaimName is the name of the ResourceClaim that was generated for the Pod in the namespace of the Pod. It this is unset, then generating a ResourceClaim was not necessary. The pod.spec.resourceClaims entry can be ignored in this case.
|
|
22783
22354
|
"""
|
|
22784
22355
|
return pulumi.get(self, "resource_claim_name")
|
|
22785
22356
|
|
|
@@ -22791,30 +22362,12 @@ class PodResourceClaimStatusArgs:
|
|
|
22791
22362
|
if not MYPY:
|
|
22792
22363
|
class PodResourceClaimArgsDict(TypedDict):
|
|
22793
22364
|
"""
|
|
22794
|
-
PodResourceClaim references exactly one ResourceClaim
|
|
22795
|
-
|
|
22796
|
-
It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
|
|
22365
|
+
PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
|
|
22797
22366
|
"""
|
|
22798
22367
|
name: pulumi.Input[str]
|
|
22799
22368
|
"""
|
|
22800
22369
|
Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
|
|
22801
22370
|
"""
|
|
22802
|
-
resource_claim_name: NotRequired[pulumi.Input[str]]
|
|
22803
|
-
"""
|
|
22804
|
-
ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
|
|
22805
|
-
|
|
22806
|
-
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
|
|
22807
|
-
"""
|
|
22808
|
-
resource_claim_template_name: NotRequired[pulumi.Input[str]]
|
|
22809
|
-
"""
|
|
22810
|
-
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
|
|
22811
|
-
|
|
22812
|
-
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
|
22813
|
-
|
|
22814
|
-
This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
|
|
22815
|
-
|
|
22816
|
-
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
|
|
22817
|
-
"""
|
|
22818
22371
|
source: NotRequired[pulumi.Input['ClaimSourceArgsDict']]
|
|
22819
22372
|
"""
|
|
22820
22373
|
Source describes where to find the ResourceClaim.
|
|
@@ -22826,31 +22379,13 @@ elif False:
|
|
|
22826
22379
|
class PodResourceClaimArgs:
|
|
22827
22380
|
def __init__(__self__, *,
|
|
22828
22381
|
name: pulumi.Input[str],
|
|
22829
|
-
resource_claim_name: Optional[pulumi.Input[str]] = None,
|
|
22830
|
-
resource_claim_template_name: Optional[pulumi.Input[str]] = None,
|
|
22831
22382
|
source: Optional[pulumi.Input['ClaimSourceArgs']] = None):
|
|
22832
22383
|
"""
|
|
22833
|
-
PodResourceClaim references exactly one ResourceClaim
|
|
22834
|
-
|
|
22835
|
-
It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
|
|
22384
|
+
PodResourceClaim references exactly one ResourceClaim through a ClaimSource. It adds a name to it that uniquely identifies the ResourceClaim inside the Pod. Containers that need access to the ResourceClaim reference it with this name.
|
|
22836
22385
|
:param pulumi.Input[str] name: Name uniquely identifies this resource claim inside the pod. This must be a DNS_LABEL.
|
|
22837
|
-
:param pulumi.Input[str] resource_claim_name: ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
|
|
22838
|
-
|
|
22839
|
-
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
|
|
22840
|
-
:param pulumi.Input[str] resource_claim_template_name: ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
|
|
22841
|
-
|
|
22842
|
-
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
|
22843
|
-
|
|
22844
|
-
This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
|
|
22845
|
-
|
|
22846
|
-
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
|
|
22847
22386
|
:param pulumi.Input['ClaimSourceArgs'] source: Source describes where to find the ResourceClaim.
|
|
22848
22387
|
"""
|
|
22849
22388
|
pulumi.set(__self__, "name", name)
|
|
22850
|
-
if resource_claim_name is not None:
|
|
22851
|
-
pulumi.set(__self__, "resource_claim_name", resource_claim_name)
|
|
22852
|
-
if resource_claim_template_name is not None:
|
|
22853
|
-
pulumi.set(__self__, "resource_claim_template_name", resource_claim_template_name)
|
|
22854
22389
|
if source is not None:
|
|
22855
22390
|
pulumi.set(__self__, "source", source)
|
|
22856
22391
|
|
|
@@ -22866,38 +22401,6 @@ class PodResourceClaimArgs:
|
|
|
22866
22401
|
def name(self, value: pulumi.Input[str]):
|
|
22867
22402
|
pulumi.set(self, "name", value)
|
|
22868
22403
|
|
|
22869
|
-
@property
|
|
22870
|
-
@pulumi.getter(name="resourceClaimName")
|
|
22871
|
-
def resource_claim_name(self) -> Optional[pulumi.Input[str]]:
|
|
22872
|
-
"""
|
|
22873
|
-
ResourceClaimName is the name of a ResourceClaim object in the same namespace as this pod.
|
|
22874
|
-
|
|
22875
|
-
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
|
|
22876
|
-
"""
|
|
22877
|
-
return pulumi.get(self, "resource_claim_name")
|
|
22878
|
-
|
|
22879
|
-
@resource_claim_name.setter
|
|
22880
|
-
def resource_claim_name(self, value: Optional[pulumi.Input[str]]):
|
|
22881
|
-
pulumi.set(self, "resource_claim_name", value)
|
|
22882
|
-
|
|
22883
|
-
@property
|
|
22884
|
-
@pulumi.getter(name="resourceClaimTemplateName")
|
|
22885
|
-
def resource_claim_template_name(self) -> Optional[pulumi.Input[str]]:
|
|
22886
|
-
"""
|
|
22887
|
-
ResourceClaimTemplateName is the name of a ResourceClaimTemplate object in the same namespace as this pod.
|
|
22888
|
-
|
|
22889
|
-
The template will be used to create a new ResourceClaim, which will be bound to this pod. When this pod is deleted, the ResourceClaim will also be deleted. The pod name and resource name, along with a generated component, will be used to form a unique name for the ResourceClaim, which will be recorded in pod.status.resourceClaimStatuses.
|
|
22890
|
-
|
|
22891
|
-
This field is immutable and no changes will be made to the corresponding ResourceClaim by the control plane after creating the ResourceClaim.
|
|
22892
|
-
|
|
22893
|
-
Exactly one of ResourceClaimName and ResourceClaimTemplateName must be set.
|
|
22894
|
-
"""
|
|
22895
|
-
return pulumi.get(self, "resource_claim_template_name")
|
|
22896
|
-
|
|
22897
|
-
@resource_claim_template_name.setter
|
|
22898
|
-
def resource_claim_template_name(self, value: Optional[pulumi.Input[str]]):
|
|
22899
|
-
pulumi.set(self, "resource_claim_template_name", value)
|
|
22900
|
-
|
|
22901
22404
|
@property
|
|
22902
22405
|
@pulumi.getter
|
|
22903
22406
|
def source(self) -> Optional[pulumi.Input['ClaimSourceArgs']]:
|
|
@@ -23025,11 +22528,7 @@ if not MYPY:
|
|
|
23025
22528
|
"""
|
|
23026
22529
|
supplemental_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]]
|
|
23027
22530
|
"""
|
|
23028
|
-
A list of groups applied to the first process run in each container, in addition to the container's primary GID
|
|
23029
|
-
"""
|
|
23030
|
-
supplemental_groups_policy: NotRequired[pulumi.Input[str]]
|
|
23031
|
-
"""
|
|
23032
|
-
Defines how supplemental groups of the first container processes are calculated. Valid values are "Merge" and "Strict". If not specified, "Merge" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.
|
|
22531
|
+
A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows.
|
|
23033
22532
|
"""
|
|
23034
22533
|
sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input['SysctlPatchArgsDict']]]]
|
|
23035
22534
|
"""
|
|
@@ -23054,7 +22553,6 @@ class PodSecurityContextPatchArgs:
|
|
|
23054
22553
|
se_linux_options: Optional[pulumi.Input['SELinuxOptionsPatchArgs']] = None,
|
|
23055
22554
|
seccomp_profile: Optional[pulumi.Input['SeccompProfilePatchArgs']] = None,
|
|
23056
22555
|
supplemental_groups: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
|
23057
|
-
supplemental_groups_policy: Optional[pulumi.Input[str]] = None,
|
|
23058
22556
|
sysctls: Optional[pulumi.Input[Sequence[pulumi.Input['SysctlPatchArgs']]]] = None,
|
|
23059
22557
|
windows_options: Optional[pulumi.Input['WindowsSecurityContextOptionsPatchArgs']] = None):
|
|
23060
22558
|
"""
|
|
@@ -23071,8 +22569,7 @@ class PodSecurityContextPatchArgs:
|
|
|
23071
22569
|
:param pulumi.Input[int] run_as_user: The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.
|
|
23072
22570
|
:param pulumi.Input['SELinuxOptionsPatchArgs'] se_linux_options: The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.
|
|
23073
22571
|
:param pulumi.Input['SeccompProfilePatchArgs'] seccomp_profile: The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.
|
|
23074
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] supplemental_groups: A list of groups applied to the first process run in each container, in addition to the container's primary GID
|
|
23075
|
-
:param pulumi.Input[str] supplemental_groups_policy: Defines how supplemental groups of the first container processes are calculated. Valid values are "Merge" and "Strict". If not specified, "Merge" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.
|
|
22572
|
+
:param pulumi.Input[Sequence[pulumi.Input[int]]] supplemental_groups: A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows.
|
|
23076
22573
|
:param pulumi.Input[Sequence[pulumi.Input['SysctlPatchArgs']]] sysctls: Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.
|
|
23077
22574
|
:param pulumi.Input['WindowsSecurityContextOptionsPatchArgs'] windows_options: The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.
|
|
23078
22575
|
"""
|
|
@@ -23094,8 +22591,6 @@ class PodSecurityContextPatchArgs:
|
|
|
23094
22591
|
pulumi.set(__self__, "seccomp_profile", seccomp_profile)
|
|
23095
22592
|
if supplemental_groups is not None:
|
|
23096
22593
|
pulumi.set(__self__, "supplemental_groups", supplemental_groups)
|
|
23097
|
-
if supplemental_groups_policy is not None:
|
|
23098
|
-
pulumi.set(__self__, "supplemental_groups_policy", supplemental_groups_policy)
|
|
23099
22594
|
if sysctls is not None:
|
|
23100
22595
|
pulumi.set(__self__, "sysctls", sysctls)
|
|
23101
22596
|
if windows_options is not None:
|
|
@@ -23205,7 +22700,7 @@ class PodSecurityContextPatchArgs:
|
|
|
23205
22700
|
@pulumi.getter(name="supplementalGroups")
|
|
23206
22701
|
def supplemental_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
|
|
23207
22702
|
"""
|
|
23208
|
-
A list of groups applied to the first process run in each container, in addition to the container's primary GID
|
|
22703
|
+
A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows.
|
|
23209
22704
|
"""
|
|
23210
22705
|
return pulumi.get(self, "supplemental_groups")
|
|
23211
22706
|
|
|
@@ -23213,18 +22708,6 @@ class PodSecurityContextPatchArgs:
|
|
|
23213
22708
|
def supplemental_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
|
|
23214
22709
|
pulumi.set(self, "supplemental_groups", value)
|
|
23215
22710
|
|
|
23216
|
-
@property
|
|
23217
|
-
@pulumi.getter(name="supplementalGroupsPolicy")
|
|
23218
|
-
def supplemental_groups_policy(self) -> Optional[pulumi.Input[str]]:
|
|
23219
|
-
"""
|
|
23220
|
-
Defines how supplemental groups of the first container processes are calculated. Valid values are "Merge" and "Strict". If not specified, "Merge" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.
|
|
23221
|
-
"""
|
|
23222
|
-
return pulumi.get(self, "supplemental_groups_policy")
|
|
23223
|
-
|
|
23224
|
-
@supplemental_groups_policy.setter
|
|
23225
|
-
def supplemental_groups_policy(self, value: Optional[pulumi.Input[str]]):
|
|
23226
|
-
pulumi.set(self, "supplemental_groups_policy", value)
|
|
23227
|
-
|
|
23228
22711
|
@property
|
|
23229
22712
|
@pulumi.getter
|
|
23230
22713
|
def sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SysctlPatchArgs']]]]:
|
|
@@ -23293,11 +22776,7 @@ if not MYPY:
|
|
|
23293
22776
|
"""
|
|
23294
22777
|
supplemental_groups: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]]
|
|
23295
22778
|
"""
|
|
23296
|
-
A list of groups applied to the first process run in each container, in addition to the container's primary GID
|
|
23297
|
-
"""
|
|
23298
|
-
supplemental_groups_policy: NotRequired[pulumi.Input[str]]
|
|
23299
|
-
"""
|
|
23300
|
-
Defines how supplemental groups of the first container processes are calculated. Valid values are "Merge" and "Strict". If not specified, "Merge" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.
|
|
22779
|
+
A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows.
|
|
23301
22780
|
"""
|
|
23302
22781
|
sysctls: NotRequired[pulumi.Input[Sequence[pulumi.Input['SysctlArgsDict']]]]
|
|
23303
22782
|
"""
|
|
@@ -23322,7 +22801,6 @@ class PodSecurityContextArgs:
|
|
|
23322
22801
|
se_linux_options: Optional[pulumi.Input['SELinuxOptionsArgs']] = None,
|
|
23323
22802
|
seccomp_profile: Optional[pulumi.Input['SeccompProfileArgs']] = None,
|
|
23324
22803
|
supplemental_groups: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None,
|
|
23325
|
-
supplemental_groups_policy: Optional[pulumi.Input[str]] = None,
|
|
23326
22804
|
sysctls: Optional[pulumi.Input[Sequence[pulumi.Input['SysctlArgs']]]] = None,
|
|
23327
22805
|
windows_options: Optional[pulumi.Input['WindowsSecurityContextOptionsArgs']] = None):
|
|
23328
22806
|
"""
|
|
@@ -23339,8 +22817,7 @@ class PodSecurityContextArgs:
|
|
|
23339
22817
|
:param pulumi.Input[int] run_as_user: The UID to run the entrypoint of the container process. Defaults to user specified in image metadata if unspecified. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.
|
|
23340
22818
|
:param pulumi.Input['SELinuxOptionsArgs'] se_linux_options: The SELinux context to be applied to all containers. If unspecified, the container runtime will allocate a random SELinux context for each container. May also be set in SecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence for that container. Note that this field cannot be set when spec.os.name is windows.
|
|
23341
22819
|
:param pulumi.Input['SeccompProfileArgs'] seccomp_profile: The seccomp options to use by the containers in this pod. Note that this field cannot be set when spec.os.name is windows.
|
|
23342
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] supplemental_groups: A list of groups applied to the first process run in each container, in addition to the container's primary GID
|
|
23343
|
-
:param pulumi.Input[str] supplemental_groups_policy: Defines how supplemental groups of the first container processes are calculated. Valid values are "Merge" and "Strict". If not specified, "Merge" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.
|
|
22820
|
+
:param pulumi.Input[Sequence[pulumi.Input[int]]] supplemental_groups: A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows.
|
|
23344
22821
|
:param pulumi.Input[Sequence[pulumi.Input['SysctlArgs']]] sysctls: Sysctls hold a list of namespaced sysctls used for the pod. Pods with unsupported sysctls (by the container runtime) might fail to launch. Note that this field cannot be set when spec.os.name is windows.
|
|
23345
22822
|
:param pulumi.Input['WindowsSecurityContextOptionsArgs'] windows_options: The Windows specific settings applied to all containers. If unspecified, the options within a container's SecurityContext will be used. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is linux.
|
|
23346
22823
|
"""
|
|
@@ -23362,8 +22839,6 @@ class PodSecurityContextArgs:
|
|
|
23362
22839
|
pulumi.set(__self__, "seccomp_profile", seccomp_profile)
|
|
23363
22840
|
if supplemental_groups is not None:
|
|
23364
22841
|
pulumi.set(__self__, "supplemental_groups", supplemental_groups)
|
|
23365
|
-
if supplemental_groups_policy is not None:
|
|
23366
|
-
pulumi.set(__self__, "supplemental_groups_policy", supplemental_groups_policy)
|
|
23367
22842
|
if sysctls is not None:
|
|
23368
22843
|
pulumi.set(__self__, "sysctls", sysctls)
|
|
23369
22844
|
if windows_options is not None:
|
|
@@ -23473,7 +22948,7 @@ class PodSecurityContextArgs:
|
|
|
23473
22948
|
@pulumi.getter(name="supplementalGroups")
|
|
23474
22949
|
def supplemental_groups(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
|
|
23475
22950
|
"""
|
|
23476
|
-
A list of groups applied to the first process run in each container, in addition to the container's primary GID
|
|
22951
|
+
A list of groups applied to the first process run in each container, in addition to the container's primary GID, the fsGroup (if specified), and group memberships defined in the container image for the uid of the container process. If unspecified, no additional groups are added to any container. Note that group memberships defined in the container image for the uid of the container process are still effective, even if they are not included in this list. Note that this field cannot be set when spec.os.name is windows.
|
|
23477
22952
|
"""
|
|
23478
22953
|
return pulumi.get(self, "supplemental_groups")
|
|
23479
22954
|
|
|
@@ -23481,18 +22956,6 @@ class PodSecurityContextArgs:
|
|
|
23481
22956
|
def supplemental_groups(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
|
|
23482
22957
|
pulumi.set(self, "supplemental_groups", value)
|
|
23483
22958
|
|
|
23484
|
-
@property
|
|
23485
|
-
@pulumi.getter(name="supplementalGroupsPolicy")
|
|
23486
|
-
def supplemental_groups_policy(self) -> Optional[pulumi.Input[str]]:
|
|
23487
|
-
"""
|
|
23488
|
-
Defines how supplemental groups of the first container processes are calculated. Valid values are "Merge" and "Strict". If not specified, "Merge" is used. (Alpha) Using the field requires the SupplementalGroupsPolicy feature gate to be enabled and the container runtime must implement support for this feature. Note that this field cannot be set when spec.os.name is windows.
|
|
23489
|
-
"""
|
|
23490
|
-
return pulumi.get(self, "supplemental_groups_policy")
|
|
23491
|
-
|
|
23492
|
-
@supplemental_groups_policy.setter
|
|
23493
|
-
def supplemental_groups_policy(self, value: Optional[pulumi.Input[str]]):
|
|
23494
|
-
pulumi.set(self, "supplemental_groups_policy", value)
|
|
23495
|
-
|
|
23496
22959
|
@property
|
|
23497
22960
|
@pulumi.getter
|
|
23498
22961
|
def sysctls(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SysctlArgs']]]]:
|
|
@@ -23589,7 +23052,7 @@ if not MYPY:
|
|
|
23589
23052
|
"""
|
|
23590
23053
|
node_name: NotRequired[pulumi.Input[str]]
|
|
23591
23054
|
"""
|
|
23592
|
-
NodeName
|
|
23055
|
+
NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.
|
|
23593
23056
|
"""
|
|
23594
23057
|
node_selector: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
23595
23058
|
"""
|
|
@@ -23601,7 +23064,7 @@ if not MYPY:
|
|
|
23601
23064
|
|
|
23602
23065
|
If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions
|
|
23603
23066
|
|
|
23604
|
-
If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.
|
|
23067
|
+
If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup
|
|
23605
23068
|
"""
|
|
23606
23069
|
overhead: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
23607
23070
|
"""
|
|
@@ -23752,13 +23215,13 @@ class PodSpecPatchArgs:
|
|
|
23752
23215
|
:param pulumi.Input[str] hostname: Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.
|
|
23753
23216
|
:param pulumi.Input[Sequence[pulumi.Input['LocalObjectReferencePatchArgs']]] image_pull_secrets: ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
|
|
23754
23217
|
:param pulumi.Input[Sequence[pulumi.Input['ContainerPatchArgs']]] init_containers: List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
|
|
23755
|
-
:param pulumi.Input[str] node_name: NodeName
|
|
23218
|
+
:param pulumi.Input[str] node_name: NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.
|
|
23756
23219
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] node_selector: NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
|
23757
23220
|
:param pulumi.Input['PodOSPatchArgs'] os: Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.
|
|
23758
23221
|
|
|
23759
23222
|
If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions
|
|
23760
23223
|
|
|
23761
|
-
If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.
|
|
23224
|
+
If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup
|
|
23762
23225
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] overhead: Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md
|
|
23763
23226
|
:param pulumi.Input[str] preemption_policy: PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.
|
|
23764
23227
|
:param pulumi.Input[int] priority: The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.
|
|
@@ -24061,7 +23524,7 @@ class PodSpecPatchArgs:
|
|
|
24061
23524
|
@pulumi.getter(name="nodeName")
|
|
24062
23525
|
def node_name(self) -> Optional[pulumi.Input[str]]:
|
|
24063
23526
|
"""
|
|
24064
|
-
NodeName
|
|
23527
|
+
NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.
|
|
24065
23528
|
"""
|
|
24066
23529
|
return pulumi.get(self, "node_name")
|
|
24067
23530
|
|
|
@@ -24089,7 +23552,7 @@ class PodSpecPatchArgs:
|
|
|
24089
23552
|
|
|
24090
23553
|
If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions
|
|
24091
23554
|
|
|
24092
|
-
If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.
|
|
23555
|
+
If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup
|
|
24093
23556
|
"""
|
|
24094
23557
|
return pulumi.get(self, "os")
|
|
24095
23558
|
|
|
@@ -24415,7 +23878,7 @@ if not MYPY:
|
|
|
24415
23878
|
"""
|
|
24416
23879
|
node_name: NotRequired[pulumi.Input[str]]
|
|
24417
23880
|
"""
|
|
24418
|
-
NodeName
|
|
23881
|
+
NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.
|
|
24419
23882
|
"""
|
|
24420
23883
|
node_selector: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
24421
23884
|
"""
|
|
@@ -24427,7 +23890,7 @@ if not MYPY:
|
|
|
24427
23890
|
|
|
24428
23891
|
If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions
|
|
24429
23892
|
|
|
24430
|
-
If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.
|
|
23893
|
+
If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup
|
|
24431
23894
|
"""
|
|
24432
23895
|
overhead: NotRequired[pulumi.Input[Mapping[str, pulumi.Input[str]]]]
|
|
24433
23896
|
"""
|
|
@@ -24578,13 +24041,13 @@ class PodSpecArgs:
|
|
|
24578
24041
|
:param pulumi.Input[str] hostname: Specifies the hostname of the Pod If not specified, the pod's hostname will be set to a system-defined value.
|
|
24579
24042
|
:param pulumi.Input[Sequence[pulumi.Input['LocalObjectReferenceArgs']]] image_pull_secrets: ImagePullSecrets is an optional list of references to secrets in the same namespace to use for pulling any of the images used by this PodSpec. If specified, these secrets will be passed to individual puller implementations for them to use. More info: https://kubernetes.io/docs/concepts/containers/images#specifying-imagepullsecrets-on-a-pod
|
|
24580
24043
|
:param pulumi.Input[Sequence[pulumi.Input['ContainerArgs']]] init_containers: List of initialization containers belonging to the pod. Init containers are executed in order prior to containers being started. If any init container fails, the pod is considered to have failed and is handled according to its restartPolicy. The name for an init container or normal container must be unique among all containers. Init containers may not have Lifecycle actions, Readiness probes, Liveness probes, or Startup probes. The resourceRequirements of an init container are taken into account during scheduling by finding the highest request/limit for each resource type, and then using the max of of that value or the sum of the normal containers. Limits are applied to init containers in a similar fashion. Init containers cannot currently be added or removed. Cannot be updated. More info: https://kubernetes.io/docs/concepts/workloads/pods/init-containers/
|
|
24581
|
-
:param pulumi.Input[str] node_name: NodeName
|
|
24044
|
+
:param pulumi.Input[str] node_name: NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.
|
|
24582
24045
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] node_selector: NodeSelector is a selector which must be true for the pod to fit on a node. Selector which must match a node's labels for the pod to be scheduled on that node. More info: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
|
24583
24046
|
:param pulumi.Input['PodOSArgs'] os: Specifies the OS of the containers in the pod. Some pod and container fields are restricted if this is set.
|
|
24584
24047
|
|
|
24585
24048
|
If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions
|
|
24586
24049
|
|
|
24587
|
-
If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.
|
|
24050
|
+
If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup
|
|
24588
24051
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] overhead: Overhead represents the resource overhead associated with running a pod for a given RuntimeClass. This field will be autopopulated at admission time by the RuntimeClass admission controller. If the RuntimeClass admission controller is enabled, overhead must not be set in Pod create requests. The RuntimeClass admission controller will reject Pod create requests which have the overhead already set. If RuntimeClass is configured and selected in the PodSpec, Overhead will be set to the value defined in the corresponding RuntimeClass, otherwise it will remain unset and treated as zero. More info: https://git.k8s.io/enhancements/keps/sig-node/688-pod-overhead/README.md
|
|
24589
24052
|
:param pulumi.Input[str] preemption_policy: PreemptionPolicy is the Policy for preempting pods with lower priority. One of Never, PreemptLowerPriority. Defaults to PreemptLowerPriority if unset.
|
|
24590
24053
|
:param pulumi.Input[int] priority: The priority value. Various system components use this field to find the priority of the pod. When Priority Admission Controller is enabled, it prevents users from setting this field. The admission controller populates this field from PriorityClassName. The higher the value, the higher the priority.
|
|
@@ -24886,7 +24349,7 @@ class PodSpecArgs:
|
|
|
24886
24349
|
@pulumi.getter(name="nodeName")
|
|
24887
24350
|
def node_name(self) -> Optional[pulumi.Input[str]]:
|
|
24888
24351
|
"""
|
|
24889
|
-
NodeName
|
|
24352
|
+
NodeName is a request to schedule this pod onto a specific node. If it is non-empty, the scheduler simply schedules this pod onto that node, assuming that it fits resource requirements.
|
|
24890
24353
|
"""
|
|
24891
24354
|
return pulumi.get(self, "node_name")
|
|
24892
24355
|
|
|
@@ -24914,7 +24377,7 @@ class PodSpecArgs:
|
|
|
24914
24377
|
|
|
24915
24378
|
If the OS field is set to linux, the following fields must be unset: -securityContext.windowsOptions
|
|
24916
24379
|
|
|
24917
|
-
If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.
|
|
24380
|
+
If the OS field is set to windows, following fields must be unset: - spec.hostPID - spec.hostIPC - spec.hostUsers - spec.securityContext.appArmorProfile - spec.securityContext.seLinuxOptions - spec.securityContext.seccompProfile - spec.securityContext.fsGroup - spec.securityContext.fsGroupChangePolicy - spec.securityContext.sysctls - spec.shareProcessNamespace - spec.securityContext.runAsUser - spec.securityContext.runAsGroup - spec.securityContext.supplementalGroups - spec.containers[*].securityContext.appArmorProfile - spec.containers[*].securityContext.seLinuxOptions - spec.containers[*].securityContext.seccompProfile - spec.containers[*].securityContext.capabilities - spec.containers[*].securityContext.readOnlyRootFilesystem - spec.containers[*].securityContext.privileged - spec.containers[*].securityContext.allowPrivilegeEscalation - spec.containers[*].securityContext.procMount - spec.containers[*].securityContext.runAsUser - spec.containers[*].securityContext.runAsGroup
|
|
24918
24381
|
"""
|
|
24919
24382
|
return pulumi.get(self, "os")
|
|
24920
24383
|
|
|
@@ -26654,7 +26117,7 @@ if not MYPY:
|
|
|
26654
26117
|
"""
|
|
26655
26118
|
sources: NotRequired[pulumi.Input[Sequence[pulumi.Input['VolumeProjectionPatchArgsDict']]]]
|
|
26656
26119
|
"""
|
|
26657
|
-
sources is the list of volume projections
|
|
26120
|
+
sources is the list of volume projections
|
|
26658
26121
|
"""
|
|
26659
26122
|
elif False:
|
|
26660
26123
|
ProjectedVolumeSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -26667,7 +26130,7 @@ class ProjectedVolumeSourcePatchArgs:
|
|
|
26667
26130
|
"""
|
|
26668
26131
|
Represents a projected volume source
|
|
26669
26132
|
:param pulumi.Input[int] default_mode: defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
26670
|
-
:param pulumi.Input[Sequence[pulumi.Input['VolumeProjectionPatchArgs']]] sources: sources is the list of volume projections
|
|
26133
|
+
:param pulumi.Input[Sequence[pulumi.Input['VolumeProjectionPatchArgs']]] sources: sources is the list of volume projections
|
|
26671
26134
|
"""
|
|
26672
26135
|
if default_mode is not None:
|
|
26673
26136
|
pulumi.set(__self__, "default_mode", default_mode)
|
|
@@ -26690,7 +26153,7 @@ class ProjectedVolumeSourcePatchArgs:
|
|
|
26690
26153
|
@pulumi.getter
|
|
26691
26154
|
def sources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['VolumeProjectionPatchArgs']]]]:
|
|
26692
26155
|
"""
|
|
26693
|
-
sources is the list of volume projections
|
|
26156
|
+
sources is the list of volume projections
|
|
26694
26157
|
"""
|
|
26695
26158
|
return pulumi.get(self, "sources")
|
|
26696
26159
|
|
|
@@ -26706,7 +26169,7 @@ if not MYPY:
|
|
|
26706
26169
|
"""
|
|
26707
26170
|
sources: pulumi.Input[Sequence[pulumi.Input['VolumeProjectionArgsDict']]]
|
|
26708
26171
|
"""
|
|
26709
|
-
sources is the list of volume projections
|
|
26172
|
+
sources is the list of volume projections
|
|
26710
26173
|
"""
|
|
26711
26174
|
default_mode: NotRequired[pulumi.Input[int]]
|
|
26712
26175
|
"""
|
|
@@ -26722,7 +26185,7 @@ class ProjectedVolumeSourceArgs:
|
|
|
26722
26185
|
default_mode: Optional[pulumi.Input[int]] = None):
|
|
26723
26186
|
"""
|
|
26724
26187
|
Represents a projected volume source
|
|
26725
|
-
:param pulumi.Input[Sequence[pulumi.Input['VolumeProjectionArgs']]] sources: sources is the list of volume projections
|
|
26188
|
+
:param pulumi.Input[Sequence[pulumi.Input['VolumeProjectionArgs']]] sources: sources is the list of volume projections
|
|
26726
26189
|
:param pulumi.Input[int] default_mode: defaultMode are the mode bits used to set permissions on created files by default. Must be an octal value between 0000 and 0777 or a decimal value between 0 and 511. YAML accepts both octal and decimal values, JSON requires decimal values for mode bits. Directories within the path are not affected by this setting. This might be in conflict with other options that affect the file mode, like fsGroup, and the result can be other mode bits set.
|
|
26727
26190
|
"""
|
|
26728
26191
|
pulumi.set(__self__, "sources", sources)
|
|
@@ -26733,7 +26196,7 @@ class ProjectedVolumeSourceArgs:
|
|
|
26733
26196
|
@pulumi.getter
|
|
26734
26197
|
def sources(self) -> pulumi.Input[Sequence[pulumi.Input['VolumeProjectionArgs']]]:
|
|
26735
26198
|
"""
|
|
26736
|
-
sources is the list of volume projections
|
|
26199
|
+
sources is the list of volume projections
|
|
26737
26200
|
"""
|
|
26738
26201
|
return pulumi.get(self, "sources")
|
|
26739
26202
|
|
|
@@ -28290,27 +27753,19 @@ if not MYPY:
|
|
|
28290
27753
|
"""
|
|
28291
27754
|
Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
|
|
28292
27755
|
"""
|
|
28293
|
-
request: NotRequired[pulumi.Input[str]]
|
|
28294
|
-
"""
|
|
28295
|
-
Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.
|
|
28296
|
-
"""
|
|
28297
27756
|
elif False:
|
|
28298
27757
|
ResourceClaimPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
28299
27758
|
|
|
28300
27759
|
@pulumi.input_type
|
|
28301
27760
|
class ResourceClaimPatchArgs:
|
|
28302
27761
|
def __init__(__self__, *,
|
|
28303
|
-
name: Optional[pulumi.Input[str]] = None
|
|
28304
|
-
request: Optional[pulumi.Input[str]] = None):
|
|
27762
|
+
name: Optional[pulumi.Input[str]] = None):
|
|
28305
27763
|
"""
|
|
28306
27764
|
ResourceClaim references one entry in PodSpec.ResourceClaims.
|
|
28307
27765
|
:param pulumi.Input[str] name: Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
|
|
28308
|
-
:param pulumi.Input[str] request: Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.
|
|
28309
27766
|
"""
|
|
28310
27767
|
if name is not None:
|
|
28311
27768
|
pulumi.set(__self__, "name", name)
|
|
28312
|
-
if request is not None:
|
|
28313
|
-
pulumi.set(__self__, "request", request)
|
|
28314
27769
|
|
|
28315
27770
|
@property
|
|
28316
27771
|
@pulumi.getter
|
|
@@ -28324,18 +27779,6 @@ class ResourceClaimPatchArgs:
|
|
|
28324
27779
|
def name(self, value: Optional[pulumi.Input[str]]):
|
|
28325
27780
|
pulumi.set(self, "name", value)
|
|
28326
27781
|
|
|
28327
|
-
@property
|
|
28328
|
-
@pulumi.getter
|
|
28329
|
-
def request(self) -> Optional[pulumi.Input[str]]:
|
|
28330
|
-
"""
|
|
28331
|
-
Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.
|
|
28332
|
-
"""
|
|
28333
|
-
return pulumi.get(self, "request")
|
|
28334
|
-
|
|
28335
|
-
@request.setter
|
|
28336
|
-
def request(self, value: Optional[pulumi.Input[str]]):
|
|
28337
|
-
pulumi.set(self, "request", value)
|
|
28338
|
-
|
|
28339
27782
|
|
|
28340
27783
|
if not MYPY:
|
|
28341
27784
|
class ResourceClaimArgsDict(TypedDict):
|
|
@@ -28346,26 +27789,18 @@ if not MYPY:
|
|
|
28346
27789
|
"""
|
|
28347
27790
|
Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
|
|
28348
27791
|
"""
|
|
28349
|
-
request: NotRequired[pulumi.Input[str]]
|
|
28350
|
-
"""
|
|
28351
|
-
Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.
|
|
28352
|
-
"""
|
|
28353
27792
|
elif False:
|
|
28354
27793
|
ResourceClaimArgsDict: TypeAlias = Mapping[str, Any]
|
|
28355
27794
|
|
|
28356
27795
|
@pulumi.input_type
|
|
28357
27796
|
class ResourceClaimArgs:
|
|
28358
27797
|
def __init__(__self__, *,
|
|
28359
|
-
name: pulumi.Input[str]
|
|
28360
|
-
request: Optional[pulumi.Input[str]] = None):
|
|
27798
|
+
name: pulumi.Input[str]):
|
|
28361
27799
|
"""
|
|
28362
27800
|
ResourceClaim references one entry in PodSpec.ResourceClaims.
|
|
28363
27801
|
:param pulumi.Input[str] name: Name must match the name of one entry in pod.spec.resourceClaims of the Pod where this field is used. It makes that resource available inside a container.
|
|
28364
|
-
:param pulumi.Input[str] request: Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.
|
|
28365
27802
|
"""
|
|
28366
27803
|
pulumi.set(__self__, "name", name)
|
|
28367
|
-
if request is not None:
|
|
28368
|
-
pulumi.set(__self__, "request", request)
|
|
28369
27804
|
|
|
28370
27805
|
@property
|
|
28371
27806
|
@pulumi.getter
|
|
@@ -28379,18 +27814,6 @@ class ResourceClaimArgs:
|
|
|
28379
27814
|
def name(self, value: pulumi.Input[str]):
|
|
28380
27815
|
pulumi.set(self, "name", value)
|
|
28381
27816
|
|
|
28382
|
-
@property
|
|
28383
|
-
@pulumi.getter
|
|
28384
|
-
def request(self) -> Optional[pulumi.Input[str]]:
|
|
28385
|
-
"""
|
|
28386
|
-
Request is the name chosen for a request in the referenced claim. If empty, everything from the claim is made available, otherwise only the result of this request.
|
|
28387
|
-
"""
|
|
28388
|
-
return pulumi.get(self, "request")
|
|
28389
|
-
|
|
28390
|
-
@request.setter
|
|
28391
|
-
def request(self, value: Optional[pulumi.Input[str]]):
|
|
28392
|
-
pulumi.set(self, "request", value)
|
|
28393
|
-
|
|
28394
27817
|
|
|
28395
27818
|
if not MYPY:
|
|
28396
27819
|
class ResourceFieldSelectorPatchArgsDict(TypedDict):
|
|
@@ -28543,85 +27966,6 @@ class ResourceFieldSelectorArgs:
|
|
|
28543
27966
|
pulumi.set(self, "divisor", value)
|
|
28544
27967
|
|
|
28545
27968
|
|
|
28546
|
-
if not MYPY:
|
|
28547
|
-
class ResourceHealthArgsDict(TypedDict):
|
|
28548
|
-
"""
|
|
28549
|
-
ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680 and historical health changes are planned to be added in future iterations of a KEP.
|
|
28550
|
-
"""
|
|
28551
|
-
resource_id: pulumi.Input[str]
|
|
28552
|
-
"""
|
|
28553
|
-
ResourceID is the unique identifier of the resource. See the ResourceID type for more information.
|
|
28554
|
-
"""
|
|
28555
|
-
health: NotRequired[pulumi.Input[str]]
|
|
28556
|
-
"""
|
|
28557
|
-
Health of the resource. can be one of:
|
|
28558
|
-
- Healthy: operates as normal
|
|
28559
|
-
- Unhealthy: reported unhealthy. We consider this a temporary health issue
|
|
28560
|
-
since we do not have a mechanism today to distinguish
|
|
28561
|
-
temporary and permanent issues.
|
|
28562
|
-
- Unknown: The status cannot be determined.
|
|
28563
|
-
For example, Device Plugin got unregistered and hasn't been re-registered since.
|
|
28564
|
-
|
|
28565
|
-
In future we may want to introduce the PermanentlyUnhealthy Status.
|
|
28566
|
-
"""
|
|
28567
|
-
elif False:
|
|
28568
|
-
ResourceHealthArgsDict: TypeAlias = Mapping[str, Any]
|
|
28569
|
-
|
|
28570
|
-
@pulumi.input_type
|
|
28571
|
-
class ResourceHealthArgs:
|
|
28572
|
-
def __init__(__self__, *,
|
|
28573
|
-
resource_id: pulumi.Input[str],
|
|
28574
|
-
health: Optional[pulumi.Input[str]] = None):
|
|
28575
|
-
"""
|
|
28576
|
-
ResourceHealth represents the health of a resource. It has the latest device health information. This is a part of KEP https://kep.k8s.io/4680 and historical health changes are planned to be added in future iterations of a KEP.
|
|
28577
|
-
:param pulumi.Input[str] resource_id: ResourceID is the unique identifier of the resource. See the ResourceID type for more information.
|
|
28578
|
-
:param pulumi.Input[str] health: Health of the resource. can be one of:
|
|
28579
|
-
- Healthy: operates as normal
|
|
28580
|
-
- Unhealthy: reported unhealthy. We consider this a temporary health issue
|
|
28581
|
-
since we do not have a mechanism today to distinguish
|
|
28582
|
-
temporary and permanent issues.
|
|
28583
|
-
- Unknown: The status cannot be determined.
|
|
28584
|
-
For example, Device Plugin got unregistered and hasn't been re-registered since.
|
|
28585
|
-
|
|
28586
|
-
In future we may want to introduce the PermanentlyUnhealthy Status.
|
|
28587
|
-
"""
|
|
28588
|
-
pulumi.set(__self__, "resource_id", resource_id)
|
|
28589
|
-
if health is not None:
|
|
28590
|
-
pulumi.set(__self__, "health", health)
|
|
28591
|
-
|
|
28592
|
-
@property
|
|
28593
|
-
@pulumi.getter(name="resourceID")
|
|
28594
|
-
def resource_id(self) -> pulumi.Input[str]:
|
|
28595
|
-
"""
|
|
28596
|
-
ResourceID is the unique identifier of the resource. See the ResourceID type for more information.
|
|
28597
|
-
"""
|
|
28598
|
-
return pulumi.get(self, "resource_id")
|
|
28599
|
-
|
|
28600
|
-
@resource_id.setter
|
|
28601
|
-
def resource_id(self, value: pulumi.Input[str]):
|
|
28602
|
-
pulumi.set(self, "resource_id", value)
|
|
28603
|
-
|
|
28604
|
-
@property
|
|
28605
|
-
@pulumi.getter
|
|
28606
|
-
def health(self) -> Optional[pulumi.Input[str]]:
|
|
28607
|
-
"""
|
|
28608
|
-
Health of the resource. can be one of:
|
|
28609
|
-
- Healthy: operates as normal
|
|
28610
|
-
- Unhealthy: reported unhealthy. We consider this a temporary health issue
|
|
28611
|
-
since we do not have a mechanism today to distinguish
|
|
28612
|
-
temporary and permanent issues.
|
|
28613
|
-
- Unknown: The status cannot be determined.
|
|
28614
|
-
For example, Device Plugin got unregistered and hasn't been re-registered since.
|
|
28615
|
-
|
|
28616
|
-
In future we may want to introduce the PermanentlyUnhealthy Status.
|
|
28617
|
-
"""
|
|
28618
|
-
return pulumi.get(self, "health")
|
|
28619
|
-
|
|
28620
|
-
@health.setter
|
|
28621
|
-
def health(self, value: Optional[pulumi.Input[str]]):
|
|
28622
|
-
pulumi.set(self, "health", value)
|
|
28623
|
-
|
|
28624
|
-
|
|
28625
27969
|
if not MYPY:
|
|
28626
27970
|
class ResourceQuotaSpecPatchArgsDict(TypedDict):
|
|
28627
27971
|
"""
|
|
@@ -29122,57 +28466,6 @@ class ResourceRequirementsArgs:
|
|
|
29122
28466
|
pulumi.set(self, "requests", value)
|
|
29123
28467
|
|
|
29124
28468
|
|
|
29125
|
-
if not MYPY:
|
|
29126
|
-
class ResourceStatusArgsDict(TypedDict):
|
|
29127
|
-
name: pulumi.Input[str]
|
|
29128
|
-
"""
|
|
29129
|
-
Name of the resource. Must be unique within the pod and match one of the resources from the pod spec.
|
|
29130
|
-
"""
|
|
29131
|
-
resources: NotRequired[pulumi.Input[Sequence[pulumi.Input['ResourceHealthArgsDict']]]]
|
|
29132
|
-
"""
|
|
29133
|
-
List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it's definition.
|
|
29134
|
-
"""
|
|
29135
|
-
elif False:
|
|
29136
|
-
ResourceStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
29137
|
-
|
|
29138
|
-
@pulumi.input_type
|
|
29139
|
-
class ResourceStatusArgs:
|
|
29140
|
-
def __init__(__self__, *,
|
|
29141
|
-
name: pulumi.Input[str],
|
|
29142
|
-
resources: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceHealthArgs']]]] = None):
|
|
29143
|
-
"""
|
|
29144
|
-
:param pulumi.Input[str] name: Name of the resource. Must be unique within the pod and match one of the resources from the pod spec.
|
|
29145
|
-
:param pulumi.Input[Sequence[pulumi.Input['ResourceHealthArgs']]] resources: List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it's definition.
|
|
29146
|
-
"""
|
|
29147
|
-
pulumi.set(__self__, "name", name)
|
|
29148
|
-
if resources is not None:
|
|
29149
|
-
pulumi.set(__self__, "resources", resources)
|
|
29150
|
-
|
|
29151
|
-
@property
|
|
29152
|
-
@pulumi.getter
|
|
29153
|
-
def name(self) -> pulumi.Input[str]:
|
|
29154
|
-
"""
|
|
29155
|
-
Name of the resource. Must be unique within the pod and match one of the resources from the pod spec.
|
|
29156
|
-
"""
|
|
29157
|
-
return pulumi.get(self, "name")
|
|
29158
|
-
|
|
29159
|
-
@name.setter
|
|
29160
|
-
def name(self, value: pulumi.Input[str]):
|
|
29161
|
-
pulumi.set(self, "name", value)
|
|
29162
|
-
|
|
29163
|
-
@property
|
|
29164
|
-
@pulumi.getter
|
|
29165
|
-
def resources(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ResourceHealthArgs']]]]:
|
|
29166
|
-
"""
|
|
29167
|
-
List of unique Resources health. Each element in the list contains an unique resource ID and resource health. At a minimum, ResourceID must uniquely identify the Resource allocated to the Pod on the Node for the lifetime of a Pod. See ResourceID type for it's definition.
|
|
29168
|
-
"""
|
|
29169
|
-
return pulumi.get(self, "resources")
|
|
29170
|
-
|
|
29171
|
-
@resources.setter
|
|
29172
|
-
def resources(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ResourceHealthArgs']]]]):
|
|
29173
|
-
pulumi.set(self, "resources", value)
|
|
29174
|
-
|
|
29175
|
-
|
|
29176
28469
|
if not MYPY:
|
|
29177
28470
|
class SELinuxOptionsPatchArgsDict(TypedDict):
|
|
29178
28471
|
"""
|
|
@@ -30577,7 +29870,7 @@ if not MYPY:
|
|
|
30577
29870
|
"""
|
|
30578
29871
|
name: NotRequired[pulumi.Input[str]]
|
|
30579
29872
|
"""
|
|
30580
|
-
Name of the referent.
|
|
29873
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30581
29874
|
"""
|
|
30582
29875
|
optional: NotRequired[pulumi.Input[bool]]
|
|
30583
29876
|
"""
|
|
@@ -30595,7 +29888,7 @@ class SecretEnvSourcePatchArgs:
|
|
|
30595
29888
|
SecretEnvSource selects a Secret to populate the environment variables with.
|
|
30596
29889
|
|
|
30597
29890
|
The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
|
|
30598
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
29891
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30599
29892
|
:param pulumi.Input[bool] optional: Specify whether the Secret must be defined
|
|
30600
29893
|
"""
|
|
30601
29894
|
if name is not None:
|
|
@@ -30607,7 +29900,7 @@ class SecretEnvSourcePatchArgs:
|
|
|
30607
29900
|
@pulumi.getter
|
|
30608
29901
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
30609
29902
|
"""
|
|
30610
|
-
Name of the referent.
|
|
29903
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30611
29904
|
"""
|
|
30612
29905
|
return pulumi.get(self, "name")
|
|
30613
29906
|
|
|
@@ -30637,7 +29930,7 @@ if not MYPY:
|
|
|
30637
29930
|
"""
|
|
30638
29931
|
name: NotRequired[pulumi.Input[str]]
|
|
30639
29932
|
"""
|
|
30640
|
-
Name of the referent.
|
|
29933
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30641
29934
|
"""
|
|
30642
29935
|
optional: NotRequired[pulumi.Input[bool]]
|
|
30643
29936
|
"""
|
|
@@ -30655,7 +29948,7 @@ class SecretEnvSourceArgs:
|
|
|
30655
29948
|
SecretEnvSource selects a Secret to populate the environment variables with.
|
|
30656
29949
|
|
|
30657
29950
|
The contents of the target Secret's Data field will represent the key-value pairs as environment variables.
|
|
30658
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
29951
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30659
29952
|
:param pulumi.Input[bool] optional: Specify whether the Secret must be defined
|
|
30660
29953
|
"""
|
|
30661
29954
|
if name is not None:
|
|
@@ -30667,7 +29960,7 @@ class SecretEnvSourceArgs:
|
|
|
30667
29960
|
@pulumi.getter
|
|
30668
29961
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
30669
29962
|
"""
|
|
30670
|
-
Name of the referent.
|
|
29963
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30671
29964
|
"""
|
|
30672
29965
|
return pulumi.get(self, "name")
|
|
30673
29966
|
|
|
@@ -30699,7 +29992,7 @@ if not MYPY:
|
|
|
30699
29992
|
"""
|
|
30700
29993
|
name: NotRequired[pulumi.Input[str]]
|
|
30701
29994
|
"""
|
|
30702
|
-
Name of the referent.
|
|
29995
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30703
29996
|
"""
|
|
30704
29997
|
optional: NotRequired[pulumi.Input[bool]]
|
|
30705
29998
|
"""
|
|
@@ -30717,7 +30010,7 @@ class SecretKeySelectorPatchArgs:
|
|
|
30717
30010
|
"""
|
|
30718
30011
|
SecretKeySelector selects a key of a Secret.
|
|
30719
30012
|
:param pulumi.Input[str] key: The key of the secret to select from. Must be a valid secret key.
|
|
30720
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
30013
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30721
30014
|
:param pulumi.Input[bool] optional: Specify whether the Secret or its key must be defined
|
|
30722
30015
|
"""
|
|
30723
30016
|
if key is not None:
|
|
@@ -30743,7 +30036,7 @@ class SecretKeySelectorPatchArgs:
|
|
|
30743
30036
|
@pulumi.getter
|
|
30744
30037
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
30745
30038
|
"""
|
|
30746
|
-
Name of the referent.
|
|
30039
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30747
30040
|
"""
|
|
30748
30041
|
return pulumi.get(self, "name")
|
|
30749
30042
|
|
|
@@ -30775,7 +30068,7 @@ if not MYPY:
|
|
|
30775
30068
|
"""
|
|
30776
30069
|
name: NotRequired[pulumi.Input[str]]
|
|
30777
30070
|
"""
|
|
30778
|
-
Name of the referent.
|
|
30071
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30779
30072
|
"""
|
|
30780
30073
|
optional: NotRequired[pulumi.Input[bool]]
|
|
30781
30074
|
"""
|
|
@@ -30793,7 +30086,7 @@ class SecretKeySelectorArgs:
|
|
|
30793
30086
|
"""
|
|
30794
30087
|
SecretKeySelector selects a key of a Secret.
|
|
30795
30088
|
:param pulumi.Input[str] key: The key of the secret to select from. Must be a valid secret key.
|
|
30796
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
30089
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30797
30090
|
:param pulumi.Input[bool] optional: Specify whether the Secret or its key must be defined
|
|
30798
30091
|
"""
|
|
30799
30092
|
pulumi.set(__self__, "key", key)
|
|
@@ -30818,7 +30111,7 @@ class SecretKeySelectorArgs:
|
|
|
30818
30111
|
@pulumi.getter
|
|
30819
30112
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
30820
30113
|
"""
|
|
30821
|
-
Name of the referent.
|
|
30114
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30822
30115
|
"""
|
|
30823
30116
|
return pulumi.get(self, "name")
|
|
30824
30117
|
|
|
@@ -30852,7 +30145,7 @@ if not MYPY:
|
|
|
30852
30145
|
"""
|
|
30853
30146
|
name: NotRequired[pulumi.Input[str]]
|
|
30854
30147
|
"""
|
|
30855
|
-
Name of the referent.
|
|
30148
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30856
30149
|
"""
|
|
30857
30150
|
optional: NotRequired[pulumi.Input[bool]]
|
|
30858
30151
|
"""
|
|
@@ -30872,7 +30165,7 @@ class SecretProjectionPatchArgs:
|
|
|
30872
30165
|
|
|
30873
30166
|
The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.
|
|
30874
30167
|
:param pulumi.Input[Sequence[pulumi.Input['KeyToPathPatchArgs']]] items: items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
|
|
30875
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
30168
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30876
30169
|
:param pulumi.Input[bool] optional: optional field specify whether the Secret or its key must be defined
|
|
30877
30170
|
"""
|
|
30878
30171
|
if items is not None:
|
|
@@ -30898,7 +30191,7 @@ class SecretProjectionPatchArgs:
|
|
|
30898
30191
|
@pulumi.getter
|
|
30899
30192
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
30900
30193
|
"""
|
|
30901
|
-
Name of the referent.
|
|
30194
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30902
30195
|
"""
|
|
30903
30196
|
return pulumi.get(self, "name")
|
|
30904
30197
|
|
|
@@ -30932,7 +30225,7 @@ if not MYPY:
|
|
|
30932
30225
|
"""
|
|
30933
30226
|
name: NotRequired[pulumi.Input[str]]
|
|
30934
30227
|
"""
|
|
30935
|
-
Name of the referent.
|
|
30228
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30936
30229
|
"""
|
|
30937
30230
|
optional: NotRequired[pulumi.Input[bool]]
|
|
30938
30231
|
"""
|
|
@@ -30952,7 +30245,7 @@ class SecretProjectionArgs:
|
|
|
30952
30245
|
|
|
30953
30246
|
The contents of the target Secret's Data field will be presented in a projected volume as files using the keys in the Data field as the file names. Note that this is identical to a secret volume source without the default mode.
|
|
30954
30247
|
:param pulumi.Input[Sequence[pulumi.Input['KeyToPathArgs']]] items: items if unspecified, each key-value pair in the Data field of the referenced Secret will be projected into the volume as a file whose name is the key and content is the value. If specified, the listed keys will be projected into the specified paths, and unlisted keys will not be present. If a key is specified which is not present in the Secret, the volume setup will error unless it is marked optional. Paths must be relative and may not contain the '..' path or start with '..'.
|
|
30955
|
-
:param pulumi.Input[str] name: Name of the referent.
|
|
30248
|
+
:param pulumi.Input[str] name: Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30956
30249
|
:param pulumi.Input[bool] optional: optional field specify whether the Secret or its key must be defined
|
|
30957
30250
|
"""
|
|
30958
30251
|
if items is not None:
|
|
@@ -30978,7 +30271,7 @@ class SecretProjectionArgs:
|
|
|
30978
30271
|
@pulumi.getter
|
|
30979
30272
|
def name(self) -> Optional[pulumi.Input[str]]:
|
|
30980
30273
|
"""
|
|
30981
|
-
Name of the referent.
|
|
30274
|
+
Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
30982
30275
|
"""
|
|
30983
30276
|
return pulumi.get(self, "name")
|
|
30984
30277
|
|
|
@@ -31510,7 +30803,7 @@ if not MYPY:
|
|
|
31510
30803
|
"""
|
|
31511
30804
|
proc_mount: NotRequired[pulumi.Input[str]]
|
|
31512
30805
|
"""
|
|
31513
|
-
procMount denotes the type of proc mount to use for the containers. The default
|
|
30806
|
+
procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.
|
|
31514
30807
|
"""
|
|
31515
30808
|
read_only_root_filesystem: NotRequired[pulumi.Input[bool]]
|
|
31516
30809
|
"""
|
|
@@ -31564,7 +30857,7 @@ class SecurityContextPatchArgs:
|
|
|
31564
30857
|
:param pulumi.Input['AppArmorProfilePatchArgs'] app_armor_profile: appArmorProfile is the AppArmor options to use by this container. If set, this profile overrides the pod's appArmorProfile. Note that this field cannot be set when spec.os.name is windows.
|
|
31565
30858
|
:param pulumi.Input['CapabilitiesPatchArgs'] capabilities: The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows.
|
|
31566
30859
|
:param pulumi.Input[bool] privileged: Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.
|
|
31567
|
-
:param pulumi.Input[str] proc_mount: procMount denotes the type of proc mount to use for the containers. The default
|
|
30860
|
+
:param pulumi.Input[str] proc_mount: procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.
|
|
31568
30861
|
:param pulumi.Input[bool] read_only_root_filesystem: Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.
|
|
31569
30862
|
:param pulumi.Input[int] run_as_group: The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.
|
|
31570
30863
|
:param pulumi.Input[bool] run_as_non_root: Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
|
|
@@ -31650,7 +30943,7 @@ class SecurityContextPatchArgs:
|
|
|
31650
30943
|
@pulumi.getter(name="procMount")
|
|
31651
30944
|
def proc_mount(self) -> Optional[pulumi.Input[str]]:
|
|
31652
30945
|
"""
|
|
31653
|
-
procMount denotes the type of proc mount to use for the containers. The default
|
|
30946
|
+
procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.
|
|
31654
30947
|
"""
|
|
31655
30948
|
return pulumi.get(self, "proc_mount")
|
|
31656
30949
|
|
|
@@ -31766,7 +31059,7 @@ if not MYPY:
|
|
|
31766
31059
|
"""
|
|
31767
31060
|
proc_mount: NotRequired[pulumi.Input[str]]
|
|
31768
31061
|
"""
|
|
31769
|
-
procMount denotes the type of proc mount to use for the containers. The default
|
|
31062
|
+
procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.
|
|
31770
31063
|
"""
|
|
31771
31064
|
read_only_root_filesystem: NotRequired[pulumi.Input[bool]]
|
|
31772
31065
|
"""
|
|
@@ -31820,7 +31113,7 @@ class SecurityContextArgs:
|
|
|
31820
31113
|
:param pulumi.Input['AppArmorProfileArgs'] app_armor_profile: appArmorProfile is the AppArmor options to use by this container. If set, this profile overrides the pod's appArmorProfile. Note that this field cannot be set when spec.os.name is windows.
|
|
31821
31114
|
:param pulumi.Input['CapabilitiesArgs'] capabilities: The capabilities to add/drop when running containers. Defaults to the default set of capabilities granted by the container runtime. Note that this field cannot be set when spec.os.name is windows.
|
|
31822
31115
|
:param pulumi.Input[bool] privileged: Run container in privileged mode. Processes in privileged containers are essentially equivalent to root on the host. Defaults to false. Note that this field cannot be set when spec.os.name is windows.
|
|
31823
|
-
:param pulumi.Input[str] proc_mount: procMount denotes the type of proc mount to use for the containers. The default
|
|
31116
|
+
:param pulumi.Input[str] proc_mount: procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.
|
|
31824
31117
|
:param pulumi.Input[bool] read_only_root_filesystem: Whether this container has a read-only root filesystem. Default is false. Note that this field cannot be set when spec.os.name is windows.
|
|
31825
31118
|
:param pulumi.Input[int] run_as_group: The GID to run the entrypoint of the container process. Uses runtime default if unset. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence. Note that this field cannot be set when spec.os.name is windows.
|
|
31826
31119
|
:param pulumi.Input[bool] run_as_non_root: Indicates that the container must run as a non-root user. If true, the Kubelet will validate the image at runtime to ensure that it does not run as UID 0 (root) and fail to start the container if it does. If unset or false, no such validation will be performed. May also be set in PodSecurityContext. If set in both SecurityContext and PodSecurityContext, the value specified in SecurityContext takes precedence.
|
|
@@ -31906,7 +31199,7 @@ class SecurityContextArgs:
|
|
|
31906
31199
|
@pulumi.getter(name="procMount")
|
|
31907
31200
|
def proc_mount(self) -> Optional[pulumi.Input[str]]:
|
|
31908
31201
|
"""
|
|
31909
|
-
procMount denotes the type of proc mount to use for the containers. The default
|
|
31202
|
+
procMount denotes the type of proc mount to use for the containers. The default is DefaultProcMount which uses the container runtime defaults for readonly paths and masked paths. This requires the ProcMountType feature flag to be enabled. Note that this field cannot be set when spec.os.name is windows.
|
|
31910
31203
|
"""
|
|
31911
31204
|
return pulumi.get(self, "proc_mount")
|
|
31912
31205
|
|
|
@@ -32702,7 +31995,7 @@ if not MYPY:
|
|
|
32702
31995
|
"""
|
|
32703
31996
|
traffic_distribution: NotRequired[pulumi.Input[str]]
|
|
32704
31997
|
"""
|
|
32705
|
-
TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to "PreferClose", implementations should prioritize endpoints that are topologically close (e.g., same zone).
|
|
31998
|
+
TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to "PreferClose", implementations should prioritize endpoints that are topologically close (e.g., same zone).
|
|
32706
31999
|
"""
|
|
32707
32000
|
type: NotRequired[pulumi.Input[Union[str, 'ServiceSpecType']]]
|
|
32708
32001
|
"""
|
|
@@ -32762,7 +32055,7 @@ class ServiceSpecPatchArgs:
|
|
|
32762
32055
|
:param pulumi.Input[str] session_affinity: Supports "ClientIP" and "None". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
|
|
32763
32056
|
:param pulumi.Input['SessionAffinityConfigPatchArgs'] session_affinity_config: sessionAffinityConfig contains the configurations of session affinity.
|
|
32764
32057
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] topology_keys: topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value "*" may be used to mean "any topology". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied.
|
|
32765
|
-
:param pulumi.Input[str] traffic_distribution: TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to "PreferClose", implementations should prioritize endpoints that are topologically close (e.g., same zone).
|
|
32058
|
+
:param pulumi.Input[str] traffic_distribution: TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to "PreferClose", implementations should prioritize endpoints that are topologically close (e.g., same zone).
|
|
32766
32059
|
:param pulumi.Input[Union[str, 'ServiceSpecType']] type: type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. "ClusterIP" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is "None", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. "NodePort" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. "LoadBalancer" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. "ExternalName" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
|
|
32767
32060
|
"""
|
|
32768
32061
|
if allocate_load_balancer_node_ports is not None:
|
|
@@ -33058,7 +32351,7 @@ class ServiceSpecPatchArgs:
|
|
|
33058
32351
|
@pulumi.getter(name="trafficDistribution")
|
|
33059
32352
|
def traffic_distribution(self) -> Optional[pulumi.Input[str]]:
|
|
33060
32353
|
"""
|
|
33061
|
-
TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to "PreferClose", implementations should prioritize endpoints that are topologically close (e.g., same zone).
|
|
32354
|
+
TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to "PreferClose", implementations should prioritize endpoints that are topologically close (e.g., same zone).
|
|
33062
32355
|
"""
|
|
33063
32356
|
return pulumi.get(self, "traffic_distribution")
|
|
33064
32357
|
|
|
@@ -33170,7 +32463,7 @@ if not MYPY:
|
|
|
33170
32463
|
"""
|
|
33171
32464
|
traffic_distribution: NotRequired[pulumi.Input[str]]
|
|
33172
32465
|
"""
|
|
33173
|
-
TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to "PreferClose", implementations should prioritize endpoints that are topologically close (e.g., same zone).
|
|
32466
|
+
TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to "PreferClose", implementations should prioritize endpoints that are topologically close (e.g., same zone).
|
|
33174
32467
|
"""
|
|
33175
32468
|
type: NotRequired[pulumi.Input[Union[str, 'ServiceSpecType']]]
|
|
33176
32469
|
"""
|
|
@@ -33230,7 +32523,7 @@ class ServiceSpecArgs:
|
|
|
33230
32523
|
:param pulumi.Input[str] session_affinity: Supports "ClientIP" and "None". Used to maintain session affinity. Enable client IP based session affinity. Must be ClientIP or None. Defaults to None. More info: https://kubernetes.io/docs/concepts/services-networking/service/#virtual-ips-and-service-proxies
|
|
33231
32524
|
:param pulumi.Input['SessionAffinityConfigArgs'] session_affinity_config: sessionAffinityConfig contains the configurations of session affinity.
|
|
33232
32525
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] topology_keys: topologyKeys is a preference-order list of topology keys which implementations of services should use to preferentially sort endpoints when accessing this Service, it can not be used at the same time as externalTrafficPolicy=Local. Topology keys must be valid label keys and at most 16 keys may be specified. Endpoints are chosen based on the first topology key with available backends. If this field is specified and all entries have no backends that match the topology of the client, the service has no backends for that client and connections should fail. The special value "*" may be used to mean "any topology". This catch-all value, if used, only makes sense as the last value in the list. If this is not specified or empty, no topology constraints will be applied.
|
|
33233
|
-
:param pulumi.Input[str] traffic_distribution: TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to "PreferClose", implementations should prioritize endpoints that are topologically close (e.g., same zone).
|
|
32526
|
+
:param pulumi.Input[str] traffic_distribution: TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to "PreferClose", implementations should prioritize endpoints that are topologically close (e.g., same zone).
|
|
33234
32527
|
:param pulumi.Input[Union[str, 'ServiceSpecType']] type: type determines how the Service is exposed. Defaults to ClusterIP. Valid options are ExternalName, ClusterIP, NodePort, and LoadBalancer. "ClusterIP" allocates a cluster-internal IP address for load-balancing to endpoints. Endpoints are determined by the selector or if that is not specified, by manual construction of an Endpoints object or EndpointSlice objects. If clusterIP is "None", no virtual IP is allocated and the endpoints are published as a set of endpoints rather than a virtual IP. "NodePort" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. "LoadBalancer" builds on NodePort and creates an external load-balancer (if supported in the current cloud) which routes to the same endpoints as the clusterIP. "ExternalName" aliases this service to the specified externalName. Several other fields do not apply to ExternalName services. More info: https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
|
|
33235
32528
|
"""
|
|
33236
32529
|
if allocate_load_balancer_node_ports is not None:
|
|
@@ -33526,7 +32819,7 @@ class ServiceSpecArgs:
|
|
|
33526
32819
|
@pulumi.getter(name="trafficDistribution")
|
|
33527
32820
|
def traffic_distribution(self) -> Optional[pulumi.Input[str]]:
|
|
33528
32821
|
"""
|
|
33529
|
-
TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to "PreferClose", implementations should prioritize endpoints that are topologically close (e.g., same zone).
|
|
32822
|
+
TrafficDistribution offers a way to express preferences for how traffic is distributed to Service endpoints. Implementations can use this field as a hint, but are not required to guarantee strict adherence. If the field is not set, the implementation will apply its default routing strategy. If set to "PreferClose", implementations should prioritize endpoints that are topologically close (e.g., same zone).
|
|
33530
32823
|
"""
|
|
33531
32824
|
return pulumi.get(self, "traffic_distribution")
|
|
33532
32825
|
|
|
@@ -33616,11 +32909,19 @@ if not MYPY:
|
|
|
33616
32909
|
1. Service object exists.
|
|
33617
32910
|
2. Related Endpoint objects are created. Each time we get an update, wait 10 seconds
|
|
33618
32911
|
for any stragglers.
|
|
33619
|
-
3.
|
|
33620
|
-
headless" Service [1]
|
|
33621
|
-
without a selector.
|
|
32912
|
+
3. The endpoints objects target some number of living objects (unless the Service is
|
|
32913
|
+
an "empty headless" Service [1] or a Service with '.spec.type: ExternalName').
|
|
33622
32914
|
4. External IP address is allocated (if Service has '.spec.type: LoadBalancer').
|
|
33623
32915
|
|
|
32916
|
+
Known limitations:
|
|
32917
|
+
Services targeting ReplicaSets (and, by extension, Deployments,
|
|
32918
|
+
StatefulSets, etc.) with '.spec.replicas' set to 0 are not handled, and will time
|
|
32919
|
+
out. To work around this limitation, set 'pulumi.com/skipAwait: "true"' on
|
|
32920
|
+
'.metadata.annotations' for the Service. Work to handle this case is in progress [2].
|
|
32921
|
+
|
|
32922
|
+
[1] https://kubernetes.io/docs/concepts/services-networking/service/#headless-services
|
|
32923
|
+
[2] https://github.com/pulumi/pulumi-kubernetes/pull/703
|
|
32924
|
+
|
|
33624
32925
|
If the Service has not reached a Ready state after 10 minutes, it will
|
|
33625
32926
|
time out and mark the resource update as Failed. You can override the default timeout value
|
|
33626
32927
|
by setting the 'customTimeouts' option on the resource.
|
|
@@ -33667,11 +32968,19 @@ class ServiceArgs:
|
|
|
33667
32968
|
1. Service object exists.
|
|
33668
32969
|
2. Related Endpoint objects are created. Each time we get an update, wait 10 seconds
|
|
33669
32970
|
for any stragglers.
|
|
33670
|
-
3.
|
|
33671
|
-
headless" Service [1]
|
|
33672
|
-
without a selector.
|
|
32971
|
+
3. The endpoints objects target some number of living objects (unless the Service is
|
|
32972
|
+
an "empty headless" Service [1] or a Service with '.spec.type: ExternalName').
|
|
33673
32973
|
4. External IP address is allocated (if Service has '.spec.type: LoadBalancer').
|
|
33674
32974
|
|
|
32975
|
+
Known limitations:
|
|
32976
|
+
Services targeting ReplicaSets (and, by extension, Deployments,
|
|
32977
|
+
StatefulSets, etc.) with '.spec.replicas' set to 0 are not handled, and will time
|
|
32978
|
+
out. To work around this limitation, set 'pulumi.com/skipAwait: "true"' on
|
|
32979
|
+
'.metadata.annotations' for the Service. Work to handle this case is in progress [2].
|
|
32980
|
+
|
|
32981
|
+
[1] https://kubernetes.io/docs/concepts/services-networking/service/#headless-services
|
|
32982
|
+
[2] https://github.com/pulumi/pulumi-kubernetes/pull/703
|
|
32983
|
+
|
|
33675
32984
|
If the Service has not reached a Ready state after 10 minutes, it will
|
|
33676
32985
|
time out and mark the resource update as Failed. You can override the default timeout value
|
|
33677
32986
|
by setting the 'customTimeouts' option on the resource.
|
|
@@ -36652,14 +35961,6 @@ if not MYPY:
|
|
|
36652
35961
|
"""
|
|
36653
35962
|
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
|
|
36654
35963
|
"""
|
|
36655
|
-
image: NotRequired[pulumi.Input['ImageVolumeSourcePatchArgsDict']]
|
|
36656
|
-
"""
|
|
36657
|
-
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:
|
|
36658
|
-
|
|
36659
|
-
- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
|
|
36660
|
-
|
|
36661
|
-
The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
|
|
36662
|
-
"""
|
|
36663
35964
|
iscsi: NotRequired[pulumi.Input['ISCSIVolumeSourcePatchArgsDict']]
|
|
36664
35965
|
"""
|
|
36665
35966
|
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md
|
|
@@ -36735,7 +36036,6 @@ class VolumePatchArgs:
|
|
|
36735
36036
|
git_repo: Optional[pulumi.Input['GitRepoVolumeSourcePatchArgs']] = None,
|
|
36736
36037
|
glusterfs: Optional[pulumi.Input['GlusterfsVolumeSourcePatchArgs']] = None,
|
|
36737
36038
|
host_path: Optional[pulumi.Input['HostPathVolumeSourcePatchArgs']] = None,
|
|
36738
|
-
image: Optional[pulumi.Input['ImageVolumeSourcePatchArgs']] = None,
|
|
36739
36039
|
iscsi: Optional[pulumi.Input['ISCSIVolumeSourcePatchArgs']] = None,
|
|
36740
36040
|
name: Optional[pulumi.Input[str]] = None,
|
|
36741
36041
|
nfs: Optional[pulumi.Input['NFSVolumeSourcePatchArgs']] = None,
|
|
@@ -36781,11 +36081,6 @@ class VolumePatchArgs:
|
|
|
36781
36081
|
:param pulumi.Input['GitRepoVolumeSourcePatchArgs'] git_repo: gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.
|
|
36782
36082
|
:param pulumi.Input['GlusterfsVolumeSourcePatchArgs'] glusterfs: glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md
|
|
36783
36083
|
:param pulumi.Input['HostPathVolumeSourcePatchArgs'] host_path: hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
|
|
36784
|
-
:param pulumi.Input['ImageVolumeSourcePatchArgs'] image: image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:
|
|
36785
|
-
|
|
36786
|
-
- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
|
|
36787
|
-
|
|
36788
|
-
The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
|
|
36789
36084
|
:param pulumi.Input['ISCSIVolumeSourcePatchArgs'] iscsi: iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md
|
|
36790
36085
|
:param pulumi.Input[str] name: name of the volume. Must be a DNS_LABEL and unique within the pod. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
36791
36086
|
:param pulumi.Input['NFSVolumeSourcePatchArgs'] nfs: nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
|
|
@@ -36834,8 +36129,6 @@ class VolumePatchArgs:
|
|
|
36834
36129
|
pulumi.set(__self__, "glusterfs", glusterfs)
|
|
36835
36130
|
if host_path is not None:
|
|
36836
36131
|
pulumi.set(__self__, "host_path", host_path)
|
|
36837
|
-
if image is not None:
|
|
36838
|
-
pulumi.set(__self__, "image", image)
|
|
36839
36132
|
if iscsi is not None:
|
|
36840
36133
|
pulumi.set(__self__, "iscsi", iscsi)
|
|
36841
36134
|
if name is not None:
|
|
@@ -37080,22 +36373,6 @@ class VolumePatchArgs:
|
|
|
37080
36373
|
def host_path(self, value: Optional[pulumi.Input['HostPathVolumeSourcePatchArgs']]):
|
|
37081
36374
|
pulumi.set(self, "host_path", value)
|
|
37082
36375
|
|
|
37083
|
-
@property
|
|
37084
|
-
@pulumi.getter
|
|
37085
|
-
def image(self) -> Optional[pulumi.Input['ImageVolumeSourcePatchArgs']]:
|
|
37086
|
-
"""
|
|
37087
|
-
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:
|
|
37088
|
-
|
|
37089
|
-
- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
|
|
37090
|
-
|
|
37091
|
-
The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
|
|
37092
|
-
"""
|
|
37093
|
-
return pulumi.get(self, "image")
|
|
37094
|
-
|
|
37095
|
-
@image.setter
|
|
37096
|
-
def image(self, value: Optional[pulumi.Input['ImageVolumeSourcePatchArgs']]):
|
|
37097
|
-
pulumi.set(self, "image", value)
|
|
37098
|
-
|
|
37099
36376
|
@property
|
|
37100
36377
|
@pulumi.getter
|
|
37101
36378
|
def iscsi(self) -> Optional[pulumi.Input['ISCSIVolumeSourcePatchArgs']]:
|
|
@@ -37256,7 +36533,7 @@ class VolumePatchArgs:
|
|
|
37256
36533
|
if not MYPY:
|
|
37257
36534
|
class VolumeProjectionPatchArgsDict(TypedDict):
|
|
37258
36535
|
"""
|
|
37259
|
-
Projection that may be projected along with other supported volume types
|
|
36536
|
+
Projection that may be projected along with other supported volume types
|
|
37260
36537
|
"""
|
|
37261
36538
|
cluster_trust_bundle: NotRequired[pulumi.Input['ClusterTrustBundleProjectionPatchArgsDict']]
|
|
37262
36539
|
"""
|
|
@@ -37296,7 +36573,7 @@ class VolumeProjectionPatchArgs:
|
|
|
37296
36573
|
secret: Optional[pulumi.Input['SecretProjectionPatchArgs']] = None,
|
|
37297
36574
|
service_account_token: Optional[pulumi.Input['ServiceAccountTokenProjectionPatchArgs']] = None):
|
|
37298
36575
|
"""
|
|
37299
|
-
Projection that may be projected along with other supported volume types
|
|
36576
|
+
Projection that may be projected along with other supported volume types
|
|
37300
36577
|
:param pulumi.Input['ClusterTrustBundleProjectionPatchArgs'] cluster_trust_bundle: ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.
|
|
37301
36578
|
|
|
37302
36579
|
Alpha, gated by the ClusterTrustBundleProjection feature gate.
|
|
@@ -37390,7 +36667,7 @@ class VolumeProjectionPatchArgs:
|
|
|
37390
36667
|
if not MYPY:
|
|
37391
36668
|
class VolumeProjectionArgsDict(TypedDict):
|
|
37392
36669
|
"""
|
|
37393
|
-
Projection that may be projected along with other supported volume types
|
|
36670
|
+
Projection that may be projected along with other supported volume types
|
|
37394
36671
|
"""
|
|
37395
36672
|
cluster_trust_bundle: NotRequired[pulumi.Input['ClusterTrustBundleProjectionArgsDict']]
|
|
37396
36673
|
"""
|
|
@@ -37430,7 +36707,7 @@ class VolumeProjectionArgs:
|
|
|
37430
36707
|
secret: Optional[pulumi.Input['SecretProjectionArgs']] = None,
|
|
37431
36708
|
service_account_token: Optional[pulumi.Input['ServiceAccountTokenProjectionArgs']] = None):
|
|
37432
36709
|
"""
|
|
37433
|
-
Projection that may be projected along with other supported volume types
|
|
36710
|
+
Projection that may be projected along with other supported volume types
|
|
37434
36711
|
:param pulumi.Input['ClusterTrustBundleProjectionArgs'] cluster_trust_bundle: ClusterTrustBundle allows a pod to access the `.spec.trustBundle` field of ClusterTrustBundle objects in an auto-updating file.
|
|
37435
36712
|
|
|
37436
36713
|
Alpha, gated by the ClusterTrustBundleProjection feature gate.
|
|
@@ -37723,14 +37000,6 @@ if not MYPY:
|
|
|
37723
37000
|
"""
|
|
37724
37001
|
hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
|
|
37725
37002
|
"""
|
|
37726
|
-
image: NotRequired[pulumi.Input['ImageVolumeSourceArgsDict']]
|
|
37727
|
-
"""
|
|
37728
|
-
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:
|
|
37729
|
-
|
|
37730
|
-
- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
|
|
37731
|
-
|
|
37732
|
-
The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
|
|
37733
|
-
"""
|
|
37734
37003
|
iscsi: NotRequired[pulumi.Input['ISCSIVolumeSourceArgsDict']]
|
|
37735
37004
|
"""
|
|
37736
37005
|
iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md
|
|
@@ -37803,7 +37072,6 @@ class VolumeArgs:
|
|
|
37803
37072
|
git_repo: Optional[pulumi.Input['GitRepoVolumeSourceArgs']] = None,
|
|
37804
37073
|
glusterfs: Optional[pulumi.Input['GlusterfsVolumeSourceArgs']] = None,
|
|
37805
37074
|
host_path: Optional[pulumi.Input['HostPathVolumeSourceArgs']] = None,
|
|
37806
|
-
image: Optional[pulumi.Input['ImageVolumeSourceArgs']] = None,
|
|
37807
37075
|
iscsi: Optional[pulumi.Input['ISCSIVolumeSourceArgs']] = None,
|
|
37808
37076
|
nfs: Optional[pulumi.Input['NFSVolumeSourceArgs']] = None,
|
|
37809
37077
|
persistent_volume_claim: Optional[pulumi.Input['PersistentVolumeClaimVolumeSourceArgs']] = None,
|
|
@@ -37849,11 +37117,6 @@ class VolumeArgs:
|
|
|
37849
37117
|
:param pulumi.Input['GitRepoVolumeSourceArgs'] git_repo: gitRepo represents a git repository at a particular revision. DEPRECATED: GitRepo is deprecated. To provision a container with a git repo, mount an EmptyDir into an InitContainer that clones the repo using git, then mount the EmptyDir into the Pod's container.
|
|
37850
37118
|
:param pulumi.Input['GlusterfsVolumeSourceArgs'] glusterfs: glusterfs represents a Glusterfs mount on the host that shares a pod's lifetime. More info: https://examples.k8s.io/volumes/glusterfs/README.md
|
|
37851
37119
|
:param pulumi.Input['HostPathVolumeSourceArgs'] host_path: hostPath represents a pre-existing file or directory on the host machine that is directly exposed to the container. This is generally used for system agents or other privileged things that are allowed to see the host machine. Most containers will NOT need this. More info: https://kubernetes.io/docs/concepts/storage/volumes#hostpath
|
|
37852
|
-
:param pulumi.Input['ImageVolumeSourceArgs'] image: image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:
|
|
37853
|
-
|
|
37854
|
-
- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
|
|
37855
|
-
|
|
37856
|
-
The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
|
|
37857
37120
|
:param pulumi.Input['ISCSIVolumeSourceArgs'] iscsi: iscsi represents an ISCSI Disk resource that is attached to a kubelet's host machine and then exposed to the pod. More info: https://examples.k8s.io/volumes/iscsi/README.md
|
|
37858
37121
|
:param pulumi.Input['NFSVolumeSourceArgs'] nfs: nfs represents an NFS mount on the host that shares a pod's lifetime More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
|
|
37859
37122
|
:param pulumi.Input['PersistentVolumeClaimVolumeSourceArgs'] persistent_volume_claim: persistentVolumeClaimVolumeSource represents a reference to a PersistentVolumeClaim in the same namespace. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#persistentvolumeclaims
|
|
@@ -37902,8 +37165,6 @@ class VolumeArgs:
|
|
|
37902
37165
|
pulumi.set(__self__, "glusterfs", glusterfs)
|
|
37903
37166
|
if host_path is not None:
|
|
37904
37167
|
pulumi.set(__self__, "host_path", host_path)
|
|
37905
|
-
if image is not None:
|
|
37906
|
-
pulumi.set(__self__, "image", image)
|
|
37907
37168
|
if iscsi is not None:
|
|
37908
37169
|
pulumi.set(__self__, "iscsi", iscsi)
|
|
37909
37170
|
if nfs is not None:
|
|
@@ -38158,22 +37419,6 @@ class VolumeArgs:
|
|
|
38158
37419
|
def host_path(self, value: Optional[pulumi.Input['HostPathVolumeSourceArgs']]):
|
|
38159
37420
|
pulumi.set(self, "host_path", value)
|
|
38160
37421
|
|
|
38161
|
-
@property
|
|
38162
|
-
@pulumi.getter
|
|
38163
|
-
def image(self) -> Optional[pulumi.Input['ImageVolumeSourceArgs']]:
|
|
38164
|
-
"""
|
|
38165
|
-
image represents an OCI object (a container image or artifact) pulled and mounted on the kubelet's host machine. The volume is resolved at pod startup depending on which PullPolicy value is provided:
|
|
38166
|
-
|
|
38167
|
-
- Always: the kubelet always attempts to pull the reference. Container creation will fail If the pull fails. - Never: the kubelet never pulls the reference and only uses a local image or artifact. Container creation will fail if the reference isn't present. - IfNotPresent: the kubelet pulls if the reference isn't already present on disk. Container creation will fail if the reference isn't present and the pull fails.
|
|
38168
|
-
|
|
38169
|
-
The volume gets re-resolved if the pod gets deleted and recreated, which means that new remote content will become available on pod recreation. A failure to resolve or pull the image during pod startup will block containers from starting and may add significant latency. Failures will be retried using normal volume backoff and will be reported on the pod reason and message. The types of objects that may be mounted by this volume are defined by the container runtime implementation on a host machine and at minimum must include all valid types supported by the container image field. The OCI object gets mounted in a single directory (spec.containers[*].volumeMounts.mountPath) by merging the manifest layers in the same way as for container images. The volume will be mounted read-only (ro) and non-executable files (noexec). Sub path mounts for containers are not supported (spec.containers[*].volumeMounts.subpath). The field spec.securityContext.fsGroupChangePolicy has no effect on this volume type.
|
|
38170
|
-
"""
|
|
38171
|
-
return pulumi.get(self, "image")
|
|
38172
|
-
|
|
38173
|
-
@image.setter
|
|
38174
|
-
def image(self, value: Optional[pulumi.Input['ImageVolumeSourceArgs']]):
|
|
38175
|
-
pulumi.set(self, "image", value)
|
|
38176
|
-
|
|
38177
37422
|
@property
|
|
38178
37423
|
@pulumi.getter
|
|
38179
37424
|
def iscsi(self) -> Optional[pulumi.Input['ISCSIVolumeSourceArgs']]:
|