pulumi-kubernetes 4.22.1__py3-none-any.whl → 4.23.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +37 -2
- pulumi_kubernetes/_inputs.py +41 -40
- pulumi_kubernetes/admissionregistration/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1/outputs.py +337 -336
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +396 -395
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +249 -248
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +337 -336
- pulumi_kubernetes/apiextensions/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +18 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +18 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +18 -16
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/_inputs.py +699 -698
- pulumi_kubernetes/apiextensions/v1/outputs.py +405 -404
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +639 -638
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +369 -368
- pulumi_kubernetes/apiregistration/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +18 -16
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +18 -16
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +18 -16
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1/outputs.py +91 -90
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +91 -90
- pulumi_kubernetes/apps/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1/DaemonSet.py +18 -16
- pulumi_kubernetes/apps/v1/DaemonSetList.py +18 -16
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1/ReplicaSet.py +18 -16
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +22 -20
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/_inputs.py +664 -610
- pulumi_kubernetes/apps/v1/outputs.py +582 -508
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1beta1/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta1/_inputs.py +316 -315
- pulumi_kubernetes/apps/v1beta1/outputs.py +260 -259
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta2/_inputs.py +506 -505
- pulumi_kubernetes/apps/v1beta2/outputs.py +442 -441
- pulumi_kubernetes/auditregistration/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +111 -110
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/autoscaling/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/_inputs.py +96 -95
- pulumi_kubernetes/autoscaling/v1/outputs.py +73 -72
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2/_inputs.py +371 -290
- pulumi_kubernetes/autoscaling/v2/outputs.py +281 -224
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +346 -345
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +283 -282
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +281 -280
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +217 -216
- pulumi_kubernetes/batch/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v1/Job.py +18 -16
- pulumi_kubernetes/batch/v1/JobList.py +18 -16
- pulumi_kubernetes/batch/v1/JobPatch.py +18 -16
- pulumi_kubernetes/batch/v1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/_inputs.py +394 -423
- pulumi_kubernetes/batch/v1/outputs.py +293 -316
- pulumi_kubernetes/batch/v1beta1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1beta1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v1beta1/outputs.py +49 -48
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v2alpha1/outputs.py +49 -48
- pulumi_kubernetes/certificates/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +18 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +18 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +18 -16
- pulumi_kubernetes/certificates/v1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/_inputs.py +126 -125
- pulumi_kubernetes/certificates/v1/outputs.py +97 -96
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +20 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +18 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +20 -16
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +227 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +217 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +238 -0
- pulumi_kubernetes/certificates/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +409 -116
- pulumi_kubernetes/certificates/v1beta1/outputs.py +334 -92
- pulumi_kubernetes/coordination/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/Lease.py +18 -16
- pulumi_kubernetes/coordination/v1/LeaseList.py +18 -16
- pulumi_kubernetes/coordination/v1/LeasePatch.py +18 -16
- pulumi_kubernetes/coordination/v1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/_inputs.py +81 -80
- pulumi_kubernetes/coordination/v1/outputs.py +49 -48
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +19 -17
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +18 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +19 -17
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +71 -70
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +43 -42
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +19 -17
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +18 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +19 -17
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +75 -74
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +45 -44
- pulumi_kubernetes/coordination/v1beta1/Lease.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +218 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +217 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +230 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +432 -60
- pulumi_kubernetes/coordination/v1beta1/outputs.py +329 -36
- pulumi_kubernetes/core/__init__.py +1 -0
- pulumi_kubernetes/core/v1/Binding.py +18 -16
- pulumi_kubernetes/core/v1/BindingPatch.py +18 -16
- pulumi_kubernetes/core/v1/ConfigMap.py +42 -40
- pulumi_kubernetes/core/v1/ConfigMapList.py +18 -16
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +42 -40
- pulumi_kubernetes/core/v1/Endpoints.py +26 -16
- pulumi_kubernetes/core/v1/EndpointsList.py +20 -18
- pulumi_kubernetes/core/v1/EndpointsPatch.py +26 -16
- pulumi_kubernetes/core/v1/Event.py +98 -96
- pulumi_kubernetes/core/v1/EventList.py +18 -16
- pulumi_kubernetes/core/v1/EventPatch.py +98 -96
- pulumi_kubernetes/core/v1/LimitRange.py +18 -16
- pulumi_kubernetes/core/v1/LimitRangeList.py +18 -16
- pulumi_kubernetes/core/v1/LimitRangePatch.py +18 -16
- pulumi_kubernetes/core/v1/Namespace.py +18 -16
- pulumi_kubernetes/core/v1/NamespaceList.py +18 -16
- pulumi_kubernetes/core/v1/NamespacePatch.py +18 -16
- pulumi_kubernetes/core/v1/Node.py +18 -16
- pulumi_kubernetes/core/v1/NodeList.py +18 -16
- pulumi_kubernetes/core/v1/NodePatch.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolume.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +18 -16
- pulumi_kubernetes/core/v1/Pod.py +18 -16
- pulumi_kubernetes/core/v1/PodList.py +18 -16
- pulumi_kubernetes/core/v1/PodPatch.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplate.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplateList.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationController.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuota.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +18 -16
- pulumi_kubernetes/core/v1/Secret.py +50 -48
- pulumi_kubernetes/core/v1/SecretList.py +18 -16
- pulumi_kubernetes/core/v1/SecretPatch.py +50 -48
- pulumi_kubernetes/core/v1/Service.py +18 -16
- pulumi_kubernetes/core/v1/ServiceAccount.py +26 -24
- pulumi_kubernetes/core/v1/ServiceAccountList.py +18 -16
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +26 -24
- pulumi_kubernetes/core/v1/ServiceList.py +18 -16
- pulumi_kubernetes/core/v1/ServicePatch.py +18 -16
- pulumi_kubernetes/core/v1/__init__.py +1 -0
- pulumi_kubernetes/core/v1/_enums.py +4 -1
- pulumi_kubernetes/core/v1/_inputs.py +5736 -5561
- pulumi_kubernetes/core/v1/outputs.py +3853 -3652
- pulumi_kubernetes/discovery/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +34 -32
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +18 -16
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +34 -32
- pulumi_kubernetes/discovery/v1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/_inputs.py +294 -178
- pulumi_kubernetes/discovery/v1/outputs.py +184 -108
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +26 -24
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +18 -16
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +26 -24
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/discovery/v1beta1/outputs.py +76 -75
- pulumi_kubernetes/events/__init__.py +1 -0
- pulumi_kubernetes/events/v1/Event.py +98 -96
- pulumi_kubernetes/events/v1/EventList.py +18 -16
- pulumi_kubernetes/events/v1/EventPatch.py +98 -96
- pulumi_kubernetes/events/v1/__init__.py +1 -0
- pulumi_kubernetes/events/v1/_inputs.py +81 -80
- pulumi_kubernetes/events/v1/outputs.py +49 -48
- pulumi_kubernetes/events/v1beta1/Event.py +98 -96
- pulumi_kubernetes/events/v1beta1/EventList.py +18 -16
- pulumi_kubernetes/events/v1beta1/EventPatch.py +98 -96
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/events/v1beta1/_inputs.py +91 -90
- pulumi_kubernetes/events/v1beta1/outputs.py +55 -54
- pulumi_kubernetes/extensions/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +826 -825
- pulumi_kubernetes/extensions/v1beta1/outputs.py +587 -586
- pulumi_kubernetes/flowcontrol/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +223 -222
- pulumi_kubernetes/helm/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/Release.py +247 -245
- pulumi_kubernetes/helm/v3/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/_inputs.py +31 -30
- pulumi_kubernetes/helm/v3/outputs.py +41 -40
- pulumi_kubernetes/helm/v4/Chart.py +72 -70
- pulumi_kubernetes/helm/v4/__init__.py +1 -0
- pulumi_kubernetes/helm/v4/_inputs.py +26 -25
- pulumi_kubernetes/kustomize/__init__.py +1 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +31 -29
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
- pulumi_kubernetes/meta/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/Status.py +43 -41
- pulumi_kubernetes/meta/v1/StatusPatch.py +43 -41
- pulumi_kubernetes/meta/v1/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/_inputs.py +451 -450
- pulumi_kubernetes/meta/v1/outputs.py +289 -288
- pulumi_kubernetes/networking/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/IPAddress.py +218 -0
- pulumi_kubernetes/networking/v1/IPAddressList.py +217 -0
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +230 -0
- pulumi_kubernetes/networking/v1/Ingress.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClass.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClassList.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +18 -16
- pulumi_kubernetes/networking/v1/IngressList.py +18 -16
- pulumi_kubernetes/networking/v1/IngressPatch.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +18 -16
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +228 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +217 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +240 -0
- pulumi_kubernetes/networking/v1/__init__.py +7 -0
- pulumi_kubernetes/networking/v1/_inputs.py +865 -265
- pulumi_kubernetes/networking/v1/outputs.py +632 -170
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +121 -120
- pulumi_kubernetes/networking/v1alpha1/outputs.py +73 -72
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +19 -17
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +19 -17
- pulumi_kubernetes/networking/v1beta1/Ingress.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +18 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +19 -17
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +19 -17
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +181 -180
- pulumi_kubernetes/networking/v1beta1/outputs.py +105 -104
- pulumi_kubernetes/node/__init__.py +1 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +26 -24
- pulumi_kubernetes/node/v1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +26 -24
- pulumi_kubernetes/node/v1/__init__.py +1 -0
- pulumi_kubernetes/node/v1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1/outputs.py +22 -21
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +18 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +18 -16
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/node/v1alpha1/_inputs.py +41 -40
- pulumi_kubernetes/node/v1alpha1/outputs.py +25 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +26 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +26 -24
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/node/v1beta1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1beta1/outputs.py +22 -21
- pulumi_kubernetes/policy/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +18 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +18 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +18 -16
- pulumi_kubernetes/policy/v1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/_inputs.py +71 -82
- pulumi_kubernetes/policy/v1/outputs.py +53 -60
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +18 -16
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1beta1/_inputs.py +361 -360
- pulumi_kubernetes/policy/v1beta1/outputs.py +227 -226
- pulumi_kubernetes/provider.py +93 -91
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1beta1/outputs.py +97 -96
- pulumi_kubernetes/resource/__init__.py +4 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +26 -24
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +26 -24
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +206 -205
- pulumi_kubernetes/resource/v1alpha1/outputs.py +154 -153
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +26 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +26 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +34 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +34 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +35 -33
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +35 -33
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +411 -410
- pulumi_kubernetes/resource/v1alpha2/outputs.py +286 -285
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +225 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +217 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +236 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/__init__.py +4 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +2999 -652
- pulumi_kubernetes/resource/v1alpha3/outputs.py +2286 -504
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +19 -17
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +2481 -612
- pulumi_kubernetes/resource/v1beta1/outputs.py +1782 -379
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +239 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +250 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +234 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +218 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +245 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +231 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +242 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +248 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +218 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +259 -0
- pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta2/_inputs.py +5681 -0
- pulumi_kubernetes/resource/v1beta2/outputs.py +4726 -0
- pulumi_kubernetes/scheduling/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +19 -18
- pulumi_kubernetes/settings/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +11 -10
- pulumi_kubernetes/settings/v1alpha1/outputs.py +7 -6
- pulumi_kubernetes/storage/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +18 -16
- pulumi_kubernetes/storage/v1/CSIDriverList.py +18 -16
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +18 -16
- pulumi_kubernetes/storage/v1/CSINode.py +18 -16
- pulumi_kubernetes/storage/v1/CSINodeList.py +18 -16
- pulumi_kubernetes/storage/v1/CSINodePatch.py +18 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +42 -40
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +18 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +42 -40
- pulumi_kubernetes/storage/v1/StorageClass.py +66 -64
- pulumi_kubernetes/storage/v1/StorageClassList.py +18 -16
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +66 -64
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/_inputs.py +366 -275
- pulumi_kubernetes/storage/v1/outputs.py +288 -177
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +34 -32
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +34 -32
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storage/v1alpha1/outputs.py +61 -60
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINode.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +42 -40
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +42 -40
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +66 -64
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +66 -64
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +34 -32
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +34 -32
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +286 -285
- pulumi_kubernetes/storage/v1beta1/outputs.py +184 -183
- pulumi_kubernetes/storagemigration/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/yaml/__init__.py +1 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +23 -21
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +30 -28
- pulumi_kubernetes/yaml/v2/__init__.py +1 -0
- pulumi_kubernetes/yaml/yaml.py +108 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/METADATA +4 -4
- pulumi_kubernetes-4.23.0.dist-info/RECORD +709 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.22.1.dist-info/RECORD +0 -679
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +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
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -74,13 +75,13 @@ if not MYPY:
|
|
|
74
75
|
"""
|
|
75
76
|
CronJobSpec describes how the job execution will look like and when it will actually run.
|
|
76
77
|
"""
|
|
77
|
-
concurrency_policy: NotRequired[pulumi.Input[str]]
|
|
78
|
+
concurrency_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
78
79
|
"""
|
|
79
80
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
80
81
|
|
|
81
82
|
- "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
|
|
82
83
|
"""
|
|
83
|
-
failed_jobs_history_limit: NotRequired[pulumi.Input[int]]
|
|
84
|
+
failed_jobs_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
84
85
|
"""
|
|
85
86
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
86
87
|
"""
|
|
@@ -88,23 +89,23 @@ if not MYPY:
|
|
|
88
89
|
"""
|
|
89
90
|
Specifies the job that will be created when executing a CronJob.
|
|
90
91
|
"""
|
|
91
|
-
schedule: NotRequired[pulumi.Input[str]]
|
|
92
|
+
schedule: NotRequired[pulumi.Input[builtins.str]]
|
|
92
93
|
"""
|
|
93
94
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
94
95
|
"""
|
|
95
|
-
starting_deadline_seconds: NotRequired[pulumi.Input[int]]
|
|
96
|
+
starting_deadline_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
96
97
|
"""
|
|
97
98
|
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.
|
|
98
99
|
"""
|
|
99
|
-
successful_jobs_history_limit: NotRequired[pulumi.Input[int]]
|
|
100
|
+
successful_jobs_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
100
101
|
"""
|
|
101
102
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
102
103
|
"""
|
|
103
|
-
suspend: NotRequired[pulumi.Input[bool]]
|
|
104
|
+
suspend: NotRequired[pulumi.Input[builtins.bool]]
|
|
104
105
|
"""
|
|
105
106
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
106
107
|
"""
|
|
107
|
-
time_zone: NotRequired[pulumi.Input[str]]
|
|
108
|
+
time_zone: NotRequired[pulumi.Input[builtins.str]]
|
|
108
109
|
"""
|
|
109
110
|
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
|
|
110
111
|
"""
|
|
@@ -114,26 +115,26 @@ elif False:
|
|
|
114
115
|
@pulumi.input_type
|
|
115
116
|
class CronJobSpecPatchArgs:
|
|
116
117
|
def __init__(__self__, *,
|
|
117
|
-
concurrency_policy: Optional[pulumi.Input[str]] = None,
|
|
118
|
-
failed_jobs_history_limit: Optional[pulumi.Input[int]] = None,
|
|
118
|
+
concurrency_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
119
|
+
failed_jobs_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
119
120
|
job_template: Optional[pulumi.Input['JobTemplateSpecPatchArgs']] = None,
|
|
120
|
-
schedule: Optional[pulumi.Input[str]] = None,
|
|
121
|
-
starting_deadline_seconds: Optional[pulumi.Input[int]] = None,
|
|
122
|
-
successful_jobs_history_limit: Optional[pulumi.Input[int]] = None,
|
|
123
|
-
suspend: Optional[pulumi.Input[bool]] = None,
|
|
124
|
-
time_zone: Optional[pulumi.Input[str]] = None):
|
|
121
|
+
schedule: Optional[pulumi.Input[builtins.str]] = None,
|
|
122
|
+
starting_deadline_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
123
|
+
successful_jobs_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
124
|
+
suspend: Optional[pulumi.Input[builtins.bool]] = None,
|
|
125
|
+
time_zone: Optional[pulumi.Input[builtins.str]] = None):
|
|
125
126
|
"""
|
|
126
127
|
CronJobSpec describes how the job execution will look like and when it will actually run.
|
|
127
|
-
:param pulumi.Input[str] concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
128
|
+
:param pulumi.Input[builtins.str] concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
128
129
|
|
|
129
130
|
- "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
|
|
130
|
-
:param pulumi.Input[int] failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
131
|
+
: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.
|
|
131
132
|
:param pulumi.Input['JobTemplateSpecPatchArgs'] job_template: Specifies the job that will be created when executing a CronJob.
|
|
132
|
-
:param pulumi.Input[str] schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
133
|
-
:param pulumi.Input[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[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[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[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
|
|
133
|
+
:param pulumi.Input[builtins.str] schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
134
|
+
: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.
|
|
135
|
+
: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.
|
|
136
|
+
: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.
|
|
137
|
+
: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
|
|
137
138
|
"""
|
|
138
139
|
if concurrency_policy is not None:
|
|
139
140
|
pulumi.set(__self__, "concurrency_policy", concurrency_policy)
|
|
@@ -154,7 +155,7 @@ class CronJobSpecPatchArgs:
|
|
|
154
155
|
|
|
155
156
|
@property
|
|
156
157
|
@pulumi.getter(name="concurrencyPolicy")
|
|
157
|
-
def concurrency_policy(self) -> Optional[pulumi.Input[str]]:
|
|
158
|
+
def concurrency_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
158
159
|
"""
|
|
159
160
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
160
161
|
|
|
@@ -163,19 +164,19 @@ class CronJobSpecPatchArgs:
|
|
|
163
164
|
return pulumi.get(self, "concurrency_policy")
|
|
164
165
|
|
|
165
166
|
@concurrency_policy.setter
|
|
166
|
-
def concurrency_policy(self, value: Optional[pulumi.Input[str]]):
|
|
167
|
+
def concurrency_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
167
168
|
pulumi.set(self, "concurrency_policy", value)
|
|
168
169
|
|
|
169
170
|
@property
|
|
170
171
|
@pulumi.getter(name="failedJobsHistoryLimit")
|
|
171
|
-
def failed_jobs_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
172
|
+
def failed_jobs_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
172
173
|
"""
|
|
173
174
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
174
175
|
"""
|
|
175
176
|
return pulumi.get(self, "failed_jobs_history_limit")
|
|
176
177
|
|
|
177
178
|
@failed_jobs_history_limit.setter
|
|
178
|
-
def failed_jobs_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
179
|
+
def failed_jobs_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
179
180
|
pulumi.set(self, "failed_jobs_history_limit", value)
|
|
180
181
|
|
|
181
182
|
@property
|
|
@@ -192,62 +193,62 @@ class CronJobSpecPatchArgs:
|
|
|
192
193
|
|
|
193
194
|
@property
|
|
194
195
|
@pulumi.getter
|
|
195
|
-
def schedule(self) -> Optional[pulumi.Input[str]]:
|
|
196
|
+
def schedule(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
196
197
|
"""
|
|
197
198
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
198
199
|
"""
|
|
199
200
|
return pulumi.get(self, "schedule")
|
|
200
201
|
|
|
201
202
|
@schedule.setter
|
|
202
|
-
def schedule(self, value: Optional[pulumi.Input[str]]):
|
|
203
|
+
def schedule(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
203
204
|
pulumi.set(self, "schedule", value)
|
|
204
205
|
|
|
205
206
|
@property
|
|
206
207
|
@pulumi.getter(name="startingDeadlineSeconds")
|
|
207
|
-
def starting_deadline_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
208
|
+
def starting_deadline_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
208
209
|
"""
|
|
209
210
|
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.
|
|
210
211
|
"""
|
|
211
212
|
return pulumi.get(self, "starting_deadline_seconds")
|
|
212
213
|
|
|
213
214
|
@starting_deadline_seconds.setter
|
|
214
|
-
def starting_deadline_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
215
|
+
def starting_deadline_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
215
216
|
pulumi.set(self, "starting_deadline_seconds", value)
|
|
216
217
|
|
|
217
218
|
@property
|
|
218
219
|
@pulumi.getter(name="successfulJobsHistoryLimit")
|
|
219
|
-
def successful_jobs_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
220
|
+
def successful_jobs_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
220
221
|
"""
|
|
221
222
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
222
223
|
"""
|
|
223
224
|
return pulumi.get(self, "successful_jobs_history_limit")
|
|
224
225
|
|
|
225
226
|
@successful_jobs_history_limit.setter
|
|
226
|
-
def successful_jobs_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
227
|
+
def successful_jobs_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
227
228
|
pulumi.set(self, "successful_jobs_history_limit", value)
|
|
228
229
|
|
|
229
230
|
@property
|
|
230
231
|
@pulumi.getter
|
|
231
|
-
def suspend(self) -> Optional[pulumi.Input[bool]]:
|
|
232
|
+
def suspend(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
232
233
|
"""
|
|
233
234
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
234
235
|
"""
|
|
235
236
|
return pulumi.get(self, "suspend")
|
|
236
237
|
|
|
237
238
|
@suspend.setter
|
|
238
|
-
def suspend(self, value: Optional[pulumi.Input[bool]]):
|
|
239
|
+
def suspend(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
239
240
|
pulumi.set(self, "suspend", value)
|
|
240
241
|
|
|
241
242
|
@property
|
|
242
243
|
@pulumi.getter(name="timeZone")
|
|
243
|
-
def time_zone(self) -> Optional[pulumi.Input[str]]:
|
|
244
|
+
def time_zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
244
245
|
"""
|
|
245
246
|
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
|
|
246
247
|
"""
|
|
247
248
|
return pulumi.get(self, "time_zone")
|
|
248
249
|
|
|
249
250
|
@time_zone.setter
|
|
250
|
-
def time_zone(self, value: Optional[pulumi.Input[str]]):
|
|
251
|
+
def time_zone(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
251
252
|
pulumi.set(self, "time_zone", value)
|
|
252
253
|
|
|
253
254
|
|
|
@@ -260,33 +261,33 @@ if not MYPY:
|
|
|
260
261
|
"""
|
|
261
262
|
Specifies the job that will be created when executing a CronJob.
|
|
262
263
|
"""
|
|
263
|
-
schedule: pulumi.Input[str]
|
|
264
|
+
schedule: pulumi.Input[builtins.str]
|
|
264
265
|
"""
|
|
265
266
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
266
267
|
"""
|
|
267
|
-
concurrency_policy: NotRequired[pulumi.Input[str]]
|
|
268
|
+
concurrency_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
268
269
|
"""
|
|
269
270
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
270
271
|
|
|
271
272
|
- "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
|
|
272
273
|
"""
|
|
273
|
-
failed_jobs_history_limit: NotRequired[pulumi.Input[int]]
|
|
274
|
+
failed_jobs_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
274
275
|
"""
|
|
275
276
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
276
277
|
"""
|
|
277
|
-
starting_deadline_seconds: NotRequired[pulumi.Input[int]]
|
|
278
|
+
starting_deadline_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
278
279
|
"""
|
|
279
280
|
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.
|
|
280
281
|
"""
|
|
281
|
-
successful_jobs_history_limit: NotRequired[pulumi.Input[int]]
|
|
282
|
+
successful_jobs_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
282
283
|
"""
|
|
283
284
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
284
285
|
"""
|
|
285
|
-
suspend: NotRequired[pulumi.Input[bool]]
|
|
286
|
+
suspend: NotRequired[pulumi.Input[builtins.bool]]
|
|
286
287
|
"""
|
|
287
288
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
288
289
|
"""
|
|
289
|
-
time_zone: NotRequired[pulumi.Input[str]]
|
|
290
|
+
time_zone: NotRequired[pulumi.Input[builtins.str]]
|
|
290
291
|
"""
|
|
291
292
|
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
|
|
292
293
|
"""
|
|
@@ -297,25 +298,25 @@ elif False:
|
|
|
297
298
|
class CronJobSpecArgs:
|
|
298
299
|
def __init__(__self__, *,
|
|
299
300
|
job_template: pulumi.Input['JobTemplateSpecArgs'],
|
|
300
|
-
schedule: pulumi.Input[str],
|
|
301
|
-
concurrency_policy: Optional[pulumi.Input[str]] = None,
|
|
302
|
-
failed_jobs_history_limit: Optional[pulumi.Input[int]] = None,
|
|
303
|
-
starting_deadline_seconds: Optional[pulumi.Input[int]] = None,
|
|
304
|
-
successful_jobs_history_limit: Optional[pulumi.Input[int]] = None,
|
|
305
|
-
suspend: Optional[pulumi.Input[bool]] = None,
|
|
306
|
-
time_zone: Optional[pulumi.Input[str]] = None):
|
|
301
|
+
schedule: pulumi.Input[builtins.str],
|
|
302
|
+
concurrency_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
303
|
+
failed_jobs_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
304
|
+
starting_deadline_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
305
|
+
successful_jobs_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
306
|
+
suspend: Optional[pulumi.Input[builtins.bool]] = None,
|
|
307
|
+
time_zone: Optional[pulumi.Input[builtins.str]] = None):
|
|
307
308
|
"""
|
|
308
309
|
CronJobSpec describes how the job execution will look like and when it will actually run.
|
|
309
310
|
:param pulumi.Input['JobTemplateSpecArgs'] job_template: Specifies the job that will be created when executing a CronJob.
|
|
310
|
-
:param pulumi.Input[str] schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
311
|
-
:param pulumi.Input[str] concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
311
|
+
:param pulumi.Input[builtins.str] schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
312
|
+
:param pulumi.Input[builtins.str] concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
312
313
|
|
|
313
314
|
- "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
|
|
314
|
-
:param pulumi.Input[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[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[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[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[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
|
|
315
|
+
: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.
|
|
316
|
+
: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.
|
|
317
|
+
: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.
|
|
318
|
+
: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.
|
|
319
|
+
: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
|
|
319
320
|
"""
|
|
320
321
|
pulumi.set(__self__, "job_template", job_template)
|
|
321
322
|
pulumi.set(__self__, "schedule", schedule)
|
|
@@ -346,19 +347,19 @@ class CronJobSpecArgs:
|
|
|
346
347
|
|
|
347
348
|
@property
|
|
348
349
|
@pulumi.getter
|
|
349
|
-
def schedule(self) -> pulumi.Input[str]:
|
|
350
|
+
def schedule(self) -> pulumi.Input[builtins.str]:
|
|
350
351
|
"""
|
|
351
352
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
352
353
|
"""
|
|
353
354
|
return pulumi.get(self, "schedule")
|
|
354
355
|
|
|
355
356
|
@schedule.setter
|
|
356
|
-
def schedule(self, value: pulumi.Input[str]):
|
|
357
|
+
def schedule(self, value: pulumi.Input[builtins.str]):
|
|
357
358
|
pulumi.set(self, "schedule", value)
|
|
358
359
|
|
|
359
360
|
@property
|
|
360
361
|
@pulumi.getter(name="concurrencyPolicy")
|
|
361
|
-
def concurrency_policy(self) -> Optional[pulumi.Input[str]]:
|
|
362
|
+
def concurrency_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
362
363
|
"""
|
|
363
364
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
364
365
|
|
|
@@ -367,67 +368,67 @@ class CronJobSpecArgs:
|
|
|
367
368
|
return pulumi.get(self, "concurrency_policy")
|
|
368
369
|
|
|
369
370
|
@concurrency_policy.setter
|
|
370
|
-
def concurrency_policy(self, value: Optional[pulumi.Input[str]]):
|
|
371
|
+
def concurrency_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
371
372
|
pulumi.set(self, "concurrency_policy", value)
|
|
372
373
|
|
|
373
374
|
@property
|
|
374
375
|
@pulumi.getter(name="failedJobsHistoryLimit")
|
|
375
|
-
def failed_jobs_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
376
|
+
def failed_jobs_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
376
377
|
"""
|
|
377
378
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
378
379
|
"""
|
|
379
380
|
return pulumi.get(self, "failed_jobs_history_limit")
|
|
380
381
|
|
|
381
382
|
@failed_jobs_history_limit.setter
|
|
382
|
-
def failed_jobs_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
383
|
+
def failed_jobs_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
383
384
|
pulumi.set(self, "failed_jobs_history_limit", value)
|
|
384
385
|
|
|
385
386
|
@property
|
|
386
387
|
@pulumi.getter(name="startingDeadlineSeconds")
|
|
387
|
-
def starting_deadline_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
388
|
+
def starting_deadline_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
388
389
|
"""
|
|
389
390
|
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.
|
|
390
391
|
"""
|
|
391
392
|
return pulumi.get(self, "starting_deadline_seconds")
|
|
392
393
|
|
|
393
394
|
@starting_deadline_seconds.setter
|
|
394
|
-
def starting_deadline_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
395
|
+
def starting_deadline_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
395
396
|
pulumi.set(self, "starting_deadline_seconds", value)
|
|
396
397
|
|
|
397
398
|
@property
|
|
398
399
|
@pulumi.getter(name="successfulJobsHistoryLimit")
|
|
399
|
-
def successful_jobs_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
400
|
+
def successful_jobs_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
400
401
|
"""
|
|
401
402
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
402
403
|
"""
|
|
403
404
|
return pulumi.get(self, "successful_jobs_history_limit")
|
|
404
405
|
|
|
405
406
|
@successful_jobs_history_limit.setter
|
|
406
|
-
def successful_jobs_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
407
|
+
def successful_jobs_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
407
408
|
pulumi.set(self, "successful_jobs_history_limit", value)
|
|
408
409
|
|
|
409
410
|
@property
|
|
410
411
|
@pulumi.getter
|
|
411
|
-
def suspend(self) -> Optional[pulumi.Input[bool]]:
|
|
412
|
+
def suspend(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
412
413
|
"""
|
|
413
414
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
414
415
|
"""
|
|
415
416
|
return pulumi.get(self, "suspend")
|
|
416
417
|
|
|
417
418
|
@suspend.setter
|
|
418
|
-
def suspend(self, value: Optional[pulumi.Input[bool]]):
|
|
419
|
+
def suspend(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
419
420
|
pulumi.set(self, "suspend", value)
|
|
420
421
|
|
|
421
422
|
@property
|
|
422
423
|
@pulumi.getter(name="timeZone")
|
|
423
|
-
def time_zone(self) -> Optional[pulumi.Input[str]]:
|
|
424
|
+
def time_zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
424
425
|
"""
|
|
425
426
|
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
|
|
426
427
|
"""
|
|
427
428
|
return pulumi.get(self, "time_zone")
|
|
428
429
|
|
|
429
430
|
@time_zone.setter
|
|
430
|
-
def time_zone(self, value: Optional[pulumi.Input[str]]):
|
|
431
|
+
def time_zone(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
431
432
|
pulumi.set(self, "time_zone", value)
|
|
432
433
|
|
|
433
434
|
|
|
@@ -440,11 +441,11 @@ if not MYPY:
|
|
|
440
441
|
"""
|
|
441
442
|
A list of pointers to currently running jobs.
|
|
442
443
|
"""
|
|
443
|
-
last_schedule_time: NotRequired[pulumi.Input[str]]
|
|
444
|
+
last_schedule_time: NotRequired[pulumi.Input[builtins.str]]
|
|
444
445
|
"""
|
|
445
446
|
Information when was the last time the job was successfully scheduled.
|
|
446
447
|
"""
|
|
447
|
-
last_successful_time: NotRequired[pulumi.Input[str]]
|
|
448
|
+
last_successful_time: NotRequired[pulumi.Input[builtins.str]]
|
|
448
449
|
"""
|
|
449
450
|
Information when was the last time the job successfully completed.
|
|
450
451
|
"""
|
|
@@ -455,13 +456,13 @@ elif False:
|
|
|
455
456
|
class CronJobStatusArgs:
|
|
456
457
|
def __init__(__self__, *,
|
|
457
458
|
active: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.ObjectReferenceArgs']]]] = None,
|
|
458
|
-
last_schedule_time: Optional[pulumi.Input[str]] = None,
|
|
459
|
-
last_successful_time: Optional[pulumi.Input[str]] = None):
|
|
459
|
+
last_schedule_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
460
|
+
last_successful_time: Optional[pulumi.Input[builtins.str]] = None):
|
|
460
461
|
"""
|
|
461
462
|
CronJobStatus represents the current state of a cron job.
|
|
462
463
|
:param pulumi.Input[Sequence[pulumi.Input['_core.v1.ObjectReferenceArgs']]] active: A list of pointers to currently running jobs.
|
|
463
|
-
:param pulumi.Input[str] last_schedule_time: Information when was the last time the job was successfully scheduled.
|
|
464
|
-
:param pulumi.Input[str] last_successful_time: Information when was the last time the job successfully completed.
|
|
464
|
+
:param pulumi.Input[builtins.str] last_schedule_time: Information when was the last time the job was successfully scheduled.
|
|
465
|
+
:param pulumi.Input[builtins.str] last_successful_time: Information when was the last time the job successfully completed.
|
|
465
466
|
"""
|
|
466
467
|
if active is not None:
|
|
467
468
|
pulumi.set(__self__, "active", active)
|
|
@@ -484,26 +485,26 @@ class CronJobStatusArgs:
|
|
|
484
485
|
|
|
485
486
|
@property
|
|
486
487
|
@pulumi.getter(name="lastScheduleTime")
|
|
487
|
-
def last_schedule_time(self) -> Optional[pulumi.Input[str]]:
|
|
488
|
+
def last_schedule_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
488
489
|
"""
|
|
489
490
|
Information when was the last time the job was successfully scheduled.
|
|
490
491
|
"""
|
|
491
492
|
return pulumi.get(self, "last_schedule_time")
|
|
492
493
|
|
|
493
494
|
@last_schedule_time.setter
|
|
494
|
-
def last_schedule_time(self, value: Optional[pulumi.Input[str]]):
|
|
495
|
+
def last_schedule_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
495
496
|
pulumi.set(self, "last_schedule_time", value)
|
|
496
497
|
|
|
497
498
|
@property
|
|
498
499
|
@pulumi.getter(name="lastSuccessfulTime")
|
|
499
|
-
def last_successful_time(self) -> Optional[pulumi.Input[str]]:
|
|
500
|
+
def last_successful_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
500
501
|
"""
|
|
501
502
|
Information when was the last time the job successfully completed.
|
|
502
503
|
"""
|
|
503
504
|
return pulumi.get(self, "last_successful_time")
|
|
504
505
|
|
|
505
506
|
@last_successful_time.setter
|
|
506
|
-
def last_successful_time(self, value: Optional[pulumi.Input[str]]):
|
|
507
|
+
def last_successful_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
507
508
|
pulumi.set(self, "last_successful_time", value)
|
|
508
509
|
|
|
509
510
|
|
|
@@ -512,11 +513,11 @@ if not MYPY:
|
|
|
512
513
|
"""
|
|
513
514
|
CronJob represents the configuration of a single cron job.
|
|
514
515
|
"""
|
|
515
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
516
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
516
517
|
"""
|
|
517
518
|
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
|
|
518
519
|
"""
|
|
519
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
520
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
520
521
|
"""
|
|
521
522
|
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
|
|
522
523
|
"""
|
|
@@ -538,15 +539,15 @@ elif False:
|
|
|
538
539
|
@pulumi.input_type
|
|
539
540
|
class CronJobArgs:
|
|
540
541
|
def __init__(__self__, *,
|
|
541
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
542
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
542
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
543
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
543
544
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
544
545
|
spec: Optional[pulumi.Input['CronJobSpecArgs']] = None,
|
|
545
546
|
status: Optional[pulumi.Input['CronJobStatusArgs']] = None):
|
|
546
547
|
"""
|
|
547
548
|
CronJob represents the configuration of a single cron job.
|
|
548
|
-
:param pulumi.Input[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[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
|
|
549
|
+
: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
|
|
550
|
+
: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
|
|
550
551
|
: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
|
|
551
552
|
: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
|
|
552
553
|
: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
|
|
@@ -564,26 +565,26 @@ class CronJobArgs:
|
|
|
564
565
|
|
|
565
566
|
@property
|
|
566
567
|
@pulumi.getter(name="apiVersion")
|
|
567
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
568
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
568
569
|
"""
|
|
569
570
|
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
|
|
570
571
|
"""
|
|
571
572
|
return pulumi.get(self, "api_version")
|
|
572
573
|
|
|
573
574
|
@api_version.setter
|
|
574
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
575
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
575
576
|
pulumi.set(self, "api_version", value)
|
|
576
577
|
|
|
577
578
|
@property
|
|
578
579
|
@pulumi.getter
|
|
579
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
580
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
580
581
|
"""
|
|
581
582
|
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
|
|
582
583
|
"""
|
|
583
584
|
return pulumi.get(self, "kind")
|
|
584
585
|
|
|
585
586
|
@kind.setter
|
|
586
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
587
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
587
588
|
pulumi.set(self, "kind", value)
|
|
588
589
|
|
|
589
590
|
@property
|
|
@@ -628,27 +629,27 @@ if not MYPY:
|
|
|
628
629
|
"""
|
|
629
630
|
JobCondition describes current state of a job.
|
|
630
631
|
"""
|
|
631
|
-
status: pulumi.Input[str]
|
|
632
|
+
status: pulumi.Input[builtins.str]
|
|
632
633
|
"""
|
|
633
634
|
Status of the condition, one of True, False, Unknown.
|
|
634
635
|
"""
|
|
635
|
-
type: pulumi.Input[str]
|
|
636
|
+
type: pulumi.Input[builtins.str]
|
|
636
637
|
"""
|
|
637
638
|
Type of job condition, Complete or Failed.
|
|
638
639
|
"""
|
|
639
|
-
last_probe_time: NotRequired[pulumi.Input[str]]
|
|
640
|
+
last_probe_time: NotRequired[pulumi.Input[builtins.str]]
|
|
640
641
|
"""
|
|
641
642
|
Last time the condition was checked.
|
|
642
643
|
"""
|
|
643
|
-
last_transition_time: NotRequired[pulumi.Input[str]]
|
|
644
|
+
last_transition_time: NotRequired[pulumi.Input[builtins.str]]
|
|
644
645
|
"""
|
|
645
646
|
Last time the condition transit from one status to another.
|
|
646
647
|
"""
|
|
647
|
-
message: NotRequired[pulumi.Input[str]]
|
|
648
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
648
649
|
"""
|
|
649
650
|
Human readable message indicating details about last transition.
|
|
650
651
|
"""
|
|
651
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
652
|
+
reason: NotRequired[pulumi.Input[builtins.str]]
|
|
652
653
|
"""
|
|
653
654
|
(brief) reason for the condition's last transition.
|
|
654
655
|
"""
|
|
@@ -658,20 +659,20 @@ elif False:
|
|
|
658
659
|
@pulumi.input_type
|
|
659
660
|
class JobConditionArgs:
|
|
660
661
|
def __init__(__self__, *,
|
|
661
|
-
status: pulumi.Input[str],
|
|
662
|
-
type: pulumi.Input[str],
|
|
663
|
-
last_probe_time: Optional[pulumi.Input[str]] = None,
|
|
664
|
-
last_transition_time: Optional[pulumi.Input[str]] = None,
|
|
665
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
666
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
662
|
+
status: pulumi.Input[builtins.str],
|
|
663
|
+
type: pulumi.Input[builtins.str],
|
|
664
|
+
last_probe_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
665
|
+
last_transition_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
666
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
667
|
+
reason: Optional[pulumi.Input[builtins.str]] = None):
|
|
667
668
|
"""
|
|
668
669
|
JobCondition describes current state of a job.
|
|
669
|
-
:param pulumi.Input[str] status: Status of the condition, one of True, False, Unknown.
|
|
670
|
-
:param pulumi.Input[str] type: Type of job condition, Complete or Failed.
|
|
671
|
-
:param pulumi.Input[str] last_probe_time: Last time the condition was checked.
|
|
672
|
-
:param pulumi.Input[str] last_transition_time: Last time the condition transit from one status to another.
|
|
673
|
-
:param pulumi.Input[str] message: Human readable message indicating details about last transition.
|
|
674
|
-
:param pulumi.Input[str] reason: (brief) reason for the condition's last transition.
|
|
670
|
+
:param pulumi.Input[builtins.str] status: Status of the condition, one of True, False, Unknown.
|
|
671
|
+
:param pulumi.Input[builtins.str] type: Type of job condition, Complete or Failed.
|
|
672
|
+
:param pulumi.Input[builtins.str] last_probe_time: Last time the condition was checked.
|
|
673
|
+
:param pulumi.Input[builtins.str] last_transition_time: Last time the condition transit from one status to another.
|
|
674
|
+
:param pulumi.Input[builtins.str] message: Human readable message indicating details about last transition.
|
|
675
|
+
:param pulumi.Input[builtins.str] reason: (brief) reason for the condition's last transition.
|
|
675
676
|
"""
|
|
676
677
|
pulumi.set(__self__, "status", status)
|
|
677
678
|
pulumi.set(__self__, "type", type)
|
|
@@ -686,74 +687,74 @@ class JobConditionArgs:
|
|
|
686
687
|
|
|
687
688
|
@property
|
|
688
689
|
@pulumi.getter
|
|
689
|
-
def status(self) -> pulumi.Input[str]:
|
|
690
|
+
def status(self) -> pulumi.Input[builtins.str]:
|
|
690
691
|
"""
|
|
691
692
|
Status of the condition, one of True, False, Unknown.
|
|
692
693
|
"""
|
|
693
694
|
return pulumi.get(self, "status")
|
|
694
695
|
|
|
695
696
|
@status.setter
|
|
696
|
-
def status(self, value: pulumi.Input[str]):
|
|
697
|
+
def status(self, value: pulumi.Input[builtins.str]):
|
|
697
698
|
pulumi.set(self, "status", value)
|
|
698
699
|
|
|
699
700
|
@property
|
|
700
701
|
@pulumi.getter
|
|
701
|
-
def type(self) -> pulumi.Input[str]:
|
|
702
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
702
703
|
"""
|
|
703
704
|
Type of job condition, Complete or Failed.
|
|
704
705
|
"""
|
|
705
706
|
return pulumi.get(self, "type")
|
|
706
707
|
|
|
707
708
|
@type.setter
|
|
708
|
-
def type(self, value: pulumi.Input[str]):
|
|
709
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
709
710
|
pulumi.set(self, "type", value)
|
|
710
711
|
|
|
711
712
|
@property
|
|
712
713
|
@pulumi.getter(name="lastProbeTime")
|
|
713
|
-
def last_probe_time(self) -> Optional[pulumi.Input[str]]:
|
|
714
|
+
def last_probe_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
714
715
|
"""
|
|
715
716
|
Last time the condition was checked.
|
|
716
717
|
"""
|
|
717
718
|
return pulumi.get(self, "last_probe_time")
|
|
718
719
|
|
|
719
720
|
@last_probe_time.setter
|
|
720
|
-
def last_probe_time(self, value: Optional[pulumi.Input[str]]):
|
|
721
|
+
def last_probe_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
721
722
|
pulumi.set(self, "last_probe_time", value)
|
|
722
723
|
|
|
723
724
|
@property
|
|
724
725
|
@pulumi.getter(name="lastTransitionTime")
|
|
725
|
-
def last_transition_time(self) -> Optional[pulumi.Input[str]]:
|
|
726
|
+
def last_transition_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
726
727
|
"""
|
|
727
728
|
Last time the condition transit from one status to another.
|
|
728
729
|
"""
|
|
729
730
|
return pulumi.get(self, "last_transition_time")
|
|
730
731
|
|
|
731
732
|
@last_transition_time.setter
|
|
732
|
-
def last_transition_time(self, value: Optional[pulumi.Input[str]]):
|
|
733
|
+
def last_transition_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
733
734
|
pulumi.set(self, "last_transition_time", value)
|
|
734
735
|
|
|
735
736
|
@property
|
|
736
737
|
@pulumi.getter
|
|
737
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
738
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
738
739
|
"""
|
|
739
740
|
Human readable message indicating details about last transition.
|
|
740
741
|
"""
|
|
741
742
|
return pulumi.get(self, "message")
|
|
742
743
|
|
|
743
744
|
@message.setter
|
|
744
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
745
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
745
746
|
pulumi.set(self, "message", value)
|
|
746
747
|
|
|
747
748
|
@property
|
|
748
749
|
@pulumi.getter
|
|
749
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
750
|
+
def reason(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
750
751
|
"""
|
|
751
752
|
(brief) reason for the condition's last transition.
|
|
752
753
|
"""
|
|
753
754
|
return pulumi.get(self, "reason")
|
|
754
755
|
|
|
755
756
|
@reason.setter
|
|
756
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
757
|
+
def reason(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
757
758
|
pulumi.set(self, "reason", value)
|
|
758
759
|
|
|
759
760
|
|
|
@@ -762,19 +763,19 @@ if not MYPY:
|
|
|
762
763
|
"""
|
|
763
764
|
JobSpec describes how the job execution will look like.
|
|
764
765
|
"""
|
|
765
|
-
active_deadline_seconds: NotRequired[pulumi.Input[int]]
|
|
766
|
+
active_deadline_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
766
767
|
"""
|
|
767
768
|
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.
|
|
768
769
|
"""
|
|
769
|
-
backoff_limit: NotRequired[pulumi.Input[int]]
|
|
770
|
+
backoff_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
770
771
|
"""
|
|
771
772
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
772
773
|
"""
|
|
773
|
-
backoff_limit_per_index: NotRequired[pulumi.Input[int]]
|
|
774
|
+
backoff_limit_per_index: NotRequired[pulumi.Input[builtins.int]]
|
|
774
775
|
"""
|
|
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.
|
|
776
|
+
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.
|
|
776
777
|
"""
|
|
777
|
-
completion_mode: NotRequired[pulumi.Input[str]]
|
|
778
|
+
completion_mode: NotRequired[pulumi.Input[builtins.str]]
|
|
778
779
|
"""
|
|
779
780
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
780
781
|
|
|
@@ -784,25 +785,25 @@ if not MYPY:
|
|
|
784
785
|
|
|
785
786
|
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.
|
|
786
787
|
"""
|
|
787
|
-
completions: NotRequired[pulumi.Input[int]]
|
|
788
|
+
completions: NotRequired[pulumi.Input[builtins.int]]
|
|
788
789
|
"""
|
|
789
790
|
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/
|
|
790
791
|
"""
|
|
791
|
-
managed_by: NotRequired[pulumi.Input[str]]
|
|
792
|
+
managed_by: NotRequired[pulumi.Input[builtins.str]]
|
|
792
793
|
"""
|
|
793
794
|
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.
|
|
794
795
|
|
|
795
796
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
796
797
|
"""
|
|
797
|
-
manual_selector: NotRequired[pulumi.Input[bool]]
|
|
798
|
+
manual_selector: NotRequired[pulumi.Input[builtins.bool]]
|
|
798
799
|
"""
|
|
799
800
|
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
|
|
800
801
|
"""
|
|
801
|
-
max_failed_indexes: NotRequired[pulumi.Input[int]]
|
|
802
|
+
max_failed_indexes: NotRequired[pulumi.Input[builtins.int]]
|
|
802
803
|
"""
|
|
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.
|
|
804
|
+
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.
|
|
804
805
|
"""
|
|
805
|
-
parallelism: NotRequired[pulumi.Input[int]]
|
|
806
|
+
parallelism: NotRequired[pulumi.Input[builtins.int]]
|
|
806
807
|
"""
|
|
807
808
|
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/
|
|
808
809
|
"""
|
|
@@ -810,7 +811,7 @@ if not MYPY:
|
|
|
810
811
|
"""
|
|
811
812
|
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.
|
|
812
813
|
"""
|
|
813
|
-
pod_replacement_policy: NotRequired[pulumi.Input[str]]
|
|
814
|
+
pod_replacement_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
814
815
|
"""
|
|
815
816
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
816
817
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -826,10 +827,8 @@ if not MYPY:
|
|
|
826
827
|
success_policy: NotRequired[pulumi.Input['SuccessPolicyPatchArgsDict']]
|
|
827
828
|
"""
|
|
828
829
|
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.
|
|
829
|
-
|
|
830
|
-
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
831
830
|
"""
|
|
832
|
-
suspend: NotRequired[pulumi.Input[bool]]
|
|
831
|
+
suspend: NotRequired[pulumi.Input[builtins.bool]]
|
|
833
832
|
"""
|
|
834
833
|
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.
|
|
835
834
|
"""
|
|
@@ -837,7 +836,7 @@ if not MYPY:
|
|
|
837
836
|
"""
|
|
838
837
|
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/
|
|
839
838
|
"""
|
|
840
|
-
ttl_seconds_after_finished: NotRequired[pulumi.Input[int]]
|
|
839
|
+
ttl_seconds_after_finished: NotRequired[pulumi.Input[builtins.int]]
|
|
841
840
|
"""
|
|
842
841
|
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.
|
|
843
842
|
"""
|
|
@@ -847,43 +846,43 @@ elif False:
|
|
|
847
846
|
@pulumi.input_type
|
|
848
847
|
class JobSpecPatchArgs:
|
|
849
848
|
def __init__(__self__, *,
|
|
850
|
-
active_deadline_seconds: Optional[pulumi.Input[int]] = None,
|
|
851
|
-
backoff_limit: Optional[pulumi.Input[int]] = None,
|
|
852
|
-
backoff_limit_per_index: Optional[pulumi.Input[int]] = None,
|
|
853
|
-
completion_mode: Optional[pulumi.Input[str]] = None,
|
|
854
|
-
completions: Optional[pulumi.Input[int]] = None,
|
|
855
|
-
managed_by: Optional[pulumi.Input[str]] = None,
|
|
856
|
-
manual_selector: Optional[pulumi.Input[bool]] = None,
|
|
857
|
-
max_failed_indexes: Optional[pulumi.Input[int]] = None,
|
|
858
|
-
parallelism: Optional[pulumi.Input[int]] = None,
|
|
849
|
+
active_deadline_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
850
|
+
backoff_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
851
|
+
backoff_limit_per_index: Optional[pulumi.Input[builtins.int]] = None,
|
|
852
|
+
completion_mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
853
|
+
completions: Optional[pulumi.Input[builtins.int]] = None,
|
|
854
|
+
managed_by: Optional[pulumi.Input[builtins.str]] = None,
|
|
855
|
+
manual_selector: Optional[pulumi.Input[builtins.bool]] = None,
|
|
856
|
+
max_failed_indexes: Optional[pulumi.Input[builtins.int]] = None,
|
|
857
|
+
parallelism: Optional[pulumi.Input[builtins.int]] = None,
|
|
859
858
|
pod_failure_policy: Optional[pulumi.Input['PodFailurePolicyPatchArgs']] = None,
|
|
860
|
-
pod_replacement_policy: Optional[pulumi.Input[str]] = None,
|
|
859
|
+
pod_replacement_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
861
860
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
862
861
|
success_policy: Optional[pulumi.Input['SuccessPolicyPatchArgs']] = None,
|
|
863
|
-
suspend: Optional[pulumi.Input[bool]] = None,
|
|
862
|
+
suspend: Optional[pulumi.Input[builtins.bool]] = None,
|
|
864
863
|
template: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']] = None,
|
|
865
|
-
ttl_seconds_after_finished: Optional[pulumi.Input[int]] = None):
|
|
864
|
+
ttl_seconds_after_finished: Optional[pulumi.Input[builtins.int]] = None):
|
|
866
865
|
"""
|
|
867
866
|
JobSpec describes how the job execution will look like.
|
|
868
|
-
:param pulumi.Input[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.
|
|
869
|
-
:param pulumi.Input[int] backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
870
|
-
:param pulumi.Input[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.
|
|
871
|
-
:param pulumi.Input[str] completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
867
|
+
: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.
|
|
868
|
+
:param pulumi.Input[builtins.int] backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
869
|
+
: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.
|
|
870
|
+
:param pulumi.Input[builtins.str] completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
872
871
|
|
|
873
872
|
`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.
|
|
874
873
|
|
|
875
874
|
`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)`.
|
|
876
875
|
|
|
877
876
|
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.
|
|
878
|
-
:param pulumi.Input[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/
|
|
879
|
-
:param pulumi.Input[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.
|
|
877
|
+
: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/
|
|
878
|
+
: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.
|
|
880
879
|
|
|
881
880
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
882
|
-
:param pulumi.Input[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
|
|
883
|
-
:param pulumi.Input[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.
|
|
884
|
-
:param pulumi.Input[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/
|
|
881
|
+
: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
|
|
882
|
+
: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.
|
|
883
|
+
: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/
|
|
885
884
|
: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.
|
|
886
|
-
:param pulumi.Input[str] pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
885
|
+
:param pulumi.Input[builtins.str] pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
887
886
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
888
887
|
- Failed means to wait until a previously created Pod is fully terminated (has phase
|
|
889
888
|
Failed or Succeeded) before creating a replacement Pod.
|
|
@@ -891,11 +890,9 @@ class JobSpecPatchArgs:
|
|
|
891
890
|
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.
|
|
892
891
|
: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
|
|
893
892
|
: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.
|
|
894
|
-
|
|
895
|
-
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
896
|
-
:param pulumi.Input[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.
|
|
893
|
+
: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.
|
|
897
894
|
: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/
|
|
898
|
-
:param pulumi.Input[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.
|
|
895
|
+
: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.
|
|
899
896
|
"""
|
|
900
897
|
if active_deadline_seconds is not None:
|
|
901
898
|
pulumi.set(__self__, "active_deadline_seconds", active_deadline_seconds)
|
|
@@ -932,43 +929,43 @@ class JobSpecPatchArgs:
|
|
|
932
929
|
|
|
933
930
|
@property
|
|
934
931
|
@pulumi.getter(name="activeDeadlineSeconds")
|
|
935
|
-
def active_deadline_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
932
|
+
def active_deadline_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
936
933
|
"""
|
|
937
934
|
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.
|
|
938
935
|
"""
|
|
939
936
|
return pulumi.get(self, "active_deadline_seconds")
|
|
940
937
|
|
|
941
938
|
@active_deadline_seconds.setter
|
|
942
|
-
def active_deadline_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
939
|
+
def active_deadline_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
943
940
|
pulumi.set(self, "active_deadline_seconds", value)
|
|
944
941
|
|
|
945
942
|
@property
|
|
946
943
|
@pulumi.getter(name="backoffLimit")
|
|
947
|
-
def backoff_limit(self) -> Optional[pulumi.Input[int]]:
|
|
944
|
+
def backoff_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
948
945
|
"""
|
|
949
946
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
950
947
|
"""
|
|
951
948
|
return pulumi.get(self, "backoff_limit")
|
|
952
949
|
|
|
953
950
|
@backoff_limit.setter
|
|
954
|
-
def backoff_limit(self, value: Optional[pulumi.Input[int]]):
|
|
951
|
+
def backoff_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
955
952
|
pulumi.set(self, "backoff_limit", value)
|
|
956
953
|
|
|
957
954
|
@property
|
|
958
955
|
@pulumi.getter(name="backoffLimitPerIndex")
|
|
959
|
-
def backoff_limit_per_index(self) -> Optional[pulumi.Input[int]]:
|
|
956
|
+
def backoff_limit_per_index(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
960
957
|
"""
|
|
961
|
-
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.
|
|
958
|
+
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.
|
|
962
959
|
"""
|
|
963
960
|
return pulumi.get(self, "backoff_limit_per_index")
|
|
964
961
|
|
|
965
962
|
@backoff_limit_per_index.setter
|
|
966
|
-
def backoff_limit_per_index(self, value: Optional[pulumi.Input[int]]):
|
|
963
|
+
def backoff_limit_per_index(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
967
964
|
pulumi.set(self, "backoff_limit_per_index", value)
|
|
968
965
|
|
|
969
966
|
@property
|
|
970
967
|
@pulumi.getter(name="completionMode")
|
|
971
|
-
def completion_mode(self) -> Optional[pulumi.Input[str]]:
|
|
968
|
+
def completion_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
972
969
|
"""
|
|
973
970
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
974
971
|
|
|
@@ -981,24 +978,24 @@ class JobSpecPatchArgs:
|
|
|
981
978
|
return pulumi.get(self, "completion_mode")
|
|
982
979
|
|
|
983
980
|
@completion_mode.setter
|
|
984
|
-
def completion_mode(self, value: Optional[pulumi.Input[str]]):
|
|
981
|
+
def completion_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
985
982
|
pulumi.set(self, "completion_mode", value)
|
|
986
983
|
|
|
987
984
|
@property
|
|
988
985
|
@pulumi.getter
|
|
989
|
-
def completions(self) -> Optional[pulumi.Input[int]]:
|
|
986
|
+
def completions(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
990
987
|
"""
|
|
991
988
|
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/
|
|
992
989
|
"""
|
|
993
990
|
return pulumi.get(self, "completions")
|
|
994
991
|
|
|
995
992
|
@completions.setter
|
|
996
|
-
def completions(self, value: Optional[pulumi.Input[int]]):
|
|
993
|
+
def completions(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
997
994
|
pulumi.set(self, "completions", value)
|
|
998
995
|
|
|
999
996
|
@property
|
|
1000
997
|
@pulumi.getter(name="managedBy")
|
|
1001
|
-
def managed_by(self) -> Optional[pulumi.Input[str]]:
|
|
998
|
+
def managed_by(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1002
999
|
"""
|
|
1003
1000
|
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.
|
|
1004
1001
|
|
|
@@ -1007,43 +1004,43 @@ class JobSpecPatchArgs:
|
|
|
1007
1004
|
return pulumi.get(self, "managed_by")
|
|
1008
1005
|
|
|
1009
1006
|
@managed_by.setter
|
|
1010
|
-
def managed_by(self, value: Optional[pulumi.Input[str]]):
|
|
1007
|
+
def managed_by(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1011
1008
|
pulumi.set(self, "managed_by", value)
|
|
1012
1009
|
|
|
1013
1010
|
@property
|
|
1014
1011
|
@pulumi.getter(name="manualSelector")
|
|
1015
|
-
def manual_selector(self) -> Optional[pulumi.Input[bool]]:
|
|
1012
|
+
def manual_selector(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1016
1013
|
"""
|
|
1017
1014
|
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
|
|
1018
1015
|
"""
|
|
1019
1016
|
return pulumi.get(self, "manual_selector")
|
|
1020
1017
|
|
|
1021
1018
|
@manual_selector.setter
|
|
1022
|
-
def manual_selector(self, value: Optional[pulumi.Input[bool]]):
|
|
1019
|
+
def manual_selector(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1023
1020
|
pulumi.set(self, "manual_selector", value)
|
|
1024
1021
|
|
|
1025
1022
|
@property
|
|
1026
1023
|
@pulumi.getter(name="maxFailedIndexes")
|
|
1027
|
-
def max_failed_indexes(self) -> Optional[pulumi.Input[int]]:
|
|
1024
|
+
def max_failed_indexes(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1028
1025
|
"""
|
|
1029
|
-
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.
|
|
1026
|
+
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.
|
|
1030
1027
|
"""
|
|
1031
1028
|
return pulumi.get(self, "max_failed_indexes")
|
|
1032
1029
|
|
|
1033
1030
|
@max_failed_indexes.setter
|
|
1034
|
-
def max_failed_indexes(self, value: Optional[pulumi.Input[int]]):
|
|
1031
|
+
def max_failed_indexes(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1035
1032
|
pulumi.set(self, "max_failed_indexes", value)
|
|
1036
1033
|
|
|
1037
1034
|
@property
|
|
1038
1035
|
@pulumi.getter
|
|
1039
|
-
def parallelism(self) -> Optional[pulumi.Input[int]]:
|
|
1036
|
+
def parallelism(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1040
1037
|
"""
|
|
1041
1038
|
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/
|
|
1042
1039
|
"""
|
|
1043
1040
|
return pulumi.get(self, "parallelism")
|
|
1044
1041
|
|
|
1045
1042
|
@parallelism.setter
|
|
1046
|
-
def parallelism(self, value: Optional[pulumi.Input[int]]):
|
|
1043
|
+
def parallelism(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1047
1044
|
pulumi.set(self, "parallelism", value)
|
|
1048
1045
|
|
|
1049
1046
|
@property
|
|
@@ -1060,7 +1057,7 @@ class JobSpecPatchArgs:
|
|
|
1060
1057
|
|
|
1061
1058
|
@property
|
|
1062
1059
|
@pulumi.getter(name="podReplacementPolicy")
|
|
1063
|
-
def pod_replacement_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1060
|
+
def pod_replacement_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1064
1061
|
"""
|
|
1065
1062
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1066
1063
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -1072,7 +1069,7 @@ class JobSpecPatchArgs:
|
|
|
1072
1069
|
return pulumi.get(self, "pod_replacement_policy")
|
|
1073
1070
|
|
|
1074
1071
|
@pod_replacement_policy.setter
|
|
1075
|
-
def pod_replacement_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1072
|
+
def pod_replacement_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1076
1073
|
pulumi.set(self, "pod_replacement_policy", value)
|
|
1077
1074
|
|
|
1078
1075
|
@property
|
|
@@ -1092,8 +1089,6 @@ class JobSpecPatchArgs:
|
|
|
1092
1089
|
def success_policy(self) -> Optional[pulumi.Input['SuccessPolicyPatchArgs']]:
|
|
1093
1090
|
"""
|
|
1094
1091
|
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.
|
|
1095
|
-
|
|
1096
|
-
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
1097
1092
|
"""
|
|
1098
1093
|
return pulumi.get(self, "success_policy")
|
|
1099
1094
|
|
|
@@ -1103,14 +1098,14 @@ class JobSpecPatchArgs:
|
|
|
1103
1098
|
|
|
1104
1099
|
@property
|
|
1105
1100
|
@pulumi.getter
|
|
1106
|
-
def suspend(self) -> Optional[pulumi.Input[bool]]:
|
|
1101
|
+
def suspend(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1107
1102
|
"""
|
|
1108
1103
|
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.
|
|
1109
1104
|
"""
|
|
1110
1105
|
return pulumi.get(self, "suspend")
|
|
1111
1106
|
|
|
1112
1107
|
@suspend.setter
|
|
1113
|
-
def suspend(self, value: Optional[pulumi.Input[bool]]):
|
|
1108
|
+
def suspend(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1114
1109
|
pulumi.set(self, "suspend", value)
|
|
1115
1110
|
|
|
1116
1111
|
@property
|
|
@@ -1127,14 +1122,14 @@ class JobSpecPatchArgs:
|
|
|
1127
1122
|
|
|
1128
1123
|
@property
|
|
1129
1124
|
@pulumi.getter(name="ttlSecondsAfterFinished")
|
|
1130
|
-
def ttl_seconds_after_finished(self) -> Optional[pulumi.Input[int]]:
|
|
1125
|
+
def ttl_seconds_after_finished(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1131
1126
|
"""
|
|
1132
1127
|
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.
|
|
1133
1128
|
"""
|
|
1134
1129
|
return pulumi.get(self, "ttl_seconds_after_finished")
|
|
1135
1130
|
|
|
1136
1131
|
@ttl_seconds_after_finished.setter
|
|
1137
|
-
def ttl_seconds_after_finished(self, value: Optional[pulumi.Input[int]]):
|
|
1132
|
+
def ttl_seconds_after_finished(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1138
1133
|
pulumi.set(self, "ttl_seconds_after_finished", value)
|
|
1139
1134
|
|
|
1140
1135
|
|
|
@@ -1147,19 +1142,19 @@ if not MYPY:
|
|
|
1147
1142
|
"""
|
|
1148
1143
|
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/
|
|
1149
1144
|
"""
|
|
1150
|
-
active_deadline_seconds: NotRequired[pulumi.Input[int]]
|
|
1145
|
+
active_deadline_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
1151
1146
|
"""
|
|
1152
1147
|
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.
|
|
1153
1148
|
"""
|
|
1154
|
-
backoff_limit: NotRequired[pulumi.Input[int]]
|
|
1149
|
+
backoff_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
1155
1150
|
"""
|
|
1156
1151
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1157
1152
|
"""
|
|
1158
|
-
backoff_limit_per_index: NotRequired[pulumi.Input[int]]
|
|
1153
|
+
backoff_limit_per_index: NotRequired[pulumi.Input[builtins.int]]
|
|
1159
1154
|
"""
|
|
1160
|
-
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.
|
|
1155
|
+
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.
|
|
1161
1156
|
"""
|
|
1162
|
-
completion_mode: NotRequired[pulumi.Input[str]]
|
|
1157
|
+
completion_mode: NotRequired[pulumi.Input[builtins.str]]
|
|
1163
1158
|
"""
|
|
1164
1159
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1165
1160
|
|
|
@@ -1169,25 +1164,25 @@ if not MYPY:
|
|
|
1169
1164
|
|
|
1170
1165
|
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.
|
|
1171
1166
|
"""
|
|
1172
|
-
completions: NotRequired[pulumi.Input[int]]
|
|
1167
|
+
completions: NotRequired[pulumi.Input[builtins.int]]
|
|
1173
1168
|
"""
|
|
1174
1169
|
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/
|
|
1175
1170
|
"""
|
|
1176
|
-
managed_by: NotRequired[pulumi.Input[str]]
|
|
1171
|
+
managed_by: NotRequired[pulumi.Input[builtins.str]]
|
|
1177
1172
|
"""
|
|
1178
1173
|
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.
|
|
1179
1174
|
|
|
1180
1175
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
1181
1176
|
"""
|
|
1182
|
-
manual_selector: NotRequired[pulumi.Input[bool]]
|
|
1177
|
+
manual_selector: NotRequired[pulumi.Input[builtins.bool]]
|
|
1183
1178
|
"""
|
|
1184
1179
|
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
|
|
1185
1180
|
"""
|
|
1186
|
-
max_failed_indexes: NotRequired[pulumi.Input[int]]
|
|
1181
|
+
max_failed_indexes: NotRequired[pulumi.Input[builtins.int]]
|
|
1187
1182
|
"""
|
|
1188
|
-
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.
|
|
1183
|
+
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.
|
|
1189
1184
|
"""
|
|
1190
|
-
parallelism: NotRequired[pulumi.Input[int]]
|
|
1185
|
+
parallelism: NotRequired[pulumi.Input[builtins.int]]
|
|
1191
1186
|
"""
|
|
1192
1187
|
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/
|
|
1193
1188
|
"""
|
|
@@ -1195,7 +1190,7 @@ if not MYPY:
|
|
|
1195
1190
|
"""
|
|
1196
1191
|
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.
|
|
1197
1192
|
"""
|
|
1198
|
-
pod_replacement_policy: NotRequired[pulumi.Input[str]]
|
|
1193
|
+
pod_replacement_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1199
1194
|
"""
|
|
1200
1195
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1201
1196
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -1211,14 +1206,12 @@ if not MYPY:
|
|
|
1211
1206
|
success_policy: NotRequired[pulumi.Input['SuccessPolicyArgsDict']]
|
|
1212
1207
|
"""
|
|
1213
1208
|
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.
|
|
1214
|
-
|
|
1215
|
-
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
1216
1209
|
"""
|
|
1217
|
-
suspend: NotRequired[pulumi.Input[bool]]
|
|
1210
|
+
suspend: NotRequired[pulumi.Input[builtins.bool]]
|
|
1218
1211
|
"""
|
|
1219
1212
|
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.
|
|
1220
1213
|
"""
|
|
1221
|
-
ttl_seconds_after_finished: NotRequired[pulumi.Input[int]]
|
|
1214
|
+
ttl_seconds_after_finished: NotRequired[pulumi.Input[builtins.int]]
|
|
1222
1215
|
"""
|
|
1223
1216
|
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.
|
|
1224
1217
|
"""
|
|
@@ -1229,43 +1222,43 @@ elif False:
|
|
|
1229
1222
|
class JobSpecArgs:
|
|
1230
1223
|
def __init__(__self__, *,
|
|
1231
1224
|
template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
|
|
1232
|
-
active_deadline_seconds: Optional[pulumi.Input[int]] = None,
|
|
1233
|
-
backoff_limit: Optional[pulumi.Input[int]] = None,
|
|
1234
|
-
backoff_limit_per_index: Optional[pulumi.Input[int]] = None,
|
|
1235
|
-
completion_mode: Optional[pulumi.Input[str]] = None,
|
|
1236
|
-
completions: Optional[pulumi.Input[int]] = None,
|
|
1237
|
-
managed_by: Optional[pulumi.Input[str]] = None,
|
|
1238
|
-
manual_selector: Optional[pulumi.Input[bool]] = None,
|
|
1239
|
-
max_failed_indexes: Optional[pulumi.Input[int]] = None,
|
|
1240
|
-
parallelism: Optional[pulumi.Input[int]] = None,
|
|
1225
|
+
active_deadline_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
1226
|
+
backoff_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
1227
|
+
backoff_limit_per_index: Optional[pulumi.Input[builtins.int]] = None,
|
|
1228
|
+
completion_mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
1229
|
+
completions: Optional[pulumi.Input[builtins.int]] = None,
|
|
1230
|
+
managed_by: Optional[pulumi.Input[builtins.str]] = None,
|
|
1231
|
+
manual_selector: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1232
|
+
max_failed_indexes: Optional[pulumi.Input[builtins.int]] = None,
|
|
1233
|
+
parallelism: Optional[pulumi.Input[builtins.int]] = None,
|
|
1241
1234
|
pod_failure_policy: Optional[pulumi.Input['PodFailurePolicyArgs']] = None,
|
|
1242
|
-
pod_replacement_policy: Optional[pulumi.Input[str]] = None,
|
|
1235
|
+
pod_replacement_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1243
1236
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1244
1237
|
success_policy: Optional[pulumi.Input['SuccessPolicyArgs']] = None,
|
|
1245
|
-
suspend: Optional[pulumi.Input[bool]] = None,
|
|
1246
|
-
ttl_seconds_after_finished: Optional[pulumi.Input[int]] = None):
|
|
1238
|
+
suspend: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1239
|
+
ttl_seconds_after_finished: Optional[pulumi.Input[builtins.int]] = None):
|
|
1247
1240
|
"""
|
|
1248
1241
|
JobSpec describes how the job execution will look like.
|
|
1249
1242
|
: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/
|
|
1250
|
-
:param pulumi.Input[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.
|
|
1251
|
-
:param pulumi.Input[int] backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1252
|
-
:param pulumi.Input[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.
|
|
1253
|
-
:param pulumi.Input[str] completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1243
|
+
: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.
|
|
1244
|
+
:param pulumi.Input[builtins.int] backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1245
|
+
: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.
|
|
1246
|
+
:param pulumi.Input[builtins.str] completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1254
1247
|
|
|
1255
1248
|
`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.
|
|
1256
1249
|
|
|
1257
1250
|
`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)`.
|
|
1258
1251
|
|
|
1259
1252
|
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.
|
|
1260
|
-
:param pulumi.Input[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/
|
|
1261
|
-
:param pulumi.Input[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.
|
|
1253
|
+
: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/
|
|
1254
|
+
: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.
|
|
1262
1255
|
|
|
1263
1256
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
1264
|
-
:param pulumi.Input[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
|
|
1265
|
-
:param pulumi.Input[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.
|
|
1266
|
-
:param pulumi.Input[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/
|
|
1257
|
+
: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
|
|
1258
|
+
: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.
|
|
1259
|
+
: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/
|
|
1267
1260
|
: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.
|
|
1268
|
-
:param pulumi.Input[str] pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1261
|
+
:param pulumi.Input[builtins.str] pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1269
1262
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
1270
1263
|
- Failed means to wait until a previously created Pod is fully terminated (has phase
|
|
1271
1264
|
Failed or Succeeded) before creating a replacement Pod.
|
|
@@ -1273,10 +1266,8 @@ class JobSpecArgs:
|
|
|
1273
1266
|
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.
|
|
1274
1267
|
: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
|
|
1275
1268
|
: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.
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
:param pulumi.Input[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.
|
|
1279
|
-
:param pulumi.Input[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.
|
|
1269
|
+
: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.
|
|
1270
|
+
: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.
|
|
1280
1271
|
"""
|
|
1281
1272
|
pulumi.set(__self__, "template", template)
|
|
1282
1273
|
if active_deadline_seconds is not None:
|
|
@@ -1324,43 +1315,43 @@ class JobSpecArgs:
|
|
|
1324
1315
|
|
|
1325
1316
|
@property
|
|
1326
1317
|
@pulumi.getter(name="activeDeadlineSeconds")
|
|
1327
|
-
def active_deadline_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1318
|
+
def active_deadline_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1328
1319
|
"""
|
|
1329
1320
|
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.
|
|
1330
1321
|
"""
|
|
1331
1322
|
return pulumi.get(self, "active_deadline_seconds")
|
|
1332
1323
|
|
|
1333
1324
|
@active_deadline_seconds.setter
|
|
1334
|
-
def active_deadline_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1325
|
+
def active_deadline_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1335
1326
|
pulumi.set(self, "active_deadline_seconds", value)
|
|
1336
1327
|
|
|
1337
1328
|
@property
|
|
1338
1329
|
@pulumi.getter(name="backoffLimit")
|
|
1339
|
-
def backoff_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1330
|
+
def backoff_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1340
1331
|
"""
|
|
1341
1332
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1342
1333
|
"""
|
|
1343
1334
|
return pulumi.get(self, "backoff_limit")
|
|
1344
1335
|
|
|
1345
1336
|
@backoff_limit.setter
|
|
1346
|
-
def backoff_limit(self, value: Optional[pulumi.Input[int]]):
|
|
1337
|
+
def backoff_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1347
1338
|
pulumi.set(self, "backoff_limit", value)
|
|
1348
1339
|
|
|
1349
1340
|
@property
|
|
1350
1341
|
@pulumi.getter(name="backoffLimitPerIndex")
|
|
1351
|
-
def backoff_limit_per_index(self) -> Optional[pulumi.Input[int]]:
|
|
1342
|
+
def backoff_limit_per_index(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1352
1343
|
"""
|
|
1353
|
-
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.
|
|
1344
|
+
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.
|
|
1354
1345
|
"""
|
|
1355
1346
|
return pulumi.get(self, "backoff_limit_per_index")
|
|
1356
1347
|
|
|
1357
1348
|
@backoff_limit_per_index.setter
|
|
1358
|
-
def backoff_limit_per_index(self, value: Optional[pulumi.Input[int]]):
|
|
1349
|
+
def backoff_limit_per_index(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1359
1350
|
pulumi.set(self, "backoff_limit_per_index", value)
|
|
1360
1351
|
|
|
1361
1352
|
@property
|
|
1362
1353
|
@pulumi.getter(name="completionMode")
|
|
1363
|
-
def completion_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1354
|
+
def completion_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1364
1355
|
"""
|
|
1365
1356
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1366
1357
|
|
|
@@ -1373,24 +1364,24 @@ class JobSpecArgs:
|
|
|
1373
1364
|
return pulumi.get(self, "completion_mode")
|
|
1374
1365
|
|
|
1375
1366
|
@completion_mode.setter
|
|
1376
|
-
def completion_mode(self, value: Optional[pulumi.Input[str]]):
|
|
1367
|
+
def completion_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1377
1368
|
pulumi.set(self, "completion_mode", value)
|
|
1378
1369
|
|
|
1379
1370
|
@property
|
|
1380
1371
|
@pulumi.getter
|
|
1381
|
-
def completions(self) -> Optional[pulumi.Input[int]]:
|
|
1372
|
+
def completions(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1382
1373
|
"""
|
|
1383
1374
|
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/
|
|
1384
1375
|
"""
|
|
1385
1376
|
return pulumi.get(self, "completions")
|
|
1386
1377
|
|
|
1387
1378
|
@completions.setter
|
|
1388
|
-
def completions(self, value: Optional[pulumi.Input[int]]):
|
|
1379
|
+
def completions(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1389
1380
|
pulumi.set(self, "completions", value)
|
|
1390
1381
|
|
|
1391
1382
|
@property
|
|
1392
1383
|
@pulumi.getter(name="managedBy")
|
|
1393
|
-
def managed_by(self) -> Optional[pulumi.Input[str]]:
|
|
1384
|
+
def managed_by(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1394
1385
|
"""
|
|
1395
1386
|
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.
|
|
1396
1387
|
|
|
@@ -1399,43 +1390,43 @@ class JobSpecArgs:
|
|
|
1399
1390
|
return pulumi.get(self, "managed_by")
|
|
1400
1391
|
|
|
1401
1392
|
@managed_by.setter
|
|
1402
|
-
def managed_by(self, value: Optional[pulumi.Input[str]]):
|
|
1393
|
+
def managed_by(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1403
1394
|
pulumi.set(self, "managed_by", value)
|
|
1404
1395
|
|
|
1405
1396
|
@property
|
|
1406
1397
|
@pulumi.getter(name="manualSelector")
|
|
1407
|
-
def manual_selector(self) -> Optional[pulumi.Input[bool]]:
|
|
1398
|
+
def manual_selector(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1408
1399
|
"""
|
|
1409
1400
|
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
|
|
1410
1401
|
"""
|
|
1411
1402
|
return pulumi.get(self, "manual_selector")
|
|
1412
1403
|
|
|
1413
1404
|
@manual_selector.setter
|
|
1414
|
-
def manual_selector(self, value: Optional[pulumi.Input[bool]]):
|
|
1405
|
+
def manual_selector(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1415
1406
|
pulumi.set(self, "manual_selector", value)
|
|
1416
1407
|
|
|
1417
1408
|
@property
|
|
1418
1409
|
@pulumi.getter(name="maxFailedIndexes")
|
|
1419
|
-
def max_failed_indexes(self) -> Optional[pulumi.Input[int]]:
|
|
1410
|
+
def max_failed_indexes(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1420
1411
|
"""
|
|
1421
|
-
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.
|
|
1412
|
+
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.
|
|
1422
1413
|
"""
|
|
1423
1414
|
return pulumi.get(self, "max_failed_indexes")
|
|
1424
1415
|
|
|
1425
1416
|
@max_failed_indexes.setter
|
|
1426
|
-
def max_failed_indexes(self, value: Optional[pulumi.Input[int]]):
|
|
1417
|
+
def max_failed_indexes(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1427
1418
|
pulumi.set(self, "max_failed_indexes", value)
|
|
1428
1419
|
|
|
1429
1420
|
@property
|
|
1430
1421
|
@pulumi.getter
|
|
1431
|
-
def parallelism(self) -> Optional[pulumi.Input[int]]:
|
|
1422
|
+
def parallelism(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1432
1423
|
"""
|
|
1433
1424
|
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/
|
|
1434
1425
|
"""
|
|
1435
1426
|
return pulumi.get(self, "parallelism")
|
|
1436
1427
|
|
|
1437
1428
|
@parallelism.setter
|
|
1438
|
-
def parallelism(self, value: Optional[pulumi.Input[int]]):
|
|
1429
|
+
def parallelism(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1439
1430
|
pulumi.set(self, "parallelism", value)
|
|
1440
1431
|
|
|
1441
1432
|
@property
|
|
@@ -1452,7 +1443,7 @@ class JobSpecArgs:
|
|
|
1452
1443
|
|
|
1453
1444
|
@property
|
|
1454
1445
|
@pulumi.getter(name="podReplacementPolicy")
|
|
1455
|
-
def pod_replacement_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1446
|
+
def pod_replacement_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1456
1447
|
"""
|
|
1457
1448
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1458
1449
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -1464,7 +1455,7 @@ class JobSpecArgs:
|
|
|
1464
1455
|
return pulumi.get(self, "pod_replacement_policy")
|
|
1465
1456
|
|
|
1466
1457
|
@pod_replacement_policy.setter
|
|
1467
|
-
def pod_replacement_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1458
|
+
def pod_replacement_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1468
1459
|
pulumi.set(self, "pod_replacement_policy", value)
|
|
1469
1460
|
|
|
1470
1461
|
@property
|
|
@@ -1484,8 +1475,6 @@ class JobSpecArgs:
|
|
|
1484
1475
|
def success_policy(self) -> Optional[pulumi.Input['SuccessPolicyArgs']]:
|
|
1485
1476
|
"""
|
|
1486
1477
|
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.
|
|
1487
|
-
|
|
1488
|
-
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
1489
1478
|
"""
|
|
1490
1479
|
return pulumi.get(self, "success_policy")
|
|
1491
1480
|
|
|
@@ -1495,26 +1484,26 @@ class JobSpecArgs:
|
|
|
1495
1484
|
|
|
1496
1485
|
@property
|
|
1497
1486
|
@pulumi.getter
|
|
1498
|
-
def suspend(self) -> Optional[pulumi.Input[bool]]:
|
|
1487
|
+
def suspend(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1499
1488
|
"""
|
|
1500
1489
|
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.
|
|
1501
1490
|
"""
|
|
1502
1491
|
return pulumi.get(self, "suspend")
|
|
1503
1492
|
|
|
1504
1493
|
@suspend.setter
|
|
1505
|
-
def suspend(self, value: Optional[pulumi.Input[bool]]):
|
|
1494
|
+
def suspend(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1506
1495
|
pulumi.set(self, "suspend", value)
|
|
1507
1496
|
|
|
1508
1497
|
@property
|
|
1509
1498
|
@pulumi.getter(name="ttlSecondsAfterFinished")
|
|
1510
|
-
def ttl_seconds_after_finished(self) -> Optional[pulumi.Input[int]]:
|
|
1499
|
+
def ttl_seconds_after_finished(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1511
1500
|
"""
|
|
1512
1501
|
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.
|
|
1513
1502
|
"""
|
|
1514
1503
|
return pulumi.get(self, "ttl_seconds_after_finished")
|
|
1515
1504
|
|
|
1516
1505
|
@ttl_seconds_after_finished.setter
|
|
1517
|
-
def ttl_seconds_after_finished(self, value: Optional[pulumi.Input[int]]):
|
|
1506
|
+
def ttl_seconds_after_finished(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1518
1507
|
pulumi.set(self, "ttl_seconds_after_finished", value)
|
|
1519
1508
|
|
|
1520
1509
|
|
|
@@ -1523,15 +1512,15 @@ if not MYPY:
|
|
|
1523
1512
|
"""
|
|
1524
1513
|
JobStatus represents the current state of a Job.
|
|
1525
1514
|
"""
|
|
1526
|
-
active: NotRequired[pulumi.Input[int]]
|
|
1515
|
+
active: NotRequired[pulumi.Input[builtins.int]]
|
|
1527
1516
|
"""
|
|
1528
1517
|
The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1529
1518
|
"""
|
|
1530
|
-
completed_indexes: NotRequired[pulumi.Input[str]]
|
|
1519
|
+
completed_indexes: NotRequired[pulumi.Input[builtins.str]]
|
|
1531
1520
|
"""
|
|
1532
1521
|
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".
|
|
1533
1522
|
"""
|
|
1534
|
-
completion_time: NotRequired[pulumi.Input[str]]
|
|
1523
|
+
completion_time: NotRequired[pulumi.Input[builtins.str]]
|
|
1535
1524
|
"""
|
|
1536
1525
|
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.
|
|
1537
1526
|
"""
|
|
@@ -1543,31 +1532,29 @@ if not MYPY:
|
|
|
1543
1532
|
|
|
1544
1533
|
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1545
1534
|
"""
|
|
1546
|
-
failed: NotRequired[pulumi.Input[int]]
|
|
1535
|
+
failed: NotRequired[pulumi.Input[builtins.int]]
|
|
1547
1536
|
"""
|
|
1548
1537
|
The number of pods which reached phase Failed. The value increases monotonically.
|
|
1549
1538
|
"""
|
|
1550
|
-
failed_indexes: NotRequired[pulumi.Input[str]]
|
|
1539
|
+
failed_indexes: NotRequired[pulumi.Input[builtins.str]]
|
|
1551
1540
|
"""
|
|
1552
1541
|
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.
|
|
1553
|
-
|
|
1554
|
-
This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1555
1542
|
"""
|
|
1556
|
-
ready: NotRequired[pulumi.Input[int]]
|
|
1543
|
+
ready: NotRequired[pulumi.Input[builtins.int]]
|
|
1557
1544
|
"""
|
|
1558
1545
|
The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1559
1546
|
"""
|
|
1560
|
-
start_time: NotRequired[pulumi.Input[str]]
|
|
1547
|
+
start_time: NotRequired[pulumi.Input[builtins.str]]
|
|
1561
1548
|
"""
|
|
1562
1549
|
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.
|
|
1563
1550
|
|
|
1564
1551
|
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.
|
|
1565
1552
|
"""
|
|
1566
|
-
succeeded: NotRequired[pulumi.Input[int]]
|
|
1553
|
+
succeeded: NotRequired[pulumi.Input[builtins.int]]
|
|
1567
1554
|
"""
|
|
1568
1555
|
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.
|
|
1569
1556
|
"""
|
|
1570
|
-
terminating: NotRequired[pulumi.Input[int]]
|
|
1557
|
+
terminating: NotRequired[pulumi.Input[builtins.int]]
|
|
1571
1558
|
"""
|
|
1572
1559
|
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1573
1560
|
|
|
@@ -1590,37 +1577,35 @@ elif False:
|
|
|
1590
1577
|
@pulumi.input_type
|
|
1591
1578
|
class JobStatusArgs:
|
|
1592
1579
|
def __init__(__self__, *,
|
|
1593
|
-
active: Optional[pulumi.Input[int]] = None,
|
|
1594
|
-
completed_indexes: Optional[pulumi.Input[str]] = None,
|
|
1595
|
-
completion_time: Optional[pulumi.Input[str]] = None,
|
|
1580
|
+
active: Optional[pulumi.Input[builtins.int]] = None,
|
|
1581
|
+
completed_indexes: Optional[pulumi.Input[builtins.str]] = None,
|
|
1582
|
+
completion_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1596
1583
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['JobConditionArgs']]]] = None,
|
|
1597
|
-
failed: Optional[pulumi.Input[int]] = None,
|
|
1598
|
-
failed_indexes: Optional[pulumi.Input[str]] = None,
|
|
1599
|
-
ready: Optional[pulumi.Input[int]] = None,
|
|
1600
|
-
start_time: Optional[pulumi.Input[str]] = None,
|
|
1601
|
-
succeeded: Optional[pulumi.Input[int]] = None,
|
|
1602
|
-
terminating: Optional[pulumi.Input[int]] = None,
|
|
1584
|
+
failed: Optional[pulumi.Input[builtins.int]] = None,
|
|
1585
|
+
failed_indexes: Optional[pulumi.Input[builtins.str]] = None,
|
|
1586
|
+
ready: Optional[pulumi.Input[builtins.int]] = None,
|
|
1587
|
+
start_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1588
|
+
succeeded: Optional[pulumi.Input[builtins.int]] = None,
|
|
1589
|
+
terminating: Optional[pulumi.Input[builtins.int]] = None,
|
|
1603
1590
|
uncounted_terminated_pods: Optional[pulumi.Input['UncountedTerminatedPodsArgs']] = None):
|
|
1604
1591
|
"""
|
|
1605
1592
|
JobStatus represents the current state of a Job.
|
|
1606
|
-
:param pulumi.Input[int] active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1607
|
-
:param pulumi.Input[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".
|
|
1608
|
-
:param pulumi.Input[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.
|
|
1593
|
+
: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.
|
|
1594
|
+
: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".
|
|
1595
|
+
: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.
|
|
1609
1596
|
: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.
|
|
1610
1597
|
|
|
1611
1598
|
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.
|
|
1612
1599
|
|
|
1613
1600
|
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1614
|
-
:param pulumi.Input[int] failed: The number of pods which reached phase Failed. The value increases monotonically.
|
|
1615
|
-
:param pulumi.Input[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.
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
:param pulumi.Input[int] ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1619
|
-
:param pulumi.Input[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.
|
|
1601
|
+
:param pulumi.Input[builtins.int] failed: The number of pods which reached phase Failed. The value increases monotonically.
|
|
1602
|
+
: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.
|
|
1603
|
+
:param pulumi.Input[builtins.int] ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1604
|
+
: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.
|
|
1620
1605
|
|
|
1621
1606
|
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.
|
|
1622
|
-
:param pulumi.Input[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.
|
|
1623
|
-
:param pulumi.Input[int] terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1607
|
+
: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.
|
|
1608
|
+
:param pulumi.Input[builtins.int] terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1624
1609
|
|
|
1625
1610
|
This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).
|
|
1626
1611
|
: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.
|
|
@@ -1657,38 +1642,38 @@ class JobStatusArgs:
|
|
|
1657
1642
|
|
|
1658
1643
|
@property
|
|
1659
1644
|
@pulumi.getter
|
|
1660
|
-
def active(self) -> Optional[pulumi.Input[int]]:
|
|
1645
|
+
def active(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1661
1646
|
"""
|
|
1662
1647
|
The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1663
1648
|
"""
|
|
1664
1649
|
return pulumi.get(self, "active")
|
|
1665
1650
|
|
|
1666
1651
|
@active.setter
|
|
1667
|
-
def active(self, value: Optional[pulumi.Input[int]]):
|
|
1652
|
+
def active(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1668
1653
|
pulumi.set(self, "active", value)
|
|
1669
1654
|
|
|
1670
1655
|
@property
|
|
1671
1656
|
@pulumi.getter(name="completedIndexes")
|
|
1672
|
-
def completed_indexes(self) -> Optional[pulumi.Input[str]]:
|
|
1657
|
+
def completed_indexes(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1673
1658
|
"""
|
|
1674
1659
|
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".
|
|
1675
1660
|
"""
|
|
1676
1661
|
return pulumi.get(self, "completed_indexes")
|
|
1677
1662
|
|
|
1678
1663
|
@completed_indexes.setter
|
|
1679
|
-
def completed_indexes(self, value: Optional[pulumi.Input[str]]):
|
|
1664
|
+
def completed_indexes(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1680
1665
|
pulumi.set(self, "completed_indexes", value)
|
|
1681
1666
|
|
|
1682
1667
|
@property
|
|
1683
1668
|
@pulumi.getter(name="completionTime")
|
|
1684
|
-
def completion_time(self) -> Optional[pulumi.Input[str]]:
|
|
1669
|
+
def completion_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1685
1670
|
"""
|
|
1686
1671
|
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.
|
|
1687
1672
|
"""
|
|
1688
1673
|
return pulumi.get(self, "completion_time")
|
|
1689
1674
|
|
|
1690
1675
|
@completion_time.setter
|
|
1691
|
-
def completion_time(self, value: Optional[pulumi.Input[str]]):
|
|
1676
|
+
def completion_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1692
1677
|
pulumi.set(self, "completion_time", value)
|
|
1693
1678
|
|
|
1694
1679
|
@property
|
|
@@ -1709,45 +1694,43 @@ class JobStatusArgs:
|
|
|
1709
1694
|
|
|
1710
1695
|
@property
|
|
1711
1696
|
@pulumi.getter
|
|
1712
|
-
def failed(self) -> Optional[pulumi.Input[int]]:
|
|
1697
|
+
def failed(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1713
1698
|
"""
|
|
1714
1699
|
The number of pods which reached phase Failed. The value increases monotonically.
|
|
1715
1700
|
"""
|
|
1716
1701
|
return pulumi.get(self, "failed")
|
|
1717
1702
|
|
|
1718
1703
|
@failed.setter
|
|
1719
|
-
def failed(self, value: Optional[pulumi.Input[int]]):
|
|
1704
|
+
def failed(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1720
1705
|
pulumi.set(self, "failed", value)
|
|
1721
1706
|
|
|
1722
1707
|
@property
|
|
1723
1708
|
@pulumi.getter(name="failedIndexes")
|
|
1724
|
-
def failed_indexes(self) -> Optional[pulumi.Input[str]]:
|
|
1709
|
+
def failed_indexes(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1725
1710
|
"""
|
|
1726
1711
|
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.
|
|
1727
|
-
|
|
1728
|
-
This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1729
1712
|
"""
|
|
1730
1713
|
return pulumi.get(self, "failed_indexes")
|
|
1731
1714
|
|
|
1732
1715
|
@failed_indexes.setter
|
|
1733
|
-
def failed_indexes(self, value: Optional[pulumi.Input[str]]):
|
|
1716
|
+
def failed_indexes(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1734
1717
|
pulumi.set(self, "failed_indexes", value)
|
|
1735
1718
|
|
|
1736
1719
|
@property
|
|
1737
1720
|
@pulumi.getter
|
|
1738
|
-
def ready(self) -> Optional[pulumi.Input[int]]:
|
|
1721
|
+
def ready(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1739
1722
|
"""
|
|
1740
1723
|
The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1741
1724
|
"""
|
|
1742
1725
|
return pulumi.get(self, "ready")
|
|
1743
1726
|
|
|
1744
1727
|
@ready.setter
|
|
1745
|
-
def ready(self, value: Optional[pulumi.Input[int]]):
|
|
1728
|
+
def ready(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1746
1729
|
pulumi.set(self, "ready", value)
|
|
1747
1730
|
|
|
1748
1731
|
@property
|
|
1749
1732
|
@pulumi.getter(name="startTime")
|
|
1750
|
-
def start_time(self) -> Optional[pulumi.Input[str]]:
|
|
1733
|
+
def start_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1751
1734
|
"""
|
|
1752
1735
|
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.
|
|
1753
1736
|
|
|
@@ -1756,24 +1739,24 @@ class JobStatusArgs:
|
|
|
1756
1739
|
return pulumi.get(self, "start_time")
|
|
1757
1740
|
|
|
1758
1741
|
@start_time.setter
|
|
1759
|
-
def start_time(self, value: Optional[pulumi.Input[str]]):
|
|
1742
|
+
def start_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1760
1743
|
pulumi.set(self, "start_time", value)
|
|
1761
1744
|
|
|
1762
1745
|
@property
|
|
1763
1746
|
@pulumi.getter
|
|
1764
|
-
def succeeded(self) -> Optional[pulumi.Input[int]]:
|
|
1747
|
+
def succeeded(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1765
1748
|
"""
|
|
1766
1749
|
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.
|
|
1767
1750
|
"""
|
|
1768
1751
|
return pulumi.get(self, "succeeded")
|
|
1769
1752
|
|
|
1770
1753
|
@succeeded.setter
|
|
1771
|
-
def succeeded(self, value: Optional[pulumi.Input[int]]):
|
|
1754
|
+
def succeeded(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1772
1755
|
pulumi.set(self, "succeeded", value)
|
|
1773
1756
|
|
|
1774
1757
|
@property
|
|
1775
1758
|
@pulumi.getter
|
|
1776
|
-
def terminating(self) -> Optional[pulumi.Input[int]]:
|
|
1759
|
+
def terminating(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1777
1760
|
"""
|
|
1778
1761
|
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1779
1762
|
|
|
@@ -1782,7 +1765,7 @@ class JobStatusArgs:
|
|
|
1782
1765
|
return pulumi.get(self, "terminating")
|
|
1783
1766
|
|
|
1784
1767
|
@terminating.setter
|
|
1785
|
-
def terminating(self, value: Optional[pulumi.Input[int]]):
|
|
1768
|
+
def terminating(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1786
1769
|
pulumi.set(self, "terminating", value)
|
|
1787
1770
|
|
|
1788
1771
|
@property
|
|
@@ -1942,11 +1925,11 @@ if not MYPY:
|
|
|
1942
1925
|
to schedule a replacement for an unready resource on the next update, you can add the
|
|
1943
1926
|
"pulumi.com/replaceUnready": "true" annotation to the resource definition.
|
|
1944
1927
|
"""
|
|
1945
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1928
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
1946
1929
|
"""
|
|
1947
1930
|
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
|
|
1948
1931
|
"""
|
|
1949
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1932
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
1950
1933
|
"""
|
|
1951
1934
|
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
|
|
1952
1935
|
"""
|
|
@@ -1968,8 +1951,8 @@ elif False:
|
|
|
1968
1951
|
@pulumi.input_type
|
|
1969
1952
|
class JobArgs:
|
|
1970
1953
|
def __init__(__self__, *,
|
|
1971
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1972
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1954
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
1955
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
1973
1956
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1974
1957
|
spec: Optional[pulumi.Input['JobSpecArgs']] = None,
|
|
1975
1958
|
status: Optional[pulumi.Input['JobStatusArgs']] = None):
|
|
@@ -1995,8 +1978,8 @@ class JobArgs:
|
|
|
1995
1978
|
Pulumi will continue to wait for readiness on the next update. If you would prefer
|
|
1996
1979
|
to schedule a replacement for an unready resource on the next update, you can add the
|
|
1997
1980
|
"pulumi.com/replaceUnready": "true" annotation to the resource definition.
|
|
1998
|
-
:param pulumi.Input[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
|
|
1999
|
-
:param pulumi.Input[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
|
|
1981
|
+
: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
|
|
1982
|
+
: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
|
|
2000
1983
|
: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
|
|
2001
1984
|
: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
|
|
2002
1985
|
: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
|
|
@@ -2014,26 +1997,26 @@ class JobArgs:
|
|
|
2014
1997
|
|
|
2015
1998
|
@property
|
|
2016
1999
|
@pulumi.getter(name="apiVersion")
|
|
2017
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2000
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2018
2001
|
"""
|
|
2019
2002
|
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
|
|
2020
2003
|
"""
|
|
2021
2004
|
return pulumi.get(self, "api_version")
|
|
2022
2005
|
|
|
2023
2006
|
@api_version.setter
|
|
2024
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2007
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2025
2008
|
pulumi.set(self, "api_version", value)
|
|
2026
2009
|
|
|
2027
2010
|
@property
|
|
2028
2011
|
@pulumi.getter
|
|
2029
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2012
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2030
2013
|
"""
|
|
2031
2014
|
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
|
|
2032
2015
|
"""
|
|
2033
2016
|
return pulumi.get(self, "kind")
|
|
2034
2017
|
|
|
2035
2018
|
@kind.setter
|
|
2036
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2019
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2037
2020
|
pulumi.set(self, "kind", value)
|
|
2038
2021
|
|
|
2039
2022
|
@property
|
|
@@ -2078,11 +2061,11 @@ if not MYPY:
|
|
|
2078
2061
|
"""
|
|
2079
2062
|
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.
|
|
2080
2063
|
"""
|
|
2081
|
-
container_name: NotRequired[pulumi.Input[str]]
|
|
2064
|
+
container_name: NotRequired[pulumi.Input[builtins.str]]
|
|
2082
2065
|
"""
|
|
2083
2066
|
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.
|
|
2084
2067
|
"""
|
|
2085
|
-
operator: NotRequired[pulumi.Input[str]]
|
|
2068
|
+
operator: NotRequired[pulumi.Input[builtins.str]]
|
|
2086
2069
|
"""
|
|
2087
2070
|
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:
|
|
2088
2071
|
|
|
@@ -2094,7 +2077,7 @@ if not MYPY:
|
|
|
2094
2077
|
by the 'containerName' field) is not in the set of specified values.
|
|
2095
2078
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2096
2079
|
"""
|
|
2097
|
-
values: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]]
|
|
2080
|
+
values: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]
|
|
2098
2081
|
"""
|
|
2099
2082
|
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.
|
|
2100
2083
|
"""
|
|
@@ -2104,13 +2087,13 @@ elif False:
|
|
|
2104
2087
|
@pulumi.input_type
|
|
2105
2088
|
class PodFailurePolicyOnExitCodesRequirementPatchArgs:
|
|
2106
2089
|
def __init__(__self__, *,
|
|
2107
|
-
container_name: Optional[pulumi.Input[str]] = None,
|
|
2108
|
-
operator: Optional[pulumi.Input[str]] = None,
|
|
2109
|
-
values: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None):
|
|
2090
|
+
container_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
2091
|
+
operator: Optional[pulumi.Input[builtins.str]] = None,
|
|
2092
|
+
values: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None):
|
|
2110
2093
|
"""
|
|
2111
2094
|
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.
|
|
2112
|
-
:param pulumi.Input[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.
|
|
2113
|
-
:param pulumi.Input[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:
|
|
2095
|
+
: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.
|
|
2096
|
+
: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:
|
|
2114
2097
|
|
|
2115
2098
|
- In: the requirement is satisfied if at least one container exit code
|
|
2116
2099
|
(might be multiple if there are multiple containers not restricted
|
|
@@ -2119,7 +2102,7 @@ class PodFailurePolicyOnExitCodesRequirementPatchArgs:
|
|
|
2119
2102
|
(might be multiple if there are multiple containers not restricted
|
|
2120
2103
|
by the 'containerName' field) is not in the set of specified values.
|
|
2121
2104
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2122
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2105
|
+
: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.
|
|
2123
2106
|
"""
|
|
2124
2107
|
if container_name is not None:
|
|
2125
2108
|
pulumi.set(__self__, "container_name", container_name)
|
|
@@ -2130,19 +2113,19 @@ class PodFailurePolicyOnExitCodesRequirementPatchArgs:
|
|
|
2130
2113
|
|
|
2131
2114
|
@property
|
|
2132
2115
|
@pulumi.getter(name="containerName")
|
|
2133
|
-
def container_name(self) -> Optional[pulumi.Input[str]]:
|
|
2116
|
+
def container_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2134
2117
|
"""
|
|
2135
2118
|
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.
|
|
2136
2119
|
"""
|
|
2137
2120
|
return pulumi.get(self, "container_name")
|
|
2138
2121
|
|
|
2139
2122
|
@container_name.setter
|
|
2140
|
-
def container_name(self, value: Optional[pulumi.Input[str]]):
|
|
2123
|
+
def container_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2141
2124
|
pulumi.set(self, "container_name", value)
|
|
2142
2125
|
|
|
2143
2126
|
@property
|
|
2144
2127
|
@pulumi.getter
|
|
2145
|
-
def operator(self) -> Optional[pulumi.Input[str]]:
|
|
2128
|
+
def operator(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2146
2129
|
"""
|
|
2147
2130
|
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:
|
|
2148
2131
|
|
|
@@ -2157,19 +2140,19 @@ class PodFailurePolicyOnExitCodesRequirementPatchArgs:
|
|
|
2157
2140
|
return pulumi.get(self, "operator")
|
|
2158
2141
|
|
|
2159
2142
|
@operator.setter
|
|
2160
|
-
def operator(self, value: Optional[pulumi.Input[str]]):
|
|
2143
|
+
def operator(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2161
2144
|
pulumi.set(self, "operator", value)
|
|
2162
2145
|
|
|
2163
2146
|
@property
|
|
2164
2147
|
@pulumi.getter
|
|
2165
|
-
def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
|
|
2148
|
+
def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]:
|
|
2166
2149
|
"""
|
|
2167
2150
|
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.
|
|
2168
2151
|
"""
|
|
2169
2152
|
return pulumi.get(self, "values")
|
|
2170
2153
|
|
|
2171
2154
|
@values.setter
|
|
2172
|
-
def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
|
|
2155
|
+
def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]):
|
|
2173
2156
|
pulumi.set(self, "values", value)
|
|
2174
2157
|
|
|
2175
2158
|
|
|
@@ -2178,7 +2161,7 @@ if not MYPY:
|
|
|
2178
2161
|
"""
|
|
2179
2162
|
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.
|
|
2180
2163
|
"""
|
|
2181
|
-
operator: pulumi.Input[str]
|
|
2164
|
+
operator: pulumi.Input[builtins.str]
|
|
2182
2165
|
"""
|
|
2183
2166
|
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:
|
|
2184
2167
|
|
|
@@ -2190,11 +2173,11 @@ if not MYPY:
|
|
|
2190
2173
|
by the 'containerName' field) is not in the set of specified values.
|
|
2191
2174
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2192
2175
|
"""
|
|
2193
|
-
values: pulumi.Input[Sequence[pulumi.Input[int]]]
|
|
2176
|
+
values: pulumi.Input[Sequence[pulumi.Input[builtins.int]]]
|
|
2194
2177
|
"""
|
|
2195
2178
|
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.
|
|
2196
2179
|
"""
|
|
2197
|
-
container_name: NotRequired[pulumi.Input[str]]
|
|
2180
|
+
container_name: NotRequired[pulumi.Input[builtins.str]]
|
|
2198
2181
|
"""
|
|
2199
2182
|
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.
|
|
2200
2183
|
"""
|
|
@@ -2204,12 +2187,12 @@ elif False:
|
|
|
2204
2187
|
@pulumi.input_type
|
|
2205
2188
|
class PodFailurePolicyOnExitCodesRequirementArgs:
|
|
2206
2189
|
def __init__(__self__, *,
|
|
2207
|
-
operator: pulumi.Input[str],
|
|
2208
|
-
values: pulumi.Input[Sequence[pulumi.Input[int]]],
|
|
2209
|
-
container_name: Optional[pulumi.Input[str]] = None):
|
|
2190
|
+
operator: pulumi.Input[builtins.str],
|
|
2191
|
+
values: pulumi.Input[Sequence[pulumi.Input[builtins.int]]],
|
|
2192
|
+
container_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
2210
2193
|
"""
|
|
2211
2194
|
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.
|
|
2212
|
-
:param pulumi.Input[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:
|
|
2195
|
+
: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:
|
|
2213
2196
|
|
|
2214
2197
|
- In: the requirement is satisfied if at least one container exit code
|
|
2215
2198
|
(might be multiple if there are multiple containers not restricted
|
|
@@ -2218,8 +2201,8 @@ class PodFailurePolicyOnExitCodesRequirementArgs:
|
|
|
2218
2201
|
(might be multiple if there are multiple containers not restricted
|
|
2219
2202
|
by the 'containerName' field) is not in the set of specified values.
|
|
2220
2203
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2221
|
-
:param pulumi.Input[Sequence[pulumi.Input[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.
|
|
2222
|
-
:param pulumi.Input[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.
|
|
2204
|
+
: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.
|
|
2205
|
+
: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.
|
|
2223
2206
|
"""
|
|
2224
2207
|
pulumi.set(__self__, "operator", operator)
|
|
2225
2208
|
pulumi.set(__self__, "values", values)
|
|
@@ -2228,7 +2211,7 @@ class PodFailurePolicyOnExitCodesRequirementArgs:
|
|
|
2228
2211
|
|
|
2229
2212
|
@property
|
|
2230
2213
|
@pulumi.getter
|
|
2231
|
-
def operator(self) -> pulumi.Input[str]:
|
|
2214
|
+
def operator(self) -> pulumi.Input[builtins.str]:
|
|
2232
2215
|
"""
|
|
2233
2216
|
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:
|
|
2234
2217
|
|
|
@@ -2243,31 +2226,31 @@ class PodFailurePolicyOnExitCodesRequirementArgs:
|
|
|
2243
2226
|
return pulumi.get(self, "operator")
|
|
2244
2227
|
|
|
2245
2228
|
@operator.setter
|
|
2246
|
-
def operator(self, value: pulumi.Input[str]):
|
|
2229
|
+
def operator(self, value: pulumi.Input[builtins.str]):
|
|
2247
2230
|
pulumi.set(self, "operator", value)
|
|
2248
2231
|
|
|
2249
2232
|
@property
|
|
2250
2233
|
@pulumi.getter
|
|
2251
|
-
def values(self) -> pulumi.Input[Sequence[pulumi.Input[int]]]:
|
|
2234
|
+
def values(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.int]]]:
|
|
2252
2235
|
"""
|
|
2253
2236
|
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.
|
|
2254
2237
|
"""
|
|
2255
2238
|
return pulumi.get(self, "values")
|
|
2256
2239
|
|
|
2257
2240
|
@values.setter
|
|
2258
|
-
def values(self, value: pulumi.Input[Sequence[pulumi.Input[int]]]):
|
|
2241
|
+
def values(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.int]]]):
|
|
2259
2242
|
pulumi.set(self, "values", value)
|
|
2260
2243
|
|
|
2261
2244
|
@property
|
|
2262
2245
|
@pulumi.getter(name="containerName")
|
|
2263
|
-
def container_name(self) -> Optional[pulumi.Input[str]]:
|
|
2246
|
+
def container_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2264
2247
|
"""
|
|
2265
2248
|
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.
|
|
2266
2249
|
"""
|
|
2267
2250
|
return pulumi.get(self, "container_name")
|
|
2268
2251
|
|
|
2269
2252
|
@container_name.setter
|
|
2270
|
-
def container_name(self, value: Optional[pulumi.Input[str]]):
|
|
2253
|
+
def container_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2271
2254
|
pulumi.set(self, "container_name", value)
|
|
2272
2255
|
|
|
2273
2256
|
|
|
@@ -2276,11 +2259,11 @@ if not MYPY:
|
|
|
2276
2259
|
"""
|
|
2277
2260
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2278
2261
|
"""
|
|
2279
|
-
status: NotRequired[pulumi.Input[str]]
|
|
2262
|
+
status: NotRequired[pulumi.Input[builtins.str]]
|
|
2280
2263
|
"""
|
|
2281
2264
|
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.
|
|
2282
2265
|
"""
|
|
2283
|
-
type: NotRequired[pulumi.Input[str]]
|
|
2266
|
+
type: NotRequired[pulumi.Input[builtins.str]]
|
|
2284
2267
|
"""
|
|
2285
2268
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2286
2269
|
"""
|
|
@@ -2290,12 +2273,12 @@ elif False:
|
|
|
2290
2273
|
@pulumi.input_type
|
|
2291
2274
|
class PodFailurePolicyOnPodConditionsPatternPatchArgs:
|
|
2292
2275
|
def __init__(__self__, *,
|
|
2293
|
-
status: Optional[pulumi.Input[str]] = None,
|
|
2294
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
2276
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
2277
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
2295
2278
|
"""
|
|
2296
2279
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2297
|
-
:param pulumi.Input[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.
|
|
2298
|
-
:param pulumi.Input[str] type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2280
|
+
: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.
|
|
2281
|
+
: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.
|
|
2299
2282
|
"""
|
|
2300
2283
|
if status is not None:
|
|
2301
2284
|
pulumi.set(__self__, "status", status)
|
|
@@ -2304,26 +2287,26 @@ class PodFailurePolicyOnPodConditionsPatternPatchArgs:
|
|
|
2304
2287
|
|
|
2305
2288
|
@property
|
|
2306
2289
|
@pulumi.getter
|
|
2307
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
|
2290
|
+
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2308
2291
|
"""
|
|
2309
2292
|
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.
|
|
2310
2293
|
"""
|
|
2311
2294
|
return pulumi.get(self, "status")
|
|
2312
2295
|
|
|
2313
2296
|
@status.setter
|
|
2314
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
|
2297
|
+
def status(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2315
2298
|
pulumi.set(self, "status", value)
|
|
2316
2299
|
|
|
2317
2300
|
@property
|
|
2318
2301
|
@pulumi.getter
|
|
2319
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
2302
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2320
2303
|
"""
|
|
2321
2304
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2322
2305
|
"""
|
|
2323
2306
|
return pulumi.get(self, "type")
|
|
2324
2307
|
|
|
2325
2308
|
@type.setter
|
|
2326
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
2309
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2327
2310
|
pulumi.set(self, "type", value)
|
|
2328
2311
|
|
|
2329
2312
|
|
|
@@ -2332,11 +2315,11 @@ if not MYPY:
|
|
|
2332
2315
|
"""
|
|
2333
2316
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2334
2317
|
"""
|
|
2335
|
-
status: pulumi.Input[str]
|
|
2318
|
+
status: pulumi.Input[builtins.str]
|
|
2336
2319
|
"""
|
|
2337
2320
|
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.
|
|
2338
2321
|
"""
|
|
2339
|
-
type: pulumi.Input[str]
|
|
2322
|
+
type: pulumi.Input[builtins.str]
|
|
2340
2323
|
"""
|
|
2341
2324
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2342
2325
|
"""
|
|
@@ -2346,38 +2329,38 @@ elif False:
|
|
|
2346
2329
|
@pulumi.input_type
|
|
2347
2330
|
class PodFailurePolicyOnPodConditionsPatternArgs:
|
|
2348
2331
|
def __init__(__self__, *,
|
|
2349
|
-
status: pulumi.Input[str],
|
|
2350
|
-
type: pulumi.Input[str]):
|
|
2332
|
+
status: pulumi.Input[builtins.str],
|
|
2333
|
+
type: pulumi.Input[builtins.str]):
|
|
2351
2334
|
"""
|
|
2352
2335
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2353
|
-
:param pulumi.Input[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.
|
|
2354
|
-
:param pulumi.Input[str] type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2336
|
+
: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.
|
|
2337
|
+
: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.
|
|
2355
2338
|
"""
|
|
2356
2339
|
pulumi.set(__self__, "status", status)
|
|
2357
2340
|
pulumi.set(__self__, "type", type)
|
|
2358
2341
|
|
|
2359
2342
|
@property
|
|
2360
2343
|
@pulumi.getter
|
|
2361
|
-
def status(self) -> pulumi.Input[str]:
|
|
2344
|
+
def status(self) -> pulumi.Input[builtins.str]:
|
|
2362
2345
|
"""
|
|
2363
2346
|
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.
|
|
2364
2347
|
"""
|
|
2365
2348
|
return pulumi.get(self, "status")
|
|
2366
2349
|
|
|
2367
2350
|
@status.setter
|
|
2368
|
-
def status(self, value: pulumi.Input[str]):
|
|
2351
|
+
def status(self, value: pulumi.Input[builtins.str]):
|
|
2369
2352
|
pulumi.set(self, "status", value)
|
|
2370
2353
|
|
|
2371
2354
|
@property
|
|
2372
2355
|
@pulumi.getter
|
|
2373
|
-
def type(self) -> pulumi.Input[str]:
|
|
2356
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
2374
2357
|
"""
|
|
2375
2358
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2376
2359
|
"""
|
|
2377
2360
|
return pulumi.get(self, "type")
|
|
2378
2361
|
|
|
2379
2362
|
@type.setter
|
|
2380
|
-
def type(self, value: pulumi.Input[str]):
|
|
2363
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
2381
2364
|
pulumi.set(self, "type", value)
|
|
2382
2365
|
|
|
2383
2366
|
|
|
@@ -2422,7 +2405,7 @@ if not MYPY:
|
|
|
2422
2405
|
"""
|
|
2423
2406
|
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.
|
|
2424
2407
|
"""
|
|
2425
|
-
action: NotRequired[pulumi.Input[str]]
|
|
2408
|
+
action: NotRequired[pulumi.Input[builtins.str]]
|
|
2426
2409
|
"""
|
|
2427
2410
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2428
2411
|
|
|
@@ -2430,8 +2413,6 @@ if not MYPY:
|
|
|
2430
2413
|
running pods are terminated.
|
|
2431
2414
|
- FailIndex: indicates that the pod's index is marked as Failed and will
|
|
2432
2415
|
not be restarted.
|
|
2433
|
-
This value is beta-level. It can be used when the
|
|
2434
|
-
`JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
2435
2416
|
- Ignore: indicates that the counter towards the .backoffLimit is not
|
|
2436
2417
|
incremented and a replacement pod is created.
|
|
2437
2418
|
- Count: indicates that the pod is handled in the default way - the
|
|
@@ -2452,19 +2433,17 @@ elif False:
|
|
|
2452
2433
|
@pulumi.input_type
|
|
2453
2434
|
class PodFailurePolicyRulePatchArgs:
|
|
2454
2435
|
def __init__(__self__, *,
|
|
2455
|
-
action: Optional[pulumi.Input[str]] = None,
|
|
2436
|
+
action: Optional[pulumi.Input[builtins.str]] = None,
|
|
2456
2437
|
on_exit_codes: Optional[pulumi.Input['PodFailurePolicyOnExitCodesRequirementPatchArgs']] = None,
|
|
2457
2438
|
on_pod_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyOnPodConditionsPatternPatchArgs']]]] = None):
|
|
2458
2439
|
"""
|
|
2459
2440
|
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.
|
|
2460
|
-
:param pulumi.Input[str] action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2441
|
+
:param pulumi.Input[builtins.str] action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2461
2442
|
|
|
2462
2443
|
- FailJob: indicates that the pod's job is marked as Failed and all
|
|
2463
2444
|
running pods are terminated.
|
|
2464
2445
|
- FailIndex: indicates that the pod's index is marked as Failed and will
|
|
2465
2446
|
not be restarted.
|
|
2466
|
-
This value is beta-level. It can be used when the
|
|
2467
|
-
`JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
2468
2447
|
- Ignore: indicates that the counter towards the .backoffLimit is not
|
|
2469
2448
|
incremented and a replacement pod is created.
|
|
2470
2449
|
- Count: indicates that the pod is handled in the default way - the
|
|
@@ -2482,7 +2461,7 @@ class PodFailurePolicyRulePatchArgs:
|
|
|
2482
2461
|
|
|
2483
2462
|
@property
|
|
2484
2463
|
@pulumi.getter
|
|
2485
|
-
def action(self) -> Optional[pulumi.Input[str]]:
|
|
2464
|
+
def action(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2486
2465
|
"""
|
|
2487
2466
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2488
2467
|
|
|
@@ -2490,8 +2469,6 @@ class PodFailurePolicyRulePatchArgs:
|
|
|
2490
2469
|
running pods are terminated.
|
|
2491
2470
|
- FailIndex: indicates that the pod's index is marked as Failed and will
|
|
2492
2471
|
not be restarted.
|
|
2493
|
-
This value is beta-level. It can be used when the
|
|
2494
|
-
`JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
2495
2472
|
- Ignore: indicates that the counter towards the .backoffLimit is not
|
|
2496
2473
|
incremented and a replacement pod is created.
|
|
2497
2474
|
- Count: indicates that the pod is handled in the default way - the
|
|
@@ -2501,7 +2478,7 @@ class PodFailurePolicyRulePatchArgs:
|
|
|
2501
2478
|
return pulumi.get(self, "action")
|
|
2502
2479
|
|
|
2503
2480
|
@action.setter
|
|
2504
|
-
def action(self, value: Optional[pulumi.Input[str]]):
|
|
2481
|
+
def action(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2505
2482
|
pulumi.set(self, "action", value)
|
|
2506
2483
|
|
|
2507
2484
|
@property
|
|
@@ -2534,7 +2511,7 @@ if not MYPY:
|
|
|
2534
2511
|
"""
|
|
2535
2512
|
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.
|
|
2536
2513
|
"""
|
|
2537
|
-
action: pulumi.Input[str]
|
|
2514
|
+
action: pulumi.Input[builtins.str]
|
|
2538
2515
|
"""
|
|
2539
2516
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2540
2517
|
|
|
@@ -2542,8 +2519,6 @@ if not MYPY:
|
|
|
2542
2519
|
running pods are terminated.
|
|
2543
2520
|
- FailIndex: indicates that the pod's index is marked as Failed and will
|
|
2544
2521
|
not be restarted.
|
|
2545
|
-
This value is beta-level. It can be used when the
|
|
2546
|
-
`JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
2547
2522
|
- Ignore: indicates that the counter towards the .backoffLimit is not
|
|
2548
2523
|
incremented and a replacement pod is created.
|
|
2549
2524
|
- Count: indicates that the pod is handled in the default way - the
|
|
@@ -2564,19 +2539,17 @@ elif False:
|
|
|
2564
2539
|
@pulumi.input_type
|
|
2565
2540
|
class PodFailurePolicyRuleArgs:
|
|
2566
2541
|
def __init__(__self__, *,
|
|
2567
|
-
action: pulumi.Input[str],
|
|
2542
|
+
action: pulumi.Input[builtins.str],
|
|
2568
2543
|
on_exit_codes: Optional[pulumi.Input['PodFailurePolicyOnExitCodesRequirementArgs']] = None,
|
|
2569
2544
|
on_pod_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyOnPodConditionsPatternArgs']]]] = None):
|
|
2570
2545
|
"""
|
|
2571
2546
|
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.
|
|
2572
|
-
:param pulumi.Input[str] action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2547
|
+
:param pulumi.Input[builtins.str] action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2573
2548
|
|
|
2574
2549
|
- FailJob: indicates that the pod's job is marked as Failed and all
|
|
2575
2550
|
running pods are terminated.
|
|
2576
2551
|
- FailIndex: indicates that the pod's index is marked as Failed and will
|
|
2577
2552
|
not be restarted.
|
|
2578
|
-
This value is beta-level. It can be used when the
|
|
2579
|
-
`JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
2580
2553
|
- Ignore: indicates that the counter towards the .backoffLimit is not
|
|
2581
2554
|
incremented and a replacement pod is created.
|
|
2582
2555
|
- Count: indicates that the pod is handled in the default way - the
|
|
@@ -2593,7 +2566,7 @@ class PodFailurePolicyRuleArgs:
|
|
|
2593
2566
|
|
|
2594
2567
|
@property
|
|
2595
2568
|
@pulumi.getter
|
|
2596
|
-
def action(self) -> pulumi.Input[str]:
|
|
2569
|
+
def action(self) -> pulumi.Input[builtins.str]:
|
|
2597
2570
|
"""
|
|
2598
2571
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2599
2572
|
|
|
@@ -2601,8 +2574,6 @@ class PodFailurePolicyRuleArgs:
|
|
|
2601
2574
|
running pods are terminated.
|
|
2602
2575
|
- FailIndex: indicates that the pod's index is marked as Failed and will
|
|
2603
2576
|
not be restarted.
|
|
2604
|
-
This value is beta-level. It can be used when the
|
|
2605
|
-
`JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
2606
2577
|
- Ignore: indicates that the counter towards the .backoffLimit is not
|
|
2607
2578
|
incremented and a replacement pod is created.
|
|
2608
2579
|
- Count: indicates that the pod is handled in the default way - the
|
|
@@ -2612,7 +2583,7 @@ class PodFailurePolicyRuleArgs:
|
|
|
2612
2583
|
return pulumi.get(self, "action")
|
|
2613
2584
|
|
|
2614
2585
|
@action.setter
|
|
2615
|
-
def action(self, value: pulumi.Input[str]):
|
|
2586
|
+
def action(self, value: pulumi.Input[builtins.str]):
|
|
2616
2587
|
pulumi.set(self, "action", value)
|
|
2617
2588
|
|
|
2618
2589
|
@property
|
|
@@ -2716,11 +2687,11 @@ if not MYPY:
|
|
|
2716
2687
|
"""
|
|
2717
2688
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2718
2689
|
"""
|
|
2719
|
-
succeeded_count: NotRequired[pulumi.Input[int]]
|
|
2690
|
+
succeeded_count: NotRequired[pulumi.Input[builtins.int]]
|
|
2720
2691
|
"""
|
|
2721
2692
|
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.
|
|
2722
2693
|
"""
|
|
2723
|
-
succeeded_indexes: NotRequired[pulumi.Input[str]]
|
|
2694
|
+
succeeded_indexes: NotRequired[pulumi.Input[builtins.str]]
|
|
2724
2695
|
"""
|
|
2725
2696
|
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.
|
|
2726
2697
|
"""
|
|
@@ -2730,12 +2701,12 @@ elif False:
|
|
|
2730
2701
|
@pulumi.input_type
|
|
2731
2702
|
class SuccessPolicyRulePatchArgs:
|
|
2732
2703
|
def __init__(__self__, *,
|
|
2733
|
-
succeeded_count: Optional[pulumi.Input[int]] = None,
|
|
2734
|
-
succeeded_indexes: Optional[pulumi.Input[str]] = None):
|
|
2704
|
+
succeeded_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
2705
|
+
succeeded_indexes: Optional[pulumi.Input[builtins.str]] = None):
|
|
2735
2706
|
"""
|
|
2736
2707
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2737
|
-
:param pulumi.Input[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.
|
|
2738
|
-
:param pulumi.Input[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.
|
|
2708
|
+
: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.
|
|
2709
|
+
: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.
|
|
2739
2710
|
"""
|
|
2740
2711
|
if succeeded_count is not None:
|
|
2741
2712
|
pulumi.set(__self__, "succeeded_count", succeeded_count)
|
|
@@ -2744,26 +2715,26 @@ class SuccessPolicyRulePatchArgs:
|
|
|
2744
2715
|
|
|
2745
2716
|
@property
|
|
2746
2717
|
@pulumi.getter(name="succeededCount")
|
|
2747
|
-
def succeeded_count(self) -> Optional[pulumi.Input[int]]:
|
|
2718
|
+
def succeeded_count(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2748
2719
|
"""
|
|
2749
2720
|
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.
|
|
2750
2721
|
"""
|
|
2751
2722
|
return pulumi.get(self, "succeeded_count")
|
|
2752
2723
|
|
|
2753
2724
|
@succeeded_count.setter
|
|
2754
|
-
def succeeded_count(self, value: Optional[pulumi.Input[int]]):
|
|
2725
|
+
def succeeded_count(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2755
2726
|
pulumi.set(self, "succeeded_count", value)
|
|
2756
2727
|
|
|
2757
2728
|
@property
|
|
2758
2729
|
@pulumi.getter(name="succeededIndexes")
|
|
2759
|
-
def succeeded_indexes(self) -> Optional[pulumi.Input[str]]:
|
|
2730
|
+
def succeeded_indexes(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2760
2731
|
"""
|
|
2761
2732
|
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.
|
|
2762
2733
|
"""
|
|
2763
2734
|
return pulumi.get(self, "succeeded_indexes")
|
|
2764
2735
|
|
|
2765
2736
|
@succeeded_indexes.setter
|
|
2766
|
-
def succeeded_indexes(self, value: Optional[pulumi.Input[str]]):
|
|
2737
|
+
def succeeded_indexes(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2767
2738
|
pulumi.set(self, "succeeded_indexes", value)
|
|
2768
2739
|
|
|
2769
2740
|
|
|
@@ -2772,11 +2743,11 @@ if not MYPY:
|
|
|
2772
2743
|
"""
|
|
2773
2744
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2774
2745
|
"""
|
|
2775
|
-
succeeded_count: NotRequired[pulumi.Input[int]]
|
|
2746
|
+
succeeded_count: NotRequired[pulumi.Input[builtins.int]]
|
|
2776
2747
|
"""
|
|
2777
2748
|
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.
|
|
2778
2749
|
"""
|
|
2779
|
-
succeeded_indexes: NotRequired[pulumi.Input[str]]
|
|
2750
|
+
succeeded_indexes: NotRequired[pulumi.Input[builtins.str]]
|
|
2780
2751
|
"""
|
|
2781
2752
|
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.
|
|
2782
2753
|
"""
|
|
@@ -2786,12 +2757,12 @@ elif False:
|
|
|
2786
2757
|
@pulumi.input_type
|
|
2787
2758
|
class SuccessPolicyRuleArgs:
|
|
2788
2759
|
def __init__(__self__, *,
|
|
2789
|
-
succeeded_count: Optional[pulumi.Input[int]] = None,
|
|
2790
|
-
succeeded_indexes: Optional[pulumi.Input[str]] = None):
|
|
2760
|
+
succeeded_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
2761
|
+
succeeded_indexes: Optional[pulumi.Input[builtins.str]] = None):
|
|
2791
2762
|
"""
|
|
2792
2763
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2793
|
-
:param pulumi.Input[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.
|
|
2794
|
-
:param pulumi.Input[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.
|
|
2764
|
+
: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.
|
|
2765
|
+
: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.
|
|
2795
2766
|
"""
|
|
2796
2767
|
if succeeded_count is not None:
|
|
2797
2768
|
pulumi.set(__self__, "succeeded_count", succeeded_count)
|
|
@@ -2800,26 +2771,26 @@ class SuccessPolicyRuleArgs:
|
|
|
2800
2771
|
|
|
2801
2772
|
@property
|
|
2802
2773
|
@pulumi.getter(name="succeededCount")
|
|
2803
|
-
def succeeded_count(self) -> Optional[pulumi.Input[int]]:
|
|
2774
|
+
def succeeded_count(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2804
2775
|
"""
|
|
2805
2776
|
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.
|
|
2806
2777
|
"""
|
|
2807
2778
|
return pulumi.get(self, "succeeded_count")
|
|
2808
2779
|
|
|
2809
2780
|
@succeeded_count.setter
|
|
2810
|
-
def succeeded_count(self, value: Optional[pulumi.Input[int]]):
|
|
2781
|
+
def succeeded_count(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2811
2782
|
pulumi.set(self, "succeeded_count", value)
|
|
2812
2783
|
|
|
2813
2784
|
@property
|
|
2814
2785
|
@pulumi.getter(name="succeededIndexes")
|
|
2815
|
-
def succeeded_indexes(self) -> Optional[pulumi.Input[str]]:
|
|
2786
|
+
def succeeded_indexes(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2816
2787
|
"""
|
|
2817
2788
|
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.
|
|
2818
2789
|
"""
|
|
2819
2790
|
return pulumi.get(self, "succeeded_indexes")
|
|
2820
2791
|
|
|
2821
2792
|
@succeeded_indexes.setter
|
|
2822
|
-
def succeeded_indexes(self, value: Optional[pulumi.Input[str]]):
|
|
2793
|
+
def succeeded_indexes(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2823
2794
|
pulumi.set(self, "succeeded_indexes", value)
|
|
2824
2795
|
|
|
2825
2796
|
|
|
@@ -2863,11 +2834,11 @@ if not MYPY:
|
|
|
2863
2834
|
"""
|
|
2864
2835
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2865
2836
|
"""
|
|
2866
|
-
failed: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2837
|
+
failed: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2867
2838
|
"""
|
|
2868
2839
|
failed holds UIDs of failed Pods.
|
|
2869
2840
|
"""
|
|
2870
|
-
succeeded: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2841
|
+
succeeded: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2871
2842
|
"""
|
|
2872
2843
|
succeeded holds UIDs of succeeded Pods.
|
|
2873
2844
|
"""
|
|
@@ -2877,12 +2848,12 @@ elif False:
|
|
|
2877
2848
|
@pulumi.input_type
|
|
2878
2849
|
class UncountedTerminatedPodsArgs:
|
|
2879
2850
|
def __init__(__self__, *,
|
|
2880
|
-
failed: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2881
|
-
succeeded: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
2851
|
+
failed: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2852
|
+
succeeded: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
2882
2853
|
"""
|
|
2883
2854
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2884
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] failed: failed holds UIDs of failed Pods.
|
|
2885
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] succeeded: succeeded holds UIDs of succeeded Pods.
|
|
2855
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] failed: failed holds UIDs of failed Pods.
|
|
2856
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] succeeded: succeeded holds UIDs of succeeded Pods.
|
|
2886
2857
|
"""
|
|
2887
2858
|
if failed is not None:
|
|
2888
2859
|
pulumi.set(__self__, "failed", failed)
|
|
@@ -2891,26 +2862,26 @@ class UncountedTerminatedPodsArgs:
|
|
|
2891
2862
|
|
|
2892
2863
|
@property
|
|
2893
2864
|
@pulumi.getter
|
|
2894
|
-
def failed(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2865
|
+
def failed(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2895
2866
|
"""
|
|
2896
2867
|
failed holds UIDs of failed Pods.
|
|
2897
2868
|
"""
|
|
2898
2869
|
return pulumi.get(self, "failed")
|
|
2899
2870
|
|
|
2900
2871
|
@failed.setter
|
|
2901
|
-
def failed(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2872
|
+
def failed(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2902
2873
|
pulumi.set(self, "failed", value)
|
|
2903
2874
|
|
|
2904
2875
|
@property
|
|
2905
2876
|
@pulumi.getter
|
|
2906
|
-
def succeeded(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2877
|
+
def succeeded(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2907
2878
|
"""
|
|
2908
2879
|
succeeded holds UIDs of succeeded Pods.
|
|
2909
2880
|
"""
|
|
2910
2881
|
return pulumi.get(self, "succeeded")
|
|
2911
2882
|
|
|
2912
2883
|
@succeeded.setter
|
|
2913
|
-
def succeeded(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2884
|
+
def succeeded(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2914
2885
|
pulumi.set(self, "succeeded", value)
|
|
2915
2886
|
|
|
2916
2887
|
|