pulumi-kubernetes 4.10.0a1710355461__py3-none-any.whl → 4.20.0__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 +123 -3
- pulumi_kubernetes/_inputs.py +63 -6
- pulumi_kubernetes/_utilities.py +41 -5
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +226 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +224 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +215 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +236 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +215 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +238 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/__init__.py +6 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +4571 -939
- pulumi_kubernetes/admissionregistration/v1/outputs.py +2880 -470
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +214 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +222 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +215 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +234 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +215 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +226 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +12 -7
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +12 -15
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +29 -23
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +12 -15
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +29 -23
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +12 -7
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +6 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +2514 -141
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +1370 -246
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +12 -7
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +12 -7
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +29 -23
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +12 -7
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +29 -23
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +12 -7
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +1522 -42
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +9 -4
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +11 -6
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +11 -6
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +11 -6
- pulumi_kubernetes/apiextensions/v1/_inputs.py +1175 -12
- pulumi_kubernetes/apiextensions/v1/outputs.py +122 -8
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +10 -5
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +10 -5
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +10 -5
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +903 -6
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +11 -6
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +11 -6
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +11 -6
- pulumi_kubernetes/apiregistration/v1/_inputs.py +194 -0
- pulumi_kubernetes/apiregistration/v1/outputs.py +5 -0
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +10 -5
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +9 -4
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +10 -5
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +191 -0
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +8 -3
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +11 -6
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +8 -3
- pulumi_kubernetes/apps/v1/DaemonSet.py +11 -6
- pulumi_kubernetes/apps/v1/DaemonSetList.py +11 -6
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1/Deployment.py +11 -6
- pulumi_kubernetes/apps/v1/DeploymentList.py +11 -6
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +11 -6
- pulumi_kubernetes/apps/v1/ReplicaSet.py +11 -6
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +11 -6
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1/StatefulSet.py +11 -6
- pulumi_kubernetes/apps/v1/StatefulSetList.py +11 -6
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1/_inputs.py +1057 -8
- pulumi_kubernetes/apps/v1/outputs.py +13 -8
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +8 -3
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +11 -6
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +8 -3
- pulumi_kubernetes/apps/v1beta1/Deployment.py +11 -6
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +11 -6
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +11 -6
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +10 -5
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +9 -4
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +10 -5
- pulumi_kubernetes/apps/v1beta1/_inputs.py +603 -0
- pulumi_kubernetes/apps/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +8 -3
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +11 -6
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +8 -3
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +11 -6
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +11 -6
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1beta2/Deployment.py +11 -6
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +11 -6
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +11 -6
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +11 -6
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +11 -6
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +10 -5
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +9 -4
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +10 -5
- pulumi_kubernetes/apps/v1beta2/_inputs.py +935 -0
- pulumi_kubernetes/apps/v1beta2/outputs.py +5 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +10 -5
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +10 -5
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +10 -5
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +281 -0
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +11 -6
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +11 -6
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +11 -6
- pulumi_kubernetes/autoscaling/v1/_inputs.py +157 -0
- pulumi_kubernetes/autoscaling/v1/outputs.py +5 -0
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +11 -6
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +11 -6
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +11 -6
- pulumi_kubernetes/autoscaling/v2/_inputs.py +815 -10
- pulumi_kubernetes/autoscaling/v2/outputs.py +17 -12
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +652 -0
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +5 -0
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +796 -0
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +5 -0
- pulumi_kubernetes/batch/v1/CronJob.py +11 -6
- pulumi_kubernetes/batch/v1/CronJobList.py +11 -6
- pulumi_kubernetes/batch/v1/CronJobPatch.py +11 -6
- pulumi_kubernetes/batch/v1/Job.py +11 -6
- pulumi_kubernetes/batch/v1/JobList.py +11 -6
- pulumi_kubernetes/batch/v1/JobPatch.py +11 -6
- pulumi_kubernetes/batch/v1/_inputs.py +1070 -85
- pulumi_kubernetes/batch/v1/outputs.py +298 -40
- pulumi_kubernetes/batch/v1beta1/CronJob.py +11 -6
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +11 -6
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +11 -6
- pulumi_kubernetes/batch/v1beta1/_inputs.py +161 -0
- pulumi_kubernetes/batch/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +11 -6
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +11 -6
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +11 -6
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +161 -0
- pulumi_kubernetes/batch/v2alpha1/outputs.py +5 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +10 -5
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +10 -5
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +10 -5
- pulumi_kubernetes/certificates/v1/_inputs.py +290 -0
- pulumi_kubernetes/certificates/v1/outputs.py +5 -0
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +11 -6
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +11 -6
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +11 -6
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +94 -0
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +10 -5
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +9 -4
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +10 -5
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +165 -0
- pulumi_kubernetes/certificates/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/coordination/__init__.py +6 -0
- pulumi_kubernetes/coordination/v1/Lease.py +11 -6
- pulumi_kubernetes/coordination/v1/LeaseList.py +11 -6
- pulumi_kubernetes/coordination/v1/LeasePatch.py +11 -6
- pulumi_kubernetes/coordination/v1/_inputs.py +180 -10
- pulumi_kubernetes/coordination/v1/outputs.py +67 -10
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +216 -0
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +215 -0
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +228 -0
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +12 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +418 -0
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +334 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +216 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +215 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +228 -0
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +12 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +393 -0
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +313 -0
- pulumi_kubernetes/coordination/v1beta1/Lease.py +11 -6
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +11 -6
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +11 -6
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +90 -0
- pulumi_kubernetes/coordination/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/core/v1/Binding.py +13 -8
- pulumi_kubernetes/core/v1/BindingPatch.py +13 -8
- pulumi_kubernetes/core/v1/ConfigMap.py +8 -3
- pulumi_kubernetes/core/v1/ConfigMapList.py +11 -6
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +8 -3
- pulumi_kubernetes/core/v1/Endpoints.py +11 -6
- pulumi_kubernetes/core/v1/EndpointsList.py +11 -6
- pulumi_kubernetes/core/v1/EndpointsPatch.py +11 -6
- pulumi_kubernetes/core/v1/Event.py +20 -15
- pulumi_kubernetes/core/v1/EventList.py +11 -6
- pulumi_kubernetes/core/v1/EventPatch.py +20 -15
- pulumi_kubernetes/core/v1/LimitRange.py +11 -6
- pulumi_kubernetes/core/v1/LimitRangeList.py +11 -6
- pulumi_kubernetes/core/v1/LimitRangePatch.py +11 -6
- pulumi_kubernetes/core/v1/Namespace.py +11 -6
- pulumi_kubernetes/core/v1/NamespaceList.py +11 -6
- pulumi_kubernetes/core/v1/NamespacePatch.py +11 -6
- pulumi_kubernetes/core/v1/Node.py +11 -6
- pulumi_kubernetes/core/v1/NodeList.py +11 -6
- pulumi_kubernetes/core/v1/NodePatch.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolume.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +11 -6
- pulumi_kubernetes/core/v1/Pod.py +11 -6
- pulumi_kubernetes/core/v1/PodList.py +11 -6
- pulumi_kubernetes/core/v1/PodPatch.py +11 -6
- pulumi_kubernetes/core/v1/PodTemplate.py +11 -6
- pulumi_kubernetes/core/v1/PodTemplateList.py +11 -6
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +11 -6
- pulumi_kubernetes/core/v1/ReplicationController.py +11 -6
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +11 -6
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +11 -6
- pulumi_kubernetes/core/v1/ResourceQuota.py +11 -6
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +11 -6
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +11 -6
- pulumi_kubernetes/core/v1/Secret.py +8 -3
- pulumi_kubernetes/core/v1/SecretList.py +11 -6
- pulumi_kubernetes/core/v1/SecretPatch.py +8 -3
- pulumi_kubernetes/core/v1/Service.py +17 -28
- pulumi_kubernetes/core/v1/ServiceAccount.py +17 -12
- pulumi_kubernetes/core/v1/ServiceAccountList.py +11 -6
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +17 -12
- pulumi_kubernetes/core/v1/ServiceList.py +11 -6
- pulumi_kubernetes/core/v1/ServicePatch.py +17 -28
- pulumi_kubernetes/core/v1/_inputs.py +11760 -756
- pulumi_kubernetes/core/v1/outputs.py +2131 -448
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +14 -9
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +11 -6
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +14 -9
- pulumi_kubernetes/discovery/v1/_inputs.py +284 -0
- pulumi_kubernetes/discovery/v1/outputs.py +5 -0
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +14 -9
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +11 -6
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +14 -9
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +210 -0
- pulumi_kubernetes/discovery/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/events/v1/Event.py +20 -15
- pulumi_kubernetes/events/v1/EventList.py +11 -6
- pulumi_kubernetes/events/v1/EventPatch.py +20 -15
- pulumi_kubernetes/events/v1/_inputs.py +118 -0
- pulumi_kubernetes/events/v1/outputs.py +5 -0
- pulumi_kubernetes/events/v1beta1/Event.py +19 -14
- pulumi_kubernetes/events/v1beta1/EventList.py +11 -6
- pulumi_kubernetes/events/v1beta1/EventPatch.py +19 -14
- pulumi_kubernetes/events/v1beta1/_inputs.py +123 -0
- pulumi_kubernetes/events/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1884 -26
- pulumi_kubernetes/extensions/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +779 -0
- pulumi_kubernetes/flowcontrol/v1/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +671 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +671 -0
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +771 -0
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +779 -8
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +13 -8
- pulumi_kubernetes/helm/__init__.py +3 -0
- pulumi_kubernetes/helm/v3/Release.py +8 -3
- pulumi_kubernetes/helm/v3/_inputs.py +42 -2
- pulumi_kubernetes/helm/v3/outputs.py +7 -2
- pulumi_kubernetes/helm/v4/Chart.py +721 -0
- pulumi_kubernetes/helm/v4/__init__.py +9 -0
- pulumi_kubernetes/helm/v4/_inputs.py +216 -0
- pulumi_kubernetes/kustomize/__init__.py +8 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +219 -0
- pulumi_kubernetes/kustomize/v2/__init__.py +8 -0
- pulumi_kubernetes/meta/v1/Status.py +11 -6
- pulumi_kubernetes/meta/v1/StatusPatch.py +11 -6
- pulumi_kubernetes/meta/v1/_inputs.py +596 -0
- pulumi_kubernetes/meta/v1/outputs.py +5 -0
- pulumi_kubernetes/networking/v1/Ingress.py +11 -6
- pulumi_kubernetes/networking/v1/IngressClass.py +11 -6
- pulumi_kubernetes/networking/v1/IngressClassList.py +11 -6
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +11 -6
- pulumi_kubernetes/networking/v1/IngressList.py +11 -6
- pulumi_kubernetes/networking/v1/IngressPatch.py +11 -6
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +11 -6
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +11 -6
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +11 -6
- pulumi_kubernetes/networking/v1/_inputs.py +840 -0
- pulumi_kubernetes/networking/v1/outputs.py +5 -0
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +13 -6
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +13 -6
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +13 -6
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +13 -6
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +293 -37
- pulumi_kubernetes/networking/v1alpha1/outputs.py +26 -24
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +216 -0
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +215 -0
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +228 -0
- pulumi_kubernetes/networking/v1beta1/Ingress.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressList.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +11 -6
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +226 -0
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +215 -0
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +238 -0
- pulumi_kubernetes/networking/v1beta1/__init__.py +6 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +984 -11
- pulumi_kubernetes/networking/v1beta1/outputs.py +466 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +14 -9
- pulumi_kubernetes/node/v1/RuntimeClassList.py +11 -6
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +14 -9
- pulumi_kubernetes/node/v1/_inputs.py +101 -0
- pulumi_kubernetes/node/v1/outputs.py +5 -0
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +11 -6
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +11 -6
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +11 -6
- pulumi_kubernetes/node/v1alpha1/_inputs.py +134 -0
- pulumi_kubernetes/node/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +14 -9
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +11 -6
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +14 -9
- pulumi_kubernetes/node/v1beta1/_inputs.py +100 -0
- pulumi_kubernetes/node/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +11 -6
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +11 -6
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +11 -6
- pulumi_kubernetes/policy/v1/_inputs.py +151 -0
- pulumi_kubernetes/policy/v1/outputs.py +5 -0
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +10 -5
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +9 -4
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +10 -5
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +11 -6
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +11 -6
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +11 -6
- pulumi_kubernetes/policy/v1beta1/_inputs.py +713 -0
- pulumi_kubernetes/policy/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/provider.py +82 -6
- pulumi_kubernetes/pulumi-plugin.json +2 -1
- pulumi_kubernetes/rbac/v1/ClusterRole.py +14 -9
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +11 -6
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +14 -9
- pulumi_kubernetes/rbac/v1/Role.py +11 -6
- pulumi_kubernetes/rbac/v1/RoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1/RoleList.py +11 -6
- pulumi_kubernetes/rbac/v1/RolePatch.py +11 -6
- pulumi_kubernetes/rbac/v1/_inputs.py +295 -0
- pulumi_kubernetes/rbac/v1/outputs.py +5 -0
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/Role.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +295 -0
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/Role.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +295 -0
- pulumi_kubernetes/rbac/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/resource/__init__.py +6 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +12 -7
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +12 -7
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +12 -7
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +12 -7
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +14 -9
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +14 -9
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +458 -0
- pulumi_kubernetes/resource/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +13 -6
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +11 -6
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +13 -6
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +12 -7
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +11 -6
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +280 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +215 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +292 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +12 -7
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +12 -7
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +11 -6
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +12 -7
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +43 -9
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +11 -6
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +272 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +215 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +284 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +43 -9
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +283 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +215 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +294 -0
- pulumi_kubernetes/resource/v1alpha2/__init__.py +9 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +3177 -634
- pulumi_kubernetes/resource/v1alpha2/outputs.py +2628 -880
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +238 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +216 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +249 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +231 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +215 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +242 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +232 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +216 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +243 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +229 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +215 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +240 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +246 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +245 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +257 -0
- pulumi_kubernetes/resource/v1alpha3/__init__.py +24 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +4372 -0
- pulumi_kubernetes/resource/v1alpha3/outputs.py +3914 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +237 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +215 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +248 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +232 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +216 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +243 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +229 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +215 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +240 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +246 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +216 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +257 -0
- pulumi_kubernetes/resource/v1beta1/__init__.py +21 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +3867 -0
- pulumi_kubernetes/resource/v1beta1/outputs.py +3334 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +8 -3
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +11 -6
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +8 -3
- pulumi_kubernetes/scheduling/v1/_inputs.py +44 -0
- pulumi_kubernetes/scheduling/v1/outputs.py +5 -0
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +8 -3
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +11 -6
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +8 -3
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +44 -0
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +8 -3
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +11 -6
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +8 -3
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +44 -0
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +9 -4
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +11 -6
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +9 -4
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +84 -0
- pulumi_kubernetes/settings/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +11 -6
- pulumi_kubernetes/storage/v1/CSIDriverList.py +11 -6
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +11 -6
- pulumi_kubernetes/storage/v1/CSINode.py +11 -6
- pulumi_kubernetes/storage/v1/CSINodeList.py +11 -6
- pulumi_kubernetes/storage/v1/CSINodePatch.py +11 -6
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +11 -6
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +11 -6
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +11 -6
- pulumi_kubernetes/storage/v1/StorageClass.py +11 -6
- pulumi_kubernetes/storage/v1/StorageClassList.py +11 -6
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +11 -6
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +11 -6
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +11 -6
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +11 -6
- pulumi_kubernetes/storage/v1/_inputs.py +624 -10
- pulumi_kubernetes/storage/v1/outputs.py +17 -12
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +11 -6
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +11 -6
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +11 -6
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +10 -3
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +11 -6
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +10 -3
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +187 -0
- pulumi_kubernetes/storage/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSINode.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +11 -6
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +11 -6
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +252 -0
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +215 -0
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +263 -0
- pulumi_kubernetes/storage/v1beta1/__init__.py +3 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +689 -0
- pulumi_kubernetes/storage/v1beta1/outputs.py +99 -0
- pulumi_kubernetes/storagemigration/__init__.py +14 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +224 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +215 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +236 -0
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +12 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +585 -0
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +593 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +81 -4
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +123 -42
- pulumi_kubernetes/yaml/yaml.py +264 -0
- {pulumi_kubernetes-4.10.0a1710355461.dist-info → pulumi_kubernetes-4.20.0.dist-info}/METADATA +8 -7
- pulumi_kubernetes-4.20.0.dist-info/RECORD +679 -0
- {pulumi_kubernetes-4.10.0a1710355461.dist-info → pulumi_kubernetes-4.20.0.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.10.0a1710355461.dist-info/RECORD +0 -592
- {pulumi_kubernetes-4.10.0a1710355461.dist-info → pulumi_kubernetes-4.20.0.dist-info}/top_level.txt +0 -0
|
@@ -4,9 +4,14 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from ... import _utilities
|
|
11
16
|
from . import outputs
|
|
12
17
|
from ... import core as _core
|
|
@@ -35,6 +40,10 @@ __all__ = [
|
|
|
35
40
|
'PodFailurePolicyPatch',
|
|
36
41
|
'PodFailurePolicyRule',
|
|
37
42
|
'PodFailurePolicyRulePatch',
|
|
43
|
+
'SuccessPolicy',
|
|
44
|
+
'SuccessPolicyPatch',
|
|
45
|
+
'SuccessPolicyRule',
|
|
46
|
+
'SuccessPolicyRulePatch',
|
|
38
47
|
'UncountedTerminatedPods',
|
|
39
48
|
'UncountedTerminatedPodsPatch',
|
|
40
49
|
]
|
|
@@ -879,6 +888,8 @@ class JobSpec(dict):
|
|
|
879
888
|
suggest = "backoff_limit_per_index"
|
|
880
889
|
elif key == "completionMode":
|
|
881
890
|
suggest = "completion_mode"
|
|
891
|
+
elif key == "managedBy":
|
|
892
|
+
suggest = "managed_by"
|
|
882
893
|
elif key == "manualSelector":
|
|
883
894
|
suggest = "manual_selector"
|
|
884
895
|
elif key == "maxFailedIndexes":
|
|
@@ -887,6 +898,8 @@ class JobSpec(dict):
|
|
|
887
898
|
suggest = "pod_failure_policy"
|
|
888
899
|
elif key == "podReplacementPolicy":
|
|
889
900
|
suggest = "pod_replacement_policy"
|
|
901
|
+
elif key == "successPolicy":
|
|
902
|
+
suggest = "success_policy"
|
|
890
903
|
elif key == "ttlSecondsAfterFinished":
|
|
891
904
|
suggest = "ttl_seconds_after_finished"
|
|
892
905
|
|
|
@@ -908,12 +921,14 @@ class JobSpec(dict):
|
|
|
908
921
|
backoff_limit_per_index: Optional[int] = None,
|
|
909
922
|
completion_mode: Optional[str] = None,
|
|
910
923
|
completions: Optional[int] = None,
|
|
924
|
+
managed_by: Optional[str] = None,
|
|
911
925
|
manual_selector: Optional[bool] = None,
|
|
912
926
|
max_failed_indexes: Optional[int] = None,
|
|
913
927
|
parallelism: Optional[int] = None,
|
|
914
928
|
pod_failure_policy: Optional['outputs.PodFailurePolicy'] = None,
|
|
915
929
|
pod_replacement_policy: Optional[str] = None,
|
|
916
930
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
931
|
+
success_policy: Optional['outputs.SuccessPolicy'] = None,
|
|
917
932
|
suspend: Optional[bool] = None,
|
|
918
933
|
ttl_seconds_after_finished: Optional[int] = None):
|
|
919
934
|
"""
|
|
@@ -930,12 +945,13 @@ class JobSpec(dict):
|
|
|
930
945
|
|
|
931
946
|
More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
|
|
932
947
|
:param int completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
948
|
+
:param str managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
949
|
+
|
|
950
|
+
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
933
951
|
:param bool manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
|
|
934
952
|
:param int max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
935
953
|
:param int parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
936
954
|
:param 'PodFailurePolicyArgs' pod_failure_policy: Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
|
|
937
|
-
|
|
938
|
-
This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
|
|
939
955
|
:param str pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
940
956
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
941
957
|
- Failed means to wait until a previously created Pod is fully terminated (has phase
|
|
@@ -943,6 +959,9 @@ class JobSpec(dict):
|
|
|
943
959
|
|
|
944
960
|
When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.
|
|
945
961
|
:param '_meta.v1.LabelSelectorArgs' selector: A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
962
|
+
:param 'SuccessPolicyArgs' success_policy: successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
|
|
963
|
+
|
|
964
|
+
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
946
965
|
:param bool suspend: suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
|
|
947
966
|
:param int ttl_seconds_after_finished: ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
|
|
948
967
|
"""
|
|
@@ -957,6 +976,8 @@ class JobSpec(dict):
|
|
|
957
976
|
pulumi.set(__self__, "completion_mode", completion_mode)
|
|
958
977
|
if completions is not None:
|
|
959
978
|
pulumi.set(__self__, "completions", completions)
|
|
979
|
+
if managed_by is not None:
|
|
980
|
+
pulumi.set(__self__, "managed_by", managed_by)
|
|
960
981
|
if manual_selector is not None:
|
|
961
982
|
pulumi.set(__self__, "manual_selector", manual_selector)
|
|
962
983
|
if max_failed_indexes is not None:
|
|
@@ -969,6 +990,8 @@ class JobSpec(dict):
|
|
|
969
990
|
pulumi.set(__self__, "pod_replacement_policy", pod_replacement_policy)
|
|
970
991
|
if selector is not None:
|
|
971
992
|
pulumi.set(__self__, "selector", selector)
|
|
993
|
+
if success_policy is not None:
|
|
994
|
+
pulumi.set(__self__, "success_policy", success_policy)
|
|
972
995
|
if suspend is not None:
|
|
973
996
|
pulumi.set(__self__, "suspend", suspend)
|
|
974
997
|
if ttl_seconds_after_finished is not None:
|
|
@@ -1028,6 +1051,16 @@ class JobSpec(dict):
|
|
|
1028
1051
|
"""
|
|
1029
1052
|
return pulumi.get(self, "completions")
|
|
1030
1053
|
|
|
1054
|
+
@property
|
|
1055
|
+
@pulumi.getter(name="managedBy")
|
|
1056
|
+
def managed_by(self) -> Optional[str]:
|
|
1057
|
+
"""
|
|
1058
|
+
ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
1059
|
+
|
|
1060
|
+
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
1061
|
+
"""
|
|
1062
|
+
return pulumi.get(self, "managed_by")
|
|
1063
|
+
|
|
1031
1064
|
@property
|
|
1032
1065
|
@pulumi.getter(name="manualSelector")
|
|
1033
1066
|
def manual_selector(self) -> Optional[bool]:
|
|
@@ -1057,8 +1090,6 @@ class JobSpec(dict):
|
|
|
1057
1090
|
def pod_failure_policy(self) -> Optional['outputs.PodFailurePolicy']:
|
|
1058
1091
|
"""
|
|
1059
1092
|
Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
|
|
1060
|
-
|
|
1061
|
-
This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
|
|
1062
1093
|
"""
|
|
1063
1094
|
return pulumi.get(self, "pod_failure_policy")
|
|
1064
1095
|
|
|
@@ -1083,6 +1114,16 @@ class JobSpec(dict):
|
|
|
1083
1114
|
"""
|
|
1084
1115
|
return pulumi.get(self, "selector")
|
|
1085
1116
|
|
|
1117
|
+
@property
|
|
1118
|
+
@pulumi.getter(name="successPolicy")
|
|
1119
|
+
def success_policy(self) -> Optional['outputs.SuccessPolicy']:
|
|
1120
|
+
"""
|
|
1121
|
+
successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
|
|
1122
|
+
|
|
1123
|
+
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
1124
|
+
"""
|
|
1125
|
+
return pulumi.get(self, "success_policy")
|
|
1126
|
+
|
|
1086
1127
|
@property
|
|
1087
1128
|
@pulumi.getter
|
|
1088
1129
|
def suspend(self) -> Optional[bool]:
|
|
@@ -1116,6 +1157,8 @@ class JobSpecPatch(dict):
|
|
|
1116
1157
|
suggest = "backoff_limit_per_index"
|
|
1117
1158
|
elif key == "completionMode":
|
|
1118
1159
|
suggest = "completion_mode"
|
|
1160
|
+
elif key == "managedBy":
|
|
1161
|
+
suggest = "managed_by"
|
|
1119
1162
|
elif key == "manualSelector":
|
|
1120
1163
|
suggest = "manual_selector"
|
|
1121
1164
|
elif key == "maxFailedIndexes":
|
|
@@ -1124,6 +1167,8 @@ class JobSpecPatch(dict):
|
|
|
1124
1167
|
suggest = "pod_failure_policy"
|
|
1125
1168
|
elif key == "podReplacementPolicy":
|
|
1126
1169
|
suggest = "pod_replacement_policy"
|
|
1170
|
+
elif key == "successPolicy":
|
|
1171
|
+
suggest = "success_policy"
|
|
1127
1172
|
elif key == "ttlSecondsAfterFinished":
|
|
1128
1173
|
suggest = "ttl_seconds_after_finished"
|
|
1129
1174
|
|
|
@@ -1144,12 +1189,14 @@ class JobSpecPatch(dict):
|
|
|
1144
1189
|
backoff_limit_per_index: Optional[int] = None,
|
|
1145
1190
|
completion_mode: Optional[str] = None,
|
|
1146
1191
|
completions: Optional[int] = None,
|
|
1192
|
+
managed_by: Optional[str] = None,
|
|
1147
1193
|
manual_selector: Optional[bool] = None,
|
|
1148
1194
|
max_failed_indexes: Optional[int] = None,
|
|
1149
1195
|
parallelism: Optional[int] = None,
|
|
1150
1196
|
pod_failure_policy: Optional['outputs.PodFailurePolicyPatch'] = None,
|
|
1151
1197
|
pod_replacement_policy: Optional[str] = None,
|
|
1152
1198
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1199
|
+
success_policy: Optional['outputs.SuccessPolicyPatch'] = None,
|
|
1153
1200
|
suspend: Optional[bool] = None,
|
|
1154
1201
|
template: Optional['_core.v1.outputs.PodTemplateSpecPatch'] = None,
|
|
1155
1202
|
ttl_seconds_after_finished: Optional[int] = None):
|
|
@@ -1166,12 +1213,13 @@ class JobSpecPatch(dict):
|
|
|
1166
1213
|
|
|
1167
1214
|
More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
|
|
1168
1215
|
:param int completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1216
|
+
:param str managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
1217
|
+
|
|
1218
|
+
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
1169
1219
|
:param bool manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
|
|
1170
1220
|
:param int max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1171
1221
|
:param int parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1172
1222
|
:param 'PodFailurePolicyPatchArgs' pod_failure_policy: Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
|
|
1173
|
-
|
|
1174
|
-
This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
|
|
1175
1223
|
:param str pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1176
1224
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
1177
1225
|
- Failed means to wait until a previously created Pod is fully terminated (has phase
|
|
@@ -1179,6 +1227,9 @@ class JobSpecPatch(dict):
|
|
|
1179
1227
|
|
|
1180
1228
|
When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.
|
|
1181
1229
|
:param '_meta.v1.LabelSelectorPatchArgs' selector: A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
1230
|
+
:param 'SuccessPolicyPatchArgs' success_policy: successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
|
|
1231
|
+
|
|
1232
|
+
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
1182
1233
|
:param bool suspend: suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
|
|
1183
1234
|
:param '_core.v1.PodTemplateSpecPatchArgs' template: Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1184
1235
|
:param int ttl_seconds_after_finished: ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
|
|
@@ -1193,6 +1244,8 @@ class JobSpecPatch(dict):
|
|
|
1193
1244
|
pulumi.set(__self__, "completion_mode", completion_mode)
|
|
1194
1245
|
if completions is not None:
|
|
1195
1246
|
pulumi.set(__self__, "completions", completions)
|
|
1247
|
+
if managed_by is not None:
|
|
1248
|
+
pulumi.set(__self__, "managed_by", managed_by)
|
|
1196
1249
|
if manual_selector is not None:
|
|
1197
1250
|
pulumi.set(__self__, "manual_selector", manual_selector)
|
|
1198
1251
|
if max_failed_indexes is not None:
|
|
@@ -1205,6 +1258,8 @@ class JobSpecPatch(dict):
|
|
|
1205
1258
|
pulumi.set(__self__, "pod_replacement_policy", pod_replacement_policy)
|
|
1206
1259
|
if selector is not None:
|
|
1207
1260
|
pulumi.set(__self__, "selector", selector)
|
|
1261
|
+
if success_policy is not None:
|
|
1262
|
+
pulumi.set(__self__, "success_policy", success_policy)
|
|
1208
1263
|
if suspend is not None:
|
|
1209
1264
|
pulumi.set(__self__, "suspend", suspend)
|
|
1210
1265
|
if template is not None:
|
|
@@ -1258,6 +1313,16 @@ class JobSpecPatch(dict):
|
|
|
1258
1313
|
"""
|
|
1259
1314
|
return pulumi.get(self, "completions")
|
|
1260
1315
|
|
|
1316
|
+
@property
|
|
1317
|
+
@pulumi.getter(name="managedBy")
|
|
1318
|
+
def managed_by(self) -> Optional[str]:
|
|
1319
|
+
"""
|
|
1320
|
+
ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
1321
|
+
|
|
1322
|
+
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
1323
|
+
"""
|
|
1324
|
+
return pulumi.get(self, "managed_by")
|
|
1325
|
+
|
|
1261
1326
|
@property
|
|
1262
1327
|
@pulumi.getter(name="manualSelector")
|
|
1263
1328
|
def manual_selector(self) -> Optional[bool]:
|
|
@@ -1287,8 +1352,6 @@ class JobSpecPatch(dict):
|
|
|
1287
1352
|
def pod_failure_policy(self) -> Optional['outputs.PodFailurePolicyPatch']:
|
|
1288
1353
|
"""
|
|
1289
1354
|
Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
|
|
1290
|
-
|
|
1291
|
-
This field is beta-level. It can be used when the `JobPodFailurePolicy` feature gate is enabled (enabled by default).
|
|
1292
1355
|
"""
|
|
1293
1356
|
return pulumi.get(self, "pod_failure_policy")
|
|
1294
1357
|
|
|
@@ -1313,6 +1376,16 @@ class JobSpecPatch(dict):
|
|
|
1313
1376
|
"""
|
|
1314
1377
|
return pulumi.get(self, "selector")
|
|
1315
1378
|
|
|
1379
|
+
@property
|
|
1380
|
+
@pulumi.getter(name="successPolicy")
|
|
1381
|
+
def success_policy(self) -> Optional['outputs.SuccessPolicyPatch']:
|
|
1382
|
+
"""
|
|
1383
|
+
successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
|
|
1384
|
+
|
|
1385
|
+
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
1386
|
+
"""
|
|
1387
|
+
return pulumi.get(self, "success_policy")
|
|
1388
|
+
|
|
1316
1389
|
@property
|
|
1317
1390
|
@pulumi.getter
|
|
1318
1391
|
def suspend(self) -> Optional[bool]:
|
|
@@ -1382,15 +1455,23 @@ class JobStatus(dict):
|
|
|
1382
1455
|
uncounted_terminated_pods: Optional['outputs.UncountedTerminatedPods'] = None):
|
|
1383
1456
|
"""
|
|
1384
1457
|
JobStatus represents the current state of a Job.
|
|
1385
|
-
:param int active: The number of pending and running pods.
|
|
1458
|
+
:param int active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1386
1459
|
:param str completed_indexes: completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
|
|
1387
|
-
:param str completion_time: Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is
|
|
1388
|
-
:param Sequence['JobConditionArgs'] conditions: The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1460
|
+
:param str completion_time: Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
|
|
1461
|
+
:param Sequence['JobConditionArgs'] conditions: The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
|
|
1462
|
+
|
|
1463
|
+
A job is considered finished when it is in a terminal condition, either "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions. Additionally, it cannot be in the "Complete" and "FailureTarget" conditions. The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled.
|
|
1464
|
+
|
|
1465
|
+
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1466
|
+
:param int failed: The number of pods which reached phase Failed. The value increases monotonically.
|
|
1467
|
+
:param str failed_indexes: FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
|
|
1468
|
+
|
|
1469
|
+
This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1470
|
+
:param int ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1392
1471
|
:param str start_time: Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
|
|
1393
|
-
|
|
1472
|
+
|
|
1473
|
+
Once set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.
|
|
1474
|
+
:param int succeeded: The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
|
|
1394
1475
|
:param int terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1395
1476
|
|
|
1396
1477
|
This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).
|
|
@@ -1401,7 +1482,7 @@ class JobStatus(dict):
|
|
|
1401
1482
|
1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding
|
|
1402
1483
|
counter.
|
|
1403
1484
|
|
|
1404
|
-
Old jobs might not be tracked using this field, in which case the field remains null.
|
|
1485
|
+
Old jobs might not be tracked using this field, in which case the field remains null. The structure is empty for finished jobs.
|
|
1405
1486
|
"""
|
|
1406
1487
|
if active is not None:
|
|
1407
1488
|
pulumi.set(__self__, "active", active)
|
|
@@ -1430,7 +1511,7 @@ class JobStatus(dict):
|
|
|
1430
1511
|
@pulumi.getter
|
|
1431
1512
|
def active(self) -> Optional[int]:
|
|
1432
1513
|
"""
|
|
1433
|
-
The number of pending and running pods.
|
|
1514
|
+
The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1434
1515
|
"""
|
|
1435
1516
|
return pulumi.get(self, "active")
|
|
1436
1517
|
|
|
@@ -1446,7 +1527,7 @@ class JobStatus(dict):
|
|
|
1446
1527
|
@pulumi.getter(name="completionTime")
|
|
1447
1528
|
def completion_time(self) -> Optional[str]:
|
|
1448
1529
|
"""
|
|
1449
|
-
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is
|
|
1530
|
+
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
|
|
1450
1531
|
"""
|
|
1451
1532
|
return pulumi.get(self, "completion_time")
|
|
1452
1533
|
|
|
@@ -1454,7 +1535,11 @@ class JobStatus(dict):
|
|
|
1454
1535
|
@pulumi.getter
|
|
1455
1536
|
def conditions(self) -> Optional[Sequence['outputs.JobCondition']]:
|
|
1456
1537
|
"""
|
|
1457
|
-
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
|
|
1538
|
+
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
|
|
1539
|
+
|
|
1540
|
+
A job is considered finished when it is in a terminal condition, either "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions. Additionally, it cannot be in the "Complete" and "FailureTarget" conditions. The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled.
|
|
1541
|
+
|
|
1542
|
+
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1458
1543
|
"""
|
|
1459
1544
|
return pulumi.get(self, "conditions")
|
|
1460
1545
|
|
|
@@ -1462,7 +1547,7 @@ class JobStatus(dict):
|
|
|
1462
1547
|
@pulumi.getter
|
|
1463
1548
|
def failed(self) -> Optional[int]:
|
|
1464
1549
|
"""
|
|
1465
|
-
The number of pods which reached phase Failed.
|
|
1550
|
+
The number of pods which reached phase Failed. The value increases monotonically.
|
|
1466
1551
|
"""
|
|
1467
1552
|
return pulumi.get(self, "failed")
|
|
1468
1553
|
|
|
@@ -1470,7 +1555,9 @@ class JobStatus(dict):
|
|
|
1470
1555
|
@pulumi.getter(name="failedIndexes")
|
|
1471
1556
|
def failed_indexes(self) -> Optional[str]:
|
|
1472
1557
|
"""
|
|
1473
|
-
FailedIndexes holds the failed indexes when backoffLimitPerIndex
|
|
1558
|
+
FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
|
|
1559
|
+
|
|
1560
|
+
This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1474
1561
|
"""
|
|
1475
1562
|
return pulumi.get(self, "failed_indexes")
|
|
1476
1563
|
|
|
@@ -1478,7 +1565,7 @@ class JobStatus(dict):
|
|
|
1478
1565
|
@pulumi.getter
|
|
1479
1566
|
def ready(self) -> Optional[int]:
|
|
1480
1567
|
"""
|
|
1481
|
-
The number of pods which have a Ready condition.
|
|
1568
|
+
The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1482
1569
|
"""
|
|
1483
1570
|
return pulumi.get(self, "ready")
|
|
1484
1571
|
|
|
@@ -1487,6 +1574,8 @@ class JobStatus(dict):
|
|
|
1487
1574
|
def start_time(self) -> Optional[str]:
|
|
1488
1575
|
"""
|
|
1489
1576
|
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
|
|
1577
|
+
|
|
1578
|
+
Once set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.
|
|
1490
1579
|
"""
|
|
1491
1580
|
return pulumi.get(self, "start_time")
|
|
1492
1581
|
|
|
@@ -1494,7 +1583,7 @@ class JobStatus(dict):
|
|
|
1494
1583
|
@pulumi.getter
|
|
1495
1584
|
def succeeded(self) -> Optional[int]:
|
|
1496
1585
|
"""
|
|
1497
|
-
The number of pods which reached phase Succeeded.
|
|
1586
|
+
The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
|
|
1498
1587
|
"""
|
|
1499
1588
|
return pulumi.get(self, "succeeded")
|
|
1500
1589
|
|
|
@@ -1519,7 +1608,7 @@ class JobStatus(dict):
|
|
|
1519
1608
|
1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding
|
|
1520
1609
|
counter.
|
|
1521
1610
|
|
|
1522
|
-
Old jobs might not be tracked using this field, in which case the field remains null.
|
|
1611
|
+
Old jobs might not be tracked using this field, in which case the field remains null. The structure is empty for finished jobs.
|
|
1523
1612
|
"""
|
|
1524
1613
|
return pulumi.get(self, "uncounted_terminated_pods")
|
|
1525
1614
|
|
|
@@ -1568,15 +1657,23 @@ class JobStatusPatch(dict):
|
|
|
1568
1657
|
uncounted_terminated_pods: Optional['outputs.UncountedTerminatedPodsPatch'] = None):
|
|
1569
1658
|
"""
|
|
1570
1659
|
JobStatus represents the current state of a Job.
|
|
1571
|
-
:param int active: The number of pending and running pods.
|
|
1660
|
+
:param int active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1572
1661
|
:param str completed_indexes: completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
|
|
1573
|
-
:param str completion_time: Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is
|
|
1574
|
-
:param Sequence['JobConditionPatchArgs'] conditions: The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1662
|
+
:param str completion_time: Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
|
|
1663
|
+
:param Sequence['JobConditionPatchArgs'] conditions: The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
|
|
1664
|
+
|
|
1665
|
+
A job is considered finished when it is in a terminal condition, either "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions. Additionally, it cannot be in the "Complete" and "FailureTarget" conditions. The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled.
|
|
1666
|
+
|
|
1667
|
+
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1668
|
+
:param int failed: The number of pods which reached phase Failed. The value increases monotonically.
|
|
1669
|
+
:param str failed_indexes: FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
|
|
1670
|
+
|
|
1671
|
+
This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1672
|
+
:param int ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1578
1673
|
:param str start_time: Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
|
|
1579
|
-
|
|
1674
|
+
|
|
1675
|
+
Once set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.
|
|
1676
|
+
:param int succeeded: The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
|
|
1580
1677
|
:param int terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1581
1678
|
|
|
1582
1679
|
This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).
|
|
@@ -1587,7 +1684,7 @@ class JobStatusPatch(dict):
|
|
|
1587
1684
|
1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding
|
|
1588
1685
|
counter.
|
|
1589
1686
|
|
|
1590
|
-
Old jobs might not be tracked using this field, in which case the field remains null.
|
|
1687
|
+
Old jobs might not be tracked using this field, in which case the field remains null. The structure is empty for finished jobs.
|
|
1591
1688
|
"""
|
|
1592
1689
|
if active is not None:
|
|
1593
1690
|
pulumi.set(__self__, "active", active)
|
|
@@ -1616,7 +1713,7 @@ class JobStatusPatch(dict):
|
|
|
1616
1713
|
@pulumi.getter
|
|
1617
1714
|
def active(self) -> Optional[int]:
|
|
1618
1715
|
"""
|
|
1619
|
-
The number of pending and running pods.
|
|
1716
|
+
The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1620
1717
|
"""
|
|
1621
1718
|
return pulumi.get(self, "active")
|
|
1622
1719
|
|
|
@@ -1632,7 +1729,7 @@ class JobStatusPatch(dict):
|
|
|
1632
1729
|
@pulumi.getter(name="completionTime")
|
|
1633
1730
|
def completion_time(self) -> Optional[str]:
|
|
1634
1731
|
"""
|
|
1635
|
-
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is
|
|
1732
|
+
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
|
|
1636
1733
|
"""
|
|
1637
1734
|
return pulumi.get(self, "completion_time")
|
|
1638
1735
|
|
|
@@ -1640,7 +1737,11 @@ class JobStatusPatch(dict):
|
|
|
1640
1737
|
@pulumi.getter
|
|
1641
1738
|
def conditions(self) -> Optional[Sequence['outputs.JobConditionPatch']]:
|
|
1642
1739
|
"""
|
|
1643
|
-
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
|
|
1740
|
+
The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
|
|
1741
|
+
|
|
1742
|
+
A job is considered finished when it is in a terminal condition, either "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions. Additionally, it cannot be in the "Complete" and "FailureTarget" conditions. The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled.
|
|
1743
|
+
|
|
1744
|
+
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1644
1745
|
"""
|
|
1645
1746
|
return pulumi.get(self, "conditions")
|
|
1646
1747
|
|
|
@@ -1648,7 +1749,7 @@ class JobStatusPatch(dict):
|
|
|
1648
1749
|
@pulumi.getter
|
|
1649
1750
|
def failed(self) -> Optional[int]:
|
|
1650
1751
|
"""
|
|
1651
|
-
The number of pods which reached phase Failed.
|
|
1752
|
+
The number of pods which reached phase Failed. The value increases monotonically.
|
|
1652
1753
|
"""
|
|
1653
1754
|
return pulumi.get(self, "failed")
|
|
1654
1755
|
|
|
@@ -1656,7 +1757,9 @@ class JobStatusPatch(dict):
|
|
|
1656
1757
|
@pulumi.getter(name="failedIndexes")
|
|
1657
1758
|
def failed_indexes(self) -> Optional[str]:
|
|
1658
1759
|
"""
|
|
1659
|
-
FailedIndexes holds the failed indexes when backoffLimitPerIndex
|
|
1760
|
+
FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
|
|
1761
|
+
|
|
1762
|
+
This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1660
1763
|
"""
|
|
1661
1764
|
return pulumi.get(self, "failed_indexes")
|
|
1662
1765
|
|
|
@@ -1664,7 +1767,7 @@ class JobStatusPatch(dict):
|
|
|
1664
1767
|
@pulumi.getter
|
|
1665
1768
|
def ready(self) -> Optional[int]:
|
|
1666
1769
|
"""
|
|
1667
|
-
The number of pods which have a Ready condition.
|
|
1770
|
+
The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1668
1771
|
"""
|
|
1669
1772
|
return pulumi.get(self, "ready")
|
|
1670
1773
|
|
|
@@ -1673,6 +1776,8 @@ class JobStatusPatch(dict):
|
|
|
1673
1776
|
def start_time(self) -> Optional[str]:
|
|
1674
1777
|
"""
|
|
1675
1778
|
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
|
|
1779
|
+
|
|
1780
|
+
Once set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.
|
|
1676
1781
|
"""
|
|
1677
1782
|
return pulumi.get(self, "start_time")
|
|
1678
1783
|
|
|
@@ -1680,7 +1785,7 @@ class JobStatusPatch(dict):
|
|
|
1680
1785
|
@pulumi.getter
|
|
1681
1786
|
def succeeded(self) -> Optional[int]:
|
|
1682
1787
|
"""
|
|
1683
|
-
The number of pods which reached phase Succeeded.
|
|
1788
|
+
The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
|
|
1684
1789
|
"""
|
|
1685
1790
|
return pulumi.get(self, "succeeded")
|
|
1686
1791
|
|
|
@@ -1705,7 +1810,7 @@ class JobStatusPatch(dict):
|
|
|
1705
1810
|
1. Add the pod UID to the arrays in this field. 2. Remove the pod finalizer. 3. Remove the pod UID from the arrays while increasing the corresponding
|
|
1706
1811
|
counter.
|
|
1707
1812
|
|
|
1708
|
-
Old jobs might not be tracked using this field, in which case the field remains null.
|
|
1813
|
+
Old jobs might not be tracked using this field, in which case the field remains null. The structure is empty for finished jobs.
|
|
1709
1814
|
"""
|
|
1710
1815
|
return pulumi.get(self, "uncounted_terminated_pods")
|
|
1711
1816
|
|
|
@@ -2230,6 +2335,159 @@ class PodFailurePolicyRulePatch(dict):
|
|
|
2230
2335
|
return pulumi.get(self, "on_pod_conditions")
|
|
2231
2336
|
|
|
2232
2337
|
|
|
2338
|
+
@pulumi.output_type
|
|
2339
|
+
class SuccessPolicy(dict):
|
|
2340
|
+
"""
|
|
2341
|
+
SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.
|
|
2342
|
+
"""
|
|
2343
|
+
def __init__(__self__, *,
|
|
2344
|
+
rules: Sequence['outputs.SuccessPolicyRule']):
|
|
2345
|
+
"""
|
|
2346
|
+
SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.
|
|
2347
|
+
:param Sequence['SuccessPolicyRuleArgs'] rules: rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the "SucceededCriteriaMet" condition is added, and the lingering pods are removed. The terminal state for such a Job has the "Complete" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.
|
|
2348
|
+
"""
|
|
2349
|
+
pulumi.set(__self__, "rules", rules)
|
|
2350
|
+
|
|
2351
|
+
@property
|
|
2352
|
+
@pulumi.getter
|
|
2353
|
+
def rules(self) -> Sequence['outputs.SuccessPolicyRule']:
|
|
2354
|
+
"""
|
|
2355
|
+
rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the "SucceededCriteriaMet" condition is added, and the lingering pods are removed. The terminal state for such a Job has the "Complete" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.
|
|
2356
|
+
"""
|
|
2357
|
+
return pulumi.get(self, "rules")
|
|
2358
|
+
|
|
2359
|
+
|
|
2360
|
+
@pulumi.output_type
|
|
2361
|
+
class SuccessPolicyPatch(dict):
|
|
2362
|
+
"""
|
|
2363
|
+
SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.
|
|
2364
|
+
"""
|
|
2365
|
+
def __init__(__self__, *,
|
|
2366
|
+
rules: Optional[Sequence['outputs.SuccessPolicyRulePatch']] = None):
|
|
2367
|
+
"""
|
|
2368
|
+
SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.
|
|
2369
|
+
:param Sequence['SuccessPolicyRulePatchArgs'] rules: rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the "SucceededCriteriaMet" condition is added, and the lingering pods are removed. The terminal state for such a Job has the "Complete" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.
|
|
2370
|
+
"""
|
|
2371
|
+
if rules is not None:
|
|
2372
|
+
pulumi.set(__self__, "rules", rules)
|
|
2373
|
+
|
|
2374
|
+
@property
|
|
2375
|
+
@pulumi.getter
|
|
2376
|
+
def rules(self) -> Optional[Sequence['outputs.SuccessPolicyRulePatch']]:
|
|
2377
|
+
"""
|
|
2378
|
+
rules represents the list of alternative rules for the declaring the Jobs as successful before `.status.succeeded >= .spec.completions`. Once any of the rules are met, the "SucceededCriteriaMet" condition is added, and the lingering pods are removed. The terminal state for such a Job has the "Complete" condition. Additionally, these rules are evaluated in order; Once the Job meets one of the rules, other rules are ignored. At most 20 elements are allowed.
|
|
2379
|
+
"""
|
|
2380
|
+
return pulumi.get(self, "rules")
|
|
2381
|
+
|
|
2382
|
+
|
|
2383
|
+
@pulumi.output_type
|
|
2384
|
+
class SuccessPolicyRule(dict):
|
|
2385
|
+
"""
|
|
2386
|
+
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2387
|
+
"""
|
|
2388
|
+
@staticmethod
|
|
2389
|
+
def __key_warning(key: str):
|
|
2390
|
+
suggest = None
|
|
2391
|
+
if key == "succeededCount":
|
|
2392
|
+
suggest = "succeeded_count"
|
|
2393
|
+
elif key == "succeededIndexes":
|
|
2394
|
+
suggest = "succeeded_indexes"
|
|
2395
|
+
|
|
2396
|
+
if suggest:
|
|
2397
|
+
pulumi.log.warn(f"Key '{key}' not found in SuccessPolicyRule. Access the value via the '{suggest}' property getter instead.")
|
|
2398
|
+
|
|
2399
|
+
def __getitem__(self, key: str) -> Any:
|
|
2400
|
+
SuccessPolicyRule.__key_warning(key)
|
|
2401
|
+
return super().__getitem__(key)
|
|
2402
|
+
|
|
2403
|
+
def get(self, key: str, default = None) -> Any:
|
|
2404
|
+
SuccessPolicyRule.__key_warning(key)
|
|
2405
|
+
return super().get(key, default)
|
|
2406
|
+
|
|
2407
|
+
def __init__(__self__, *,
|
|
2408
|
+
succeeded_count: Optional[int] = None,
|
|
2409
|
+
succeeded_indexes: Optional[str] = None):
|
|
2410
|
+
"""
|
|
2411
|
+
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2412
|
+
:param int succeeded_count: succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2413
|
+
:param str succeeded_indexes: succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2414
|
+
"""
|
|
2415
|
+
if succeeded_count is not None:
|
|
2416
|
+
pulumi.set(__self__, "succeeded_count", succeeded_count)
|
|
2417
|
+
if succeeded_indexes is not None:
|
|
2418
|
+
pulumi.set(__self__, "succeeded_indexes", succeeded_indexes)
|
|
2419
|
+
|
|
2420
|
+
@property
|
|
2421
|
+
@pulumi.getter(name="succeededCount")
|
|
2422
|
+
def succeeded_count(self) -> Optional[int]:
|
|
2423
|
+
"""
|
|
2424
|
+
succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2425
|
+
"""
|
|
2426
|
+
return pulumi.get(self, "succeeded_count")
|
|
2427
|
+
|
|
2428
|
+
@property
|
|
2429
|
+
@pulumi.getter(name="succeededIndexes")
|
|
2430
|
+
def succeeded_indexes(self) -> Optional[str]:
|
|
2431
|
+
"""
|
|
2432
|
+
succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2433
|
+
"""
|
|
2434
|
+
return pulumi.get(self, "succeeded_indexes")
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
@pulumi.output_type
|
|
2438
|
+
class SuccessPolicyRulePatch(dict):
|
|
2439
|
+
"""
|
|
2440
|
+
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2441
|
+
"""
|
|
2442
|
+
@staticmethod
|
|
2443
|
+
def __key_warning(key: str):
|
|
2444
|
+
suggest = None
|
|
2445
|
+
if key == "succeededCount":
|
|
2446
|
+
suggest = "succeeded_count"
|
|
2447
|
+
elif key == "succeededIndexes":
|
|
2448
|
+
suggest = "succeeded_indexes"
|
|
2449
|
+
|
|
2450
|
+
if suggest:
|
|
2451
|
+
pulumi.log.warn(f"Key '{key}' not found in SuccessPolicyRulePatch. Access the value via the '{suggest}' property getter instead.")
|
|
2452
|
+
|
|
2453
|
+
def __getitem__(self, key: str) -> Any:
|
|
2454
|
+
SuccessPolicyRulePatch.__key_warning(key)
|
|
2455
|
+
return super().__getitem__(key)
|
|
2456
|
+
|
|
2457
|
+
def get(self, key: str, default = None) -> Any:
|
|
2458
|
+
SuccessPolicyRulePatch.__key_warning(key)
|
|
2459
|
+
return super().get(key, default)
|
|
2460
|
+
|
|
2461
|
+
def __init__(__self__, *,
|
|
2462
|
+
succeeded_count: Optional[int] = None,
|
|
2463
|
+
succeeded_indexes: Optional[str] = None):
|
|
2464
|
+
"""
|
|
2465
|
+
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2466
|
+
:param int succeeded_count: succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2467
|
+
:param str succeeded_indexes: succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2468
|
+
"""
|
|
2469
|
+
if succeeded_count is not None:
|
|
2470
|
+
pulumi.set(__self__, "succeeded_count", succeeded_count)
|
|
2471
|
+
if succeeded_indexes is not None:
|
|
2472
|
+
pulumi.set(__self__, "succeeded_indexes", succeeded_indexes)
|
|
2473
|
+
|
|
2474
|
+
@property
|
|
2475
|
+
@pulumi.getter(name="succeededCount")
|
|
2476
|
+
def succeeded_count(self) -> Optional[int]:
|
|
2477
|
+
"""
|
|
2478
|
+
succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2479
|
+
"""
|
|
2480
|
+
return pulumi.get(self, "succeeded_count")
|
|
2481
|
+
|
|
2482
|
+
@property
|
|
2483
|
+
@pulumi.getter(name="succeededIndexes")
|
|
2484
|
+
def succeeded_indexes(self) -> Optional[str]:
|
|
2485
|
+
"""
|
|
2486
|
+
succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2487
|
+
"""
|
|
2488
|
+
return pulumi.get(self, "succeeded_indexes")
|
|
2489
|
+
|
|
2490
|
+
|
|
2233
2491
|
@pulumi.output_type
|
|
2234
2492
|
class UncountedTerminatedPods(dict):
|
|
2235
2493
|
"""
|