pulumi-kubernetes 4.22.1__py3-none-any.whl → 4.23.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +37 -2
- pulumi_kubernetes/_inputs.py +41 -40
- pulumi_kubernetes/admissionregistration/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1/outputs.py +337 -336
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +396 -395
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +249 -248
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +337 -336
- pulumi_kubernetes/apiextensions/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +18 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +18 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +18 -16
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/_inputs.py +699 -698
- pulumi_kubernetes/apiextensions/v1/outputs.py +405 -404
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +639 -638
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +369 -368
- pulumi_kubernetes/apiregistration/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +18 -16
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +18 -16
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +18 -16
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1/outputs.py +91 -90
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +91 -90
- pulumi_kubernetes/apps/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1/DaemonSet.py +18 -16
- pulumi_kubernetes/apps/v1/DaemonSetList.py +18 -16
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1/ReplicaSet.py +18 -16
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +22 -20
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/_inputs.py +664 -610
- pulumi_kubernetes/apps/v1/outputs.py +582 -508
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1beta1/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta1/_inputs.py +316 -315
- pulumi_kubernetes/apps/v1beta1/outputs.py +260 -259
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta2/_inputs.py +506 -505
- pulumi_kubernetes/apps/v1beta2/outputs.py +442 -441
- pulumi_kubernetes/auditregistration/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +111 -110
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/autoscaling/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/_inputs.py +96 -95
- pulumi_kubernetes/autoscaling/v1/outputs.py +73 -72
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2/_inputs.py +371 -290
- pulumi_kubernetes/autoscaling/v2/outputs.py +281 -224
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +346 -345
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +283 -282
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +281 -280
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +217 -216
- pulumi_kubernetes/batch/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v1/Job.py +18 -16
- pulumi_kubernetes/batch/v1/JobList.py +18 -16
- pulumi_kubernetes/batch/v1/JobPatch.py +18 -16
- pulumi_kubernetes/batch/v1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/_inputs.py +394 -423
- pulumi_kubernetes/batch/v1/outputs.py +293 -316
- pulumi_kubernetes/batch/v1beta1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1beta1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v1beta1/outputs.py +49 -48
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v2alpha1/outputs.py +49 -48
- pulumi_kubernetes/certificates/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +18 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +18 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +18 -16
- pulumi_kubernetes/certificates/v1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/_inputs.py +126 -125
- pulumi_kubernetes/certificates/v1/outputs.py +97 -96
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +20 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +18 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +20 -16
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +227 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +217 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +238 -0
- pulumi_kubernetes/certificates/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +409 -116
- pulumi_kubernetes/certificates/v1beta1/outputs.py +334 -92
- pulumi_kubernetes/coordination/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/Lease.py +18 -16
- pulumi_kubernetes/coordination/v1/LeaseList.py +18 -16
- pulumi_kubernetes/coordination/v1/LeasePatch.py +18 -16
- pulumi_kubernetes/coordination/v1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/_inputs.py +81 -80
- pulumi_kubernetes/coordination/v1/outputs.py +49 -48
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +19 -17
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +18 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +19 -17
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +71 -70
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +43 -42
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +19 -17
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +18 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +19 -17
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +75 -74
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +45 -44
- pulumi_kubernetes/coordination/v1beta1/Lease.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +218 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +217 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +230 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +432 -60
- pulumi_kubernetes/coordination/v1beta1/outputs.py +329 -36
- pulumi_kubernetes/core/__init__.py +1 -0
- pulumi_kubernetes/core/v1/Binding.py +18 -16
- pulumi_kubernetes/core/v1/BindingPatch.py +18 -16
- pulumi_kubernetes/core/v1/ConfigMap.py +42 -40
- pulumi_kubernetes/core/v1/ConfigMapList.py +18 -16
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +42 -40
- pulumi_kubernetes/core/v1/Endpoints.py +26 -16
- pulumi_kubernetes/core/v1/EndpointsList.py +20 -18
- pulumi_kubernetes/core/v1/EndpointsPatch.py +26 -16
- pulumi_kubernetes/core/v1/Event.py +98 -96
- pulumi_kubernetes/core/v1/EventList.py +18 -16
- pulumi_kubernetes/core/v1/EventPatch.py +98 -96
- pulumi_kubernetes/core/v1/LimitRange.py +18 -16
- pulumi_kubernetes/core/v1/LimitRangeList.py +18 -16
- pulumi_kubernetes/core/v1/LimitRangePatch.py +18 -16
- pulumi_kubernetes/core/v1/Namespace.py +18 -16
- pulumi_kubernetes/core/v1/NamespaceList.py +18 -16
- pulumi_kubernetes/core/v1/NamespacePatch.py +18 -16
- pulumi_kubernetes/core/v1/Node.py +18 -16
- pulumi_kubernetes/core/v1/NodeList.py +18 -16
- pulumi_kubernetes/core/v1/NodePatch.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolume.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +18 -16
- pulumi_kubernetes/core/v1/Pod.py +18 -16
- pulumi_kubernetes/core/v1/PodList.py +18 -16
- pulumi_kubernetes/core/v1/PodPatch.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplate.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplateList.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationController.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuota.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +18 -16
- pulumi_kubernetes/core/v1/Secret.py +50 -48
- pulumi_kubernetes/core/v1/SecretList.py +18 -16
- pulumi_kubernetes/core/v1/SecretPatch.py +50 -48
- pulumi_kubernetes/core/v1/Service.py +18 -16
- pulumi_kubernetes/core/v1/ServiceAccount.py +26 -24
- pulumi_kubernetes/core/v1/ServiceAccountList.py +18 -16
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +26 -24
- pulumi_kubernetes/core/v1/ServiceList.py +18 -16
- pulumi_kubernetes/core/v1/ServicePatch.py +18 -16
- pulumi_kubernetes/core/v1/__init__.py +1 -0
- pulumi_kubernetes/core/v1/_enums.py +4 -1
- pulumi_kubernetes/core/v1/_inputs.py +5736 -5561
- pulumi_kubernetes/core/v1/outputs.py +3853 -3652
- pulumi_kubernetes/discovery/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +34 -32
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +18 -16
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +34 -32
- pulumi_kubernetes/discovery/v1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/_inputs.py +294 -178
- pulumi_kubernetes/discovery/v1/outputs.py +184 -108
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +26 -24
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +18 -16
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +26 -24
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/discovery/v1beta1/outputs.py +76 -75
- pulumi_kubernetes/events/__init__.py +1 -0
- pulumi_kubernetes/events/v1/Event.py +98 -96
- pulumi_kubernetes/events/v1/EventList.py +18 -16
- pulumi_kubernetes/events/v1/EventPatch.py +98 -96
- pulumi_kubernetes/events/v1/__init__.py +1 -0
- pulumi_kubernetes/events/v1/_inputs.py +81 -80
- pulumi_kubernetes/events/v1/outputs.py +49 -48
- pulumi_kubernetes/events/v1beta1/Event.py +98 -96
- pulumi_kubernetes/events/v1beta1/EventList.py +18 -16
- pulumi_kubernetes/events/v1beta1/EventPatch.py +98 -96
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/events/v1beta1/_inputs.py +91 -90
- pulumi_kubernetes/events/v1beta1/outputs.py +55 -54
- pulumi_kubernetes/extensions/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +826 -825
- pulumi_kubernetes/extensions/v1beta1/outputs.py +587 -586
- pulumi_kubernetes/flowcontrol/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +223 -222
- pulumi_kubernetes/helm/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/Release.py +247 -245
- pulumi_kubernetes/helm/v3/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/_inputs.py +31 -30
- pulumi_kubernetes/helm/v3/outputs.py +41 -40
- pulumi_kubernetes/helm/v4/Chart.py +72 -70
- pulumi_kubernetes/helm/v4/__init__.py +1 -0
- pulumi_kubernetes/helm/v4/_inputs.py +26 -25
- pulumi_kubernetes/kustomize/__init__.py +1 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +31 -29
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
- pulumi_kubernetes/meta/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/Status.py +43 -41
- pulumi_kubernetes/meta/v1/StatusPatch.py +43 -41
- pulumi_kubernetes/meta/v1/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/_inputs.py +451 -450
- pulumi_kubernetes/meta/v1/outputs.py +289 -288
- pulumi_kubernetes/networking/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/IPAddress.py +218 -0
- pulumi_kubernetes/networking/v1/IPAddressList.py +217 -0
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +230 -0
- pulumi_kubernetes/networking/v1/Ingress.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClass.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClassList.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +18 -16
- pulumi_kubernetes/networking/v1/IngressList.py +18 -16
- pulumi_kubernetes/networking/v1/IngressPatch.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +18 -16
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +228 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +217 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +240 -0
- pulumi_kubernetes/networking/v1/__init__.py +7 -0
- pulumi_kubernetes/networking/v1/_inputs.py +865 -265
- pulumi_kubernetes/networking/v1/outputs.py +632 -170
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +121 -120
- pulumi_kubernetes/networking/v1alpha1/outputs.py +73 -72
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +19 -17
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +19 -17
- pulumi_kubernetes/networking/v1beta1/Ingress.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +18 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +19 -17
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +19 -17
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +181 -180
- pulumi_kubernetes/networking/v1beta1/outputs.py +105 -104
- pulumi_kubernetes/node/__init__.py +1 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +26 -24
- pulumi_kubernetes/node/v1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +26 -24
- pulumi_kubernetes/node/v1/__init__.py +1 -0
- pulumi_kubernetes/node/v1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1/outputs.py +22 -21
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +18 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +18 -16
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/node/v1alpha1/_inputs.py +41 -40
- pulumi_kubernetes/node/v1alpha1/outputs.py +25 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +26 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +26 -24
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/node/v1beta1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1beta1/outputs.py +22 -21
- pulumi_kubernetes/policy/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +18 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +18 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +18 -16
- pulumi_kubernetes/policy/v1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/_inputs.py +71 -82
- pulumi_kubernetes/policy/v1/outputs.py +53 -60
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +18 -16
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1beta1/_inputs.py +361 -360
- pulumi_kubernetes/policy/v1beta1/outputs.py +227 -226
- pulumi_kubernetes/provider.py +93 -91
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1beta1/outputs.py +97 -96
- pulumi_kubernetes/resource/__init__.py +4 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +26 -24
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +26 -24
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +206 -205
- pulumi_kubernetes/resource/v1alpha1/outputs.py +154 -153
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +26 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +26 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +34 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +34 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +35 -33
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +35 -33
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +411 -410
- pulumi_kubernetes/resource/v1alpha2/outputs.py +286 -285
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +225 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +217 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +236 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/__init__.py +4 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +2999 -652
- pulumi_kubernetes/resource/v1alpha3/outputs.py +2286 -504
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +19 -17
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +2481 -612
- pulumi_kubernetes/resource/v1beta1/outputs.py +1782 -379
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +239 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +250 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +234 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +218 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +245 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +231 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +242 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +248 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +218 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +259 -0
- pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta2/_inputs.py +5681 -0
- pulumi_kubernetes/resource/v1beta2/outputs.py +4726 -0
- pulumi_kubernetes/scheduling/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +19 -18
- pulumi_kubernetes/settings/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +11 -10
- pulumi_kubernetes/settings/v1alpha1/outputs.py +7 -6
- pulumi_kubernetes/storage/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +18 -16
- pulumi_kubernetes/storage/v1/CSIDriverList.py +18 -16
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +18 -16
- pulumi_kubernetes/storage/v1/CSINode.py +18 -16
- pulumi_kubernetes/storage/v1/CSINodeList.py +18 -16
- pulumi_kubernetes/storage/v1/CSINodePatch.py +18 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +42 -40
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +18 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +42 -40
- pulumi_kubernetes/storage/v1/StorageClass.py +66 -64
- pulumi_kubernetes/storage/v1/StorageClassList.py +18 -16
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +66 -64
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/_inputs.py +366 -275
- pulumi_kubernetes/storage/v1/outputs.py +288 -177
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +34 -32
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +34 -32
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storage/v1alpha1/outputs.py +61 -60
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINode.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +42 -40
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +42 -40
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +66 -64
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +66 -64
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +34 -32
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +34 -32
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +286 -285
- pulumi_kubernetes/storage/v1beta1/outputs.py +184 -183
- pulumi_kubernetes/storagemigration/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/yaml/__init__.py +1 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +23 -21
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +30 -28
- pulumi_kubernetes/yaml/v2/__init__.py +1 -0
- pulumi_kubernetes/yaml/yaml.py +108 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/METADATA +4 -4
- pulumi_kubernetes-4.23.0.dist-info/RECORD +709 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.22.1.dist-info/RECORD +0 -679
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -71,15 +72,15 @@ class CronJob(dict):
|
|
|
71
72
|
return super().get(key, default)
|
|
72
73
|
|
|
73
74
|
def __init__(__self__, *,
|
|
74
|
-
api_version: Optional[str] = None,
|
|
75
|
-
kind: Optional[str] = None,
|
|
75
|
+
api_version: Optional[builtins.str] = None,
|
|
76
|
+
kind: Optional[builtins.str] = None,
|
|
76
77
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
77
78
|
spec: Optional['outputs.CronJobSpec'] = None,
|
|
78
79
|
status: Optional['outputs.CronJobStatus'] = None):
|
|
79
80
|
"""
|
|
80
81
|
CronJob represents the configuration of a single cron job.
|
|
81
|
-
:param 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
|
|
82
|
-
:param 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
|
|
82
|
+
:param 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
|
|
83
|
+
:param 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
|
|
83
84
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
84
85
|
:param '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
|
|
85
86
|
:param '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
|
|
@@ -97,7 +98,7 @@ class CronJob(dict):
|
|
|
97
98
|
|
|
98
99
|
@property
|
|
99
100
|
@pulumi.getter(name="apiVersion")
|
|
100
|
-
def api_version(self) -> Optional[str]:
|
|
101
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
101
102
|
"""
|
|
102
103
|
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
|
|
103
104
|
"""
|
|
@@ -105,7 +106,7 @@ class CronJob(dict):
|
|
|
105
106
|
|
|
106
107
|
@property
|
|
107
108
|
@pulumi.getter
|
|
108
|
-
def kind(self) -> Optional[str]:
|
|
109
|
+
def kind(self) -> Optional[builtins.str]:
|
|
109
110
|
"""
|
|
110
111
|
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
|
|
111
112
|
"""
|
|
@@ -170,25 +171,25 @@ class CronJobSpec(dict):
|
|
|
170
171
|
|
|
171
172
|
def __init__(__self__, *,
|
|
172
173
|
job_template: 'outputs.JobTemplateSpec',
|
|
173
|
-
schedule: str,
|
|
174
|
-
concurrency_policy: Optional[str] = None,
|
|
175
|
-
failed_jobs_history_limit: Optional[int] = None,
|
|
176
|
-
starting_deadline_seconds: Optional[int] = None,
|
|
177
|
-
successful_jobs_history_limit: Optional[int] = None,
|
|
178
|
-
suspend: Optional[bool] = None,
|
|
179
|
-
time_zone: Optional[str] = None):
|
|
174
|
+
schedule: builtins.str,
|
|
175
|
+
concurrency_policy: Optional[builtins.str] = None,
|
|
176
|
+
failed_jobs_history_limit: Optional[builtins.int] = None,
|
|
177
|
+
starting_deadline_seconds: Optional[builtins.int] = None,
|
|
178
|
+
successful_jobs_history_limit: Optional[builtins.int] = None,
|
|
179
|
+
suspend: Optional[builtins.bool] = None,
|
|
180
|
+
time_zone: Optional[builtins.str] = None):
|
|
180
181
|
"""
|
|
181
182
|
CronJobSpec describes how the job execution will look like and when it will actually run.
|
|
182
183
|
:param 'JobTemplateSpecArgs' job_template: Specifies the job that will be created when executing a CronJob.
|
|
183
|
-
:param str schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
184
|
-
:param str concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
184
|
+
:param builtins.str schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
185
|
+
:param builtins.str concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
185
186
|
|
|
186
187
|
- "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
|
|
187
|
-
:param int failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
188
|
-
:param 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.
|
|
189
|
-
:param int successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
190
|
-
:param bool suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
191
|
-
:param 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
|
|
188
|
+
:param builtins.int failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
189
|
+
:param 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.
|
|
190
|
+
:param builtins.int successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
191
|
+
:param builtins.bool suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
192
|
+
:param 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
|
|
192
193
|
"""
|
|
193
194
|
pulumi.set(__self__, "job_template", job_template)
|
|
194
195
|
pulumi.set(__self__, "schedule", schedule)
|
|
@@ -215,7 +216,7 @@ class CronJobSpec(dict):
|
|
|
215
216
|
|
|
216
217
|
@property
|
|
217
218
|
@pulumi.getter
|
|
218
|
-
def schedule(self) -> str:
|
|
219
|
+
def schedule(self) -> builtins.str:
|
|
219
220
|
"""
|
|
220
221
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
221
222
|
"""
|
|
@@ -223,7 +224,7 @@ class CronJobSpec(dict):
|
|
|
223
224
|
|
|
224
225
|
@property
|
|
225
226
|
@pulumi.getter(name="concurrencyPolicy")
|
|
226
|
-
def concurrency_policy(self) -> Optional[str]:
|
|
227
|
+
def concurrency_policy(self) -> Optional[builtins.str]:
|
|
227
228
|
"""
|
|
228
229
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
229
230
|
|
|
@@ -233,7 +234,7 @@ class CronJobSpec(dict):
|
|
|
233
234
|
|
|
234
235
|
@property
|
|
235
236
|
@pulumi.getter(name="failedJobsHistoryLimit")
|
|
236
|
-
def failed_jobs_history_limit(self) -> Optional[int]:
|
|
237
|
+
def failed_jobs_history_limit(self) -> Optional[builtins.int]:
|
|
237
238
|
"""
|
|
238
239
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
239
240
|
"""
|
|
@@ -241,7 +242,7 @@ class CronJobSpec(dict):
|
|
|
241
242
|
|
|
242
243
|
@property
|
|
243
244
|
@pulumi.getter(name="startingDeadlineSeconds")
|
|
244
|
-
def starting_deadline_seconds(self) -> Optional[int]:
|
|
245
|
+
def starting_deadline_seconds(self) -> Optional[builtins.int]:
|
|
245
246
|
"""
|
|
246
247
|
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.
|
|
247
248
|
"""
|
|
@@ -249,7 +250,7 @@ class CronJobSpec(dict):
|
|
|
249
250
|
|
|
250
251
|
@property
|
|
251
252
|
@pulumi.getter(name="successfulJobsHistoryLimit")
|
|
252
|
-
def successful_jobs_history_limit(self) -> Optional[int]:
|
|
253
|
+
def successful_jobs_history_limit(self) -> Optional[builtins.int]:
|
|
253
254
|
"""
|
|
254
255
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
255
256
|
"""
|
|
@@ -257,7 +258,7 @@ class CronJobSpec(dict):
|
|
|
257
258
|
|
|
258
259
|
@property
|
|
259
260
|
@pulumi.getter
|
|
260
|
-
def suspend(self) -> Optional[bool]:
|
|
261
|
+
def suspend(self) -> Optional[builtins.bool]:
|
|
261
262
|
"""
|
|
262
263
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
263
264
|
"""
|
|
@@ -265,7 +266,7 @@ class CronJobSpec(dict):
|
|
|
265
266
|
|
|
266
267
|
@property
|
|
267
268
|
@pulumi.getter(name="timeZone")
|
|
268
|
-
def time_zone(self) -> Optional[str]:
|
|
269
|
+
def time_zone(self) -> Optional[builtins.str]:
|
|
269
270
|
"""
|
|
270
271
|
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
|
|
271
272
|
"""
|
|
@@ -305,26 +306,26 @@ class CronJobSpecPatch(dict):
|
|
|
305
306
|
return super().get(key, default)
|
|
306
307
|
|
|
307
308
|
def __init__(__self__, *,
|
|
308
|
-
concurrency_policy: Optional[str] = None,
|
|
309
|
-
failed_jobs_history_limit: Optional[int] = None,
|
|
309
|
+
concurrency_policy: Optional[builtins.str] = None,
|
|
310
|
+
failed_jobs_history_limit: Optional[builtins.int] = None,
|
|
310
311
|
job_template: Optional['outputs.JobTemplateSpecPatch'] = None,
|
|
311
|
-
schedule: Optional[str] = None,
|
|
312
|
-
starting_deadline_seconds: Optional[int] = None,
|
|
313
|
-
successful_jobs_history_limit: Optional[int] = None,
|
|
314
|
-
suspend: Optional[bool] = None,
|
|
315
|
-
time_zone: Optional[str] = None):
|
|
312
|
+
schedule: Optional[builtins.str] = None,
|
|
313
|
+
starting_deadline_seconds: Optional[builtins.int] = None,
|
|
314
|
+
successful_jobs_history_limit: Optional[builtins.int] = None,
|
|
315
|
+
suspend: Optional[builtins.bool] = None,
|
|
316
|
+
time_zone: Optional[builtins.str] = None):
|
|
316
317
|
"""
|
|
317
318
|
CronJobSpec describes how the job execution will look like and when it will actually run.
|
|
318
|
-
:param str concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
319
|
+
:param builtins.str concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
319
320
|
|
|
320
321
|
- "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
|
|
321
|
-
:param int failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
322
|
+
:param builtins.int failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
322
323
|
:param 'JobTemplateSpecPatchArgs' job_template: Specifies the job that will be created when executing a CronJob.
|
|
323
|
-
:param str schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
324
|
-
:param 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.
|
|
325
|
-
:param int successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
326
|
-
:param bool suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
327
|
-
:param 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
|
|
324
|
+
:param builtins.str schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
325
|
+
:param 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.
|
|
326
|
+
:param builtins.int successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
327
|
+
:param builtins.bool suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
328
|
+
:param 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
|
|
328
329
|
"""
|
|
329
330
|
if concurrency_policy is not None:
|
|
330
331
|
pulumi.set(__self__, "concurrency_policy", concurrency_policy)
|
|
@@ -345,7 +346,7 @@ class CronJobSpecPatch(dict):
|
|
|
345
346
|
|
|
346
347
|
@property
|
|
347
348
|
@pulumi.getter(name="concurrencyPolicy")
|
|
348
|
-
def concurrency_policy(self) -> Optional[str]:
|
|
349
|
+
def concurrency_policy(self) -> Optional[builtins.str]:
|
|
349
350
|
"""
|
|
350
351
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
351
352
|
|
|
@@ -355,7 +356,7 @@ class CronJobSpecPatch(dict):
|
|
|
355
356
|
|
|
356
357
|
@property
|
|
357
358
|
@pulumi.getter(name="failedJobsHistoryLimit")
|
|
358
|
-
def failed_jobs_history_limit(self) -> Optional[int]:
|
|
359
|
+
def failed_jobs_history_limit(self) -> Optional[builtins.int]:
|
|
359
360
|
"""
|
|
360
361
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
361
362
|
"""
|
|
@@ -371,7 +372,7 @@ class CronJobSpecPatch(dict):
|
|
|
371
372
|
|
|
372
373
|
@property
|
|
373
374
|
@pulumi.getter
|
|
374
|
-
def schedule(self) -> Optional[str]:
|
|
375
|
+
def schedule(self) -> Optional[builtins.str]:
|
|
375
376
|
"""
|
|
376
377
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
377
378
|
"""
|
|
@@ -379,7 +380,7 @@ class CronJobSpecPatch(dict):
|
|
|
379
380
|
|
|
380
381
|
@property
|
|
381
382
|
@pulumi.getter(name="startingDeadlineSeconds")
|
|
382
|
-
def starting_deadline_seconds(self) -> Optional[int]:
|
|
383
|
+
def starting_deadline_seconds(self) -> Optional[builtins.int]:
|
|
383
384
|
"""
|
|
384
385
|
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.
|
|
385
386
|
"""
|
|
@@ -387,7 +388,7 @@ class CronJobSpecPatch(dict):
|
|
|
387
388
|
|
|
388
389
|
@property
|
|
389
390
|
@pulumi.getter(name="successfulJobsHistoryLimit")
|
|
390
|
-
def successful_jobs_history_limit(self) -> Optional[int]:
|
|
391
|
+
def successful_jobs_history_limit(self) -> Optional[builtins.int]:
|
|
391
392
|
"""
|
|
392
393
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
393
394
|
"""
|
|
@@ -395,7 +396,7 @@ class CronJobSpecPatch(dict):
|
|
|
395
396
|
|
|
396
397
|
@property
|
|
397
398
|
@pulumi.getter
|
|
398
|
-
def suspend(self) -> Optional[bool]:
|
|
399
|
+
def suspend(self) -> Optional[builtins.bool]:
|
|
399
400
|
"""
|
|
400
401
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
401
402
|
"""
|
|
@@ -403,7 +404,7 @@ class CronJobSpecPatch(dict):
|
|
|
403
404
|
|
|
404
405
|
@property
|
|
405
406
|
@pulumi.getter(name="timeZone")
|
|
406
|
-
def time_zone(self) -> Optional[str]:
|
|
407
|
+
def time_zone(self) -> Optional[builtins.str]:
|
|
407
408
|
"""
|
|
408
409
|
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
|
|
409
410
|
"""
|
|
@@ -436,13 +437,13 @@ class CronJobStatus(dict):
|
|
|
436
437
|
|
|
437
438
|
def __init__(__self__, *,
|
|
438
439
|
active: Optional[Sequence['_core.v1.outputs.ObjectReference']] = None,
|
|
439
|
-
last_schedule_time: Optional[str] = None,
|
|
440
|
-
last_successful_time: Optional[str] = None):
|
|
440
|
+
last_schedule_time: Optional[builtins.str] = None,
|
|
441
|
+
last_successful_time: Optional[builtins.str] = None):
|
|
441
442
|
"""
|
|
442
443
|
CronJobStatus represents the current state of a cron job.
|
|
443
444
|
:param Sequence['_core.v1.ObjectReferenceArgs'] active: A list of pointers to currently running jobs.
|
|
444
|
-
:param str last_schedule_time: Information when was the last time the job was successfully scheduled.
|
|
445
|
-
:param str last_successful_time: Information when was the last time the job successfully completed.
|
|
445
|
+
:param builtins.str last_schedule_time: Information when was the last time the job was successfully scheduled.
|
|
446
|
+
:param builtins.str last_successful_time: Information when was the last time the job successfully completed.
|
|
446
447
|
"""
|
|
447
448
|
if active is not None:
|
|
448
449
|
pulumi.set(__self__, "active", active)
|
|
@@ -461,7 +462,7 @@ class CronJobStatus(dict):
|
|
|
461
462
|
|
|
462
463
|
@property
|
|
463
464
|
@pulumi.getter(name="lastScheduleTime")
|
|
464
|
-
def last_schedule_time(self) -> Optional[str]:
|
|
465
|
+
def last_schedule_time(self) -> Optional[builtins.str]:
|
|
465
466
|
"""
|
|
466
467
|
Information when was the last time the job was successfully scheduled.
|
|
467
468
|
"""
|
|
@@ -469,7 +470,7 @@ class CronJobStatus(dict):
|
|
|
469
470
|
|
|
470
471
|
@property
|
|
471
472
|
@pulumi.getter(name="lastSuccessfulTime")
|
|
472
|
-
def last_successful_time(self) -> Optional[str]:
|
|
473
|
+
def last_successful_time(self) -> Optional[builtins.str]:
|
|
473
474
|
"""
|
|
474
475
|
Information when was the last time the job successfully completed.
|
|
475
476
|
"""
|
|
@@ -502,13 +503,13 @@ class CronJobStatusPatch(dict):
|
|
|
502
503
|
|
|
503
504
|
def __init__(__self__, *,
|
|
504
505
|
active: Optional[Sequence['_core.v1.outputs.ObjectReferencePatch']] = None,
|
|
505
|
-
last_schedule_time: Optional[str] = None,
|
|
506
|
-
last_successful_time: Optional[str] = None):
|
|
506
|
+
last_schedule_time: Optional[builtins.str] = None,
|
|
507
|
+
last_successful_time: Optional[builtins.str] = None):
|
|
507
508
|
"""
|
|
508
509
|
CronJobStatus represents the current state of a cron job.
|
|
509
510
|
:param Sequence['_core.v1.ObjectReferencePatchArgs'] active: A list of pointers to currently running jobs.
|
|
510
|
-
:param str last_schedule_time: Information when was the last time the job was successfully scheduled.
|
|
511
|
-
:param str last_successful_time: Information when was the last time the job successfully completed.
|
|
511
|
+
:param builtins.str last_schedule_time: Information when was the last time the job was successfully scheduled.
|
|
512
|
+
:param builtins.str last_successful_time: Information when was the last time the job successfully completed.
|
|
512
513
|
"""
|
|
513
514
|
if active is not None:
|
|
514
515
|
pulumi.set(__self__, "active", active)
|
|
@@ -527,7 +528,7 @@ class CronJobStatusPatch(dict):
|
|
|
527
528
|
|
|
528
529
|
@property
|
|
529
530
|
@pulumi.getter(name="lastScheduleTime")
|
|
530
|
-
def last_schedule_time(self) -> Optional[str]:
|
|
531
|
+
def last_schedule_time(self) -> Optional[builtins.str]:
|
|
531
532
|
"""
|
|
532
533
|
Information when was the last time the job was successfully scheduled.
|
|
533
534
|
"""
|
|
@@ -535,7 +536,7 @@ class CronJobStatusPatch(dict):
|
|
|
535
536
|
|
|
536
537
|
@property
|
|
537
538
|
@pulumi.getter(name="lastSuccessfulTime")
|
|
538
|
-
def last_successful_time(self) -> Optional[str]:
|
|
539
|
+
def last_successful_time(self) -> Optional[builtins.str]:
|
|
539
540
|
"""
|
|
540
541
|
Information when was the last time the job successfully completed.
|
|
541
542
|
"""
|
|
@@ -585,8 +586,8 @@ class Job(dict):
|
|
|
585
586
|
return super().get(key, default)
|
|
586
587
|
|
|
587
588
|
def __init__(__self__, *,
|
|
588
|
-
api_version: Optional[str] = None,
|
|
589
|
-
kind: Optional[str] = None,
|
|
589
|
+
api_version: Optional[builtins.str] = None,
|
|
590
|
+
kind: Optional[builtins.str] = None,
|
|
590
591
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
591
592
|
spec: Optional['outputs.JobSpec'] = None,
|
|
592
593
|
status: Optional['outputs.JobStatus'] = None):
|
|
@@ -612,8 +613,8 @@ class Job(dict):
|
|
|
612
613
|
Pulumi will continue to wait for readiness on the next update. If you would prefer
|
|
613
614
|
to schedule a replacement for an unready resource on the next update, you can add the
|
|
614
615
|
"pulumi.com/replaceUnready": "true" annotation to the resource definition.
|
|
615
|
-
:param 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
|
|
616
|
-
:param 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
|
|
616
|
+
:param 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
|
|
617
|
+
:param 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
|
|
617
618
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
618
619
|
:param '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
|
|
619
620
|
:param 'JobStatusArgs' status: Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
@@ -631,7 +632,7 @@ class Job(dict):
|
|
|
631
632
|
|
|
632
633
|
@property
|
|
633
634
|
@pulumi.getter(name="apiVersion")
|
|
634
|
-
def api_version(self) -> Optional[str]:
|
|
635
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
635
636
|
"""
|
|
636
637
|
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
|
|
637
638
|
"""
|
|
@@ -639,7 +640,7 @@ class Job(dict):
|
|
|
639
640
|
|
|
640
641
|
@property
|
|
641
642
|
@pulumi.getter
|
|
642
|
-
def kind(self) -> Optional[str]:
|
|
643
|
+
def kind(self) -> Optional[builtins.str]:
|
|
643
644
|
"""
|
|
644
645
|
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
|
|
645
646
|
"""
|
|
@@ -695,20 +696,20 @@ class JobCondition(dict):
|
|
|
695
696
|
return super().get(key, default)
|
|
696
697
|
|
|
697
698
|
def __init__(__self__, *,
|
|
698
|
-
status: str,
|
|
699
|
-
type: str,
|
|
700
|
-
last_probe_time: Optional[str] = None,
|
|
701
|
-
last_transition_time: Optional[str] = None,
|
|
702
|
-
message: Optional[str] = None,
|
|
703
|
-
reason: Optional[str] = None):
|
|
699
|
+
status: builtins.str,
|
|
700
|
+
type: builtins.str,
|
|
701
|
+
last_probe_time: Optional[builtins.str] = None,
|
|
702
|
+
last_transition_time: Optional[builtins.str] = None,
|
|
703
|
+
message: Optional[builtins.str] = None,
|
|
704
|
+
reason: Optional[builtins.str] = None):
|
|
704
705
|
"""
|
|
705
706
|
JobCondition describes current state of a job.
|
|
706
|
-
:param str status: Status of the condition, one of True, False, Unknown.
|
|
707
|
-
:param str type: Type of job condition, Complete or Failed.
|
|
708
|
-
:param str last_probe_time: Last time the condition was checked.
|
|
709
|
-
:param str last_transition_time: Last time the condition transit from one status to another.
|
|
710
|
-
:param str message: Human readable message indicating details about last transition.
|
|
711
|
-
:param str reason: (brief) reason for the condition's last transition.
|
|
707
|
+
:param builtins.str status: Status of the condition, one of True, False, Unknown.
|
|
708
|
+
:param builtins.str type: Type of job condition, Complete or Failed.
|
|
709
|
+
:param builtins.str last_probe_time: Last time the condition was checked.
|
|
710
|
+
:param builtins.str last_transition_time: Last time the condition transit from one status to another.
|
|
711
|
+
:param builtins.str message: Human readable message indicating details about last transition.
|
|
712
|
+
:param builtins.str reason: (brief) reason for the condition's last transition.
|
|
712
713
|
"""
|
|
713
714
|
pulumi.set(__self__, "status", status)
|
|
714
715
|
pulumi.set(__self__, "type", type)
|
|
@@ -723,7 +724,7 @@ class JobCondition(dict):
|
|
|
723
724
|
|
|
724
725
|
@property
|
|
725
726
|
@pulumi.getter
|
|
726
|
-
def status(self) -> str:
|
|
727
|
+
def status(self) -> builtins.str:
|
|
727
728
|
"""
|
|
728
729
|
Status of the condition, one of True, False, Unknown.
|
|
729
730
|
"""
|
|
@@ -731,7 +732,7 @@ class JobCondition(dict):
|
|
|
731
732
|
|
|
732
733
|
@property
|
|
733
734
|
@pulumi.getter
|
|
734
|
-
def type(self) -> str:
|
|
735
|
+
def type(self) -> builtins.str:
|
|
735
736
|
"""
|
|
736
737
|
Type of job condition, Complete or Failed.
|
|
737
738
|
"""
|
|
@@ -739,7 +740,7 @@ class JobCondition(dict):
|
|
|
739
740
|
|
|
740
741
|
@property
|
|
741
742
|
@pulumi.getter(name="lastProbeTime")
|
|
742
|
-
def last_probe_time(self) -> Optional[str]:
|
|
743
|
+
def last_probe_time(self) -> Optional[builtins.str]:
|
|
743
744
|
"""
|
|
744
745
|
Last time the condition was checked.
|
|
745
746
|
"""
|
|
@@ -747,7 +748,7 @@ class JobCondition(dict):
|
|
|
747
748
|
|
|
748
749
|
@property
|
|
749
750
|
@pulumi.getter(name="lastTransitionTime")
|
|
750
|
-
def last_transition_time(self) -> Optional[str]:
|
|
751
|
+
def last_transition_time(self) -> Optional[builtins.str]:
|
|
751
752
|
"""
|
|
752
753
|
Last time the condition transit from one status to another.
|
|
753
754
|
"""
|
|
@@ -755,7 +756,7 @@ class JobCondition(dict):
|
|
|
755
756
|
|
|
756
757
|
@property
|
|
757
758
|
@pulumi.getter
|
|
758
|
-
def message(self) -> Optional[str]:
|
|
759
|
+
def message(self) -> Optional[builtins.str]:
|
|
759
760
|
"""
|
|
760
761
|
Human readable message indicating details about last transition.
|
|
761
762
|
"""
|
|
@@ -763,7 +764,7 @@ class JobCondition(dict):
|
|
|
763
764
|
|
|
764
765
|
@property
|
|
765
766
|
@pulumi.getter
|
|
766
|
-
def reason(self) -> Optional[str]:
|
|
767
|
+
def reason(self) -> Optional[builtins.str]:
|
|
767
768
|
"""
|
|
768
769
|
(brief) reason for the condition's last transition.
|
|
769
770
|
"""
|
|
@@ -795,20 +796,20 @@ class JobConditionPatch(dict):
|
|
|
795
796
|
return super().get(key, default)
|
|
796
797
|
|
|
797
798
|
def __init__(__self__, *,
|
|
798
|
-
last_probe_time: Optional[str] = None,
|
|
799
|
-
last_transition_time: Optional[str] = None,
|
|
800
|
-
message: Optional[str] = None,
|
|
801
|
-
reason: Optional[str] = None,
|
|
802
|
-
status: Optional[str] = None,
|
|
803
|
-
type: Optional[str] = None):
|
|
799
|
+
last_probe_time: Optional[builtins.str] = None,
|
|
800
|
+
last_transition_time: Optional[builtins.str] = None,
|
|
801
|
+
message: Optional[builtins.str] = None,
|
|
802
|
+
reason: Optional[builtins.str] = None,
|
|
803
|
+
status: Optional[builtins.str] = None,
|
|
804
|
+
type: Optional[builtins.str] = None):
|
|
804
805
|
"""
|
|
805
806
|
JobCondition describes current state of a job.
|
|
806
|
-
:param str last_probe_time: Last time the condition was checked.
|
|
807
|
-
:param str last_transition_time: Last time the condition transit from one status to another.
|
|
808
|
-
:param str message: Human readable message indicating details about last transition.
|
|
809
|
-
:param str reason: (brief) reason for the condition's last transition.
|
|
810
|
-
:param str status: Status of the condition, one of True, False, Unknown.
|
|
811
|
-
:param str type: Type of job condition, Complete or Failed.
|
|
807
|
+
:param builtins.str last_probe_time: Last time the condition was checked.
|
|
808
|
+
:param builtins.str last_transition_time: Last time the condition transit from one status to another.
|
|
809
|
+
:param builtins.str message: Human readable message indicating details about last transition.
|
|
810
|
+
:param builtins.str reason: (brief) reason for the condition's last transition.
|
|
811
|
+
:param builtins.str status: Status of the condition, one of True, False, Unknown.
|
|
812
|
+
:param builtins.str type: Type of job condition, Complete or Failed.
|
|
812
813
|
"""
|
|
813
814
|
if last_probe_time is not None:
|
|
814
815
|
pulumi.set(__self__, "last_probe_time", last_probe_time)
|
|
@@ -825,7 +826,7 @@ class JobConditionPatch(dict):
|
|
|
825
826
|
|
|
826
827
|
@property
|
|
827
828
|
@pulumi.getter(name="lastProbeTime")
|
|
828
|
-
def last_probe_time(self) -> Optional[str]:
|
|
829
|
+
def last_probe_time(self) -> Optional[builtins.str]:
|
|
829
830
|
"""
|
|
830
831
|
Last time the condition was checked.
|
|
831
832
|
"""
|
|
@@ -833,7 +834,7 @@ class JobConditionPatch(dict):
|
|
|
833
834
|
|
|
834
835
|
@property
|
|
835
836
|
@pulumi.getter(name="lastTransitionTime")
|
|
836
|
-
def last_transition_time(self) -> Optional[str]:
|
|
837
|
+
def last_transition_time(self) -> Optional[builtins.str]:
|
|
837
838
|
"""
|
|
838
839
|
Last time the condition transit from one status to another.
|
|
839
840
|
"""
|
|
@@ -841,7 +842,7 @@ class JobConditionPatch(dict):
|
|
|
841
842
|
|
|
842
843
|
@property
|
|
843
844
|
@pulumi.getter
|
|
844
|
-
def message(self) -> Optional[str]:
|
|
845
|
+
def message(self) -> Optional[builtins.str]:
|
|
845
846
|
"""
|
|
846
847
|
Human readable message indicating details about last transition.
|
|
847
848
|
"""
|
|
@@ -849,7 +850,7 @@ class JobConditionPatch(dict):
|
|
|
849
850
|
|
|
850
851
|
@property
|
|
851
852
|
@pulumi.getter
|
|
852
|
-
def reason(self) -> Optional[str]:
|
|
853
|
+
def reason(self) -> Optional[builtins.str]:
|
|
853
854
|
"""
|
|
854
855
|
(brief) reason for the condition's last transition.
|
|
855
856
|
"""
|
|
@@ -857,7 +858,7 @@ class JobConditionPatch(dict):
|
|
|
857
858
|
|
|
858
859
|
@property
|
|
859
860
|
@pulumi.getter
|
|
860
|
-
def status(self) -> Optional[str]:
|
|
861
|
+
def status(self) -> Optional[builtins.str]:
|
|
861
862
|
"""
|
|
862
863
|
Status of the condition, one of True, False, Unknown.
|
|
863
864
|
"""
|
|
@@ -865,7 +866,7 @@ class JobConditionPatch(dict):
|
|
|
865
866
|
|
|
866
867
|
@property
|
|
867
868
|
@pulumi.getter
|
|
868
|
-
def type(self) -> Optional[str]:
|
|
869
|
+
def type(self) -> Optional[builtins.str]:
|
|
869
870
|
"""
|
|
870
871
|
Type of job condition, Complete or Failed.
|
|
871
872
|
"""
|
|
@@ -916,43 +917,43 @@ class JobSpec(dict):
|
|
|
916
917
|
|
|
917
918
|
def __init__(__self__, *,
|
|
918
919
|
template: '_core.v1.outputs.PodTemplateSpec',
|
|
919
|
-
active_deadline_seconds: Optional[int] = None,
|
|
920
|
-
backoff_limit: Optional[int] = None,
|
|
921
|
-
backoff_limit_per_index: Optional[int] = None,
|
|
922
|
-
completion_mode: Optional[str] = None,
|
|
923
|
-
completions: Optional[int] = None,
|
|
924
|
-
managed_by: Optional[str] = None,
|
|
925
|
-
manual_selector: Optional[bool] = None,
|
|
926
|
-
max_failed_indexes: Optional[int] = None,
|
|
927
|
-
parallelism: Optional[int] = None,
|
|
920
|
+
active_deadline_seconds: Optional[builtins.int] = None,
|
|
921
|
+
backoff_limit: Optional[builtins.int] = None,
|
|
922
|
+
backoff_limit_per_index: Optional[builtins.int] = None,
|
|
923
|
+
completion_mode: Optional[builtins.str] = None,
|
|
924
|
+
completions: Optional[builtins.int] = None,
|
|
925
|
+
managed_by: Optional[builtins.str] = None,
|
|
926
|
+
manual_selector: Optional[builtins.bool] = None,
|
|
927
|
+
max_failed_indexes: Optional[builtins.int] = None,
|
|
928
|
+
parallelism: Optional[builtins.int] = None,
|
|
928
929
|
pod_failure_policy: Optional['outputs.PodFailurePolicy'] = None,
|
|
929
|
-
pod_replacement_policy: Optional[str] = None,
|
|
930
|
+
pod_replacement_policy: Optional[builtins.str] = None,
|
|
930
931
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
931
932
|
success_policy: Optional['outputs.SuccessPolicy'] = None,
|
|
932
|
-
suspend: Optional[bool] = None,
|
|
933
|
-
ttl_seconds_after_finished: Optional[int] = None):
|
|
933
|
+
suspend: Optional[builtins.bool] = None,
|
|
934
|
+
ttl_seconds_after_finished: Optional[builtins.int] = None):
|
|
934
935
|
"""
|
|
935
936
|
JobSpec describes how the job execution will look like.
|
|
936
937
|
:param '_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/
|
|
937
|
-
:param 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.
|
|
938
|
-
:param int backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
939
|
-
:param 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.
|
|
940
|
-
:param str completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
938
|
+
:param 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.
|
|
939
|
+
:param builtins.int backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
940
|
+
:param 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.
|
|
941
|
+
:param builtins.str completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
941
942
|
|
|
942
943
|
`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.
|
|
943
944
|
|
|
944
945
|
`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)`.
|
|
945
946
|
|
|
946
947
|
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.
|
|
947
|
-
:param int completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
948
|
-
:param str managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
948
|
+
:param 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/
|
|
949
|
+
:param 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.
|
|
949
950
|
|
|
950
951
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
951
|
-
:param bool manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
|
|
952
|
-
:param int max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5.
|
|
953
|
-
:param int parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
952
|
+
:param 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
|
|
953
|
+
:param 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.
|
|
954
|
+
:param 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/
|
|
954
955
|
:param 'PodFailurePolicyArgs' pod_failure_policy: Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
|
|
955
|
-
:param str pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
956
|
+
:param builtins.str pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
956
957
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
957
958
|
- Failed means to wait until a previously created Pod is fully terminated (has phase
|
|
958
959
|
Failed or Succeeded) before creating a replacement Pod.
|
|
@@ -960,10 +961,8 @@ class JobSpec(dict):
|
|
|
960
961
|
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.
|
|
961
962
|
:param '_meta.v1.LabelSelectorArgs' selector: A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
962
963
|
:param 'SuccessPolicyArgs' success_policy: successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
:param bool suspend: suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
|
|
966
|
-
:param int ttl_seconds_after_finished: ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
|
|
964
|
+
:param 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.
|
|
965
|
+
:param 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.
|
|
967
966
|
"""
|
|
968
967
|
pulumi.set(__self__, "template", template)
|
|
969
968
|
if active_deadline_seconds is not None:
|
|
@@ -1007,7 +1006,7 @@ class JobSpec(dict):
|
|
|
1007
1006
|
|
|
1008
1007
|
@property
|
|
1009
1008
|
@pulumi.getter(name="activeDeadlineSeconds")
|
|
1010
|
-
def active_deadline_seconds(self) -> Optional[int]:
|
|
1009
|
+
def active_deadline_seconds(self) -> Optional[builtins.int]:
|
|
1011
1010
|
"""
|
|
1012
1011
|
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.
|
|
1013
1012
|
"""
|
|
@@ -1015,7 +1014,7 @@ class JobSpec(dict):
|
|
|
1015
1014
|
|
|
1016
1015
|
@property
|
|
1017
1016
|
@pulumi.getter(name="backoffLimit")
|
|
1018
|
-
def backoff_limit(self) -> Optional[int]:
|
|
1017
|
+
def backoff_limit(self) -> Optional[builtins.int]:
|
|
1019
1018
|
"""
|
|
1020
1019
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1021
1020
|
"""
|
|
@@ -1023,15 +1022,15 @@ class JobSpec(dict):
|
|
|
1023
1022
|
|
|
1024
1023
|
@property
|
|
1025
1024
|
@pulumi.getter(name="backoffLimitPerIndex")
|
|
1026
|
-
def backoff_limit_per_index(self) -> Optional[int]:
|
|
1025
|
+
def backoff_limit_per_index(self) -> Optional[builtins.int]:
|
|
1027
1026
|
"""
|
|
1028
|
-
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.
|
|
1027
|
+
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.
|
|
1029
1028
|
"""
|
|
1030
1029
|
return pulumi.get(self, "backoff_limit_per_index")
|
|
1031
1030
|
|
|
1032
1031
|
@property
|
|
1033
1032
|
@pulumi.getter(name="completionMode")
|
|
1034
|
-
def completion_mode(self) -> Optional[str]:
|
|
1033
|
+
def completion_mode(self) -> Optional[builtins.str]:
|
|
1035
1034
|
"""
|
|
1036
1035
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1037
1036
|
|
|
@@ -1045,7 +1044,7 @@ class JobSpec(dict):
|
|
|
1045
1044
|
|
|
1046
1045
|
@property
|
|
1047
1046
|
@pulumi.getter
|
|
1048
|
-
def completions(self) -> Optional[int]:
|
|
1047
|
+
def completions(self) -> Optional[builtins.int]:
|
|
1049
1048
|
"""
|
|
1050
1049
|
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/
|
|
1051
1050
|
"""
|
|
@@ -1053,7 +1052,7 @@ class JobSpec(dict):
|
|
|
1053
1052
|
|
|
1054
1053
|
@property
|
|
1055
1054
|
@pulumi.getter(name="managedBy")
|
|
1056
|
-
def managed_by(self) -> Optional[str]:
|
|
1055
|
+
def managed_by(self) -> Optional[builtins.str]:
|
|
1057
1056
|
"""
|
|
1058
1057
|
ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
1059
1058
|
|
|
@@ -1063,7 +1062,7 @@ class JobSpec(dict):
|
|
|
1063
1062
|
|
|
1064
1063
|
@property
|
|
1065
1064
|
@pulumi.getter(name="manualSelector")
|
|
1066
|
-
def manual_selector(self) -> Optional[bool]:
|
|
1065
|
+
def manual_selector(self) -> Optional[builtins.bool]:
|
|
1067
1066
|
"""
|
|
1068
1067
|
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
|
|
1069
1068
|
"""
|
|
@@ -1071,15 +1070,15 @@ class JobSpec(dict):
|
|
|
1071
1070
|
|
|
1072
1071
|
@property
|
|
1073
1072
|
@pulumi.getter(name="maxFailedIndexes")
|
|
1074
|
-
def max_failed_indexes(self) -> Optional[int]:
|
|
1073
|
+
def max_failed_indexes(self) -> Optional[builtins.int]:
|
|
1075
1074
|
"""
|
|
1076
|
-
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.
|
|
1075
|
+
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.
|
|
1077
1076
|
"""
|
|
1078
1077
|
return pulumi.get(self, "max_failed_indexes")
|
|
1079
1078
|
|
|
1080
1079
|
@property
|
|
1081
1080
|
@pulumi.getter
|
|
1082
|
-
def parallelism(self) -> Optional[int]:
|
|
1081
|
+
def parallelism(self) -> Optional[builtins.int]:
|
|
1083
1082
|
"""
|
|
1084
1083
|
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/
|
|
1085
1084
|
"""
|
|
@@ -1095,7 +1094,7 @@ class JobSpec(dict):
|
|
|
1095
1094
|
|
|
1096
1095
|
@property
|
|
1097
1096
|
@pulumi.getter(name="podReplacementPolicy")
|
|
1098
|
-
def pod_replacement_policy(self) -> Optional[str]:
|
|
1097
|
+
def pod_replacement_policy(self) -> Optional[builtins.str]:
|
|
1099
1098
|
"""
|
|
1100
1099
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1101
1100
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -1119,14 +1118,12 @@ class JobSpec(dict):
|
|
|
1119
1118
|
def success_policy(self) -> Optional['outputs.SuccessPolicy']:
|
|
1120
1119
|
"""
|
|
1121
1120
|
successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
|
|
1122
|
-
|
|
1123
|
-
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
1124
1121
|
"""
|
|
1125
1122
|
return pulumi.get(self, "success_policy")
|
|
1126
1123
|
|
|
1127
1124
|
@property
|
|
1128
1125
|
@pulumi.getter
|
|
1129
|
-
def suspend(self) -> Optional[bool]:
|
|
1126
|
+
def suspend(self) -> Optional[builtins.bool]:
|
|
1130
1127
|
"""
|
|
1131
1128
|
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.
|
|
1132
1129
|
"""
|
|
@@ -1134,7 +1131,7 @@ class JobSpec(dict):
|
|
|
1134
1131
|
|
|
1135
1132
|
@property
|
|
1136
1133
|
@pulumi.getter(name="ttlSecondsAfterFinished")
|
|
1137
|
-
def ttl_seconds_after_finished(self) -> Optional[int]:
|
|
1134
|
+
def ttl_seconds_after_finished(self) -> Optional[builtins.int]:
|
|
1138
1135
|
"""
|
|
1139
1136
|
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.
|
|
1140
1137
|
"""
|
|
@@ -1184,43 +1181,43 @@ class JobSpecPatch(dict):
|
|
|
1184
1181
|
return super().get(key, default)
|
|
1185
1182
|
|
|
1186
1183
|
def __init__(__self__, *,
|
|
1187
|
-
active_deadline_seconds: Optional[int] = None,
|
|
1188
|
-
backoff_limit: Optional[int] = None,
|
|
1189
|
-
backoff_limit_per_index: Optional[int] = None,
|
|
1190
|
-
completion_mode: Optional[str] = None,
|
|
1191
|
-
completions: Optional[int] = None,
|
|
1192
|
-
managed_by: Optional[str] = None,
|
|
1193
|
-
manual_selector: Optional[bool] = None,
|
|
1194
|
-
max_failed_indexes: Optional[int] = None,
|
|
1195
|
-
parallelism: Optional[int] = None,
|
|
1184
|
+
active_deadline_seconds: Optional[builtins.int] = None,
|
|
1185
|
+
backoff_limit: Optional[builtins.int] = None,
|
|
1186
|
+
backoff_limit_per_index: Optional[builtins.int] = None,
|
|
1187
|
+
completion_mode: Optional[builtins.str] = None,
|
|
1188
|
+
completions: Optional[builtins.int] = None,
|
|
1189
|
+
managed_by: Optional[builtins.str] = None,
|
|
1190
|
+
manual_selector: Optional[builtins.bool] = None,
|
|
1191
|
+
max_failed_indexes: Optional[builtins.int] = None,
|
|
1192
|
+
parallelism: Optional[builtins.int] = None,
|
|
1196
1193
|
pod_failure_policy: Optional['outputs.PodFailurePolicyPatch'] = None,
|
|
1197
|
-
pod_replacement_policy: Optional[str] = None,
|
|
1194
|
+
pod_replacement_policy: Optional[builtins.str] = None,
|
|
1198
1195
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1199
1196
|
success_policy: Optional['outputs.SuccessPolicyPatch'] = None,
|
|
1200
|
-
suspend: Optional[bool] = None,
|
|
1197
|
+
suspend: Optional[builtins.bool] = None,
|
|
1201
1198
|
template: Optional['_core.v1.outputs.PodTemplateSpecPatch'] = None,
|
|
1202
|
-
ttl_seconds_after_finished: Optional[int] = None):
|
|
1199
|
+
ttl_seconds_after_finished: Optional[builtins.int] = None):
|
|
1203
1200
|
"""
|
|
1204
1201
|
JobSpec describes how the job execution will look like.
|
|
1205
|
-
:param 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.
|
|
1206
|
-
:param int backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1207
|
-
:param 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.
|
|
1208
|
-
:param str completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1202
|
+
:param 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.
|
|
1203
|
+
:param builtins.int backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1204
|
+
:param 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.
|
|
1205
|
+
:param builtins.str completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1209
1206
|
|
|
1210
1207
|
`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.
|
|
1211
1208
|
|
|
1212
1209
|
`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)`.
|
|
1213
1210
|
|
|
1214
1211
|
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.
|
|
1215
|
-
:param int completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1216
|
-
:param str managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
1212
|
+
:param 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/
|
|
1213
|
+
:param 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.
|
|
1217
1214
|
|
|
1218
1215
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
1219
|
-
:param bool manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
|
|
1220
|
-
:param int max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5.
|
|
1221
|
-
:param int parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1216
|
+
:param 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
|
|
1217
|
+
:param 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.
|
|
1218
|
+
:param 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/
|
|
1222
1219
|
:param 'PodFailurePolicyPatchArgs' pod_failure_policy: Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
|
|
1223
|
-
:param str pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1220
|
+
:param builtins.str pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1224
1221
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
1225
1222
|
- Failed means to wait until a previously created Pod is fully terminated (has phase
|
|
1226
1223
|
Failed or Succeeded) before creating a replacement Pod.
|
|
@@ -1228,11 +1225,9 @@ class JobSpecPatch(dict):
|
|
|
1228
1225
|
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.
|
|
1229
1226
|
:param '_meta.v1.LabelSelectorPatchArgs' selector: A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
1230
1227
|
:param 'SuccessPolicyPatchArgs' success_policy: successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
|
|
1231
|
-
|
|
1232
|
-
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
1233
|
-
:param bool suspend: suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
|
|
1228
|
+
:param 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.
|
|
1234
1229
|
:param '_core.v1.PodTemplateSpecPatchArgs' template: Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1235
|
-
:param int ttl_seconds_after_finished: ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
|
|
1230
|
+
:param 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.
|
|
1236
1231
|
"""
|
|
1237
1232
|
if active_deadline_seconds is not None:
|
|
1238
1233
|
pulumi.set(__self__, "active_deadline_seconds", active_deadline_seconds)
|
|
@@ -1269,7 +1264,7 @@ class JobSpecPatch(dict):
|
|
|
1269
1264
|
|
|
1270
1265
|
@property
|
|
1271
1266
|
@pulumi.getter(name="activeDeadlineSeconds")
|
|
1272
|
-
def active_deadline_seconds(self) -> Optional[int]:
|
|
1267
|
+
def active_deadline_seconds(self) -> Optional[builtins.int]:
|
|
1273
1268
|
"""
|
|
1274
1269
|
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.
|
|
1275
1270
|
"""
|
|
@@ -1277,7 +1272,7 @@ class JobSpecPatch(dict):
|
|
|
1277
1272
|
|
|
1278
1273
|
@property
|
|
1279
1274
|
@pulumi.getter(name="backoffLimit")
|
|
1280
|
-
def backoff_limit(self) -> Optional[int]:
|
|
1275
|
+
def backoff_limit(self) -> Optional[builtins.int]:
|
|
1281
1276
|
"""
|
|
1282
1277
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1283
1278
|
"""
|
|
@@ -1285,15 +1280,15 @@ class JobSpecPatch(dict):
|
|
|
1285
1280
|
|
|
1286
1281
|
@property
|
|
1287
1282
|
@pulumi.getter(name="backoffLimitPerIndex")
|
|
1288
|
-
def backoff_limit_per_index(self) -> Optional[int]:
|
|
1283
|
+
def backoff_limit_per_index(self) -> Optional[builtins.int]:
|
|
1289
1284
|
"""
|
|
1290
|
-
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.
|
|
1285
|
+
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.
|
|
1291
1286
|
"""
|
|
1292
1287
|
return pulumi.get(self, "backoff_limit_per_index")
|
|
1293
1288
|
|
|
1294
1289
|
@property
|
|
1295
1290
|
@pulumi.getter(name="completionMode")
|
|
1296
|
-
def completion_mode(self) -> Optional[str]:
|
|
1291
|
+
def completion_mode(self) -> Optional[builtins.str]:
|
|
1297
1292
|
"""
|
|
1298
1293
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1299
1294
|
|
|
@@ -1307,7 +1302,7 @@ class JobSpecPatch(dict):
|
|
|
1307
1302
|
|
|
1308
1303
|
@property
|
|
1309
1304
|
@pulumi.getter
|
|
1310
|
-
def completions(self) -> Optional[int]:
|
|
1305
|
+
def completions(self) -> Optional[builtins.int]:
|
|
1311
1306
|
"""
|
|
1312
1307
|
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/
|
|
1313
1308
|
"""
|
|
@@ -1315,7 +1310,7 @@ class JobSpecPatch(dict):
|
|
|
1315
1310
|
|
|
1316
1311
|
@property
|
|
1317
1312
|
@pulumi.getter(name="managedBy")
|
|
1318
|
-
def managed_by(self) -> Optional[str]:
|
|
1313
|
+
def managed_by(self) -> Optional[builtins.str]:
|
|
1319
1314
|
"""
|
|
1320
1315
|
ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
1321
1316
|
|
|
@@ -1325,7 +1320,7 @@ class JobSpecPatch(dict):
|
|
|
1325
1320
|
|
|
1326
1321
|
@property
|
|
1327
1322
|
@pulumi.getter(name="manualSelector")
|
|
1328
|
-
def manual_selector(self) -> Optional[bool]:
|
|
1323
|
+
def manual_selector(self) -> Optional[builtins.bool]:
|
|
1329
1324
|
"""
|
|
1330
1325
|
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
|
|
1331
1326
|
"""
|
|
@@ -1333,15 +1328,15 @@ class JobSpecPatch(dict):
|
|
|
1333
1328
|
|
|
1334
1329
|
@property
|
|
1335
1330
|
@pulumi.getter(name="maxFailedIndexes")
|
|
1336
|
-
def max_failed_indexes(self) -> Optional[int]:
|
|
1331
|
+
def max_failed_indexes(self) -> Optional[builtins.int]:
|
|
1337
1332
|
"""
|
|
1338
|
-
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.
|
|
1333
|
+
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.
|
|
1339
1334
|
"""
|
|
1340
1335
|
return pulumi.get(self, "max_failed_indexes")
|
|
1341
1336
|
|
|
1342
1337
|
@property
|
|
1343
1338
|
@pulumi.getter
|
|
1344
|
-
def parallelism(self) -> Optional[int]:
|
|
1339
|
+
def parallelism(self) -> Optional[builtins.int]:
|
|
1345
1340
|
"""
|
|
1346
1341
|
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/
|
|
1347
1342
|
"""
|
|
@@ -1357,7 +1352,7 @@ class JobSpecPatch(dict):
|
|
|
1357
1352
|
|
|
1358
1353
|
@property
|
|
1359
1354
|
@pulumi.getter(name="podReplacementPolicy")
|
|
1360
|
-
def pod_replacement_policy(self) -> Optional[str]:
|
|
1355
|
+
def pod_replacement_policy(self) -> Optional[builtins.str]:
|
|
1361
1356
|
"""
|
|
1362
1357
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1363
1358
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -1381,14 +1376,12 @@ class JobSpecPatch(dict):
|
|
|
1381
1376
|
def success_policy(self) -> Optional['outputs.SuccessPolicyPatch']:
|
|
1382
1377
|
"""
|
|
1383
1378
|
successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
|
|
1384
|
-
|
|
1385
|
-
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
1386
1379
|
"""
|
|
1387
1380
|
return pulumi.get(self, "success_policy")
|
|
1388
1381
|
|
|
1389
1382
|
@property
|
|
1390
1383
|
@pulumi.getter
|
|
1391
|
-
def suspend(self) -> Optional[bool]:
|
|
1384
|
+
def suspend(self) -> Optional[builtins.bool]:
|
|
1392
1385
|
"""
|
|
1393
1386
|
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.
|
|
1394
1387
|
"""
|
|
@@ -1404,7 +1397,7 @@ class JobSpecPatch(dict):
|
|
|
1404
1397
|
|
|
1405
1398
|
@property
|
|
1406
1399
|
@pulumi.getter(name="ttlSecondsAfterFinished")
|
|
1407
|
-
def ttl_seconds_after_finished(self) -> Optional[int]:
|
|
1400
|
+
def ttl_seconds_after_finished(self) -> Optional[builtins.int]:
|
|
1408
1401
|
"""
|
|
1409
1402
|
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.
|
|
1410
1403
|
"""
|
|
@@ -1442,37 +1435,35 @@ class JobStatus(dict):
|
|
|
1442
1435
|
return super().get(key, default)
|
|
1443
1436
|
|
|
1444
1437
|
def __init__(__self__, *,
|
|
1445
|
-
active: Optional[int] = None,
|
|
1446
|
-
completed_indexes: Optional[str] = None,
|
|
1447
|
-
completion_time: Optional[str] = None,
|
|
1438
|
+
active: Optional[builtins.int] = None,
|
|
1439
|
+
completed_indexes: Optional[builtins.str] = None,
|
|
1440
|
+
completion_time: Optional[builtins.str] = None,
|
|
1448
1441
|
conditions: Optional[Sequence['outputs.JobCondition']] = None,
|
|
1449
|
-
failed: Optional[int] = None,
|
|
1450
|
-
failed_indexes: Optional[str] = None,
|
|
1451
|
-
ready: Optional[int] = None,
|
|
1452
|
-
start_time: Optional[str] = None,
|
|
1453
|
-
succeeded: Optional[int] = None,
|
|
1454
|
-
terminating: Optional[int] = None,
|
|
1442
|
+
failed: Optional[builtins.int] = None,
|
|
1443
|
+
failed_indexes: Optional[builtins.str] = None,
|
|
1444
|
+
ready: Optional[builtins.int] = None,
|
|
1445
|
+
start_time: Optional[builtins.str] = None,
|
|
1446
|
+
succeeded: Optional[builtins.int] = None,
|
|
1447
|
+
terminating: Optional[builtins.int] = None,
|
|
1455
1448
|
uncounted_terminated_pods: Optional['outputs.UncountedTerminatedPods'] = None):
|
|
1456
1449
|
"""
|
|
1457
1450
|
JobStatus represents the current state of a Job.
|
|
1458
|
-
:param int active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1459
|
-
:param str completed_indexes: completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
|
|
1460
|
-
:param str completion_time: Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
|
|
1451
|
+
:param builtins.int active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1452
|
+
:param 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".
|
|
1453
|
+
:param 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.
|
|
1461
1454
|
:param Sequence['JobConditionArgs'] conditions: The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
|
|
1462
1455
|
|
|
1463
1456
|
A job is considered finished when it is in a terminal condition, either "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions. Additionally, it cannot be in the "Complete" and "FailureTarget" conditions. The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled.
|
|
1464
1457
|
|
|
1465
1458
|
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1466
|
-
:param int failed: The number of pods which reached phase Failed. The value increases monotonically.
|
|
1467
|
-
:param str failed_indexes: FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
:param int ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1471
|
-
:param str start_time: Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
|
|
1459
|
+
:param builtins.int failed: The number of pods which reached phase Failed. The value increases monotonically.
|
|
1460
|
+
:param 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.
|
|
1461
|
+
:param builtins.int ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1462
|
+
:param 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.
|
|
1472
1463
|
|
|
1473
1464
|
Once set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.
|
|
1474
|
-
:param int succeeded: The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
|
|
1475
|
-
:param int terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1465
|
+
:param 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.
|
|
1466
|
+
:param builtins.int terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1476
1467
|
|
|
1477
1468
|
This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).
|
|
1478
1469
|
:param '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.
|
|
@@ -1509,7 +1500,7 @@ class JobStatus(dict):
|
|
|
1509
1500
|
|
|
1510
1501
|
@property
|
|
1511
1502
|
@pulumi.getter
|
|
1512
|
-
def active(self) -> Optional[int]:
|
|
1503
|
+
def active(self) -> Optional[builtins.int]:
|
|
1513
1504
|
"""
|
|
1514
1505
|
The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1515
1506
|
"""
|
|
@@ -1517,7 +1508,7 @@ class JobStatus(dict):
|
|
|
1517
1508
|
|
|
1518
1509
|
@property
|
|
1519
1510
|
@pulumi.getter(name="completedIndexes")
|
|
1520
|
-
def completed_indexes(self) -> Optional[str]:
|
|
1511
|
+
def completed_indexes(self) -> Optional[builtins.str]:
|
|
1521
1512
|
"""
|
|
1522
1513
|
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".
|
|
1523
1514
|
"""
|
|
@@ -1525,7 +1516,7 @@ class JobStatus(dict):
|
|
|
1525
1516
|
|
|
1526
1517
|
@property
|
|
1527
1518
|
@pulumi.getter(name="completionTime")
|
|
1528
|
-
def completion_time(self) -> Optional[str]:
|
|
1519
|
+
def completion_time(self) -> Optional[builtins.str]:
|
|
1529
1520
|
"""
|
|
1530
1521
|
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.
|
|
1531
1522
|
"""
|
|
@@ -1545,7 +1536,7 @@ class JobStatus(dict):
|
|
|
1545
1536
|
|
|
1546
1537
|
@property
|
|
1547
1538
|
@pulumi.getter
|
|
1548
|
-
def failed(self) -> Optional[int]:
|
|
1539
|
+
def failed(self) -> Optional[builtins.int]:
|
|
1549
1540
|
"""
|
|
1550
1541
|
The number of pods which reached phase Failed. The value increases monotonically.
|
|
1551
1542
|
"""
|
|
@@ -1553,17 +1544,15 @@ class JobStatus(dict):
|
|
|
1553
1544
|
|
|
1554
1545
|
@property
|
|
1555
1546
|
@pulumi.getter(name="failedIndexes")
|
|
1556
|
-
def failed_indexes(self) -> Optional[str]:
|
|
1547
|
+
def failed_indexes(self) -> Optional[builtins.str]:
|
|
1557
1548
|
"""
|
|
1558
1549
|
FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
|
|
1559
|
-
|
|
1560
|
-
This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1561
1550
|
"""
|
|
1562
1551
|
return pulumi.get(self, "failed_indexes")
|
|
1563
1552
|
|
|
1564
1553
|
@property
|
|
1565
1554
|
@pulumi.getter
|
|
1566
|
-
def ready(self) -> Optional[int]:
|
|
1555
|
+
def ready(self) -> Optional[builtins.int]:
|
|
1567
1556
|
"""
|
|
1568
1557
|
The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1569
1558
|
"""
|
|
@@ -1571,7 +1560,7 @@ class JobStatus(dict):
|
|
|
1571
1560
|
|
|
1572
1561
|
@property
|
|
1573
1562
|
@pulumi.getter(name="startTime")
|
|
1574
|
-
def start_time(self) -> Optional[str]:
|
|
1563
|
+
def start_time(self) -> Optional[builtins.str]:
|
|
1575
1564
|
"""
|
|
1576
1565
|
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
|
|
1577
1566
|
|
|
@@ -1581,7 +1570,7 @@ class JobStatus(dict):
|
|
|
1581
1570
|
|
|
1582
1571
|
@property
|
|
1583
1572
|
@pulumi.getter
|
|
1584
|
-
def succeeded(self) -> Optional[int]:
|
|
1573
|
+
def succeeded(self) -> Optional[builtins.int]:
|
|
1585
1574
|
"""
|
|
1586
1575
|
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.
|
|
1587
1576
|
"""
|
|
@@ -1589,7 +1578,7 @@ class JobStatus(dict):
|
|
|
1589
1578
|
|
|
1590
1579
|
@property
|
|
1591
1580
|
@pulumi.getter
|
|
1592
|
-
def terminating(self) -> Optional[int]:
|
|
1581
|
+
def terminating(self) -> Optional[builtins.int]:
|
|
1593
1582
|
"""
|
|
1594
1583
|
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1595
1584
|
|
|
@@ -1644,37 +1633,35 @@ class JobStatusPatch(dict):
|
|
|
1644
1633
|
return super().get(key, default)
|
|
1645
1634
|
|
|
1646
1635
|
def __init__(__self__, *,
|
|
1647
|
-
active: Optional[int] = None,
|
|
1648
|
-
completed_indexes: Optional[str] = None,
|
|
1649
|
-
completion_time: Optional[str] = None,
|
|
1636
|
+
active: Optional[builtins.int] = None,
|
|
1637
|
+
completed_indexes: Optional[builtins.str] = None,
|
|
1638
|
+
completion_time: Optional[builtins.str] = None,
|
|
1650
1639
|
conditions: Optional[Sequence['outputs.JobConditionPatch']] = None,
|
|
1651
|
-
failed: Optional[int] = None,
|
|
1652
|
-
failed_indexes: Optional[str] = None,
|
|
1653
|
-
ready: Optional[int] = None,
|
|
1654
|
-
start_time: Optional[str] = None,
|
|
1655
|
-
succeeded: Optional[int] = None,
|
|
1656
|
-
terminating: Optional[int] = None,
|
|
1640
|
+
failed: Optional[builtins.int] = None,
|
|
1641
|
+
failed_indexes: Optional[builtins.str] = None,
|
|
1642
|
+
ready: Optional[builtins.int] = None,
|
|
1643
|
+
start_time: Optional[builtins.str] = None,
|
|
1644
|
+
succeeded: Optional[builtins.int] = None,
|
|
1645
|
+
terminating: Optional[builtins.int] = None,
|
|
1657
1646
|
uncounted_terminated_pods: Optional['outputs.UncountedTerminatedPodsPatch'] = None):
|
|
1658
1647
|
"""
|
|
1659
1648
|
JobStatus represents the current state of a Job.
|
|
1660
|
-
:param int active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1661
|
-
:param str completed_indexes: completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
|
|
1662
|
-
:param str completion_time: Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
|
|
1649
|
+
:param builtins.int active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1650
|
+
:param 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".
|
|
1651
|
+
:param 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.
|
|
1663
1652
|
:param Sequence['JobConditionPatchArgs'] conditions: The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
|
|
1664
1653
|
|
|
1665
1654
|
A job is considered finished when it is in a terminal condition, either "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions. Additionally, it cannot be in the "Complete" and "FailureTarget" conditions. The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled.
|
|
1666
1655
|
|
|
1667
1656
|
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1668
|
-
:param int failed: The number of pods which reached phase Failed. The value increases monotonically.
|
|
1669
|
-
:param str failed_indexes: FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
:param int ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1673
|
-
:param str start_time: Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
|
|
1657
|
+
:param builtins.int failed: The number of pods which reached phase Failed. The value increases monotonically.
|
|
1658
|
+
:param 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.
|
|
1659
|
+
:param builtins.int ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1660
|
+
:param 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.
|
|
1674
1661
|
|
|
1675
1662
|
Once set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.
|
|
1676
|
-
:param int succeeded: The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
|
|
1677
|
-
:param int terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1663
|
+
:param 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.
|
|
1664
|
+
:param builtins.int terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1678
1665
|
|
|
1679
1666
|
This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).
|
|
1680
1667
|
:param 'UncountedTerminatedPodsPatchArgs' 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.
|
|
@@ -1711,7 +1698,7 @@ class JobStatusPatch(dict):
|
|
|
1711
1698
|
|
|
1712
1699
|
@property
|
|
1713
1700
|
@pulumi.getter
|
|
1714
|
-
def active(self) -> Optional[int]:
|
|
1701
|
+
def active(self) -> Optional[builtins.int]:
|
|
1715
1702
|
"""
|
|
1716
1703
|
The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1717
1704
|
"""
|
|
@@ -1719,7 +1706,7 @@ class JobStatusPatch(dict):
|
|
|
1719
1706
|
|
|
1720
1707
|
@property
|
|
1721
1708
|
@pulumi.getter(name="completedIndexes")
|
|
1722
|
-
def completed_indexes(self) -> Optional[str]:
|
|
1709
|
+
def completed_indexes(self) -> Optional[builtins.str]:
|
|
1723
1710
|
"""
|
|
1724
1711
|
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".
|
|
1725
1712
|
"""
|
|
@@ -1727,7 +1714,7 @@ class JobStatusPatch(dict):
|
|
|
1727
1714
|
|
|
1728
1715
|
@property
|
|
1729
1716
|
@pulumi.getter(name="completionTime")
|
|
1730
|
-
def completion_time(self) -> Optional[str]:
|
|
1717
|
+
def completion_time(self) -> Optional[builtins.str]:
|
|
1731
1718
|
"""
|
|
1732
1719
|
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.
|
|
1733
1720
|
"""
|
|
@@ -1747,7 +1734,7 @@ class JobStatusPatch(dict):
|
|
|
1747
1734
|
|
|
1748
1735
|
@property
|
|
1749
1736
|
@pulumi.getter
|
|
1750
|
-
def failed(self) -> Optional[int]:
|
|
1737
|
+
def failed(self) -> Optional[builtins.int]:
|
|
1751
1738
|
"""
|
|
1752
1739
|
The number of pods which reached phase Failed. The value increases monotonically.
|
|
1753
1740
|
"""
|
|
@@ -1755,17 +1742,15 @@ class JobStatusPatch(dict):
|
|
|
1755
1742
|
|
|
1756
1743
|
@property
|
|
1757
1744
|
@pulumi.getter(name="failedIndexes")
|
|
1758
|
-
def failed_indexes(self) -> Optional[str]:
|
|
1745
|
+
def failed_indexes(self) -> Optional[builtins.str]:
|
|
1759
1746
|
"""
|
|
1760
1747
|
FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
|
|
1761
|
-
|
|
1762
|
-
This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1763
1748
|
"""
|
|
1764
1749
|
return pulumi.get(self, "failed_indexes")
|
|
1765
1750
|
|
|
1766
1751
|
@property
|
|
1767
1752
|
@pulumi.getter
|
|
1768
|
-
def ready(self) -> Optional[int]:
|
|
1753
|
+
def ready(self) -> Optional[builtins.int]:
|
|
1769
1754
|
"""
|
|
1770
1755
|
The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1771
1756
|
"""
|
|
@@ -1773,7 +1758,7 @@ class JobStatusPatch(dict):
|
|
|
1773
1758
|
|
|
1774
1759
|
@property
|
|
1775
1760
|
@pulumi.getter(name="startTime")
|
|
1776
|
-
def start_time(self) -> Optional[str]:
|
|
1761
|
+
def start_time(self) -> Optional[builtins.str]:
|
|
1777
1762
|
"""
|
|
1778
1763
|
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
|
|
1779
1764
|
|
|
@@ -1783,7 +1768,7 @@ class JobStatusPatch(dict):
|
|
|
1783
1768
|
|
|
1784
1769
|
@property
|
|
1785
1770
|
@pulumi.getter
|
|
1786
|
-
def succeeded(self) -> Optional[int]:
|
|
1771
|
+
def succeeded(self) -> Optional[builtins.int]:
|
|
1787
1772
|
"""
|
|
1788
1773
|
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.
|
|
1789
1774
|
"""
|
|
@@ -1791,7 +1776,7 @@ class JobStatusPatch(dict):
|
|
|
1791
1776
|
|
|
1792
1777
|
@property
|
|
1793
1778
|
@pulumi.getter
|
|
1794
|
-
def terminating(self) -> Optional[int]:
|
|
1779
|
+
def terminating(self) -> Optional[builtins.int]:
|
|
1795
1780
|
"""
|
|
1796
1781
|
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1797
1782
|
|
|
@@ -1930,12 +1915,12 @@ class PodFailurePolicyOnExitCodesRequirement(dict):
|
|
|
1930
1915
|
return super().get(key, default)
|
|
1931
1916
|
|
|
1932
1917
|
def __init__(__self__, *,
|
|
1933
|
-
operator: str,
|
|
1934
|
-
values: Sequence[int],
|
|
1935
|
-
container_name: Optional[str] = None):
|
|
1918
|
+
operator: builtins.str,
|
|
1919
|
+
values: Sequence[builtins.int],
|
|
1920
|
+
container_name: Optional[builtins.str] = None):
|
|
1936
1921
|
"""
|
|
1937
1922
|
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.
|
|
1938
|
-
:param 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:
|
|
1923
|
+
:param 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:
|
|
1939
1924
|
|
|
1940
1925
|
- In: the requirement is satisfied if at least one container exit code
|
|
1941
1926
|
(might be multiple if there are multiple containers not restricted
|
|
@@ -1944,8 +1929,8 @@ class PodFailurePolicyOnExitCodesRequirement(dict):
|
|
|
1944
1929
|
(might be multiple if there are multiple containers not restricted
|
|
1945
1930
|
by the 'containerName' field) is not in the set of specified values.
|
|
1946
1931
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
1947
|
-
:param Sequence[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.
|
|
1948
|
-
:param 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.
|
|
1932
|
+
:param Sequence[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.
|
|
1933
|
+
:param 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.
|
|
1949
1934
|
"""
|
|
1950
1935
|
pulumi.set(__self__, "operator", operator)
|
|
1951
1936
|
pulumi.set(__self__, "values", values)
|
|
@@ -1954,7 +1939,7 @@ class PodFailurePolicyOnExitCodesRequirement(dict):
|
|
|
1954
1939
|
|
|
1955
1940
|
@property
|
|
1956
1941
|
@pulumi.getter
|
|
1957
|
-
def operator(self) -> str:
|
|
1942
|
+
def operator(self) -> builtins.str:
|
|
1958
1943
|
"""
|
|
1959
1944
|
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:
|
|
1960
1945
|
|
|
@@ -1970,7 +1955,7 @@ class PodFailurePolicyOnExitCodesRequirement(dict):
|
|
|
1970
1955
|
|
|
1971
1956
|
@property
|
|
1972
1957
|
@pulumi.getter
|
|
1973
|
-
def values(self) -> Sequence[int]:
|
|
1958
|
+
def values(self) -> Sequence[builtins.int]:
|
|
1974
1959
|
"""
|
|
1975
1960
|
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.
|
|
1976
1961
|
"""
|
|
@@ -1978,7 +1963,7 @@ class PodFailurePolicyOnExitCodesRequirement(dict):
|
|
|
1978
1963
|
|
|
1979
1964
|
@property
|
|
1980
1965
|
@pulumi.getter(name="containerName")
|
|
1981
|
-
def container_name(self) -> Optional[str]:
|
|
1966
|
+
def container_name(self) -> Optional[builtins.str]:
|
|
1982
1967
|
"""
|
|
1983
1968
|
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.
|
|
1984
1969
|
"""
|
|
@@ -2008,13 +1993,13 @@ class PodFailurePolicyOnExitCodesRequirementPatch(dict):
|
|
|
2008
1993
|
return super().get(key, default)
|
|
2009
1994
|
|
|
2010
1995
|
def __init__(__self__, *,
|
|
2011
|
-
container_name: Optional[str] = None,
|
|
2012
|
-
operator: Optional[str] = None,
|
|
2013
|
-
values: Optional[Sequence[int]] = None):
|
|
1996
|
+
container_name: Optional[builtins.str] = None,
|
|
1997
|
+
operator: Optional[builtins.str] = None,
|
|
1998
|
+
values: Optional[Sequence[builtins.int]] = None):
|
|
2014
1999
|
"""
|
|
2015
2000
|
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.
|
|
2016
|
-
:param 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.
|
|
2017
|
-
:param 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:
|
|
2001
|
+
:param 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.
|
|
2002
|
+
:param 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:
|
|
2018
2003
|
|
|
2019
2004
|
- In: the requirement is satisfied if at least one container exit code
|
|
2020
2005
|
(might be multiple if there are multiple containers not restricted
|
|
@@ -2023,7 +2008,7 @@ class PodFailurePolicyOnExitCodesRequirementPatch(dict):
|
|
|
2023
2008
|
(might be multiple if there are multiple containers not restricted
|
|
2024
2009
|
by the 'containerName' field) is not in the set of specified values.
|
|
2025
2010
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2026
|
-
:param Sequence[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.
|
|
2011
|
+
:param Sequence[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.
|
|
2027
2012
|
"""
|
|
2028
2013
|
if container_name is not None:
|
|
2029
2014
|
pulumi.set(__self__, "container_name", container_name)
|
|
@@ -2034,7 +2019,7 @@ class PodFailurePolicyOnExitCodesRequirementPatch(dict):
|
|
|
2034
2019
|
|
|
2035
2020
|
@property
|
|
2036
2021
|
@pulumi.getter(name="containerName")
|
|
2037
|
-
def container_name(self) -> Optional[str]:
|
|
2022
|
+
def container_name(self) -> Optional[builtins.str]:
|
|
2038
2023
|
"""
|
|
2039
2024
|
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.
|
|
2040
2025
|
"""
|
|
@@ -2042,7 +2027,7 @@ class PodFailurePolicyOnExitCodesRequirementPatch(dict):
|
|
|
2042
2027
|
|
|
2043
2028
|
@property
|
|
2044
2029
|
@pulumi.getter
|
|
2045
|
-
def operator(self) -> Optional[str]:
|
|
2030
|
+
def operator(self) -> Optional[builtins.str]:
|
|
2046
2031
|
"""
|
|
2047
2032
|
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:
|
|
2048
2033
|
|
|
@@ -2058,7 +2043,7 @@ class PodFailurePolicyOnExitCodesRequirementPatch(dict):
|
|
|
2058
2043
|
|
|
2059
2044
|
@property
|
|
2060
2045
|
@pulumi.getter
|
|
2061
|
-
def values(self) -> Optional[Sequence[int]]:
|
|
2046
|
+
def values(self) -> Optional[Sequence[builtins.int]]:
|
|
2062
2047
|
"""
|
|
2063
2048
|
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.
|
|
2064
2049
|
"""
|
|
@@ -2071,19 +2056,19 @@ class PodFailurePolicyOnPodConditionsPattern(dict):
|
|
|
2071
2056
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2072
2057
|
"""
|
|
2073
2058
|
def __init__(__self__, *,
|
|
2074
|
-
status: str,
|
|
2075
|
-
type: str):
|
|
2059
|
+
status: builtins.str,
|
|
2060
|
+
type: builtins.str):
|
|
2076
2061
|
"""
|
|
2077
2062
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2078
|
-
:param 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.
|
|
2079
|
-
:param str type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2063
|
+
:param 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.
|
|
2064
|
+
:param 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.
|
|
2080
2065
|
"""
|
|
2081
2066
|
pulumi.set(__self__, "status", status)
|
|
2082
2067
|
pulumi.set(__self__, "type", type)
|
|
2083
2068
|
|
|
2084
2069
|
@property
|
|
2085
2070
|
@pulumi.getter
|
|
2086
|
-
def status(self) -> str:
|
|
2071
|
+
def status(self) -> builtins.str:
|
|
2087
2072
|
"""
|
|
2088
2073
|
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.
|
|
2089
2074
|
"""
|
|
@@ -2091,7 +2076,7 @@ class PodFailurePolicyOnPodConditionsPattern(dict):
|
|
|
2091
2076
|
|
|
2092
2077
|
@property
|
|
2093
2078
|
@pulumi.getter
|
|
2094
|
-
def type(self) -> str:
|
|
2079
|
+
def type(self) -> builtins.str:
|
|
2095
2080
|
"""
|
|
2096
2081
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2097
2082
|
"""
|
|
@@ -2104,12 +2089,12 @@ class PodFailurePolicyOnPodConditionsPatternPatch(dict):
|
|
|
2104
2089
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2105
2090
|
"""
|
|
2106
2091
|
def __init__(__self__, *,
|
|
2107
|
-
status: Optional[str] = None,
|
|
2108
|
-
type: Optional[str] = None):
|
|
2092
|
+
status: Optional[builtins.str] = None,
|
|
2093
|
+
type: Optional[builtins.str] = None):
|
|
2109
2094
|
"""
|
|
2110
2095
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2111
|
-
:param 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.
|
|
2112
|
-
:param str type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2096
|
+
:param 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.
|
|
2097
|
+
:param 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.
|
|
2113
2098
|
"""
|
|
2114
2099
|
if status is not None:
|
|
2115
2100
|
pulumi.set(__self__, "status", status)
|
|
@@ -2118,7 +2103,7 @@ class PodFailurePolicyOnPodConditionsPatternPatch(dict):
|
|
|
2118
2103
|
|
|
2119
2104
|
@property
|
|
2120
2105
|
@pulumi.getter
|
|
2121
|
-
def status(self) -> Optional[str]:
|
|
2106
|
+
def status(self) -> Optional[builtins.str]:
|
|
2122
2107
|
"""
|
|
2123
2108
|
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.
|
|
2124
2109
|
"""
|
|
@@ -2126,7 +2111,7 @@ class PodFailurePolicyOnPodConditionsPatternPatch(dict):
|
|
|
2126
2111
|
|
|
2127
2112
|
@property
|
|
2128
2113
|
@pulumi.getter
|
|
2129
|
-
def type(self) -> Optional[str]:
|
|
2114
|
+
def type(self) -> Optional[builtins.str]:
|
|
2130
2115
|
"""
|
|
2131
2116
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2132
2117
|
"""
|
|
@@ -2181,19 +2166,17 @@ class PodFailurePolicyRule(dict):
|
|
|
2181
2166
|
return super().get(key, default)
|
|
2182
2167
|
|
|
2183
2168
|
def __init__(__self__, *,
|
|
2184
|
-
action: str,
|
|
2169
|
+
action: builtins.str,
|
|
2185
2170
|
on_exit_codes: Optional['outputs.PodFailurePolicyOnExitCodesRequirement'] = None,
|
|
2186
2171
|
on_pod_conditions: Optional[Sequence['outputs.PodFailurePolicyOnPodConditionsPattern']] = None):
|
|
2187
2172
|
"""
|
|
2188
2173
|
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.
|
|
2189
|
-
:param str action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2174
|
+
:param builtins.str action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2190
2175
|
|
|
2191
2176
|
- FailJob: indicates that the pod's job is marked as Failed and all
|
|
2192
2177
|
running pods are terminated.
|
|
2193
2178
|
- FailIndex: indicates that the pod's index is marked as Failed and will
|
|
2194
2179
|
not be restarted.
|
|
2195
|
-
This value is beta-level. It can be used when the
|
|
2196
|
-
`JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
2197
2180
|
- Ignore: indicates that the counter towards the .backoffLimit is not
|
|
2198
2181
|
incremented and a replacement pod is created.
|
|
2199
2182
|
- Count: indicates that the pod is handled in the default way - the
|
|
@@ -2210,7 +2193,7 @@ class PodFailurePolicyRule(dict):
|
|
|
2210
2193
|
|
|
2211
2194
|
@property
|
|
2212
2195
|
@pulumi.getter
|
|
2213
|
-
def action(self) -> str:
|
|
2196
|
+
def action(self) -> builtins.str:
|
|
2214
2197
|
"""
|
|
2215
2198
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2216
2199
|
|
|
@@ -2218,8 +2201,6 @@ class PodFailurePolicyRule(dict):
|
|
|
2218
2201
|
running pods are terminated.
|
|
2219
2202
|
- FailIndex: indicates that the pod's index is marked as Failed and will
|
|
2220
2203
|
not be restarted.
|
|
2221
|
-
This value is beta-level. It can be used when the
|
|
2222
|
-
`JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
2223
2204
|
- Ignore: indicates that the counter towards the .backoffLimit is not
|
|
2224
2205
|
incremented and a replacement pod is created.
|
|
2225
2206
|
- Count: indicates that the pod is handled in the default way - the
|
|
@@ -2270,19 +2251,17 @@ class PodFailurePolicyRulePatch(dict):
|
|
|
2270
2251
|
return super().get(key, default)
|
|
2271
2252
|
|
|
2272
2253
|
def __init__(__self__, *,
|
|
2273
|
-
action: Optional[str] = None,
|
|
2254
|
+
action: Optional[builtins.str] = None,
|
|
2274
2255
|
on_exit_codes: Optional['outputs.PodFailurePolicyOnExitCodesRequirementPatch'] = None,
|
|
2275
2256
|
on_pod_conditions: Optional[Sequence['outputs.PodFailurePolicyOnPodConditionsPatternPatch']] = None):
|
|
2276
2257
|
"""
|
|
2277
2258
|
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.
|
|
2278
|
-
:param str action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2259
|
+
:param builtins.str action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2279
2260
|
|
|
2280
2261
|
- FailJob: indicates that the pod's job is marked as Failed and all
|
|
2281
2262
|
running pods are terminated.
|
|
2282
2263
|
- FailIndex: indicates that the pod's index is marked as Failed and will
|
|
2283
2264
|
not be restarted.
|
|
2284
|
-
This value is beta-level. It can be used when the
|
|
2285
|
-
`JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
2286
2265
|
- Ignore: indicates that the counter towards the .backoffLimit is not
|
|
2287
2266
|
incremented and a replacement pod is created.
|
|
2288
2267
|
- Count: indicates that the pod is handled in the default way - the
|
|
@@ -2300,7 +2279,7 @@ class PodFailurePolicyRulePatch(dict):
|
|
|
2300
2279
|
|
|
2301
2280
|
@property
|
|
2302
2281
|
@pulumi.getter
|
|
2303
|
-
def action(self) -> Optional[str]:
|
|
2282
|
+
def action(self) -> Optional[builtins.str]:
|
|
2304
2283
|
"""
|
|
2305
2284
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2306
2285
|
|
|
@@ -2308,8 +2287,6 @@ class PodFailurePolicyRulePatch(dict):
|
|
|
2308
2287
|
running pods are terminated.
|
|
2309
2288
|
- FailIndex: indicates that the pod's index is marked as Failed and will
|
|
2310
2289
|
not be restarted.
|
|
2311
|
-
This value is beta-level. It can be used when the
|
|
2312
|
-
`JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
2313
2290
|
- Ignore: indicates that the counter towards the .backoffLimit is not
|
|
2314
2291
|
incremented and a replacement pod is created.
|
|
2315
2292
|
- Count: indicates that the pod is handled in the default way - the
|
|
@@ -2405,12 +2382,12 @@ class SuccessPolicyRule(dict):
|
|
|
2405
2382
|
return super().get(key, default)
|
|
2406
2383
|
|
|
2407
2384
|
def __init__(__self__, *,
|
|
2408
|
-
succeeded_count: Optional[int] = None,
|
|
2409
|
-
succeeded_indexes: Optional[str] = None):
|
|
2385
|
+
succeeded_count: Optional[builtins.int] = None,
|
|
2386
|
+
succeeded_indexes: Optional[builtins.str] = None):
|
|
2410
2387
|
"""
|
|
2411
2388
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2412
|
-
:param int succeeded_count: succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2413
|
-
:param str succeeded_indexes: succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2389
|
+
:param 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.
|
|
2390
|
+
:param 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.
|
|
2414
2391
|
"""
|
|
2415
2392
|
if succeeded_count is not None:
|
|
2416
2393
|
pulumi.set(__self__, "succeeded_count", succeeded_count)
|
|
@@ -2419,7 +2396,7 @@ class SuccessPolicyRule(dict):
|
|
|
2419
2396
|
|
|
2420
2397
|
@property
|
|
2421
2398
|
@pulumi.getter(name="succeededCount")
|
|
2422
|
-
def succeeded_count(self) -> Optional[int]:
|
|
2399
|
+
def succeeded_count(self) -> Optional[builtins.int]:
|
|
2423
2400
|
"""
|
|
2424
2401
|
succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2425
2402
|
"""
|
|
@@ -2427,7 +2404,7 @@ class SuccessPolicyRule(dict):
|
|
|
2427
2404
|
|
|
2428
2405
|
@property
|
|
2429
2406
|
@pulumi.getter(name="succeededIndexes")
|
|
2430
|
-
def succeeded_indexes(self) -> Optional[str]:
|
|
2407
|
+
def succeeded_indexes(self) -> Optional[builtins.str]:
|
|
2431
2408
|
"""
|
|
2432
2409
|
succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2433
2410
|
"""
|
|
@@ -2459,12 +2436,12 @@ class SuccessPolicyRulePatch(dict):
|
|
|
2459
2436
|
return super().get(key, default)
|
|
2460
2437
|
|
|
2461
2438
|
def __init__(__self__, *,
|
|
2462
|
-
succeeded_count: Optional[int] = None,
|
|
2463
|
-
succeeded_indexes: Optional[str] = None):
|
|
2439
|
+
succeeded_count: Optional[builtins.int] = None,
|
|
2440
|
+
succeeded_indexes: Optional[builtins.str] = None):
|
|
2464
2441
|
"""
|
|
2465
2442
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2466
|
-
:param int succeeded_count: succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2467
|
-
:param str succeeded_indexes: succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2443
|
+
:param 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.
|
|
2444
|
+
:param 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.
|
|
2468
2445
|
"""
|
|
2469
2446
|
if succeeded_count is not None:
|
|
2470
2447
|
pulumi.set(__self__, "succeeded_count", succeeded_count)
|
|
@@ -2473,7 +2450,7 @@ class SuccessPolicyRulePatch(dict):
|
|
|
2473
2450
|
|
|
2474
2451
|
@property
|
|
2475
2452
|
@pulumi.getter(name="succeededCount")
|
|
2476
|
-
def succeeded_count(self) -> Optional[int]:
|
|
2453
|
+
def succeeded_count(self) -> Optional[builtins.int]:
|
|
2477
2454
|
"""
|
|
2478
2455
|
succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2479
2456
|
"""
|
|
@@ -2481,7 +2458,7 @@ class SuccessPolicyRulePatch(dict):
|
|
|
2481
2458
|
|
|
2482
2459
|
@property
|
|
2483
2460
|
@pulumi.getter(name="succeededIndexes")
|
|
2484
|
-
def succeeded_indexes(self) -> Optional[str]:
|
|
2461
|
+
def succeeded_indexes(self) -> Optional[builtins.str]:
|
|
2485
2462
|
"""
|
|
2486
2463
|
succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2487
2464
|
"""
|
|
@@ -2494,12 +2471,12 @@ class UncountedTerminatedPods(dict):
|
|
|
2494
2471
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2495
2472
|
"""
|
|
2496
2473
|
def __init__(__self__, *,
|
|
2497
|
-
failed: Optional[Sequence[str]] = None,
|
|
2498
|
-
succeeded: Optional[Sequence[str]] = None):
|
|
2474
|
+
failed: Optional[Sequence[builtins.str]] = None,
|
|
2475
|
+
succeeded: Optional[Sequence[builtins.str]] = None):
|
|
2499
2476
|
"""
|
|
2500
2477
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2501
|
-
:param Sequence[str] failed: failed holds UIDs of failed Pods.
|
|
2502
|
-
:param Sequence[str] succeeded: succeeded holds UIDs of succeeded Pods.
|
|
2478
|
+
:param Sequence[builtins.str] failed: failed holds UIDs of failed Pods.
|
|
2479
|
+
:param Sequence[builtins.str] succeeded: succeeded holds UIDs of succeeded Pods.
|
|
2503
2480
|
"""
|
|
2504
2481
|
if failed is not None:
|
|
2505
2482
|
pulumi.set(__self__, "failed", failed)
|
|
@@ -2508,7 +2485,7 @@ class UncountedTerminatedPods(dict):
|
|
|
2508
2485
|
|
|
2509
2486
|
@property
|
|
2510
2487
|
@pulumi.getter
|
|
2511
|
-
def failed(self) -> Optional[Sequence[str]]:
|
|
2488
|
+
def failed(self) -> Optional[Sequence[builtins.str]]:
|
|
2512
2489
|
"""
|
|
2513
2490
|
failed holds UIDs of failed Pods.
|
|
2514
2491
|
"""
|
|
@@ -2516,7 +2493,7 @@ class UncountedTerminatedPods(dict):
|
|
|
2516
2493
|
|
|
2517
2494
|
@property
|
|
2518
2495
|
@pulumi.getter
|
|
2519
|
-
def succeeded(self) -> Optional[Sequence[str]]:
|
|
2496
|
+
def succeeded(self) -> Optional[Sequence[builtins.str]]:
|
|
2520
2497
|
"""
|
|
2521
2498
|
succeeded holds UIDs of succeeded Pods.
|
|
2522
2499
|
"""
|
|
@@ -2529,12 +2506,12 @@ class UncountedTerminatedPodsPatch(dict):
|
|
|
2529
2506
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2530
2507
|
"""
|
|
2531
2508
|
def __init__(__self__, *,
|
|
2532
|
-
failed: Optional[Sequence[str]] = None,
|
|
2533
|
-
succeeded: Optional[Sequence[str]] = None):
|
|
2509
|
+
failed: Optional[Sequence[builtins.str]] = None,
|
|
2510
|
+
succeeded: Optional[Sequence[builtins.str]] = None):
|
|
2534
2511
|
"""
|
|
2535
2512
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2536
|
-
:param Sequence[str] failed: failed holds UIDs of failed Pods.
|
|
2537
|
-
:param Sequence[str] succeeded: succeeded holds UIDs of succeeded Pods.
|
|
2513
|
+
:param Sequence[builtins.str] failed: failed holds UIDs of failed Pods.
|
|
2514
|
+
:param Sequence[builtins.str] succeeded: succeeded holds UIDs of succeeded Pods.
|
|
2538
2515
|
"""
|
|
2539
2516
|
if failed is not None:
|
|
2540
2517
|
pulumi.set(__self__, "failed", failed)
|
|
@@ -2543,7 +2520,7 @@ class UncountedTerminatedPodsPatch(dict):
|
|
|
2543
2520
|
|
|
2544
2521
|
@property
|
|
2545
2522
|
@pulumi.getter
|
|
2546
|
-
def failed(self) -> Optional[Sequence[str]]:
|
|
2523
|
+
def failed(self) -> Optional[Sequence[builtins.str]]:
|
|
2547
2524
|
"""
|
|
2548
2525
|
failed holds UIDs of failed Pods.
|
|
2549
2526
|
"""
|
|
@@ -2551,7 +2528,7 @@ class UncountedTerminatedPodsPatch(dict):
|
|
|
2551
2528
|
|
|
2552
2529
|
@property
|
|
2553
2530
|
@pulumi.getter
|
|
2554
|
-
def succeeded(self) -> Optional[Sequence[str]]:
|
|
2531
|
+
def succeeded(self) -> Optional[Sequence[builtins.str]]:
|
|
2555
2532
|
"""
|
|
2556
2533
|
succeeded holds UIDs of succeeded Pods.
|
|
2557
2534
|
"""
|