pulumi-kubernetes 4.24.0a1753079574__py3-none-any.whl → 4.24.0a1753165802__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 +1 -1
- pulumi_kubernetes/_inputs.py +49 -50
- pulumi_kubernetes/admissionregistration/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +715 -716
- pulumi_kubernetes/admissionregistration/v1/outputs.py +512 -513
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +495 -496
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +364 -365
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +711 -712
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +508 -509
- pulumi_kubernetes/apiextensions/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/_inputs.py +906 -907
- pulumi_kubernetes/apiextensions/v1/outputs.py +620 -621
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -835
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -573
- pulumi_kubernetes/apiregistration/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1/outputs.py +128 -129
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -129
- pulumi_kubernetes/apps/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/_inputs.py +749 -750
- pulumi_kubernetes/apps/v1/outputs.py +713 -714
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -410
- pulumi_kubernetes/apps/v1beta1/outputs.py +381 -382
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -656
- pulumi_kubernetes/apps/v1beta2/outputs.py +645 -646
- pulumi_kubernetes/auditregistration/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -146
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -102
- pulumi_kubernetes/autoscaling/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -121
- pulumi_kubernetes/autoscaling/v1/outputs.py +102 -103
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2/_inputs.py +410 -411
- pulumi_kubernetes/autoscaling/v2/outputs.py +374 -375
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -452
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -425
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -399
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -367
- pulumi_kubernetes/batch/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/Job.py +26 -27
- pulumi_kubernetes/batch/v1/JobList.py +25 -26
- pulumi_kubernetes/batch/v1/JobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/_inputs.py +494 -495
- pulumi_kubernetes/batch/v1/outputs.py +419 -420
- pulumi_kubernetes/batch/v1beta1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v1beta1/outputs.py +76 -77
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -1
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -77
- pulumi_kubernetes/certificates/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/_inputs.py +155 -156
- pulumi_kubernetes/certificates/v1/outputs.py +134 -135
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -40
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -28
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +182 -183
- pulumi_kubernetes/certificates/v1beta1/outputs.py +154 -155
- pulumi_kubernetes/coordination/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/_inputs.py +99 -100
- pulumi_kubernetes/coordination/v1/outputs.py +67 -68
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1beta1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +161 -162
- pulumi_kubernetes/coordination/v1beta1/outputs.py +109 -110
- pulumi_kubernetes/core/__init__.py +1 -1
- pulumi_kubernetes/core/v1/Binding.py +25 -26
- pulumi_kubernetes/core/v1/BindingPatch.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMap.py +53 -54
- pulumi_kubernetes/core/v1/ConfigMapList.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +53 -54
- pulumi_kubernetes/core/v1/Endpoints.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsList.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsPatch.py +25 -26
- pulumi_kubernetes/core/v1/Event.py +131 -132
- pulumi_kubernetes/core/v1/EventList.py +25 -26
- pulumi_kubernetes/core/v1/EventPatch.py +131 -132
- pulumi_kubernetes/core/v1/LimitRange.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangeList.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangePatch.py +25 -26
- pulumi_kubernetes/core/v1/Namespace.py +26 -27
- pulumi_kubernetes/core/v1/NamespaceList.py +25 -26
- pulumi_kubernetes/core/v1/NamespacePatch.py +26 -27
- pulumi_kubernetes/core/v1/Node.py +26 -27
- pulumi_kubernetes/core/v1/NodeList.py +25 -26
- pulumi_kubernetes/core/v1/NodePatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolume.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +26 -27
- pulumi_kubernetes/core/v1/Pod.py +26 -27
- pulumi_kubernetes/core/v1/PodList.py +25 -26
- pulumi_kubernetes/core/v1/PodPatch.py +26 -27
- pulumi_kubernetes/core/v1/PodTemplate.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplateList.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationController.py +26 -27
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuota.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +25 -26
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +26 -27
- pulumi_kubernetes/core/v1/Secret.py +63 -64
- pulumi_kubernetes/core/v1/SecretList.py +25 -26
- pulumi_kubernetes/core/v1/SecretPatch.py +63 -64
- pulumi_kubernetes/core/v1/Service.py +26 -27
- pulumi_kubernetes/core/v1/ServiceAccount.py +37 -38
- pulumi_kubernetes/core/v1/ServiceAccountList.py +25 -26
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +37 -38
- pulumi_kubernetes/core/v1/ServiceList.py +25 -26
- pulumi_kubernetes/core/v1/ServicePatch.py +26 -27
- pulumi_kubernetes/core/v1/__init__.py +1 -1
- pulumi_kubernetes/core/v1/_enums.py +2 -2
- pulumi_kubernetes/core/v1/_inputs.py +7133 -7134
- pulumi_kubernetes/core/v1/outputs.py +5390 -5391
- pulumi_kubernetes/discovery/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/_inputs.py +200 -201
- pulumi_kubernetes/discovery/v1/outputs.py +138 -139
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -159
- pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -109
- pulumi_kubernetes/events/__init__.py +1 -1
- pulumi_kubernetes/events/v1/Event.py +131 -132
- pulumi_kubernetes/events/v1/EventList.py +25 -26
- pulumi_kubernetes/events/v1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1/__init__.py +1 -1
- pulumi_kubernetes/events/v1/_inputs.py +102 -103
- pulumi_kubernetes/events/v1/outputs.py +70 -71
- pulumi_kubernetes/events/v1beta1/Event.py +131 -132
- pulumi_kubernetes/events/v1beta1/EventList.py +25 -26
- pulumi_kubernetes/events/v1beta1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/events/v1beta1/_inputs.py +114 -115
- pulumi_kubernetes/events/v1beta1/outputs.py +78 -79
- pulumi_kubernetes/extensions/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1098
- pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -900
- pulumi_kubernetes/flowcontrol/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +333 -334
- pulumi_kubernetes/helm/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/Release.py +316 -317
- pulumi_kubernetes/helm/v3/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/_inputs.py +37 -38
- pulumi_kubernetes/helm/v3/outputs.py +54 -55
- pulumi_kubernetes/helm/v4/Chart.py +95 -96
- pulumi_kubernetes/helm/v4/__init__.py +1 -1
- pulumi_kubernetes/helm/v4/_inputs.py +34 -35
- pulumi_kubernetes/kustomize/__init__.py +1 -1
- pulumi_kubernetes/kustomize/v2/Directory.py +35 -36
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -1
- pulumi_kubernetes/meta/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/Status.py +57 -58
- pulumi_kubernetes/meta/v1/StatusPatch.py +57 -58
- pulumi_kubernetes/meta/v1/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/_inputs.py +551 -552
- pulumi_kubernetes/meta/v1/outputs.py +395 -396
- pulumi_kubernetes/networking/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/_inputs.py +463 -464
- pulumi_kubernetes/networking/v1/outputs.py +350 -351
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -158
- pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -111
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -248
- pulumi_kubernetes/networking/v1beta1/outputs.py +173 -174
- pulumi_kubernetes/node/__init__.py +1 -1
- pulumi_kubernetes/node/v1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1/__init__.py +1 -1
- pulumi_kubernetes/node/v1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1/outputs.py +34 -35
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +25 -26
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -58
- pulumi_kubernetes/node/v1alpha1/outputs.py +41 -42
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/node/v1beta1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1beta1/outputs.py +34 -35
- pulumi_kubernetes/policy/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/_inputs.py +91 -92
- pulumi_kubernetes/policy/v1/outputs.py +80 -81
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -471
- pulumi_kubernetes/policy/v1beta1/outputs.py +342 -343
- pulumi_kubernetes/provider.py +107 -108
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -143
- pulumi_kubernetes/resource/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -269
- pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -231
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -551
- pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -450
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +27 -28
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +836 -837
- pulumi_kubernetes/resource/v1alpha3/outputs.py +685 -686
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta1/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta1/outputs.py +564 -565
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta2/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta2/outputs.py +564 -565
- pulumi_kubernetes/scheduling/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -27
- pulumi_kubernetes/settings/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -22
- pulumi_kubernetes/storage/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/_inputs.py +372 -373
- pulumi_kubernetes/storage/v1/outputs.py +278 -279
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -108
- pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -94
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -368
- pulumi_kubernetes/storage/v1beta1/outputs.py +271 -272
- pulumi_kubernetes/storagemigration/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +25 -26
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -104
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -97
- pulumi_kubernetes/yaml/__init__.py +1 -1
- pulumi_kubernetes/yaml/v2/ConfigFile.py +26 -27
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +35 -36
- pulumi_kubernetes/yaml/v2/__init__.py +1 -1
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753165802.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.24.0a1753165802.dist-info/RECORD +709 -0
- pulumi_kubernetes-4.24.0a1753079574.dist-info/RECORD +0 -709
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753165802.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753165802.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -75,13 +74,13 @@ if not MYPY:
|
|
|
75
74
|
"""
|
|
76
75
|
CronJobSpec describes how the job execution will look like and when it will actually run.
|
|
77
76
|
"""
|
|
78
|
-
concurrency_policy: NotRequired[pulumi.Input[
|
|
77
|
+
concurrency_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
79
78
|
"""
|
|
80
79
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
81
80
|
|
|
82
81
|
- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
|
|
83
82
|
"""
|
|
84
|
-
failed_jobs_history_limit: NotRequired[pulumi.Input[
|
|
83
|
+
failed_jobs_history_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
85
84
|
"""
|
|
86
85
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
87
86
|
"""
|
|
@@ -89,23 +88,23 @@ if not MYPY:
|
|
|
89
88
|
"""
|
|
90
89
|
Specifies the job that will be created when executing a CronJob.
|
|
91
90
|
"""
|
|
92
|
-
schedule: NotRequired[pulumi.Input[
|
|
91
|
+
schedule: NotRequired[pulumi.Input[_builtins.str]]
|
|
93
92
|
"""
|
|
94
93
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
95
94
|
"""
|
|
96
|
-
starting_deadline_seconds: NotRequired[pulumi.Input[
|
|
95
|
+
starting_deadline_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
97
96
|
"""
|
|
98
97
|
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
99
98
|
"""
|
|
100
|
-
successful_jobs_history_limit: NotRequired[pulumi.Input[
|
|
99
|
+
successful_jobs_history_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
101
100
|
"""
|
|
102
101
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
103
102
|
"""
|
|
104
|
-
suspend: NotRequired[pulumi.Input[
|
|
103
|
+
suspend: NotRequired[pulumi.Input[_builtins.bool]]
|
|
105
104
|
"""
|
|
106
105
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
107
106
|
"""
|
|
108
|
-
time_zone: NotRequired[pulumi.Input[
|
|
107
|
+
time_zone: NotRequired[pulumi.Input[_builtins.str]]
|
|
109
108
|
"""
|
|
110
109
|
The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
111
110
|
"""
|
|
@@ -115,26 +114,26 @@ elif False:
|
|
|
115
114
|
@pulumi.input_type
|
|
116
115
|
class CronJobSpecPatchArgs:
|
|
117
116
|
def __init__(__self__, *,
|
|
118
|
-
concurrency_policy: Optional[pulumi.Input[
|
|
119
|
-
failed_jobs_history_limit: Optional[pulumi.Input[
|
|
117
|
+
concurrency_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
118
|
+
failed_jobs_history_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
120
119
|
job_template: Optional[pulumi.Input['JobTemplateSpecPatchArgs']] = None,
|
|
121
|
-
schedule: Optional[pulumi.Input[
|
|
122
|
-
starting_deadline_seconds: Optional[pulumi.Input[
|
|
123
|
-
successful_jobs_history_limit: Optional[pulumi.Input[
|
|
124
|
-
suspend: Optional[pulumi.Input[
|
|
125
|
-
time_zone: Optional[pulumi.Input[
|
|
120
|
+
schedule: Optional[pulumi.Input[_builtins.str]] = None,
|
|
121
|
+
starting_deadline_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
122
|
+
successful_jobs_history_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
123
|
+
suspend: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
124
|
+
time_zone: Optional[pulumi.Input[_builtins.str]] = None):
|
|
126
125
|
"""
|
|
127
126
|
CronJobSpec describes how the job execution will look like and when it will actually run.
|
|
128
|
-
:param pulumi.Input[
|
|
127
|
+
:param pulumi.Input[_builtins.str] concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
129
128
|
|
|
130
129
|
- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
|
|
131
|
-
:param pulumi.Input[
|
|
130
|
+
:param pulumi.Input[_builtins.int] failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
132
131
|
:param pulumi.Input['JobTemplateSpecPatchArgs'] job_template: Specifies the job that will be created when executing a CronJob.
|
|
133
|
-
:param pulumi.Input[
|
|
134
|
-
:param pulumi.Input[
|
|
135
|
-
:param pulumi.Input[
|
|
136
|
-
:param pulumi.Input[
|
|
137
|
-
:param pulumi.Input[
|
|
132
|
+
:param pulumi.Input[_builtins.str] schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
133
|
+
:param pulumi.Input[_builtins.int] starting_deadline_seconds: Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
134
|
+
:param pulumi.Input[_builtins.int] successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
135
|
+
:param pulumi.Input[_builtins.bool] suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
136
|
+
:param pulumi.Input[_builtins.str] time_zone: The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
138
137
|
"""
|
|
139
138
|
if concurrency_policy is not None:
|
|
140
139
|
pulumi.set(__self__, "concurrency_policy", concurrency_policy)
|
|
@@ -153,9 +152,9 @@ class CronJobSpecPatchArgs:
|
|
|
153
152
|
if time_zone is not None:
|
|
154
153
|
pulumi.set(__self__, "time_zone", time_zone)
|
|
155
154
|
|
|
156
|
-
@property
|
|
155
|
+
@_builtins.property
|
|
157
156
|
@pulumi.getter(name="concurrencyPolicy")
|
|
158
|
-
def concurrency_policy(self) -> Optional[pulumi.Input[
|
|
157
|
+
def concurrency_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
159
158
|
"""
|
|
160
159
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
161
160
|
|
|
@@ -164,22 +163,22 @@ class CronJobSpecPatchArgs:
|
|
|
164
163
|
return pulumi.get(self, "concurrency_policy")
|
|
165
164
|
|
|
166
165
|
@concurrency_policy.setter
|
|
167
|
-
def concurrency_policy(self, value: Optional[pulumi.Input[
|
|
166
|
+
def concurrency_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
168
167
|
pulumi.set(self, "concurrency_policy", value)
|
|
169
168
|
|
|
170
|
-
@property
|
|
169
|
+
@_builtins.property
|
|
171
170
|
@pulumi.getter(name="failedJobsHistoryLimit")
|
|
172
|
-
def failed_jobs_history_limit(self) -> Optional[pulumi.Input[
|
|
171
|
+
def failed_jobs_history_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
173
172
|
"""
|
|
174
173
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
175
174
|
"""
|
|
176
175
|
return pulumi.get(self, "failed_jobs_history_limit")
|
|
177
176
|
|
|
178
177
|
@failed_jobs_history_limit.setter
|
|
179
|
-
def failed_jobs_history_limit(self, value: Optional[pulumi.Input[
|
|
178
|
+
def failed_jobs_history_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
180
179
|
pulumi.set(self, "failed_jobs_history_limit", value)
|
|
181
180
|
|
|
182
|
-
@property
|
|
181
|
+
@_builtins.property
|
|
183
182
|
@pulumi.getter(name="jobTemplate")
|
|
184
183
|
def job_template(self) -> Optional[pulumi.Input['JobTemplateSpecPatchArgs']]:
|
|
185
184
|
"""
|
|
@@ -191,64 +190,64 @@ class CronJobSpecPatchArgs:
|
|
|
191
190
|
def job_template(self, value: Optional[pulumi.Input['JobTemplateSpecPatchArgs']]):
|
|
192
191
|
pulumi.set(self, "job_template", value)
|
|
193
192
|
|
|
194
|
-
@property
|
|
193
|
+
@_builtins.property
|
|
195
194
|
@pulumi.getter
|
|
196
|
-
def schedule(self) -> Optional[pulumi.Input[
|
|
195
|
+
def schedule(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
197
196
|
"""
|
|
198
197
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
199
198
|
"""
|
|
200
199
|
return pulumi.get(self, "schedule")
|
|
201
200
|
|
|
202
201
|
@schedule.setter
|
|
203
|
-
def schedule(self, value: Optional[pulumi.Input[
|
|
202
|
+
def schedule(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
204
203
|
pulumi.set(self, "schedule", value)
|
|
205
204
|
|
|
206
|
-
@property
|
|
205
|
+
@_builtins.property
|
|
207
206
|
@pulumi.getter(name="startingDeadlineSeconds")
|
|
208
|
-
def starting_deadline_seconds(self) -> Optional[pulumi.Input[
|
|
207
|
+
def starting_deadline_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
209
208
|
"""
|
|
210
209
|
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
211
210
|
"""
|
|
212
211
|
return pulumi.get(self, "starting_deadline_seconds")
|
|
213
212
|
|
|
214
213
|
@starting_deadline_seconds.setter
|
|
215
|
-
def starting_deadline_seconds(self, value: Optional[pulumi.Input[
|
|
214
|
+
def starting_deadline_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
216
215
|
pulumi.set(self, "starting_deadline_seconds", value)
|
|
217
216
|
|
|
218
|
-
@property
|
|
217
|
+
@_builtins.property
|
|
219
218
|
@pulumi.getter(name="successfulJobsHistoryLimit")
|
|
220
|
-
def successful_jobs_history_limit(self) -> Optional[pulumi.Input[
|
|
219
|
+
def successful_jobs_history_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
221
220
|
"""
|
|
222
221
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
223
222
|
"""
|
|
224
223
|
return pulumi.get(self, "successful_jobs_history_limit")
|
|
225
224
|
|
|
226
225
|
@successful_jobs_history_limit.setter
|
|
227
|
-
def successful_jobs_history_limit(self, value: Optional[pulumi.Input[
|
|
226
|
+
def successful_jobs_history_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
228
227
|
pulumi.set(self, "successful_jobs_history_limit", value)
|
|
229
228
|
|
|
230
|
-
@property
|
|
229
|
+
@_builtins.property
|
|
231
230
|
@pulumi.getter
|
|
232
|
-
def suspend(self) -> Optional[pulumi.Input[
|
|
231
|
+
def suspend(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
233
232
|
"""
|
|
234
233
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
235
234
|
"""
|
|
236
235
|
return pulumi.get(self, "suspend")
|
|
237
236
|
|
|
238
237
|
@suspend.setter
|
|
239
|
-
def suspend(self, value: Optional[pulumi.Input[
|
|
238
|
+
def suspend(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
240
239
|
pulumi.set(self, "suspend", value)
|
|
241
240
|
|
|
242
|
-
@property
|
|
241
|
+
@_builtins.property
|
|
243
242
|
@pulumi.getter(name="timeZone")
|
|
244
|
-
def time_zone(self) -> Optional[pulumi.Input[
|
|
243
|
+
def time_zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
245
244
|
"""
|
|
246
245
|
The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
247
246
|
"""
|
|
248
247
|
return pulumi.get(self, "time_zone")
|
|
249
248
|
|
|
250
249
|
@time_zone.setter
|
|
251
|
-
def time_zone(self, value: Optional[pulumi.Input[
|
|
250
|
+
def time_zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
252
251
|
pulumi.set(self, "time_zone", value)
|
|
253
252
|
|
|
254
253
|
|
|
@@ -261,33 +260,33 @@ if not MYPY:
|
|
|
261
260
|
"""
|
|
262
261
|
Specifies the job that will be created when executing a CronJob.
|
|
263
262
|
"""
|
|
264
|
-
schedule: pulumi.Input[
|
|
263
|
+
schedule: pulumi.Input[_builtins.str]
|
|
265
264
|
"""
|
|
266
265
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
267
266
|
"""
|
|
268
|
-
concurrency_policy: NotRequired[pulumi.Input[
|
|
267
|
+
concurrency_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
269
268
|
"""
|
|
270
269
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
271
270
|
|
|
272
271
|
- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
|
|
273
272
|
"""
|
|
274
|
-
failed_jobs_history_limit: NotRequired[pulumi.Input[
|
|
273
|
+
failed_jobs_history_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
275
274
|
"""
|
|
276
275
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
277
276
|
"""
|
|
278
|
-
starting_deadline_seconds: NotRequired[pulumi.Input[
|
|
277
|
+
starting_deadline_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
279
278
|
"""
|
|
280
279
|
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
281
280
|
"""
|
|
282
|
-
successful_jobs_history_limit: NotRequired[pulumi.Input[
|
|
281
|
+
successful_jobs_history_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
283
282
|
"""
|
|
284
283
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
285
284
|
"""
|
|
286
|
-
suspend: NotRequired[pulumi.Input[
|
|
285
|
+
suspend: NotRequired[pulumi.Input[_builtins.bool]]
|
|
287
286
|
"""
|
|
288
287
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
289
288
|
"""
|
|
290
|
-
time_zone: NotRequired[pulumi.Input[
|
|
289
|
+
time_zone: NotRequired[pulumi.Input[_builtins.str]]
|
|
291
290
|
"""
|
|
292
291
|
The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
293
292
|
"""
|
|
@@ -298,25 +297,25 @@ elif False:
|
|
|
298
297
|
class CronJobSpecArgs:
|
|
299
298
|
def __init__(__self__, *,
|
|
300
299
|
job_template: pulumi.Input['JobTemplateSpecArgs'],
|
|
301
|
-
schedule: pulumi.Input[
|
|
302
|
-
concurrency_policy: Optional[pulumi.Input[
|
|
303
|
-
failed_jobs_history_limit: Optional[pulumi.Input[
|
|
304
|
-
starting_deadline_seconds: Optional[pulumi.Input[
|
|
305
|
-
successful_jobs_history_limit: Optional[pulumi.Input[
|
|
306
|
-
suspend: Optional[pulumi.Input[
|
|
307
|
-
time_zone: Optional[pulumi.Input[
|
|
300
|
+
schedule: pulumi.Input[_builtins.str],
|
|
301
|
+
concurrency_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
302
|
+
failed_jobs_history_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
303
|
+
starting_deadline_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
304
|
+
successful_jobs_history_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
305
|
+
suspend: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
306
|
+
time_zone: Optional[pulumi.Input[_builtins.str]] = None):
|
|
308
307
|
"""
|
|
309
308
|
CronJobSpec describes how the job execution will look like and when it will actually run.
|
|
310
309
|
:param pulumi.Input['JobTemplateSpecArgs'] job_template: Specifies the job that will be created when executing a CronJob.
|
|
311
|
-
:param pulumi.Input[
|
|
312
|
-
:param pulumi.Input[
|
|
310
|
+
:param pulumi.Input[_builtins.str] schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
311
|
+
:param pulumi.Input[_builtins.str] concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
313
312
|
|
|
314
313
|
- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
|
|
315
|
-
:param pulumi.Input[
|
|
316
|
-
:param pulumi.Input[
|
|
317
|
-
:param pulumi.Input[
|
|
318
|
-
:param pulumi.Input[
|
|
319
|
-
:param pulumi.Input[
|
|
314
|
+
:param pulumi.Input[_builtins.int] failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
315
|
+
:param pulumi.Input[_builtins.int] starting_deadline_seconds: Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
316
|
+
:param pulumi.Input[_builtins.int] successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
317
|
+
:param pulumi.Input[_builtins.bool] suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
318
|
+
:param pulumi.Input[_builtins.str] time_zone: The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
320
319
|
"""
|
|
321
320
|
pulumi.set(__self__, "job_template", job_template)
|
|
322
321
|
pulumi.set(__self__, "schedule", schedule)
|
|
@@ -333,7 +332,7 @@ class CronJobSpecArgs:
|
|
|
333
332
|
if time_zone is not None:
|
|
334
333
|
pulumi.set(__self__, "time_zone", time_zone)
|
|
335
334
|
|
|
336
|
-
@property
|
|
335
|
+
@_builtins.property
|
|
337
336
|
@pulumi.getter(name="jobTemplate")
|
|
338
337
|
def job_template(self) -> pulumi.Input['JobTemplateSpecArgs']:
|
|
339
338
|
"""
|
|
@@ -345,21 +344,21 @@ class CronJobSpecArgs:
|
|
|
345
344
|
def job_template(self, value: pulumi.Input['JobTemplateSpecArgs']):
|
|
346
345
|
pulumi.set(self, "job_template", value)
|
|
347
346
|
|
|
348
|
-
@property
|
|
347
|
+
@_builtins.property
|
|
349
348
|
@pulumi.getter
|
|
350
|
-
def schedule(self) -> pulumi.Input[
|
|
349
|
+
def schedule(self) -> pulumi.Input[_builtins.str]:
|
|
351
350
|
"""
|
|
352
351
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
353
352
|
"""
|
|
354
353
|
return pulumi.get(self, "schedule")
|
|
355
354
|
|
|
356
355
|
@schedule.setter
|
|
357
|
-
def schedule(self, value: pulumi.Input[
|
|
356
|
+
def schedule(self, value: pulumi.Input[_builtins.str]):
|
|
358
357
|
pulumi.set(self, "schedule", value)
|
|
359
358
|
|
|
360
|
-
@property
|
|
359
|
+
@_builtins.property
|
|
361
360
|
@pulumi.getter(name="concurrencyPolicy")
|
|
362
|
-
def concurrency_policy(self) -> Optional[pulumi.Input[
|
|
361
|
+
def concurrency_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
363
362
|
"""
|
|
364
363
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
365
364
|
|
|
@@ -368,67 +367,67 @@ class CronJobSpecArgs:
|
|
|
368
367
|
return pulumi.get(self, "concurrency_policy")
|
|
369
368
|
|
|
370
369
|
@concurrency_policy.setter
|
|
371
|
-
def concurrency_policy(self, value: Optional[pulumi.Input[
|
|
370
|
+
def concurrency_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
372
371
|
pulumi.set(self, "concurrency_policy", value)
|
|
373
372
|
|
|
374
|
-
@property
|
|
373
|
+
@_builtins.property
|
|
375
374
|
@pulumi.getter(name="failedJobsHistoryLimit")
|
|
376
|
-
def failed_jobs_history_limit(self) -> Optional[pulumi.Input[
|
|
375
|
+
def failed_jobs_history_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
377
376
|
"""
|
|
378
377
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
379
378
|
"""
|
|
380
379
|
return pulumi.get(self, "failed_jobs_history_limit")
|
|
381
380
|
|
|
382
381
|
@failed_jobs_history_limit.setter
|
|
383
|
-
def failed_jobs_history_limit(self, value: Optional[pulumi.Input[
|
|
382
|
+
def failed_jobs_history_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
384
383
|
pulumi.set(self, "failed_jobs_history_limit", value)
|
|
385
384
|
|
|
386
|
-
@property
|
|
385
|
+
@_builtins.property
|
|
387
386
|
@pulumi.getter(name="startingDeadlineSeconds")
|
|
388
|
-
def starting_deadline_seconds(self) -> Optional[pulumi.Input[
|
|
387
|
+
def starting_deadline_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
389
388
|
"""
|
|
390
389
|
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
391
390
|
"""
|
|
392
391
|
return pulumi.get(self, "starting_deadline_seconds")
|
|
393
392
|
|
|
394
393
|
@starting_deadline_seconds.setter
|
|
395
|
-
def starting_deadline_seconds(self, value: Optional[pulumi.Input[
|
|
394
|
+
def starting_deadline_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
396
395
|
pulumi.set(self, "starting_deadline_seconds", value)
|
|
397
396
|
|
|
398
|
-
@property
|
|
397
|
+
@_builtins.property
|
|
399
398
|
@pulumi.getter(name="successfulJobsHistoryLimit")
|
|
400
|
-
def successful_jobs_history_limit(self) -> Optional[pulumi.Input[
|
|
399
|
+
def successful_jobs_history_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
401
400
|
"""
|
|
402
401
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
403
402
|
"""
|
|
404
403
|
return pulumi.get(self, "successful_jobs_history_limit")
|
|
405
404
|
|
|
406
405
|
@successful_jobs_history_limit.setter
|
|
407
|
-
def successful_jobs_history_limit(self, value: Optional[pulumi.Input[
|
|
406
|
+
def successful_jobs_history_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
408
407
|
pulumi.set(self, "successful_jobs_history_limit", value)
|
|
409
408
|
|
|
410
|
-
@property
|
|
409
|
+
@_builtins.property
|
|
411
410
|
@pulumi.getter
|
|
412
|
-
def suspend(self) -> Optional[pulumi.Input[
|
|
411
|
+
def suspend(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
413
412
|
"""
|
|
414
413
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
415
414
|
"""
|
|
416
415
|
return pulumi.get(self, "suspend")
|
|
417
416
|
|
|
418
417
|
@suspend.setter
|
|
419
|
-
def suspend(self, value: Optional[pulumi.Input[
|
|
418
|
+
def suspend(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
420
419
|
pulumi.set(self, "suspend", value)
|
|
421
420
|
|
|
422
|
-
@property
|
|
421
|
+
@_builtins.property
|
|
423
422
|
@pulumi.getter(name="timeZone")
|
|
424
|
-
def time_zone(self) -> Optional[pulumi.Input[
|
|
423
|
+
def time_zone(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
425
424
|
"""
|
|
426
425
|
The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
427
426
|
"""
|
|
428
427
|
return pulumi.get(self, "time_zone")
|
|
429
428
|
|
|
430
429
|
@time_zone.setter
|
|
431
|
-
def time_zone(self, value: Optional[pulumi.Input[
|
|
430
|
+
def time_zone(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
432
431
|
pulumi.set(self, "time_zone", value)
|
|
433
432
|
|
|
434
433
|
|
|
@@ -441,11 +440,11 @@ if not MYPY:
|
|
|
441
440
|
"""
|
|
442
441
|
A list of pointers to currently running jobs.
|
|
443
442
|
"""
|
|
444
|
-
last_schedule_time: NotRequired[pulumi.Input[
|
|
443
|
+
last_schedule_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
445
444
|
"""
|
|
446
445
|
Information when was the last time the job was successfully scheduled.
|
|
447
446
|
"""
|
|
448
|
-
last_successful_time: NotRequired[pulumi.Input[
|
|
447
|
+
last_successful_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
449
448
|
"""
|
|
450
449
|
Information when was the last time the job successfully completed.
|
|
451
450
|
"""
|
|
@@ -456,13 +455,13 @@ elif False:
|
|
|
456
455
|
class CronJobStatusArgs:
|
|
457
456
|
def __init__(__self__, *,
|
|
458
457
|
active: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.ObjectReferenceArgs']]]] = None,
|
|
459
|
-
last_schedule_time: Optional[pulumi.Input[
|
|
460
|
-
last_successful_time: Optional[pulumi.Input[
|
|
458
|
+
last_schedule_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
459
|
+
last_successful_time: Optional[pulumi.Input[_builtins.str]] = None):
|
|
461
460
|
"""
|
|
462
461
|
CronJobStatus represents the current state of a cron job.
|
|
463
462
|
:param pulumi.Input[Sequence[pulumi.Input['_core.v1.ObjectReferenceArgs']]] active: A list of pointers to currently running jobs.
|
|
464
|
-
:param pulumi.Input[
|
|
465
|
-
:param pulumi.Input[
|
|
463
|
+
:param pulumi.Input[_builtins.str] last_schedule_time: Information when was the last time the job was successfully scheduled.
|
|
464
|
+
:param pulumi.Input[_builtins.str] last_successful_time: Information when was the last time the job successfully completed.
|
|
466
465
|
"""
|
|
467
466
|
if active is not None:
|
|
468
467
|
pulumi.set(__self__, "active", active)
|
|
@@ -471,7 +470,7 @@ class CronJobStatusArgs:
|
|
|
471
470
|
if last_successful_time is not None:
|
|
472
471
|
pulumi.set(__self__, "last_successful_time", last_successful_time)
|
|
473
472
|
|
|
474
|
-
@property
|
|
473
|
+
@_builtins.property
|
|
475
474
|
@pulumi.getter
|
|
476
475
|
def active(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.ObjectReferenceArgs']]]]:
|
|
477
476
|
"""
|
|
@@ -483,28 +482,28 @@ class CronJobStatusArgs:
|
|
|
483
482
|
def active(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.ObjectReferenceArgs']]]]):
|
|
484
483
|
pulumi.set(self, "active", value)
|
|
485
484
|
|
|
486
|
-
@property
|
|
485
|
+
@_builtins.property
|
|
487
486
|
@pulumi.getter(name="lastScheduleTime")
|
|
488
|
-
def last_schedule_time(self) -> Optional[pulumi.Input[
|
|
487
|
+
def last_schedule_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
489
488
|
"""
|
|
490
489
|
Information when was the last time the job was successfully scheduled.
|
|
491
490
|
"""
|
|
492
491
|
return pulumi.get(self, "last_schedule_time")
|
|
493
492
|
|
|
494
493
|
@last_schedule_time.setter
|
|
495
|
-
def last_schedule_time(self, value: Optional[pulumi.Input[
|
|
494
|
+
def last_schedule_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
496
495
|
pulumi.set(self, "last_schedule_time", value)
|
|
497
496
|
|
|
498
|
-
@property
|
|
497
|
+
@_builtins.property
|
|
499
498
|
@pulumi.getter(name="lastSuccessfulTime")
|
|
500
|
-
def last_successful_time(self) -> Optional[pulumi.Input[
|
|
499
|
+
def last_successful_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
501
500
|
"""
|
|
502
501
|
Information when was the last time the job successfully completed.
|
|
503
502
|
"""
|
|
504
503
|
return pulumi.get(self, "last_successful_time")
|
|
505
504
|
|
|
506
505
|
@last_successful_time.setter
|
|
507
|
-
def last_successful_time(self, value: Optional[pulumi.Input[
|
|
506
|
+
def last_successful_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
508
507
|
pulumi.set(self, "last_successful_time", value)
|
|
509
508
|
|
|
510
509
|
|
|
@@ -513,11 +512,11 @@ if not MYPY:
|
|
|
513
512
|
"""
|
|
514
513
|
CronJob represents the configuration of a single cron job.
|
|
515
514
|
"""
|
|
516
|
-
api_version: NotRequired[pulumi.Input[
|
|
515
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
517
516
|
"""
|
|
518
517
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
519
518
|
"""
|
|
520
|
-
kind: NotRequired[pulumi.Input[
|
|
519
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
521
520
|
"""
|
|
522
521
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
523
522
|
"""
|
|
@@ -539,15 +538,15 @@ elif False:
|
|
|
539
538
|
@pulumi.input_type
|
|
540
539
|
class CronJobArgs:
|
|
541
540
|
def __init__(__self__, *,
|
|
542
|
-
api_version: Optional[pulumi.Input[
|
|
543
|
-
kind: Optional[pulumi.Input[
|
|
541
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
542
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
544
543
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
545
544
|
spec: Optional[pulumi.Input['CronJobSpecArgs']] = None,
|
|
546
545
|
status: Optional[pulumi.Input['CronJobStatusArgs']] = None):
|
|
547
546
|
"""
|
|
548
547
|
CronJob represents the configuration of a single cron job.
|
|
549
|
-
:param pulumi.Input[
|
|
550
|
-
:param pulumi.Input[
|
|
548
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
549
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
551
550
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
552
551
|
:param pulumi.Input['CronJobSpecArgs'] spec: Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
553
552
|
:param pulumi.Input['CronJobStatusArgs'] status: Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
@@ -563,31 +562,31 @@ class CronJobArgs:
|
|
|
563
562
|
if status is not None:
|
|
564
563
|
pulumi.set(__self__, "status", status)
|
|
565
564
|
|
|
566
|
-
@property
|
|
565
|
+
@_builtins.property
|
|
567
566
|
@pulumi.getter(name="apiVersion")
|
|
568
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
567
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
569
568
|
"""
|
|
570
569
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
571
570
|
"""
|
|
572
571
|
return pulumi.get(self, "api_version")
|
|
573
572
|
|
|
574
573
|
@api_version.setter
|
|
575
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
574
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
576
575
|
pulumi.set(self, "api_version", value)
|
|
577
576
|
|
|
578
|
-
@property
|
|
577
|
+
@_builtins.property
|
|
579
578
|
@pulumi.getter
|
|
580
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
579
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
581
580
|
"""
|
|
582
581
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
583
582
|
"""
|
|
584
583
|
return pulumi.get(self, "kind")
|
|
585
584
|
|
|
586
585
|
@kind.setter
|
|
587
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
586
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
588
587
|
pulumi.set(self, "kind", value)
|
|
589
588
|
|
|
590
|
-
@property
|
|
589
|
+
@_builtins.property
|
|
591
590
|
@pulumi.getter
|
|
592
591
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
593
592
|
"""
|
|
@@ -599,7 +598,7 @@ class CronJobArgs:
|
|
|
599
598
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
600
599
|
pulumi.set(self, "metadata", value)
|
|
601
600
|
|
|
602
|
-
@property
|
|
601
|
+
@_builtins.property
|
|
603
602
|
@pulumi.getter
|
|
604
603
|
def spec(self) -> Optional[pulumi.Input['CronJobSpecArgs']]:
|
|
605
604
|
"""
|
|
@@ -611,7 +610,7 @@ class CronJobArgs:
|
|
|
611
610
|
def spec(self, value: Optional[pulumi.Input['CronJobSpecArgs']]):
|
|
612
611
|
pulumi.set(self, "spec", value)
|
|
613
612
|
|
|
614
|
-
@property
|
|
613
|
+
@_builtins.property
|
|
615
614
|
@pulumi.getter
|
|
616
615
|
def status(self) -> Optional[pulumi.Input['CronJobStatusArgs']]:
|
|
617
616
|
"""
|
|
@@ -629,27 +628,27 @@ if not MYPY:
|
|
|
629
628
|
"""
|
|
630
629
|
JobCondition describes current state of a job.
|
|
631
630
|
"""
|
|
632
|
-
status: pulumi.Input[
|
|
631
|
+
status: pulumi.Input[_builtins.str]
|
|
633
632
|
"""
|
|
634
633
|
Status of the condition, one of True, False, Unknown.
|
|
635
634
|
"""
|
|
636
|
-
type: pulumi.Input[
|
|
635
|
+
type: pulumi.Input[_builtins.str]
|
|
637
636
|
"""
|
|
638
637
|
Type of job condition, Complete or Failed.
|
|
639
638
|
"""
|
|
640
|
-
last_probe_time: NotRequired[pulumi.Input[
|
|
639
|
+
last_probe_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
641
640
|
"""
|
|
642
641
|
Last time the condition was checked.
|
|
643
642
|
"""
|
|
644
|
-
last_transition_time: NotRequired[pulumi.Input[
|
|
643
|
+
last_transition_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
645
644
|
"""
|
|
646
645
|
Last time the condition transit from one status to another.
|
|
647
646
|
"""
|
|
648
|
-
message: NotRequired[pulumi.Input[
|
|
647
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
649
648
|
"""
|
|
650
649
|
Human readable message indicating details about last transition.
|
|
651
650
|
"""
|
|
652
|
-
reason: NotRequired[pulumi.Input[
|
|
651
|
+
reason: NotRequired[pulumi.Input[_builtins.str]]
|
|
653
652
|
"""
|
|
654
653
|
(brief) reason for the condition's last transition.
|
|
655
654
|
"""
|
|
@@ -659,20 +658,20 @@ elif False:
|
|
|
659
658
|
@pulumi.input_type
|
|
660
659
|
class JobConditionArgs:
|
|
661
660
|
def __init__(__self__, *,
|
|
662
|
-
status: pulumi.Input[
|
|
663
|
-
type: pulumi.Input[
|
|
664
|
-
last_probe_time: Optional[pulumi.Input[
|
|
665
|
-
last_transition_time: Optional[pulumi.Input[
|
|
666
|
-
message: Optional[pulumi.Input[
|
|
667
|
-
reason: Optional[pulumi.Input[
|
|
661
|
+
status: pulumi.Input[_builtins.str],
|
|
662
|
+
type: pulumi.Input[_builtins.str],
|
|
663
|
+
last_probe_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
664
|
+
last_transition_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
665
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
666
|
+
reason: Optional[pulumi.Input[_builtins.str]] = None):
|
|
668
667
|
"""
|
|
669
668
|
JobCondition describes current state of a job.
|
|
670
|
-
:param pulumi.Input[
|
|
671
|
-
:param pulumi.Input[
|
|
672
|
-
:param pulumi.Input[
|
|
673
|
-
:param pulumi.Input[
|
|
674
|
-
:param pulumi.Input[
|
|
675
|
-
:param pulumi.Input[
|
|
669
|
+
:param pulumi.Input[_builtins.str] status: Status of the condition, one of True, False, Unknown.
|
|
670
|
+
:param pulumi.Input[_builtins.str] type: Type of job condition, Complete or Failed.
|
|
671
|
+
:param pulumi.Input[_builtins.str] last_probe_time: Last time the condition was checked.
|
|
672
|
+
:param pulumi.Input[_builtins.str] last_transition_time: Last time the condition transit from one status to another.
|
|
673
|
+
:param pulumi.Input[_builtins.str] message: Human readable message indicating details about last transition.
|
|
674
|
+
:param pulumi.Input[_builtins.str] reason: (brief) reason for the condition's last transition.
|
|
676
675
|
"""
|
|
677
676
|
pulumi.set(__self__, "status", status)
|
|
678
677
|
pulumi.set(__self__, "type", type)
|
|
@@ -685,76 +684,76 @@ class JobConditionArgs:
|
|
|
685
684
|
if reason is not None:
|
|
686
685
|
pulumi.set(__self__, "reason", reason)
|
|
687
686
|
|
|
688
|
-
@property
|
|
687
|
+
@_builtins.property
|
|
689
688
|
@pulumi.getter
|
|
690
|
-
def status(self) -> pulumi.Input[
|
|
689
|
+
def status(self) -> pulumi.Input[_builtins.str]:
|
|
691
690
|
"""
|
|
692
691
|
Status of the condition, one of True, False, Unknown.
|
|
693
692
|
"""
|
|
694
693
|
return pulumi.get(self, "status")
|
|
695
694
|
|
|
696
695
|
@status.setter
|
|
697
|
-
def status(self, value: pulumi.Input[
|
|
696
|
+
def status(self, value: pulumi.Input[_builtins.str]):
|
|
698
697
|
pulumi.set(self, "status", value)
|
|
699
698
|
|
|
700
|
-
@property
|
|
699
|
+
@_builtins.property
|
|
701
700
|
@pulumi.getter
|
|
702
|
-
def type(self) -> pulumi.Input[
|
|
701
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
703
702
|
"""
|
|
704
703
|
Type of job condition, Complete or Failed.
|
|
705
704
|
"""
|
|
706
705
|
return pulumi.get(self, "type")
|
|
707
706
|
|
|
708
707
|
@type.setter
|
|
709
|
-
def type(self, value: pulumi.Input[
|
|
708
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
710
709
|
pulumi.set(self, "type", value)
|
|
711
710
|
|
|
712
|
-
@property
|
|
711
|
+
@_builtins.property
|
|
713
712
|
@pulumi.getter(name="lastProbeTime")
|
|
714
|
-
def last_probe_time(self) -> Optional[pulumi.Input[
|
|
713
|
+
def last_probe_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
715
714
|
"""
|
|
716
715
|
Last time the condition was checked.
|
|
717
716
|
"""
|
|
718
717
|
return pulumi.get(self, "last_probe_time")
|
|
719
718
|
|
|
720
719
|
@last_probe_time.setter
|
|
721
|
-
def last_probe_time(self, value: Optional[pulumi.Input[
|
|
720
|
+
def last_probe_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
722
721
|
pulumi.set(self, "last_probe_time", value)
|
|
723
722
|
|
|
724
|
-
@property
|
|
723
|
+
@_builtins.property
|
|
725
724
|
@pulumi.getter(name="lastTransitionTime")
|
|
726
|
-
def last_transition_time(self) -> Optional[pulumi.Input[
|
|
725
|
+
def last_transition_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
727
726
|
"""
|
|
728
727
|
Last time the condition transit from one status to another.
|
|
729
728
|
"""
|
|
730
729
|
return pulumi.get(self, "last_transition_time")
|
|
731
730
|
|
|
732
731
|
@last_transition_time.setter
|
|
733
|
-
def last_transition_time(self, value: Optional[pulumi.Input[
|
|
732
|
+
def last_transition_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
734
733
|
pulumi.set(self, "last_transition_time", value)
|
|
735
734
|
|
|
736
|
-
@property
|
|
735
|
+
@_builtins.property
|
|
737
736
|
@pulumi.getter
|
|
738
|
-
def message(self) -> Optional[pulumi.Input[
|
|
737
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
739
738
|
"""
|
|
740
739
|
Human readable message indicating details about last transition.
|
|
741
740
|
"""
|
|
742
741
|
return pulumi.get(self, "message")
|
|
743
742
|
|
|
744
743
|
@message.setter
|
|
745
|
-
def message(self, value: Optional[pulumi.Input[
|
|
744
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
746
745
|
pulumi.set(self, "message", value)
|
|
747
746
|
|
|
748
|
-
@property
|
|
747
|
+
@_builtins.property
|
|
749
748
|
@pulumi.getter
|
|
750
|
-
def reason(self) -> Optional[pulumi.Input[
|
|
749
|
+
def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
751
750
|
"""
|
|
752
751
|
(brief) reason for the condition's last transition.
|
|
753
752
|
"""
|
|
754
753
|
return pulumi.get(self, "reason")
|
|
755
754
|
|
|
756
755
|
@reason.setter
|
|
757
|
-
def reason(self, value: Optional[pulumi.Input[
|
|
756
|
+
def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
758
757
|
pulumi.set(self, "reason", value)
|
|
759
758
|
|
|
760
759
|
|
|
@@ -763,19 +762,19 @@ if not MYPY:
|
|
|
763
762
|
"""
|
|
764
763
|
JobSpec describes how the job execution will look like.
|
|
765
764
|
"""
|
|
766
|
-
active_deadline_seconds: NotRequired[pulumi.Input[
|
|
765
|
+
active_deadline_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
767
766
|
"""
|
|
768
767
|
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
|
|
769
768
|
"""
|
|
770
|
-
backoff_limit: NotRequired[pulumi.Input[
|
|
769
|
+
backoff_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
771
770
|
"""
|
|
772
771
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
773
772
|
"""
|
|
774
|
-
backoff_limit_per_index: NotRequired[pulumi.Input[
|
|
773
|
+
backoff_limit_per_index: NotRequired[pulumi.Input[_builtins.int]]
|
|
775
774
|
"""
|
|
776
775
|
Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable.
|
|
777
776
|
"""
|
|
778
|
-
completion_mode: NotRequired[pulumi.Input[
|
|
777
|
+
completion_mode: NotRequired[pulumi.Input[_builtins.str]]
|
|
779
778
|
"""
|
|
780
779
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
781
780
|
|
|
@@ -785,25 +784,25 @@ if not MYPY:
|
|
|
785
784
|
|
|
786
785
|
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.
|
|
787
786
|
"""
|
|
788
|
-
completions: NotRequired[pulumi.Input[
|
|
787
|
+
completions: NotRequired[pulumi.Input[_builtins.int]]
|
|
789
788
|
"""
|
|
790
789
|
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/
|
|
791
790
|
"""
|
|
792
|
-
managed_by: NotRequired[pulumi.Input[
|
|
791
|
+
managed_by: NotRequired[pulumi.Input[_builtins.str]]
|
|
793
792
|
"""
|
|
794
793
|
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.
|
|
795
794
|
|
|
796
795
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
797
796
|
"""
|
|
798
|
-
manual_selector: NotRequired[pulumi.Input[
|
|
797
|
+
manual_selector: NotRequired[pulumi.Input[_builtins.bool]]
|
|
799
798
|
"""
|
|
800
799
|
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
|
|
801
800
|
"""
|
|
802
|
-
max_failed_indexes: NotRequired[pulumi.Input[
|
|
801
|
+
max_failed_indexes: NotRequired[pulumi.Input[_builtins.int]]
|
|
803
802
|
"""
|
|
804
803
|
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.
|
|
805
804
|
"""
|
|
806
|
-
parallelism: NotRequired[pulumi.Input[
|
|
805
|
+
parallelism: NotRequired[pulumi.Input[_builtins.int]]
|
|
807
806
|
"""
|
|
808
807
|
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/
|
|
809
808
|
"""
|
|
@@ -811,7 +810,7 @@ if not MYPY:
|
|
|
811
810
|
"""
|
|
812
811
|
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.
|
|
813
812
|
"""
|
|
814
|
-
pod_replacement_policy: NotRequired[pulumi.Input[
|
|
813
|
+
pod_replacement_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
815
814
|
"""
|
|
816
815
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
817
816
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -828,7 +827,7 @@ if not MYPY:
|
|
|
828
827
|
"""
|
|
829
828
|
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.
|
|
830
829
|
"""
|
|
831
|
-
suspend: NotRequired[pulumi.Input[
|
|
830
|
+
suspend: NotRequired[pulumi.Input[_builtins.bool]]
|
|
832
831
|
"""
|
|
833
832
|
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.
|
|
834
833
|
"""
|
|
@@ -836,7 +835,7 @@ if not MYPY:
|
|
|
836
835
|
"""
|
|
837
836
|
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/
|
|
838
837
|
"""
|
|
839
|
-
ttl_seconds_after_finished: NotRequired[pulumi.Input[
|
|
838
|
+
ttl_seconds_after_finished: NotRequired[pulumi.Input[_builtins.int]]
|
|
840
839
|
"""
|
|
841
840
|
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.
|
|
842
841
|
"""
|
|
@@ -846,43 +845,43 @@ elif False:
|
|
|
846
845
|
@pulumi.input_type
|
|
847
846
|
class JobSpecPatchArgs:
|
|
848
847
|
def __init__(__self__, *,
|
|
849
|
-
active_deadline_seconds: Optional[pulumi.Input[
|
|
850
|
-
backoff_limit: Optional[pulumi.Input[
|
|
851
|
-
backoff_limit_per_index: Optional[pulumi.Input[
|
|
852
|
-
completion_mode: Optional[pulumi.Input[
|
|
853
|
-
completions: Optional[pulumi.Input[
|
|
854
|
-
managed_by: Optional[pulumi.Input[
|
|
855
|
-
manual_selector: Optional[pulumi.Input[
|
|
856
|
-
max_failed_indexes: Optional[pulumi.Input[
|
|
857
|
-
parallelism: Optional[pulumi.Input[
|
|
848
|
+
active_deadline_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
849
|
+
backoff_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
850
|
+
backoff_limit_per_index: Optional[pulumi.Input[_builtins.int]] = None,
|
|
851
|
+
completion_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
852
|
+
completions: Optional[pulumi.Input[_builtins.int]] = None,
|
|
853
|
+
managed_by: Optional[pulumi.Input[_builtins.str]] = None,
|
|
854
|
+
manual_selector: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
855
|
+
max_failed_indexes: Optional[pulumi.Input[_builtins.int]] = None,
|
|
856
|
+
parallelism: Optional[pulumi.Input[_builtins.int]] = None,
|
|
858
857
|
pod_failure_policy: Optional[pulumi.Input['PodFailurePolicyPatchArgs']] = None,
|
|
859
|
-
pod_replacement_policy: Optional[pulumi.Input[
|
|
858
|
+
pod_replacement_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
860
859
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
861
860
|
success_policy: Optional[pulumi.Input['SuccessPolicyPatchArgs']] = None,
|
|
862
|
-
suspend: Optional[pulumi.Input[
|
|
861
|
+
suspend: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
863
862
|
template: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']] = None,
|
|
864
|
-
ttl_seconds_after_finished: Optional[pulumi.Input[
|
|
863
|
+
ttl_seconds_after_finished: Optional[pulumi.Input[_builtins.int]] = None):
|
|
865
864
|
"""
|
|
866
865
|
JobSpec describes how the job execution will look like.
|
|
867
|
-
:param pulumi.Input[
|
|
868
|
-
:param pulumi.Input[
|
|
869
|
-
:param pulumi.Input[
|
|
870
|
-
:param pulumi.Input[
|
|
866
|
+
:param pulumi.Input[_builtins.int] active_deadline_seconds: Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
|
|
867
|
+
:param pulumi.Input[_builtins.int] backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
868
|
+
:param pulumi.Input[_builtins.int] backoff_limit_per_index: Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable.
|
|
869
|
+
:param pulumi.Input[_builtins.str] completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
871
870
|
|
|
872
871
|
`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
|
|
873
872
|
|
|
874
873
|
`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
|
|
875
874
|
|
|
876
875
|
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.
|
|
877
|
-
:param pulumi.Input[
|
|
878
|
-
:param pulumi.Input[
|
|
876
|
+
:param pulumi.Input[_builtins.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/
|
|
877
|
+
:param pulumi.Input[_builtins.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.
|
|
879
878
|
|
|
880
879
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
881
|
-
:param pulumi.Input[
|
|
882
|
-
:param pulumi.Input[
|
|
883
|
-
:param pulumi.Input[
|
|
880
|
+
:param pulumi.Input[_builtins.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
|
|
881
|
+
:param pulumi.Input[_builtins.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.
|
|
882
|
+
:param pulumi.Input[_builtins.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/
|
|
884
883
|
:param pulumi.Input['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.
|
|
885
|
-
:param pulumi.Input[
|
|
884
|
+
:param pulumi.Input[_builtins.str] pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
886
885
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
887
886
|
- Failed means to wait until a previously created Pod is fully terminated (has phase
|
|
888
887
|
Failed or Succeeded) before creating a replacement Pod.
|
|
@@ -890,9 +889,9 @@ class JobSpecPatchArgs:
|
|
|
890
889
|
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.
|
|
891
890
|
:param pulumi.Input['_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
|
|
892
891
|
:param pulumi.Input['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.
|
|
893
|
-
:param pulumi.Input[
|
|
892
|
+
:param pulumi.Input[_builtins.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.
|
|
894
893
|
:param pulumi.Input['_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/
|
|
895
|
-
:param pulumi.Input[
|
|
894
|
+
:param pulumi.Input[_builtins.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.
|
|
896
895
|
"""
|
|
897
896
|
if active_deadline_seconds is not None:
|
|
898
897
|
pulumi.set(__self__, "active_deadline_seconds", active_deadline_seconds)
|
|
@@ -927,45 +926,45 @@ class JobSpecPatchArgs:
|
|
|
927
926
|
if ttl_seconds_after_finished is not None:
|
|
928
927
|
pulumi.set(__self__, "ttl_seconds_after_finished", ttl_seconds_after_finished)
|
|
929
928
|
|
|
930
|
-
@property
|
|
929
|
+
@_builtins.property
|
|
931
930
|
@pulumi.getter(name="activeDeadlineSeconds")
|
|
932
|
-
def active_deadline_seconds(self) -> Optional[pulumi.Input[
|
|
931
|
+
def active_deadline_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
933
932
|
"""
|
|
934
933
|
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
|
|
935
934
|
"""
|
|
936
935
|
return pulumi.get(self, "active_deadline_seconds")
|
|
937
936
|
|
|
938
937
|
@active_deadline_seconds.setter
|
|
939
|
-
def active_deadline_seconds(self, value: Optional[pulumi.Input[
|
|
938
|
+
def active_deadline_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
940
939
|
pulumi.set(self, "active_deadline_seconds", value)
|
|
941
940
|
|
|
942
|
-
@property
|
|
941
|
+
@_builtins.property
|
|
943
942
|
@pulumi.getter(name="backoffLimit")
|
|
944
|
-
def backoff_limit(self) -> Optional[pulumi.Input[
|
|
943
|
+
def backoff_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
945
944
|
"""
|
|
946
945
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
947
946
|
"""
|
|
948
947
|
return pulumi.get(self, "backoff_limit")
|
|
949
948
|
|
|
950
949
|
@backoff_limit.setter
|
|
951
|
-
def backoff_limit(self, value: Optional[pulumi.Input[
|
|
950
|
+
def backoff_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
952
951
|
pulumi.set(self, "backoff_limit", value)
|
|
953
952
|
|
|
954
|
-
@property
|
|
953
|
+
@_builtins.property
|
|
955
954
|
@pulumi.getter(name="backoffLimitPerIndex")
|
|
956
|
-
def backoff_limit_per_index(self) -> Optional[pulumi.Input[
|
|
955
|
+
def backoff_limit_per_index(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
957
956
|
"""
|
|
958
957
|
Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable.
|
|
959
958
|
"""
|
|
960
959
|
return pulumi.get(self, "backoff_limit_per_index")
|
|
961
960
|
|
|
962
961
|
@backoff_limit_per_index.setter
|
|
963
|
-
def backoff_limit_per_index(self, value: Optional[pulumi.Input[
|
|
962
|
+
def backoff_limit_per_index(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
964
963
|
pulumi.set(self, "backoff_limit_per_index", value)
|
|
965
964
|
|
|
966
|
-
@property
|
|
965
|
+
@_builtins.property
|
|
967
966
|
@pulumi.getter(name="completionMode")
|
|
968
|
-
def completion_mode(self) -> Optional[pulumi.Input[
|
|
967
|
+
def completion_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
969
968
|
"""
|
|
970
969
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
971
970
|
|
|
@@ -978,24 +977,24 @@ class JobSpecPatchArgs:
|
|
|
978
977
|
return pulumi.get(self, "completion_mode")
|
|
979
978
|
|
|
980
979
|
@completion_mode.setter
|
|
981
|
-
def completion_mode(self, value: Optional[pulumi.Input[
|
|
980
|
+
def completion_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
982
981
|
pulumi.set(self, "completion_mode", value)
|
|
983
982
|
|
|
984
|
-
@property
|
|
983
|
+
@_builtins.property
|
|
985
984
|
@pulumi.getter
|
|
986
|
-
def completions(self) -> Optional[pulumi.Input[
|
|
985
|
+
def completions(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
987
986
|
"""
|
|
988
987
|
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/
|
|
989
988
|
"""
|
|
990
989
|
return pulumi.get(self, "completions")
|
|
991
990
|
|
|
992
991
|
@completions.setter
|
|
993
|
-
def completions(self, value: Optional[pulumi.Input[
|
|
992
|
+
def completions(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
994
993
|
pulumi.set(self, "completions", value)
|
|
995
994
|
|
|
996
|
-
@property
|
|
995
|
+
@_builtins.property
|
|
997
996
|
@pulumi.getter(name="managedBy")
|
|
998
|
-
def managed_by(self) -> Optional[pulumi.Input[
|
|
997
|
+
def managed_by(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
999
998
|
"""
|
|
1000
999
|
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.
|
|
1001
1000
|
|
|
@@ -1004,46 +1003,46 @@ class JobSpecPatchArgs:
|
|
|
1004
1003
|
return pulumi.get(self, "managed_by")
|
|
1005
1004
|
|
|
1006
1005
|
@managed_by.setter
|
|
1007
|
-
def managed_by(self, value: Optional[pulumi.Input[
|
|
1006
|
+
def managed_by(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1008
1007
|
pulumi.set(self, "managed_by", value)
|
|
1009
1008
|
|
|
1010
|
-
@property
|
|
1009
|
+
@_builtins.property
|
|
1011
1010
|
@pulumi.getter(name="manualSelector")
|
|
1012
|
-
def manual_selector(self) -> Optional[pulumi.Input[
|
|
1011
|
+
def manual_selector(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1013
1012
|
"""
|
|
1014
1013
|
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
|
|
1015
1014
|
"""
|
|
1016
1015
|
return pulumi.get(self, "manual_selector")
|
|
1017
1016
|
|
|
1018
1017
|
@manual_selector.setter
|
|
1019
|
-
def manual_selector(self, value: Optional[pulumi.Input[
|
|
1018
|
+
def manual_selector(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1020
1019
|
pulumi.set(self, "manual_selector", value)
|
|
1021
1020
|
|
|
1022
|
-
@property
|
|
1021
|
+
@_builtins.property
|
|
1023
1022
|
@pulumi.getter(name="maxFailedIndexes")
|
|
1024
|
-
def max_failed_indexes(self) -> Optional[pulumi.Input[
|
|
1023
|
+
def max_failed_indexes(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1025
1024
|
"""
|
|
1026
1025
|
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.
|
|
1027
1026
|
"""
|
|
1028
1027
|
return pulumi.get(self, "max_failed_indexes")
|
|
1029
1028
|
|
|
1030
1029
|
@max_failed_indexes.setter
|
|
1031
|
-
def max_failed_indexes(self, value: Optional[pulumi.Input[
|
|
1030
|
+
def max_failed_indexes(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1032
1031
|
pulumi.set(self, "max_failed_indexes", value)
|
|
1033
1032
|
|
|
1034
|
-
@property
|
|
1033
|
+
@_builtins.property
|
|
1035
1034
|
@pulumi.getter
|
|
1036
|
-
def parallelism(self) -> Optional[pulumi.Input[
|
|
1035
|
+
def parallelism(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1037
1036
|
"""
|
|
1038
1037
|
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/
|
|
1039
1038
|
"""
|
|
1040
1039
|
return pulumi.get(self, "parallelism")
|
|
1041
1040
|
|
|
1042
1041
|
@parallelism.setter
|
|
1043
|
-
def parallelism(self, value: Optional[pulumi.Input[
|
|
1042
|
+
def parallelism(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1044
1043
|
pulumi.set(self, "parallelism", value)
|
|
1045
1044
|
|
|
1046
|
-
@property
|
|
1045
|
+
@_builtins.property
|
|
1047
1046
|
@pulumi.getter(name="podFailurePolicy")
|
|
1048
1047
|
def pod_failure_policy(self) -> Optional[pulumi.Input['PodFailurePolicyPatchArgs']]:
|
|
1049
1048
|
"""
|
|
@@ -1055,9 +1054,9 @@ class JobSpecPatchArgs:
|
|
|
1055
1054
|
def pod_failure_policy(self, value: Optional[pulumi.Input['PodFailurePolicyPatchArgs']]):
|
|
1056
1055
|
pulumi.set(self, "pod_failure_policy", value)
|
|
1057
1056
|
|
|
1058
|
-
@property
|
|
1057
|
+
@_builtins.property
|
|
1059
1058
|
@pulumi.getter(name="podReplacementPolicy")
|
|
1060
|
-
def pod_replacement_policy(self) -> Optional[pulumi.Input[
|
|
1059
|
+
def pod_replacement_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1061
1060
|
"""
|
|
1062
1061
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1063
1062
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -1069,10 +1068,10 @@ class JobSpecPatchArgs:
|
|
|
1069
1068
|
return pulumi.get(self, "pod_replacement_policy")
|
|
1070
1069
|
|
|
1071
1070
|
@pod_replacement_policy.setter
|
|
1072
|
-
def pod_replacement_policy(self, value: Optional[pulumi.Input[
|
|
1071
|
+
def pod_replacement_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1073
1072
|
pulumi.set(self, "pod_replacement_policy", value)
|
|
1074
1073
|
|
|
1075
|
-
@property
|
|
1074
|
+
@_builtins.property
|
|
1076
1075
|
@pulumi.getter
|
|
1077
1076
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
1078
1077
|
"""
|
|
@@ -1084,7 +1083,7 @@ class JobSpecPatchArgs:
|
|
|
1084
1083
|
def selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
1085
1084
|
pulumi.set(self, "selector", value)
|
|
1086
1085
|
|
|
1087
|
-
@property
|
|
1086
|
+
@_builtins.property
|
|
1088
1087
|
@pulumi.getter(name="successPolicy")
|
|
1089
1088
|
def success_policy(self) -> Optional[pulumi.Input['SuccessPolicyPatchArgs']]:
|
|
1090
1089
|
"""
|
|
@@ -1096,19 +1095,19 @@ class JobSpecPatchArgs:
|
|
|
1096
1095
|
def success_policy(self, value: Optional[pulumi.Input['SuccessPolicyPatchArgs']]):
|
|
1097
1096
|
pulumi.set(self, "success_policy", value)
|
|
1098
1097
|
|
|
1099
|
-
@property
|
|
1098
|
+
@_builtins.property
|
|
1100
1099
|
@pulumi.getter
|
|
1101
|
-
def suspend(self) -> Optional[pulumi.Input[
|
|
1100
|
+
def suspend(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1102
1101
|
"""
|
|
1103
1102
|
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.
|
|
1104
1103
|
"""
|
|
1105
1104
|
return pulumi.get(self, "suspend")
|
|
1106
1105
|
|
|
1107
1106
|
@suspend.setter
|
|
1108
|
-
def suspend(self, value: Optional[pulumi.Input[
|
|
1107
|
+
def suspend(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1109
1108
|
pulumi.set(self, "suspend", value)
|
|
1110
1109
|
|
|
1111
|
-
@property
|
|
1110
|
+
@_builtins.property
|
|
1112
1111
|
@pulumi.getter
|
|
1113
1112
|
def template(self) -> Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']]:
|
|
1114
1113
|
"""
|
|
@@ -1120,16 +1119,16 @@ class JobSpecPatchArgs:
|
|
|
1120
1119
|
def template(self, value: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']]):
|
|
1121
1120
|
pulumi.set(self, "template", value)
|
|
1122
1121
|
|
|
1123
|
-
@property
|
|
1122
|
+
@_builtins.property
|
|
1124
1123
|
@pulumi.getter(name="ttlSecondsAfterFinished")
|
|
1125
|
-
def ttl_seconds_after_finished(self) -> Optional[pulumi.Input[
|
|
1124
|
+
def ttl_seconds_after_finished(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1126
1125
|
"""
|
|
1127
1126
|
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.
|
|
1128
1127
|
"""
|
|
1129
1128
|
return pulumi.get(self, "ttl_seconds_after_finished")
|
|
1130
1129
|
|
|
1131
1130
|
@ttl_seconds_after_finished.setter
|
|
1132
|
-
def ttl_seconds_after_finished(self, value: Optional[pulumi.Input[
|
|
1131
|
+
def ttl_seconds_after_finished(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1133
1132
|
pulumi.set(self, "ttl_seconds_after_finished", value)
|
|
1134
1133
|
|
|
1135
1134
|
|
|
@@ -1142,19 +1141,19 @@ if not MYPY:
|
|
|
1142
1141
|
"""
|
|
1143
1142
|
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/
|
|
1144
1143
|
"""
|
|
1145
|
-
active_deadline_seconds: NotRequired[pulumi.Input[
|
|
1144
|
+
active_deadline_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
1146
1145
|
"""
|
|
1147
1146
|
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
|
|
1148
1147
|
"""
|
|
1149
|
-
backoff_limit: NotRequired[pulumi.Input[
|
|
1148
|
+
backoff_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
1150
1149
|
"""
|
|
1151
1150
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1152
1151
|
"""
|
|
1153
|
-
backoff_limit_per_index: NotRequired[pulumi.Input[
|
|
1152
|
+
backoff_limit_per_index: NotRequired[pulumi.Input[_builtins.int]]
|
|
1154
1153
|
"""
|
|
1155
1154
|
Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable.
|
|
1156
1155
|
"""
|
|
1157
|
-
completion_mode: NotRequired[pulumi.Input[
|
|
1156
|
+
completion_mode: NotRequired[pulumi.Input[_builtins.str]]
|
|
1158
1157
|
"""
|
|
1159
1158
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1160
1159
|
|
|
@@ -1164,25 +1163,25 @@ if not MYPY:
|
|
|
1164
1163
|
|
|
1165
1164
|
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.
|
|
1166
1165
|
"""
|
|
1167
|
-
completions: NotRequired[pulumi.Input[
|
|
1166
|
+
completions: NotRequired[pulumi.Input[_builtins.int]]
|
|
1168
1167
|
"""
|
|
1169
1168
|
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/
|
|
1170
1169
|
"""
|
|
1171
|
-
managed_by: NotRequired[pulumi.Input[
|
|
1170
|
+
managed_by: NotRequired[pulumi.Input[_builtins.str]]
|
|
1172
1171
|
"""
|
|
1173
1172
|
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.
|
|
1174
1173
|
|
|
1175
1174
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
1176
1175
|
"""
|
|
1177
|
-
manual_selector: NotRequired[pulumi.Input[
|
|
1176
|
+
manual_selector: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1178
1177
|
"""
|
|
1179
1178
|
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
|
|
1180
1179
|
"""
|
|
1181
|
-
max_failed_indexes: NotRequired[pulumi.Input[
|
|
1180
|
+
max_failed_indexes: NotRequired[pulumi.Input[_builtins.int]]
|
|
1182
1181
|
"""
|
|
1183
1182
|
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.
|
|
1184
1183
|
"""
|
|
1185
|
-
parallelism: NotRequired[pulumi.Input[
|
|
1184
|
+
parallelism: NotRequired[pulumi.Input[_builtins.int]]
|
|
1186
1185
|
"""
|
|
1187
1186
|
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/
|
|
1188
1187
|
"""
|
|
@@ -1190,7 +1189,7 @@ if not MYPY:
|
|
|
1190
1189
|
"""
|
|
1191
1190
|
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.
|
|
1192
1191
|
"""
|
|
1193
|
-
pod_replacement_policy: NotRequired[pulumi.Input[
|
|
1192
|
+
pod_replacement_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
1194
1193
|
"""
|
|
1195
1194
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1196
1195
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -1207,11 +1206,11 @@ if not MYPY:
|
|
|
1207
1206
|
"""
|
|
1208
1207
|
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.
|
|
1209
1208
|
"""
|
|
1210
|
-
suspend: NotRequired[pulumi.Input[
|
|
1209
|
+
suspend: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1211
1210
|
"""
|
|
1212
1211
|
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.
|
|
1213
1212
|
"""
|
|
1214
|
-
ttl_seconds_after_finished: NotRequired[pulumi.Input[
|
|
1213
|
+
ttl_seconds_after_finished: NotRequired[pulumi.Input[_builtins.int]]
|
|
1215
1214
|
"""
|
|
1216
1215
|
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.
|
|
1217
1216
|
"""
|
|
@@ -1222,43 +1221,43 @@ elif False:
|
|
|
1222
1221
|
class JobSpecArgs:
|
|
1223
1222
|
def __init__(__self__, *,
|
|
1224
1223
|
template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
|
|
1225
|
-
active_deadline_seconds: Optional[pulumi.Input[
|
|
1226
|
-
backoff_limit: Optional[pulumi.Input[
|
|
1227
|
-
backoff_limit_per_index: Optional[pulumi.Input[
|
|
1228
|
-
completion_mode: Optional[pulumi.Input[
|
|
1229
|
-
completions: Optional[pulumi.Input[
|
|
1230
|
-
managed_by: Optional[pulumi.Input[
|
|
1231
|
-
manual_selector: Optional[pulumi.Input[
|
|
1232
|
-
max_failed_indexes: Optional[pulumi.Input[
|
|
1233
|
-
parallelism: Optional[pulumi.Input[
|
|
1224
|
+
active_deadline_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1225
|
+
backoff_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1226
|
+
backoff_limit_per_index: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1227
|
+
completion_mode: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1228
|
+
completions: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1229
|
+
managed_by: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1230
|
+
manual_selector: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1231
|
+
max_failed_indexes: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1232
|
+
parallelism: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1234
1233
|
pod_failure_policy: Optional[pulumi.Input['PodFailurePolicyArgs']] = None,
|
|
1235
|
-
pod_replacement_policy: Optional[pulumi.Input[
|
|
1234
|
+
pod_replacement_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1236
1235
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1237
1236
|
success_policy: Optional[pulumi.Input['SuccessPolicyArgs']] = None,
|
|
1238
|
-
suspend: Optional[pulumi.Input[
|
|
1239
|
-
ttl_seconds_after_finished: Optional[pulumi.Input[
|
|
1237
|
+
suspend: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1238
|
+
ttl_seconds_after_finished: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1240
1239
|
"""
|
|
1241
1240
|
JobSpec describes how the job execution will look like.
|
|
1242
1241
|
:param pulumi.Input['_core.v1.PodTemplateSpecArgs'] 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/
|
|
1243
|
-
:param pulumi.Input[
|
|
1244
|
-
:param pulumi.Input[
|
|
1245
|
-
:param pulumi.Input[
|
|
1246
|
-
:param pulumi.Input[
|
|
1242
|
+
:param pulumi.Input[_builtins.int] active_deadline_seconds: Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
|
|
1243
|
+
:param pulumi.Input[_builtins.int] backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1244
|
+
:param pulumi.Input[_builtins.int] backoff_limit_per_index: Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable.
|
|
1245
|
+
:param pulumi.Input[_builtins.str] completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1247
1246
|
|
|
1248
1247
|
`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
|
|
1249
1248
|
|
|
1250
1249
|
`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
|
|
1251
1250
|
|
|
1252
1251
|
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.
|
|
1253
|
-
:param pulumi.Input[
|
|
1254
|
-
:param pulumi.Input[
|
|
1252
|
+
:param pulumi.Input[_builtins.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/
|
|
1253
|
+
:param pulumi.Input[_builtins.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.
|
|
1255
1254
|
|
|
1256
1255
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
1257
|
-
:param pulumi.Input[
|
|
1258
|
-
:param pulumi.Input[
|
|
1259
|
-
:param pulumi.Input[
|
|
1256
|
+
:param pulumi.Input[_builtins.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
|
|
1257
|
+
:param pulumi.Input[_builtins.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.
|
|
1258
|
+
:param pulumi.Input[_builtins.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/
|
|
1260
1259
|
:param pulumi.Input['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.
|
|
1261
|
-
:param pulumi.Input[
|
|
1260
|
+
:param pulumi.Input[_builtins.str] pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1262
1261
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
1263
1262
|
- Failed means to wait until a previously created Pod is fully terminated (has phase
|
|
1264
1263
|
Failed or Succeeded) before creating a replacement Pod.
|
|
@@ -1266,8 +1265,8 @@ class JobSpecArgs:
|
|
|
1266
1265
|
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.
|
|
1267
1266
|
:param pulumi.Input['_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
|
|
1268
1267
|
:param pulumi.Input['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.
|
|
1269
|
-
:param pulumi.Input[
|
|
1270
|
-
:param pulumi.Input[
|
|
1268
|
+
:param pulumi.Input[_builtins.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.
|
|
1269
|
+
:param pulumi.Input[_builtins.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.
|
|
1271
1270
|
"""
|
|
1272
1271
|
pulumi.set(__self__, "template", template)
|
|
1273
1272
|
if active_deadline_seconds is not None:
|
|
@@ -1301,7 +1300,7 @@ class JobSpecArgs:
|
|
|
1301
1300
|
if ttl_seconds_after_finished is not None:
|
|
1302
1301
|
pulumi.set(__self__, "ttl_seconds_after_finished", ttl_seconds_after_finished)
|
|
1303
1302
|
|
|
1304
|
-
@property
|
|
1303
|
+
@_builtins.property
|
|
1305
1304
|
@pulumi.getter
|
|
1306
1305
|
def template(self) -> pulumi.Input['_core.v1.PodTemplateSpecArgs']:
|
|
1307
1306
|
"""
|
|
@@ -1313,45 +1312,45 @@ class JobSpecArgs:
|
|
|
1313
1312
|
def template(self, value: pulumi.Input['_core.v1.PodTemplateSpecArgs']):
|
|
1314
1313
|
pulumi.set(self, "template", value)
|
|
1315
1314
|
|
|
1316
|
-
@property
|
|
1315
|
+
@_builtins.property
|
|
1317
1316
|
@pulumi.getter(name="activeDeadlineSeconds")
|
|
1318
|
-
def active_deadline_seconds(self) -> Optional[pulumi.Input[
|
|
1317
|
+
def active_deadline_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1319
1318
|
"""
|
|
1320
1319
|
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
|
|
1321
1320
|
"""
|
|
1322
1321
|
return pulumi.get(self, "active_deadline_seconds")
|
|
1323
1322
|
|
|
1324
1323
|
@active_deadline_seconds.setter
|
|
1325
|
-
def active_deadline_seconds(self, value: Optional[pulumi.Input[
|
|
1324
|
+
def active_deadline_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1326
1325
|
pulumi.set(self, "active_deadline_seconds", value)
|
|
1327
1326
|
|
|
1328
|
-
@property
|
|
1327
|
+
@_builtins.property
|
|
1329
1328
|
@pulumi.getter(name="backoffLimit")
|
|
1330
|
-
def backoff_limit(self) -> Optional[pulumi.Input[
|
|
1329
|
+
def backoff_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1331
1330
|
"""
|
|
1332
1331
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1333
1332
|
"""
|
|
1334
1333
|
return pulumi.get(self, "backoff_limit")
|
|
1335
1334
|
|
|
1336
1335
|
@backoff_limit.setter
|
|
1337
|
-
def backoff_limit(self, value: Optional[pulumi.Input[
|
|
1336
|
+
def backoff_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1338
1337
|
pulumi.set(self, "backoff_limit", value)
|
|
1339
1338
|
|
|
1340
|
-
@property
|
|
1339
|
+
@_builtins.property
|
|
1341
1340
|
@pulumi.getter(name="backoffLimitPerIndex")
|
|
1342
|
-
def backoff_limit_per_index(self) -> Optional[pulumi.Input[
|
|
1341
|
+
def backoff_limit_per_index(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1343
1342
|
"""
|
|
1344
1343
|
Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable.
|
|
1345
1344
|
"""
|
|
1346
1345
|
return pulumi.get(self, "backoff_limit_per_index")
|
|
1347
1346
|
|
|
1348
1347
|
@backoff_limit_per_index.setter
|
|
1349
|
-
def backoff_limit_per_index(self, value: Optional[pulumi.Input[
|
|
1348
|
+
def backoff_limit_per_index(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1350
1349
|
pulumi.set(self, "backoff_limit_per_index", value)
|
|
1351
1350
|
|
|
1352
|
-
@property
|
|
1351
|
+
@_builtins.property
|
|
1353
1352
|
@pulumi.getter(name="completionMode")
|
|
1354
|
-
def completion_mode(self) -> Optional[pulumi.Input[
|
|
1353
|
+
def completion_mode(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1355
1354
|
"""
|
|
1356
1355
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1357
1356
|
|
|
@@ -1364,24 +1363,24 @@ class JobSpecArgs:
|
|
|
1364
1363
|
return pulumi.get(self, "completion_mode")
|
|
1365
1364
|
|
|
1366
1365
|
@completion_mode.setter
|
|
1367
|
-
def completion_mode(self, value: Optional[pulumi.Input[
|
|
1366
|
+
def completion_mode(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1368
1367
|
pulumi.set(self, "completion_mode", value)
|
|
1369
1368
|
|
|
1370
|
-
@property
|
|
1369
|
+
@_builtins.property
|
|
1371
1370
|
@pulumi.getter
|
|
1372
|
-
def completions(self) -> Optional[pulumi.Input[
|
|
1371
|
+
def completions(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1373
1372
|
"""
|
|
1374
1373
|
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/
|
|
1375
1374
|
"""
|
|
1376
1375
|
return pulumi.get(self, "completions")
|
|
1377
1376
|
|
|
1378
1377
|
@completions.setter
|
|
1379
|
-
def completions(self, value: Optional[pulumi.Input[
|
|
1378
|
+
def completions(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1380
1379
|
pulumi.set(self, "completions", value)
|
|
1381
1380
|
|
|
1382
|
-
@property
|
|
1381
|
+
@_builtins.property
|
|
1383
1382
|
@pulumi.getter(name="managedBy")
|
|
1384
|
-
def managed_by(self) -> Optional[pulumi.Input[
|
|
1383
|
+
def managed_by(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1385
1384
|
"""
|
|
1386
1385
|
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.
|
|
1387
1386
|
|
|
@@ -1390,46 +1389,46 @@ class JobSpecArgs:
|
|
|
1390
1389
|
return pulumi.get(self, "managed_by")
|
|
1391
1390
|
|
|
1392
1391
|
@managed_by.setter
|
|
1393
|
-
def managed_by(self, value: Optional[pulumi.Input[
|
|
1392
|
+
def managed_by(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1394
1393
|
pulumi.set(self, "managed_by", value)
|
|
1395
1394
|
|
|
1396
|
-
@property
|
|
1395
|
+
@_builtins.property
|
|
1397
1396
|
@pulumi.getter(name="manualSelector")
|
|
1398
|
-
def manual_selector(self) -> Optional[pulumi.Input[
|
|
1397
|
+
def manual_selector(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1399
1398
|
"""
|
|
1400
1399
|
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
|
|
1401
1400
|
"""
|
|
1402
1401
|
return pulumi.get(self, "manual_selector")
|
|
1403
1402
|
|
|
1404
1403
|
@manual_selector.setter
|
|
1405
|
-
def manual_selector(self, value: Optional[pulumi.Input[
|
|
1404
|
+
def manual_selector(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1406
1405
|
pulumi.set(self, "manual_selector", value)
|
|
1407
1406
|
|
|
1408
|
-
@property
|
|
1407
|
+
@_builtins.property
|
|
1409
1408
|
@pulumi.getter(name="maxFailedIndexes")
|
|
1410
|
-
def max_failed_indexes(self) -> Optional[pulumi.Input[
|
|
1409
|
+
def max_failed_indexes(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1411
1410
|
"""
|
|
1412
1411
|
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.
|
|
1413
1412
|
"""
|
|
1414
1413
|
return pulumi.get(self, "max_failed_indexes")
|
|
1415
1414
|
|
|
1416
1415
|
@max_failed_indexes.setter
|
|
1417
|
-
def max_failed_indexes(self, value: Optional[pulumi.Input[
|
|
1416
|
+
def max_failed_indexes(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1418
1417
|
pulumi.set(self, "max_failed_indexes", value)
|
|
1419
1418
|
|
|
1420
|
-
@property
|
|
1419
|
+
@_builtins.property
|
|
1421
1420
|
@pulumi.getter
|
|
1422
|
-
def parallelism(self) -> Optional[pulumi.Input[
|
|
1421
|
+
def parallelism(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1423
1422
|
"""
|
|
1424
1423
|
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/
|
|
1425
1424
|
"""
|
|
1426
1425
|
return pulumi.get(self, "parallelism")
|
|
1427
1426
|
|
|
1428
1427
|
@parallelism.setter
|
|
1429
|
-
def parallelism(self, value: Optional[pulumi.Input[
|
|
1428
|
+
def parallelism(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1430
1429
|
pulumi.set(self, "parallelism", value)
|
|
1431
1430
|
|
|
1432
|
-
@property
|
|
1431
|
+
@_builtins.property
|
|
1433
1432
|
@pulumi.getter(name="podFailurePolicy")
|
|
1434
1433
|
def pod_failure_policy(self) -> Optional[pulumi.Input['PodFailurePolicyArgs']]:
|
|
1435
1434
|
"""
|
|
@@ -1441,9 +1440,9 @@ class JobSpecArgs:
|
|
|
1441
1440
|
def pod_failure_policy(self, value: Optional[pulumi.Input['PodFailurePolicyArgs']]):
|
|
1442
1441
|
pulumi.set(self, "pod_failure_policy", value)
|
|
1443
1442
|
|
|
1444
|
-
@property
|
|
1443
|
+
@_builtins.property
|
|
1445
1444
|
@pulumi.getter(name="podReplacementPolicy")
|
|
1446
|
-
def pod_replacement_policy(self) -> Optional[pulumi.Input[
|
|
1445
|
+
def pod_replacement_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1447
1446
|
"""
|
|
1448
1447
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1449
1448
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -1455,10 +1454,10 @@ class JobSpecArgs:
|
|
|
1455
1454
|
return pulumi.get(self, "pod_replacement_policy")
|
|
1456
1455
|
|
|
1457
1456
|
@pod_replacement_policy.setter
|
|
1458
|
-
def pod_replacement_policy(self, value: Optional[pulumi.Input[
|
|
1457
|
+
def pod_replacement_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1459
1458
|
pulumi.set(self, "pod_replacement_policy", value)
|
|
1460
1459
|
|
|
1461
|
-
@property
|
|
1460
|
+
@_builtins.property
|
|
1462
1461
|
@pulumi.getter
|
|
1463
1462
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
1464
1463
|
"""
|
|
@@ -1470,7 +1469,7 @@ class JobSpecArgs:
|
|
|
1470
1469
|
def selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
|
|
1471
1470
|
pulumi.set(self, "selector", value)
|
|
1472
1471
|
|
|
1473
|
-
@property
|
|
1472
|
+
@_builtins.property
|
|
1474
1473
|
@pulumi.getter(name="successPolicy")
|
|
1475
1474
|
def success_policy(self) -> Optional[pulumi.Input['SuccessPolicyArgs']]:
|
|
1476
1475
|
"""
|
|
@@ -1482,28 +1481,28 @@ class JobSpecArgs:
|
|
|
1482
1481
|
def success_policy(self, value: Optional[pulumi.Input['SuccessPolicyArgs']]):
|
|
1483
1482
|
pulumi.set(self, "success_policy", value)
|
|
1484
1483
|
|
|
1485
|
-
@property
|
|
1484
|
+
@_builtins.property
|
|
1486
1485
|
@pulumi.getter
|
|
1487
|
-
def suspend(self) -> Optional[pulumi.Input[
|
|
1486
|
+
def suspend(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1488
1487
|
"""
|
|
1489
1488
|
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.
|
|
1490
1489
|
"""
|
|
1491
1490
|
return pulumi.get(self, "suspend")
|
|
1492
1491
|
|
|
1493
1492
|
@suspend.setter
|
|
1494
|
-
def suspend(self, value: Optional[pulumi.Input[
|
|
1493
|
+
def suspend(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1495
1494
|
pulumi.set(self, "suspend", value)
|
|
1496
1495
|
|
|
1497
|
-
@property
|
|
1496
|
+
@_builtins.property
|
|
1498
1497
|
@pulumi.getter(name="ttlSecondsAfterFinished")
|
|
1499
|
-
def ttl_seconds_after_finished(self) -> Optional[pulumi.Input[
|
|
1498
|
+
def ttl_seconds_after_finished(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1500
1499
|
"""
|
|
1501
1500
|
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.
|
|
1502
1501
|
"""
|
|
1503
1502
|
return pulumi.get(self, "ttl_seconds_after_finished")
|
|
1504
1503
|
|
|
1505
1504
|
@ttl_seconds_after_finished.setter
|
|
1506
|
-
def ttl_seconds_after_finished(self, value: Optional[pulumi.Input[
|
|
1505
|
+
def ttl_seconds_after_finished(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1507
1506
|
pulumi.set(self, "ttl_seconds_after_finished", value)
|
|
1508
1507
|
|
|
1509
1508
|
|
|
@@ -1512,15 +1511,15 @@ if not MYPY:
|
|
|
1512
1511
|
"""
|
|
1513
1512
|
JobStatus represents the current state of a Job.
|
|
1514
1513
|
"""
|
|
1515
|
-
active: NotRequired[pulumi.Input[
|
|
1514
|
+
active: NotRequired[pulumi.Input[_builtins.int]]
|
|
1516
1515
|
"""
|
|
1517
1516
|
The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1518
1517
|
"""
|
|
1519
|
-
completed_indexes: NotRequired[pulumi.Input[
|
|
1518
|
+
completed_indexes: NotRequired[pulumi.Input[_builtins.str]]
|
|
1520
1519
|
"""
|
|
1521
1520
|
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".
|
|
1522
1521
|
"""
|
|
1523
|
-
completion_time: NotRequired[pulumi.Input[
|
|
1522
|
+
completion_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1524
1523
|
"""
|
|
1525
1524
|
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.
|
|
1526
1525
|
"""
|
|
@@ -1532,29 +1531,29 @@ if not MYPY:
|
|
|
1532
1531
|
|
|
1533
1532
|
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1534
1533
|
"""
|
|
1535
|
-
failed: NotRequired[pulumi.Input[
|
|
1534
|
+
failed: NotRequired[pulumi.Input[_builtins.int]]
|
|
1536
1535
|
"""
|
|
1537
1536
|
The number of pods which reached phase Failed. The value increases monotonically.
|
|
1538
1537
|
"""
|
|
1539
|
-
failed_indexes: NotRequired[pulumi.Input[
|
|
1538
|
+
failed_indexes: NotRequired[pulumi.Input[_builtins.str]]
|
|
1540
1539
|
"""
|
|
1541
1540
|
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.
|
|
1542
1541
|
"""
|
|
1543
|
-
ready: NotRequired[pulumi.Input[
|
|
1542
|
+
ready: NotRequired[pulumi.Input[_builtins.int]]
|
|
1544
1543
|
"""
|
|
1545
1544
|
The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1546
1545
|
"""
|
|
1547
|
-
start_time: NotRequired[pulumi.Input[
|
|
1546
|
+
start_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1548
1547
|
"""
|
|
1549
1548
|
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.
|
|
1550
1549
|
|
|
1551
1550
|
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.
|
|
1552
1551
|
"""
|
|
1553
|
-
succeeded: NotRequired[pulumi.Input[
|
|
1552
|
+
succeeded: NotRequired[pulumi.Input[_builtins.int]]
|
|
1554
1553
|
"""
|
|
1555
1554
|
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.
|
|
1556
1555
|
"""
|
|
1557
|
-
terminating: NotRequired[pulumi.Input[
|
|
1556
|
+
terminating: NotRequired[pulumi.Input[_builtins.int]]
|
|
1558
1557
|
"""
|
|
1559
1558
|
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1560
1559
|
|
|
@@ -1577,35 +1576,35 @@ elif False:
|
|
|
1577
1576
|
@pulumi.input_type
|
|
1578
1577
|
class JobStatusArgs:
|
|
1579
1578
|
def __init__(__self__, *,
|
|
1580
|
-
active: Optional[pulumi.Input[
|
|
1581
|
-
completed_indexes: Optional[pulumi.Input[
|
|
1582
|
-
completion_time: Optional[pulumi.Input[
|
|
1579
|
+
active: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1580
|
+
completed_indexes: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1581
|
+
completion_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1583
1582
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['JobConditionArgs']]]] = None,
|
|
1584
|
-
failed: Optional[pulumi.Input[
|
|
1585
|
-
failed_indexes: Optional[pulumi.Input[
|
|
1586
|
-
ready: Optional[pulumi.Input[
|
|
1587
|
-
start_time: Optional[pulumi.Input[
|
|
1588
|
-
succeeded: Optional[pulumi.Input[
|
|
1589
|
-
terminating: Optional[pulumi.Input[
|
|
1583
|
+
failed: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1584
|
+
failed_indexes: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1585
|
+
ready: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1586
|
+
start_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1587
|
+
succeeded: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1588
|
+
terminating: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1590
1589
|
uncounted_terminated_pods: Optional[pulumi.Input['UncountedTerminatedPodsArgs']] = None):
|
|
1591
1590
|
"""
|
|
1592
1591
|
JobStatus represents the current state of a Job.
|
|
1593
|
-
:param pulumi.Input[
|
|
1594
|
-
:param pulumi.Input[
|
|
1595
|
-
:param pulumi.Input[
|
|
1592
|
+
:param pulumi.Input[_builtins.int] active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1593
|
+
:param pulumi.Input[_builtins.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".
|
|
1594
|
+
:param pulumi.Input[_builtins.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.
|
|
1596
1595
|
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
1597
1596
|
|
|
1598
1597
|
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.
|
|
1599
1598
|
|
|
1600
1599
|
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1601
|
-
:param pulumi.Input[
|
|
1602
|
-
:param pulumi.Input[
|
|
1603
|
-
:param pulumi.Input[
|
|
1604
|
-
:param pulumi.Input[
|
|
1600
|
+
:param pulumi.Input[_builtins.int] failed: The number of pods which reached phase Failed. The value increases monotonically.
|
|
1601
|
+
:param pulumi.Input[_builtins.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.
|
|
1602
|
+
:param pulumi.Input[_builtins.int] ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1603
|
+
:param pulumi.Input[_builtins.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.
|
|
1605
1604
|
|
|
1606
1605
|
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.
|
|
1607
|
-
:param pulumi.Input[
|
|
1608
|
-
:param pulumi.Input[
|
|
1606
|
+
:param pulumi.Input[_builtins.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.
|
|
1607
|
+
:param pulumi.Input[_builtins.int] terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1609
1608
|
|
|
1610
1609
|
This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).
|
|
1611
1610
|
:param pulumi.Input['UncountedTerminatedPodsArgs'] uncounted_terminated_pods: uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
|
|
@@ -1640,43 +1639,43 @@ class JobStatusArgs:
|
|
|
1640
1639
|
if uncounted_terminated_pods is not None:
|
|
1641
1640
|
pulumi.set(__self__, "uncounted_terminated_pods", uncounted_terminated_pods)
|
|
1642
1641
|
|
|
1643
|
-
@property
|
|
1642
|
+
@_builtins.property
|
|
1644
1643
|
@pulumi.getter
|
|
1645
|
-
def active(self) -> Optional[pulumi.Input[
|
|
1644
|
+
def active(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1646
1645
|
"""
|
|
1647
1646
|
The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1648
1647
|
"""
|
|
1649
1648
|
return pulumi.get(self, "active")
|
|
1650
1649
|
|
|
1651
1650
|
@active.setter
|
|
1652
|
-
def active(self, value: Optional[pulumi.Input[
|
|
1651
|
+
def active(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1653
1652
|
pulumi.set(self, "active", value)
|
|
1654
1653
|
|
|
1655
|
-
@property
|
|
1654
|
+
@_builtins.property
|
|
1656
1655
|
@pulumi.getter(name="completedIndexes")
|
|
1657
|
-
def completed_indexes(self) -> Optional[pulumi.Input[
|
|
1656
|
+
def completed_indexes(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1658
1657
|
"""
|
|
1659
1658
|
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".
|
|
1660
1659
|
"""
|
|
1661
1660
|
return pulumi.get(self, "completed_indexes")
|
|
1662
1661
|
|
|
1663
1662
|
@completed_indexes.setter
|
|
1664
|
-
def completed_indexes(self, value: Optional[pulumi.Input[
|
|
1663
|
+
def completed_indexes(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1665
1664
|
pulumi.set(self, "completed_indexes", value)
|
|
1666
1665
|
|
|
1667
|
-
@property
|
|
1666
|
+
@_builtins.property
|
|
1668
1667
|
@pulumi.getter(name="completionTime")
|
|
1669
|
-
def completion_time(self) -> Optional[pulumi.Input[
|
|
1668
|
+
def completion_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1670
1669
|
"""
|
|
1671
1670
|
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.
|
|
1672
1671
|
"""
|
|
1673
1672
|
return pulumi.get(self, "completion_time")
|
|
1674
1673
|
|
|
1675
1674
|
@completion_time.setter
|
|
1676
|
-
def completion_time(self, value: Optional[pulumi.Input[
|
|
1675
|
+
def completion_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1677
1676
|
pulumi.set(self, "completion_time", value)
|
|
1678
1677
|
|
|
1679
|
-
@property
|
|
1678
|
+
@_builtins.property
|
|
1680
1679
|
@pulumi.getter
|
|
1681
1680
|
def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['JobConditionArgs']]]]:
|
|
1682
1681
|
"""
|
|
@@ -1692,45 +1691,45 @@ class JobStatusArgs:
|
|
|
1692
1691
|
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['JobConditionArgs']]]]):
|
|
1693
1692
|
pulumi.set(self, "conditions", value)
|
|
1694
1693
|
|
|
1695
|
-
@property
|
|
1694
|
+
@_builtins.property
|
|
1696
1695
|
@pulumi.getter
|
|
1697
|
-
def failed(self) -> Optional[pulumi.Input[
|
|
1696
|
+
def failed(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1698
1697
|
"""
|
|
1699
1698
|
The number of pods which reached phase Failed. The value increases monotonically.
|
|
1700
1699
|
"""
|
|
1701
1700
|
return pulumi.get(self, "failed")
|
|
1702
1701
|
|
|
1703
1702
|
@failed.setter
|
|
1704
|
-
def failed(self, value: Optional[pulumi.Input[
|
|
1703
|
+
def failed(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1705
1704
|
pulumi.set(self, "failed", value)
|
|
1706
1705
|
|
|
1707
|
-
@property
|
|
1706
|
+
@_builtins.property
|
|
1708
1707
|
@pulumi.getter(name="failedIndexes")
|
|
1709
|
-
def failed_indexes(self) -> Optional[pulumi.Input[
|
|
1708
|
+
def failed_indexes(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1710
1709
|
"""
|
|
1711
1710
|
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.
|
|
1712
1711
|
"""
|
|
1713
1712
|
return pulumi.get(self, "failed_indexes")
|
|
1714
1713
|
|
|
1715
1714
|
@failed_indexes.setter
|
|
1716
|
-
def failed_indexes(self, value: Optional[pulumi.Input[
|
|
1715
|
+
def failed_indexes(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1717
1716
|
pulumi.set(self, "failed_indexes", value)
|
|
1718
1717
|
|
|
1719
|
-
@property
|
|
1718
|
+
@_builtins.property
|
|
1720
1719
|
@pulumi.getter
|
|
1721
|
-
def ready(self) -> Optional[pulumi.Input[
|
|
1720
|
+
def ready(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1722
1721
|
"""
|
|
1723
1722
|
The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1724
1723
|
"""
|
|
1725
1724
|
return pulumi.get(self, "ready")
|
|
1726
1725
|
|
|
1727
1726
|
@ready.setter
|
|
1728
|
-
def ready(self, value: Optional[pulumi.Input[
|
|
1727
|
+
def ready(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1729
1728
|
pulumi.set(self, "ready", value)
|
|
1730
1729
|
|
|
1731
|
-
@property
|
|
1730
|
+
@_builtins.property
|
|
1732
1731
|
@pulumi.getter(name="startTime")
|
|
1733
|
-
def start_time(self) -> Optional[pulumi.Input[
|
|
1732
|
+
def start_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1734
1733
|
"""
|
|
1735
1734
|
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.
|
|
1736
1735
|
|
|
@@ -1739,24 +1738,24 @@ class JobStatusArgs:
|
|
|
1739
1738
|
return pulumi.get(self, "start_time")
|
|
1740
1739
|
|
|
1741
1740
|
@start_time.setter
|
|
1742
|
-
def start_time(self, value: Optional[pulumi.Input[
|
|
1741
|
+
def start_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1743
1742
|
pulumi.set(self, "start_time", value)
|
|
1744
1743
|
|
|
1745
|
-
@property
|
|
1744
|
+
@_builtins.property
|
|
1746
1745
|
@pulumi.getter
|
|
1747
|
-
def succeeded(self) -> Optional[pulumi.Input[
|
|
1746
|
+
def succeeded(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1748
1747
|
"""
|
|
1749
1748
|
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.
|
|
1750
1749
|
"""
|
|
1751
1750
|
return pulumi.get(self, "succeeded")
|
|
1752
1751
|
|
|
1753
1752
|
@succeeded.setter
|
|
1754
|
-
def succeeded(self, value: Optional[pulumi.Input[
|
|
1753
|
+
def succeeded(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1755
1754
|
pulumi.set(self, "succeeded", value)
|
|
1756
1755
|
|
|
1757
|
-
@property
|
|
1756
|
+
@_builtins.property
|
|
1758
1757
|
@pulumi.getter
|
|
1759
|
-
def terminating(self) -> Optional[pulumi.Input[
|
|
1758
|
+
def terminating(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1760
1759
|
"""
|
|
1761
1760
|
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1762
1761
|
|
|
@@ -1765,10 +1764,10 @@ class JobStatusArgs:
|
|
|
1765
1764
|
return pulumi.get(self, "terminating")
|
|
1766
1765
|
|
|
1767
1766
|
@terminating.setter
|
|
1768
|
-
def terminating(self, value: Optional[pulumi.Input[
|
|
1767
|
+
def terminating(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1769
1768
|
pulumi.set(self, "terminating", value)
|
|
1770
1769
|
|
|
1771
|
-
@property
|
|
1770
|
+
@_builtins.property
|
|
1772
1771
|
@pulumi.getter(name="uncountedTerminatedPods")
|
|
1773
1772
|
def uncounted_terminated_pods(self) -> Optional[pulumi.Input['UncountedTerminatedPodsArgs']]:
|
|
1774
1773
|
"""
|
|
@@ -1819,7 +1818,7 @@ class JobTemplateSpecPatchArgs:
|
|
|
1819
1818
|
if spec is not None:
|
|
1820
1819
|
pulumi.set(__self__, "spec", spec)
|
|
1821
1820
|
|
|
1822
|
-
@property
|
|
1821
|
+
@_builtins.property
|
|
1823
1822
|
@pulumi.getter
|
|
1824
1823
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaPatchArgs']]:
|
|
1825
1824
|
"""
|
|
@@ -1831,7 +1830,7 @@ class JobTemplateSpecPatchArgs:
|
|
|
1831
1830
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaPatchArgs']]):
|
|
1832
1831
|
pulumi.set(self, "metadata", value)
|
|
1833
1832
|
|
|
1834
|
-
@property
|
|
1833
|
+
@_builtins.property
|
|
1835
1834
|
@pulumi.getter
|
|
1836
1835
|
def spec(self) -> Optional[pulumi.Input['JobSpecPatchArgs']]:
|
|
1837
1836
|
"""
|
|
@@ -1875,7 +1874,7 @@ class JobTemplateSpecArgs:
|
|
|
1875
1874
|
if spec is not None:
|
|
1876
1875
|
pulumi.set(__self__, "spec", spec)
|
|
1877
1876
|
|
|
1878
|
-
@property
|
|
1877
|
+
@_builtins.property
|
|
1879
1878
|
@pulumi.getter
|
|
1880
1879
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1881
1880
|
"""
|
|
@@ -1887,7 +1886,7 @@ class JobTemplateSpecArgs:
|
|
|
1887
1886
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1888
1887
|
pulumi.set(self, "metadata", value)
|
|
1889
1888
|
|
|
1890
|
-
@property
|
|
1889
|
+
@_builtins.property
|
|
1891
1890
|
@pulumi.getter
|
|
1892
1891
|
def spec(self) -> Optional[pulumi.Input['JobSpecArgs']]:
|
|
1893
1892
|
"""
|
|
@@ -1925,11 +1924,11 @@ if not MYPY:
|
|
|
1925
1924
|
to schedule a replacement for an unready resource on the next update, you can add the
|
|
1926
1925
|
"pulumi.com/replaceUnready": "true" annotation to the resource definition.
|
|
1927
1926
|
"""
|
|
1928
|
-
api_version: NotRequired[pulumi.Input[
|
|
1927
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1929
1928
|
"""
|
|
1930
1929
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1931
1930
|
"""
|
|
1932
|
-
kind: NotRequired[pulumi.Input[
|
|
1931
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1933
1932
|
"""
|
|
1934
1933
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1935
1934
|
"""
|
|
@@ -1951,8 +1950,8 @@ elif False:
|
|
|
1951
1950
|
@pulumi.input_type
|
|
1952
1951
|
class JobArgs:
|
|
1953
1952
|
def __init__(__self__, *,
|
|
1954
|
-
api_version: Optional[pulumi.Input[
|
|
1955
|
-
kind: Optional[pulumi.Input[
|
|
1953
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1954
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1956
1955
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1957
1956
|
spec: Optional[pulumi.Input['JobSpecArgs']] = None,
|
|
1958
1957
|
status: Optional[pulumi.Input['JobStatusArgs']] = None):
|
|
@@ -1978,8 +1977,8 @@ class JobArgs:
|
|
|
1978
1977
|
Pulumi will continue to wait for readiness on the next update. If you would prefer
|
|
1979
1978
|
to schedule a replacement for an unready resource on the next update, you can add the
|
|
1980
1979
|
"pulumi.com/replaceUnready": "true" annotation to the resource definition.
|
|
1981
|
-
:param pulumi.Input[
|
|
1982
|
-
:param pulumi.Input[
|
|
1980
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1981
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1983
1982
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1984
1983
|
:param pulumi.Input['JobSpecArgs'] spec: Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
1985
1984
|
:param pulumi.Input['JobStatusArgs'] status: Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
@@ -1995,31 +1994,31 @@ class JobArgs:
|
|
|
1995
1994
|
if status is not None:
|
|
1996
1995
|
pulumi.set(__self__, "status", status)
|
|
1997
1996
|
|
|
1998
|
-
@property
|
|
1997
|
+
@_builtins.property
|
|
1999
1998
|
@pulumi.getter(name="apiVersion")
|
|
2000
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
1999
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2001
2000
|
"""
|
|
2002
2001
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2003
2002
|
"""
|
|
2004
2003
|
return pulumi.get(self, "api_version")
|
|
2005
2004
|
|
|
2006
2005
|
@api_version.setter
|
|
2007
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
2006
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2008
2007
|
pulumi.set(self, "api_version", value)
|
|
2009
2008
|
|
|
2010
|
-
@property
|
|
2009
|
+
@_builtins.property
|
|
2011
2010
|
@pulumi.getter
|
|
2012
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
2011
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2013
2012
|
"""
|
|
2014
2013
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2015
2014
|
"""
|
|
2016
2015
|
return pulumi.get(self, "kind")
|
|
2017
2016
|
|
|
2018
2017
|
@kind.setter
|
|
2019
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
2018
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2020
2019
|
pulumi.set(self, "kind", value)
|
|
2021
2020
|
|
|
2022
|
-
@property
|
|
2021
|
+
@_builtins.property
|
|
2023
2022
|
@pulumi.getter
|
|
2024
2023
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
2025
2024
|
"""
|
|
@@ -2031,7 +2030,7 @@ class JobArgs:
|
|
|
2031
2030
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
2032
2031
|
pulumi.set(self, "metadata", value)
|
|
2033
2032
|
|
|
2034
|
-
@property
|
|
2033
|
+
@_builtins.property
|
|
2035
2034
|
@pulumi.getter
|
|
2036
2035
|
def spec(self) -> Optional[pulumi.Input['JobSpecArgs']]:
|
|
2037
2036
|
"""
|
|
@@ -2043,7 +2042,7 @@ class JobArgs:
|
|
|
2043
2042
|
def spec(self, value: Optional[pulumi.Input['JobSpecArgs']]):
|
|
2044
2043
|
pulumi.set(self, "spec", value)
|
|
2045
2044
|
|
|
2046
|
-
@property
|
|
2045
|
+
@_builtins.property
|
|
2047
2046
|
@pulumi.getter
|
|
2048
2047
|
def status(self) -> Optional[pulumi.Input['JobStatusArgs']]:
|
|
2049
2048
|
"""
|
|
@@ -2061,11 +2060,11 @@ if not MYPY:
|
|
|
2061
2060
|
"""
|
|
2062
2061
|
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
|
|
2063
2062
|
"""
|
|
2064
|
-
container_name: NotRequired[pulumi.Input[
|
|
2063
|
+
container_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2065
2064
|
"""
|
|
2066
2065
|
Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2067
2066
|
"""
|
|
2068
|
-
operator: NotRequired[pulumi.Input[
|
|
2067
|
+
operator: NotRequired[pulumi.Input[_builtins.str]]
|
|
2069
2068
|
"""
|
|
2070
2069
|
Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2071
2070
|
|
|
@@ -2077,7 +2076,7 @@ if not MYPY:
|
|
|
2077
2076
|
by the 'containerName' field) is not in the set of specified values.
|
|
2078
2077
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2079
2078
|
"""
|
|
2080
|
-
values: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2079
|
+
values: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]
|
|
2081
2080
|
"""
|
|
2082
2081
|
Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2083
2082
|
"""
|
|
@@ -2087,13 +2086,13 @@ elif False:
|
|
|
2087
2086
|
@pulumi.input_type
|
|
2088
2087
|
class PodFailurePolicyOnExitCodesRequirementPatchArgs:
|
|
2089
2088
|
def __init__(__self__, *,
|
|
2090
|
-
container_name: Optional[pulumi.Input[
|
|
2091
|
-
operator: Optional[pulumi.Input[
|
|
2092
|
-
values: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2089
|
+
container_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2090
|
+
operator: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2091
|
+
values: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None):
|
|
2093
2092
|
"""
|
|
2094
2093
|
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
|
|
2095
|
-
:param pulumi.Input[
|
|
2096
|
-
:param pulumi.Input[
|
|
2094
|
+
:param pulumi.Input[_builtins.str] container_name: Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2095
|
+
:param pulumi.Input[_builtins.str] operator: Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2097
2096
|
|
|
2098
2097
|
- In: the requirement is satisfied if at least one container exit code
|
|
2099
2098
|
(might be multiple if there are multiple containers not restricted
|
|
@@ -2102,7 +2101,7 @@ class PodFailurePolicyOnExitCodesRequirementPatchArgs:
|
|
|
2102
2101
|
(might be multiple if there are multiple containers not restricted
|
|
2103
2102
|
by the 'containerName' field) is not in the set of specified values.
|
|
2104
2103
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2105
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2104
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] values: Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2106
2105
|
"""
|
|
2107
2106
|
if container_name is not None:
|
|
2108
2107
|
pulumi.set(__self__, "container_name", container_name)
|
|
@@ -2111,21 +2110,21 @@ class PodFailurePolicyOnExitCodesRequirementPatchArgs:
|
|
|
2111
2110
|
if values is not None:
|
|
2112
2111
|
pulumi.set(__self__, "values", values)
|
|
2113
2112
|
|
|
2114
|
-
@property
|
|
2113
|
+
@_builtins.property
|
|
2115
2114
|
@pulumi.getter(name="containerName")
|
|
2116
|
-
def container_name(self) -> Optional[pulumi.Input[
|
|
2115
|
+
def container_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2117
2116
|
"""
|
|
2118
2117
|
Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2119
2118
|
"""
|
|
2120
2119
|
return pulumi.get(self, "container_name")
|
|
2121
2120
|
|
|
2122
2121
|
@container_name.setter
|
|
2123
|
-
def container_name(self, value: Optional[pulumi.Input[
|
|
2122
|
+
def container_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2124
2123
|
pulumi.set(self, "container_name", value)
|
|
2125
2124
|
|
|
2126
|
-
@property
|
|
2125
|
+
@_builtins.property
|
|
2127
2126
|
@pulumi.getter
|
|
2128
|
-
def operator(self) -> Optional[pulumi.Input[
|
|
2127
|
+
def operator(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2129
2128
|
"""
|
|
2130
2129
|
Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2131
2130
|
|
|
@@ -2140,19 +2139,19 @@ class PodFailurePolicyOnExitCodesRequirementPatchArgs:
|
|
|
2140
2139
|
return pulumi.get(self, "operator")
|
|
2141
2140
|
|
|
2142
2141
|
@operator.setter
|
|
2143
|
-
def operator(self, value: Optional[pulumi.Input[
|
|
2142
|
+
def operator(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2144
2143
|
pulumi.set(self, "operator", value)
|
|
2145
2144
|
|
|
2146
|
-
@property
|
|
2145
|
+
@_builtins.property
|
|
2147
2146
|
@pulumi.getter
|
|
2148
|
-
def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2147
|
+
def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]:
|
|
2149
2148
|
"""
|
|
2150
2149
|
Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2151
2150
|
"""
|
|
2152
2151
|
return pulumi.get(self, "values")
|
|
2153
2152
|
|
|
2154
2153
|
@values.setter
|
|
2155
|
-
def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2154
|
+
def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]):
|
|
2156
2155
|
pulumi.set(self, "values", value)
|
|
2157
2156
|
|
|
2158
2157
|
|
|
@@ -2161,7 +2160,7 @@ if not MYPY:
|
|
|
2161
2160
|
"""
|
|
2162
2161
|
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
|
|
2163
2162
|
"""
|
|
2164
|
-
operator: pulumi.Input[
|
|
2163
|
+
operator: pulumi.Input[_builtins.str]
|
|
2165
2164
|
"""
|
|
2166
2165
|
Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2167
2166
|
|
|
@@ -2173,11 +2172,11 @@ if not MYPY:
|
|
|
2173
2172
|
by the 'containerName' field) is not in the set of specified values.
|
|
2174
2173
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2175
2174
|
"""
|
|
2176
|
-
values: pulumi.Input[Sequence[pulumi.Input[
|
|
2175
|
+
values: pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]
|
|
2177
2176
|
"""
|
|
2178
2177
|
Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2179
2178
|
"""
|
|
2180
|
-
container_name: NotRequired[pulumi.Input[
|
|
2179
|
+
container_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2181
2180
|
"""
|
|
2182
2181
|
Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2183
2182
|
"""
|
|
@@ -2187,12 +2186,12 @@ elif False:
|
|
|
2187
2186
|
@pulumi.input_type
|
|
2188
2187
|
class PodFailurePolicyOnExitCodesRequirementArgs:
|
|
2189
2188
|
def __init__(__self__, *,
|
|
2190
|
-
operator: pulumi.Input[
|
|
2191
|
-
values: pulumi.Input[Sequence[pulumi.Input[
|
|
2192
|
-
container_name: Optional[pulumi.Input[
|
|
2189
|
+
operator: pulumi.Input[_builtins.str],
|
|
2190
|
+
values: pulumi.Input[Sequence[pulumi.Input[_builtins.int]]],
|
|
2191
|
+
container_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2193
2192
|
"""
|
|
2194
2193
|
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
|
|
2195
|
-
:param pulumi.Input[
|
|
2194
|
+
:param pulumi.Input[_builtins.str] operator: Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2196
2195
|
|
|
2197
2196
|
- In: the requirement is satisfied if at least one container exit code
|
|
2198
2197
|
(might be multiple if there are multiple containers not restricted
|
|
@@ -2201,17 +2200,17 @@ class PodFailurePolicyOnExitCodesRequirementArgs:
|
|
|
2201
2200
|
(might be multiple if there are multiple containers not restricted
|
|
2202
2201
|
by the 'containerName' field) is not in the set of specified values.
|
|
2203
2202
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2204
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2205
|
-
:param pulumi.Input[
|
|
2203
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] values: Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2204
|
+
:param pulumi.Input[_builtins.str] container_name: Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2206
2205
|
"""
|
|
2207
2206
|
pulumi.set(__self__, "operator", operator)
|
|
2208
2207
|
pulumi.set(__self__, "values", values)
|
|
2209
2208
|
if container_name is not None:
|
|
2210
2209
|
pulumi.set(__self__, "container_name", container_name)
|
|
2211
2210
|
|
|
2212
|
-
@property
|
|
2211
|
+
@_builtins.property
|
|
2213
2212
|
@pulumi.getter
|
|
2214
|
-
def operator(self) -> pulumi.Input[
|
|
2213
|
+
def operator(self) -> pulumi.Input[_builtins.str]:
|
|
2215
2214
|
"""
|
|
2216
2215
|
Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2217
2216
|
|
|
@@ -2226,31 +2225,31 @@ class PodFailurePolicyOnExitCodesRequirementArgs:
|
|
|
2226
2225
|
return pulumi.get(self, "operator")
|
|
2227
2226
|
|
|
2228
2227
|
@operator.setter
|
|
2229
|
-
def operator(self, value: pulumi.Input[
|
|
2228
|
+
def operator(self, value: pulumi.Input[_builtins.str]):
|
|
2230
2229
|
pulumi.set(self, "operator", value)
|
|
2231
2230
|
|
|
2232
|
-
@property
|
|
2231
|
+
@_builtins.property
|
|
2233
2232
|
@pulumi.getter
|
|
2234
|
-
def values(self) -> pulumi.Input[Sequence[pulumi.Input[
|
|
2233
|
+
def values(self) -> pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]:
|
|
2235
2234
|
"""
|
|
2236
2235
|
Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2237
2236
|
"""
|
|
2238
2237
|
return pulumi.get(self, "values")
|
|
2239
2238
|
|
|
2240
2239
|
@values.setter
|
|
2241
|
-
def values(self, value: pulumi.Input[Sequence[pulumi.Input[
|
|
2240
|
+
def values(self, value: pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]):
|
|
2242
2241
|
pulumi.set(self, "values", value)
|
|
2243
2242
|
|
|
2244
|
-
@property
|
|
2243
|
+
@_builtins.property
|
|
2245
2244
|
@pulumi.getter(name="containerName")
|
|
2246
|
-
def container_name(self) -> Optional[pulumi.Input[
|
|
2245
|
+
def container_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2247
2246
|
"""
|
|
2248
2247
|
Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2249
2248
|
"""
|
|
2250
2249
|
return pulumi.get(self, "container_name")
|
|
2251
2250
|
|
|
2252
2251
|
@container_name.setter
|
|
2253
|
-
def container_name(self, value: Optional[pulumi.Input[
|
|
2252
|
+
def container_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2254
2253
|
pulumi.set(self, "container_name", value)
|
|
2255
2254
|
|
|
2256
2255
|
|
|
@@ -2259,11 +2258,11 @@ if not MYPY:
|
|
|
2259
2258
|
"""
|
|
2260
2259
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2261
2260
|
"""
|
|
2262
|
-
status: NotRequired[pulumi.Input[
|
|
2261
|
+
status: NotRequired[pulumi.Input[_builtins.str]]
|
|
2263
2262
|
"""
|
|
2264
2263
|
Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2265
2264
|
"""
|
|
2266
|
-
type: NotRequired[pulumi.Input[
|
|
2265
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
2267
2266
|
"""
|
|
2268
2267
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2269
2268
|
"""
|
|
@@ -2273,40 +2272,40 @@ elif False:
|
|
|
2273
2272
|
@pulumi.input_type
|
|
2274
2273
|
class PodFailurePolicyOnPodConditionsPatternPatchArgs:
|
|
2275
2274
|
def __init__(__self__, *,
|
|
2276
|
-
status: Optional[pulumi.Input[
|
|
2277
|
-
type: Optional[pulumi.Input[
|
|
2275
|
+
status: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2276
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2278
2277
|
"""
|
|
2279
2278
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2280
|
-
:param pulumi.Input[
|
|
2281
|
-
:param pulumi.Input[
|
|
2279
|
+
:param pulumi.Input[_builtins.str] status: Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2280
|
+
:param pulumi.Input[_builtins.str] type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2282
2281
|
"""
|
|
2283
2282
|
if status is not None:
|
|
2284
2283
|
pulumi.set(__self__, "status", status)
|
|
2285
2284
|
if type is not None:
|
|
2286
2285
|
pulumi.set(__self__, "type", type)
|
|
2287
2286
|
|
|
2288
|
-
@property
|
|
2287
|
+
@_builtins.property
|
|
2289
2288
|
@pulumi.getter
|
|
2290
|
-
def status(self) -> Optional[pulumi.Input[
|
|
2289
|
+
def status(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2291
2290
|
"""
|
|
2292
2291
|
Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2293
2292
|
"""
|
|
2294
2293
|
return pulumi.get(self, "status")
|
|
2295
2294
|
|
|
2296
2295
|
@status.setter
|
|
2297
|
-
def status(self, value: Optional[pulumi.Input[
|
|
2296
|
+
def status(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2298
2297
|
pulumi.set(self, "status", value)
|
|
2299
2298
|
|
|
2300
|
-
@property
|
|
2299
|
+
@_builtins.property
|
|
2301
2300
|
@pulumi.getter
|
|
2302
|
-
def type(self) -> Optional[pulumi.Input[
|
|
2301
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2303
2302
|
"""
|
|
2304
2303
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2305
2304
|
"""
|
|
2306
2305
|
return pulumi.get(self, "type")
|
|
2307
2306
|
|
|
2308
2307
|
@type.setter
|
|
2309
|
-
def type(self, value: Optional[pulumi.Input[
|
|
2308
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2310
2309
|
pulumi.set(self, "type", value)
|
|
2311
2310
|
|
|
2312
2311
|
|
|
@@ -2315,11 +2314,11 @@ if not MYPY:
|
|
|
2315
2314
|
"""
|
|
2316
2315
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2317
2316
|
"""
|
|
2318
|
-
status: pulumi.Input[
|
|
2317
|
+
status: pulumi.Input[_builtins.str]
|
|
2319
2318
|
"""
|
|
2320
2319
|
Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2321
2320
|
"""
|
|
2322
|
-
type: pulumi.Input[
|
|
2321
|
+
type: pulumi.Input[_builtins.str]
|
|
2323
2322
|
"""
|
|
2324
2323
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2325
2324
|
"""
|
|
@@ -2329,38 +2328,38 @@ elif False:
|
|
|
2329
2328
|
@pulumi.input_type
|
|
2330
2329
|
class PodFailurePolicyOnPodConditionsPatternArgs:
|
|
2331
2330
|
def __init__(__self__, *,
|
|
2332
|
-
status: pulumi.Input[
|
|
2333
|
-
type: pulumi.Input[
|
|
2331
|
+
status: pulumi.Input[_builtins.str],
|
|
2332
|
+
type: pulumi.Input[_builtins.str]):
|
|
2334
2333
|
"""
|
|
2335
2334
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2336
|
-
:param pulumi.Input[
|
|
2337
|
-
:param pulumi.Input[
|
|
2335
|
+
:param pulumi.Input[_builtins.str] status: Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2336
|
+
:param pulumi.Input[_builtins.str] type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2338
2337
|
"""
|
|
2339
2338
|
pulumi.set(__self__, "status", status)
|
|
2340
2339
|
pulumi.set(__self__, "type", type)
|
|
2341
2340
|
|
|
2342
|
-
@property
|
|
2341
|
+
@_builtins.property
|
|
2343
2342
|
@pulumi.getter
|
|
2344
|
-
def status(self) -> pulumi.Input[
|
|
2343
|
+
def status(self) -> pulumi.Input[_builtins.str]:
|
|
2345
2344
|
"""
|
|
2346
2345
|
Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2347
2346
|
"""
|
|
2348
2347
|
return pulumi.get(self, "status")
|
|
2349
2348
|
|
|
2350
2349
|
@status.setter
|
|
2351
|
-
def status(self, value: pulumi.Input[
|
|
2350
|
+
def status(self, value: pulumi.Input[_builtins.str]):
|
|
2352
2351
|
pulumi.set(self, "status", value)
|
|
2353
2352
|
|
|
2354
|
-
@property
|
|
2353
|
+
@_builtins.property
|
|
2355
2354
|
@pulumi.getter
|
|
2356
|
-
def type(self) -> pulumi.Input[
|
|
2355
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
2357
2356
|
"""
|
|
2358
2357
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2359
2358
|
"""
|
|
2360
2359
|
return pulumi.get(self, "type")
|
|
2361
2360
|
|
|
2362
2361
|
@type.setter
|
|
2363
|
-
def type(self, value: pulumi.Input[
|
|
2362
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
2364
2363
|
pulumi.set(self, "type", value)
|
|
2365
2364
|
|
|
2366
2365
|
|
|
@@ -2387,7 +2386,7 @@ class PodFailurePolicyPatchArgs:
|
|
|
2387
2386
|
if rules is not None:
|
|
2388
2387
|
pulumi.set(__self__, "rules", rules)
|
|
2389
2388
|
|
|
2390
|
-
@property
|
|
2389
|
+
@_builtins.property
|
|
2391
2390
|
@pulumi.getter
|
|
2392
2391
|
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyRulePatchArgs']]]]:
|
|
2393
2392
|
"""
|
|
@@ -2405,7 +2404,7 @@ if not MYPY:
|
|
|
2405
2404
|
"""
|
|
2406
2405
|
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
|
|
2407
2406
|
"""
|
|
2408
|
-
action: NotRequired[pulumi.Input[
|
|
2407
|
+
action: NotRequired[pulumi.Input[_builtins.str]]
|
|
2409
2408
|
"""
|
|
2410
2409
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2411
2410
|
|
|
@@ -2433,12 +2432,12 @@ elif False:
|
|
|
2433
2432
|
@pulumi.input_type
|
|
2434
2433
|
class PodFailurePolicyRulePatchArgs:
|
|
2435
2434
|
def __init__(__self__, *,
|
|
2436
|
-
action: Optional[pulumi.Input[
|
|
2435
|
+
action: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2437
2436
|
on_exit_codes: Optional[pulumi.Input['PodFailurePolicyOnExitCodesRequirementPatchArgs']] = None,
|
|
2438
2437
|
on_pod_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyOnPodConditionsPatternPatchArgs']]]] = None):
|
|
2439
2438
|
"""
|
|
2440
2439
|
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
|
|
2441
|
-
:param pulumi.Input[
|
|
2440
|
+
:param pulumi.Input[_builtins.str] action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2442
2441
|
|
|
2443
2442
|
- FailJob: indicates that the pod's job is marked as Failed and all
|
|
2444
2443
|
running pods are terminated.
|
|
@@ -2459,9 +2458,9 @@ class PodFailurePolicyRulePatchArgs:
|
|
|
2459
2458
|
if on_pod_conditions is not None:
|
|
2460
2459
|
pulumi.set(__self__, "on_pod_conditions", on_pod_conditions)
|
|
2461
2460
|
|
|
2462
|
-
@property
|
|
2461
|
+
@_builtins.property
|
|
2463
2462
|
@pulumi.getter
|
|
2464
|
-
def action(self) -> Optional[pulumi.Input[
|
|
2463
|
+
def action(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2465
2464
|
"""
|
|
2466
2465
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2467
2466
|
|
|
@@ -2478,10 +2477,10 @@ class PodFailurePolicyRulePatchArgs:
|
|
|
2478
2477
|
return pulumi.get(self, "action")
|
|
2479
2478
|
|
|
2480
2479
|
@action.setter
|
|
2481
|
-
def action(self, value: Optional[pulumi.Input[
|
|
2480
|
+
def action(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2482
2481
|
pulumi.set(self, "action", value)
|
|
2483
2482
|
|
|
2484
|
-
@property
|
|
2483
|
+
@_builtins.property
|
|
2485
2484
|
@pulumi.getter(name="onExitCodes")
|
|
2486
2485
|
def on_exit_codes(self) -> Optional[pulumi.Input['PodFailurePolicyOnExitCodesRequirementPatchArgs']]:
|
|
2487
2486
|
"""
|
|
@@ -2493,7 +2492,7 @@ class PodFailurePolicyRulePatchArgs:
|
|
|
2493
2492
|
def on_exit_codes(self, value: Optional[pulumi.Input['PodFailurePolicyOnExitCodesRequirementPatchArgs']]):
|
|
2494
2493
|
pulumi.set(self, "on_exit_codes", value)
|
|
2495
2494
|
|
|
2496
|
-
@property
|
|
2495
|
+
@_builtins.property
|
|
2497
2496
|
@pulumi.getter(name="onPodConditions")
|
|
2498
2497
|
def on_pod_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyOnPodConditionsPatternPatchArgs']]]]:
|
|
2499
2498
|
"""
|
|
@@ -2511,7 +2510,7 @@ if not MYPY:
|
|
|
2511
2510
|
"""
|
|
2512
2511
|
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
|
|
2513
2512
|
"""
|
|
2514
|
-
action: pulumi.Input[
|
|
2513
|
+
action: pulumi.Input[_builtins.str]
|
|
2515
2514
|
"""
|
|
2516
2515
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2517
2516
|
|
|
@@ -2539,12 +2538,12 @@ elif False:
|
|
|
2539
2538
|
@pulumi.input_type
|
|
2540
2539
|
class PodFailurePolicyRuleArgs:
|
|
2541
2540
|
def __init__(__self__, *,
|
|
2542
|
-
action: pulumi.Input[
|
|
2541
|
+
action: pulumi.Input[_builtins.str],
|
|
2543
2542
|
on_exit_codes: Optional[pulumi.Input['PodFailurePolicyOnExitCodesRequirementArgs']] = None,
|
|
2544
2543
|
on_pod_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyOnPodConditionsPatternArgs']]]] = None):
|
|
2545
2544
|
"""
|
|
2546
2545
|
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
|
|
2547
|
-
:param pulumi.Input[
|
|
2546
|
+
:param pulumi.Input[_builtins.str] action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2548
2547
|
|
|
2549
2548
|
- FailJob: indicates that the pod's job is marked as Failed and all
|
|
2550
2549
|
running pods are terminated.
|
|
@@ -2564,9 +2563,9 @@ class PodFailurePolicyRuleArgs:
|
|
|
2564
2563
|
if on_pod_conditions is not None:
|
|
2565
2564
|
pulumi.set(__self__, "on_pod_conditions", on_pod_conditions)
|
|
2566
2565
|
|
|
2567
|
-
@property
|
|
2566
|
+
@_builtins.property
|
|
2568
2567
|
@pulumi.getter
|
|
2569
|
-
def action(self) -> pulumi.Input[
|
|
2568
|
+
def action(self) -> pulumi.Input[_builtins.str]:
|
|
2570
2569
|
"""
|
|
2571
2570
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2572
2571
|
|
|
@@ -2583,10 +2582,10 @@ class PodFailurePolicyRuleArgs:
|
|
|
2583
2582
|
return pulumi.get(self, "action")
|
|
2584
2583
|
|
|
2585
2584
|
@action.setter
|
|
2586
|
-
def action(self, value: pulumi.Input[
|
|
2585
|
+
def action(self, value: pulumi.Input[_builtins.str]):
|
|
2587
2586
|
pulumi.set(self, "action", value)
|
|
2588
2587
|
|
|
2589
|
-
@property
|
|
2588
|
+
@_builtins.property
|
|
2590
2589
|
@pulumi.getter(name="onExitCodes")
|
|
2591
2590
|
def on_exit_codes(self) -> Optional[pulumi.Input['PodFailurePolicyOnExitCodesRequirementArgs']]:
|
|
2592
2591
|
"""
|
|
@@ -2598,7 +2597,7 @@ class PodFailurePolicyRuleArgs:
|
|
|
2598
2597
|
def on_exit_codes(self, value: Optional[pulumi.Input['PodFailurePolicyOnExitCodesRequirementArgs']]):
|
|
2599
2598
|
pulumi.set(self, "on_exit_codes", value)
|
|
2600
2599
|
|
|
2601
|
-
@property
|
|
2600
|
+
@_builtins.property
|
|
2602
2601
|
@pulumi.getter(name="onPodConditions")
|
|
2603
2602
|
def on_pod_conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyOnPodConditionsPatternArgs']]]]:
|
|
2604
2603
|
"""
|
|
@@ -2633,7 +2632,7 @@ class PodFailurePolicyArgs:
|
|
|
2633
2632
|
"""
|
|
2634
2633
|
pulumi.set(__self__, "rules", rules)
|
|
2635
2634
|
|
|
2636
|
-
@property
|
|
2635
|
+
@_builtins.property
|
|
2637
2636
|
@pulumi.getter
|
|
2638
2637
|
def rules(self) -> pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyRuleArgs']]]:
|
|
2639
2638
|
"""
|
|
@@ -2669,7 +2668,7 @@ class SuccessPolicyPatchArgs:
|
|
|
2669
2668
|
if rules is not None:
|
|
2670
2669
|
pulumi.set(__self__, "rules", rules)
|
|
2671
2670
|
|
|
2672
|
-
@property
|
|
2671
|
+
@_builtins.property
|
|
2673
2672
|
@pulumi.getter
|
|
2674
2673
|
def rules(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['SuccessPolicyRulePatchArgs']]]]:
|
|
2675
2674
|
"""
|
|
@@ -2687,11 +2686,11 @@ if not MYPY:
|
|
|
2687
2686
|
"""
|
|
2688
2687
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2689
2688
|
"""
|
|
2690
|
-
succeeded_count: NotRequired[pulumi.Input[
|
|
2689
|
+
succeeded_count: NotRequired[pulumi.Input[_builtins.int]]
|
|
2691
2690
|
"""
|
|
2692
2691
|
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.
|
|
2693
2692
|
"""
|
|
2694
|
-
succeeded_indexes: NotRequired[pulumi.Input[
|
|
2693
|
+
succeeded_indexes: NotRequired[pulumi.Input[_builtins.str]]
|
|
2695
2694
|
"""
|
|
2696
2695
|
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.
|
|
2697
2696
|
"""
|
|
@@ -2701,40 +2700,40 @@ elif False:
|
|
|
2701
2700
|
@pulumi.input_type
|
|
2702
2701
|
class SuccessPolicyRulePatchArgs:
|
|
2703
2702
|
def __init__(__self__, *,
|
|
2704
|
-
succeeded_count: Optional[pulumi.Input[
|
|
2705
|
-
succeeded_indexes: Optional[pulumi.Input[
|
|
2703
|
+
succeeded_count: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2704
|
+
succeeded_indexes: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2706
2705
|
"""
|
|
2707
2706
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2708
|
-
:param pulumi.Input[
|
|
2709
|
-
:param pulumi.Input[
|
|
2707
|
+
:param pulumi.Input[_builtins.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.
|
|
2708
|
+
:param pulumi.Input[_builtins.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.
|
|
2710
2709
|
"""
|
|
2711
2710
|
if succeeded_count is not None:
|
|
2712
2711
|
pulumi.set(__self__, "succeeded_count", succeeded_count)
|
|
2713
2712
|
if succeeded_indexes is not None:
|
|
2714
2713
|
pulumi.set(__self__, "succeeded_indexes", succeeded_indexes)
|
|
2715
2714
|
|
|
2716
|
-
@property
|
|
2715
|
+
@_builtins.property
|
|
2717
2716
|
@pulumi.getter(name="succeededCount")
|
|
2718
|
-
def succeeded_count(self) -> Optional[pulumi.Input[
|
|
2717
|
+
def succeeded_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2719
2718
|
"""
|
|
2720
2719
|
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.
|
|
2721
2720
|
"""
|
|
2722
2721
|
return pulumi.get(self, "succeeded_count")
|
|
2723
2722
|
|
|
2724
2723
|
@succeeded_count.setter
|
|
2725
|
-
def succeeded_count(self, value: Optional[pulumi.Input[
|
|
2724
|
+
def succeeded_count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2726
2725
|
pulumi.set(self, "succeeded_count", value)
|
|
2727
2726
|
|
|
2728
|
-
@property
|
|
2727
|
+
@_builtins.property
|
|
2729
2728
|
@pulumi.getter(name="succeededIndexes")
|
|
2730
|
-
def succeeded_indexes(self) -> Optional[pulumi.Input[
|
|
2729
|
+
def succeeded_indexes(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2731
2730
|
"""
|
|
2732
2731
|
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.
|
|
2733
2732
|
"""
|
|
2734
2733
|
return pulumi.get(self, "succeeded_indexes")
|
|
2735
2734
|
|
|
2736
2735
|
@succeeded_indexes.setter
|
|
2737
|
-
def succeeded_indexes(self, value: Optional[pulumi.Input[
|
|
2736
|
+
def succeeded_indexes(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2738
2737
|
pulumi.set(self, "succeeded_indexes", value)
|
|
2739
2738
|
|
|
2740
2739
|
|
|
@@ -2743,11 +2742,11 @@ if not MYPY:
|
|
|
2743
2742
|
"""
|
|
2744
2743
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2745
2744
|
"""
|
|
2746
|
-
succeeded_count: NotRequired[pulumi.Input[
|
|
2745
|
+
succeeded_count: NotRequired[pulumi.Input[_builtins.int]]
|
|
2747
2746
|
"""
|
|
2748
2747
|
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.
|
|
2749
2748
|
"""
|
|
2750
|
-
succeeded_indexes: NotRequired[pulumi.Input[
|
|
2749
|
+
succeeded_indexes: NotRequired[pulumi.Input[_builtins.str]]
|
|
2751
2750
|
"""
|
|
2752
2751
|
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.
|
|
2753
2752
|
"""
|
|
@@ -2757,40 +2756,40 @@ elif False:
|
|
|
2757
2756
|
@pulumi.input_type
|
|
2758
2757
|
class SuccessPolicyRuleArgs:
|
|
2759
2758
|
def __init__(__self__, *,
|
|
2760
|
-
succeeded_count: Optional[pulumi.Input[
|
|
2761
|
-
succeeded_indexes: Optional[pulumi.Input[
|
|
2759
|
+
succeeded_count: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2760
|
+
succeeded_indexes: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2762
2761
|
"""
|
|
2763
2762
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2764
|
-
:param pulumi.Input[
|
|
2765
|
-
:param pulumi.Input[
|
|
2763
|
+
:param pulumi.Input[_builtins.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.
|
|
2764
|
+
:param pulumi.Input[_builtins.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.
|
|
2766
2765
|
"""
|
|
2767
2766
|
if succeeded_count is not None:
|
|
2768
2767
|
pulumi.set(__self__, "succeeded_count", succeeded_count)
|
|
2769
2768
|
if succeeded_indexes is not None:
|
|
2770
2769
|
pulumi.set(__self__, "succeeded_indexes", succeeded_indexes)
|
|
2771
2770
|
|
|
2772
|
-
@property
|
|
2771
|
+
@_builtins.property
|
|
2773
2772
|
@pulumi.getter(name="succeededCount")
|
|
2774
|
-
def succeeded_count(self) -> Optional[pulumi.Input[
|
|
2773
|
+
def succeeded_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2775
2774
|
"""
|
|
2776
2775
|
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.
|
|
2777
2776
|
"""
|
|
2778
2777
|
return pulumi.get(self, "succeeded_count")
|
|
2779
2778
|
|
|
2780
2779
|
@succeeded_count.setter
|
|
2781
|
-
def succeeded_count(self, value: Optional[pulumi.Input[
|
|
2780
|
+
def succeeded_count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2782
2781
|
pulumi.set(self, "succeeded_count", value)
|
|
2783
2782
|
|
|
2784
|
-
@property
|
|
2783
|
+
@_builtins.property
|
|
2785
2784
|
@pulumi.getter(name="succeededIndexes")
|
|
2786
|
-
def succeeded_indexes(self) -> Optional[pulumi.Input[
|
|
2785
|
+
def succeeded_indexes(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2787
2786
|
"""
|
|
2788
2787
|
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.
|
|
2789
2788
|
"""
|
|
2790
2789
|
return pulumi.get(self, "succeeded_indexes")
|
|
2791
2790
|
|
|
2792
2791
|
@succeeded_indexes.setter
|
|
2793
|
-
def succeeded_indexes(self, value: Optional[pulumi.Input[
|
|
2792
|
+
def succeeded_indexes(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2794
2793
|
pulumi.set(self, "succeeded_indexes", value)
|
|
2795
2794
|
|
|
2796
2795
|
|
|
@@ -2816,7 +2815,7 @@ class SuccessPolicyArgs:
|
|
|
2816
2815
|
"""
|
|
2817
2816
|
pulumi.set(__self__, "rules", rules)
|
|
2818
2817
|
|
|
2819
|
-
@property
|
|
2818
|
+
@_builtins.property
|
|
2820
2819
|
@pulumi.getter
|
|
2821
2820
|
def rules(self) -> pulumi.Input[Sequence[pulumi.Input['SuccessPolicyRuleArgs']]]:
|
|
2822
2821
|
"""
|
|
@@ -2834,11 +2833,11 @@ if not MYPY:
|
|
|
2834
2833
|
"""
|
|
2835
2834
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2836
2835
|
"""
|
|
2837
|
-
failed: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2836
|
+
failed: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2838
2837
|
"""
|
|
2839
2838
|
failed holds UIDs of failed Pods.
|
|
2840
2839
|
"""
|
|
2841
|
-
succeeded: NotRequired[pulumi.Input[Sequence[pulumi.Input[
|
|
2840
|
+
succeeded: NotRequired[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]
|
|
2842
2841
|
"""
|
|
2843
2842
|
succeeded holds UIDs of succeeded Pods.
|
|
2844
2843
|
"""
|
|
@@ -2848,40 +2847,40 @@ elif False:
|
|
|
2848
2847
|
@pulumi.input_type
|
|
2849
2848
|
class UncountedTerminatedPodsArgs:
|
|
2850
2849
|
def __init__(__self__, *,
|
|
2851
|
-
failed: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2852
|
-
succeeded: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2850
|
+
failed: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None,
|
|
2851
|
+
succeeded: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]] = None):
|
|
2853
2852
|
"""
|
|
2854
2853
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2855
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2856
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
2854
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] failed: failed holds UIDs of failed Pods.
|
|
2855
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] succeeded: succeeded holds UIDs of succeeded Pods.
|
|
2857
2856
|
"""
|
|
2858
2857
|
if failed is not None:
|
|
2859
2858
|
pulumi.set(__self__, "failed", failed)
|
|
2860
2859
|
if succeeded is not None:
|
|
2861
2860
|
pulumi.set(__self__, "succeeded", succeeded)
|
|
2862
2861
|
|
|
2863
|
-
@property
|
|
2862
|
+
@_builtins.property
|
|
2864
2863
|
@pulumi.getter
|
|
2865
|
-
def failed(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2864
|
+
def failed(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2866
2865
|
"""
|
|
2867
2866
|
failed holds UIDs of failed Pods.
|
|
2868
2867
|
"""
|
|
2869
2868
|
return pulumi.get(self, "failed")
|
|
2870
2869
|
|
|
2871
2870
|
@failed.setter
|
|
2872
|
-
def failed(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2871
|
+
def failed(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2873
2872
|
pulumi.set(self, "failed", value)
|
|
2874
2873
|
|
|
2875
|
-
@property
|
|
2874
|
+
@_builtins.property
|
|
2876
2875
|
@pulumi.getter
|
|
2877
|
-
def succeeded(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2876
|
+
def succeeded(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]:
|
|
2878
2877
|
"""
|
|
2879
2878
|
succeeded holds UIDs of succeeded Pods.
|
|
2880
2879
|
"""
|
|
2881
2880
|
return pulumi.get(self, "succeeded")
|
|
2882
2881
|
|
|
2883
2882
|
@succeeded.setter
|
|
2884
|
-
def succeeded(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
2883
|
+
def succeeded(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.str]]]]):
|
|
2885
2884
|
pulumi.set(self, "succeeded", value)
|
|
2886
2885
|
|
|
2887
2886
|
|