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