pulumi-kubernetes 4.24.0a1752908431__py3-none-any.whl → 4.24.0a1753121506__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +1 -1
- pulumi_kubernetes/_inputs.py +49 -50
- pulumi_kubernetes/admissionregistration/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +715 -716
- pulumi_kubernetes/admissionregistration/v1/outputs.py +512 -513
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +495 -496
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +364 -365
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +711 -712
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +508 -509
- pulumi_kubernetes/apiextensions/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/_inputs.py +906 -907
- pulumi_kubernetes/apiextensions/v1/outputs.py +620 -621
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -835
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -573
- pulumi_kubernetes/apiregistration/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1/outputs.py +128 -129
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -129
- pulumi_kubernetes/apps/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/_inputs.py +749 -750
- pulumi_kubernetes/apps/v1/outputs.py +713 -714
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -410
- pulumi_kubernetes/apps/v1beta1/outputs.py +381 -382
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -656
- pulumi_kubernetes/apps/v1beta2/outputs.py +645 -646
- pulumi_kubernetes/auditregistration/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -146
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -102
- pulumi_kubernetes/autoscaling/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -121
- pulumi_kubernetes/autoscaling/v1/outputs.py +102 -103
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2/_inputs.py +410 -411
- pulumi_kubernetes/autoscaling/v2/outputs.py +374 -375
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -452
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -425
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -399
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -367
- pulumi_kubernetes/batch/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/Job.py +26 -27
- pulumi_kubernetes/batch/v1/JobList.py +25 -26
- pulumi_kubernetes/batch/v1/JobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/_inputs.py +494 -495
- pulumi_kubernetes/batch/v1/outputs.py +419 -420
- pulumi_kubernetes/batch/v1beta1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v1beta1/outputs.py +76 -77
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -1
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -77
- pulumi_kubernetes/certificates/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/_inputs.py +155 -156
- pulumi_kubernetes/certificates/v1/outputs.py +134 -135
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -40
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -28
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +182 -183
- pulumi_kubernetes/certificates/v1beta1/outputs.py +154 -155
- pulumi_kubernetes/coordination/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/_inputs.py +99 -100
- pulumi_kubernetes/coordination/v1/outputs.py +67 -68
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1beta1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +161 -162
- pulumi_kubernetes/coordination/v1beta1/outputs.py +109 -110
- pulumi_kubernetes/core/__init__.py +1 -1
- pulumi_kubernetes/core/v1/Binding.py +25 -26
- pulumi_kubernetes/core/v1/BindingPatch.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMap.py +53 -54
- pulumi_kubernetes/core/v1/ConfigMapList.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +53 -54
- pulumi_kubernetes/core/v1/Endpoints.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsList.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsPatch.py +25 -26
- pulumi_kubernetes/core/v1/Event.py +131 -132
- pulumi_kubernetes/core/v1/EventList.py +25 -26
- pulumi_kubernetes/core/v1/EventPatch.py +131 -132
- pulumi_kubernetes/core/v1/LimitRange.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangeList.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangePatch.py +25 -26
- pulumi_kubernetes/core/v1/Namespace.py +26 -27
- pulumi_kubernetes/core/v1/NamespaceList.py +25 -26
- pulumi_kubernetes/core/v1/NamespacePatch.py +26 -27
- pulumi_kubernetes/core/v1/Node.py +26 -27
- pulumi_kubernetes/core/v1/NodeList.py +25 -26
- pulumi_kubernetes/core/v1/NodePatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolume.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +26 -27
- pulumi_kubernetes/core/v1/Pod.py +26 -27
- pulumi_kubernetes/core/v1/PodList.py +25 -26
- pulumi_kubernetes/core/v1/PodPatch.py +26 -27
- pulumi_kubernetes/core/v1/PodTemplate.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplateList.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationController.py +26 -27
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuota.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +25 -26
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +26 -27
- pulumi_kubernetes/core/v1/Secret.py +63 -64
- pulumi_kubernetes/core/v1/SecretList.py +25 -26
- pulumi_kubernetes/core/v1/SecretPatch.py +63 -64
- pulumi_kubernetes/core/v1/Service.py +26 -27
- pulumi_kubernetes/core/v1/ServiceAccount.py +37 -38
- pulumi_kubernetes/core/v1/ServiceAccountList.py +25 -26
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +37 -38
- pulumi_kubernetes/core/v1/ServiceList.py +25 -26
- pulumi_kubernetes/core/v1/ServicePatch.py +26 -27
- pulumi_kubernetes/core/v1/__init__.py +1 -1
- pulumi_kubernetes/core/v1/_enums.py +2 -2
- pulumi_kubernetes/core/v1/_inputs.py +7133 -7134
- pulumi_kubernetes/core/v1/outputs.py +5390 -5391
- pulumi_kubernetes/discovery/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/_inputs.py +200 -201
- pulumi_kubernetes/discovery/v1/outputs.py +138 -139
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -159
- pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -109
- pulumi_kubernetes/events/__init__.py +1 -1
- pulumi_kubernetes/events/v1/Event.py +131 -132
- pulumi_kubernetes/events/v1/EventList.py +25 -26
- pulumi_kubernetes/events/v1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1/__init__.py +1 -1
- pulumi_kubernetes/events/v1/_inputs.py +102 -103
- pulumi_kubernetes/events/v1/outputs.py +70 -71
- pulumi_kubernetes/events/v1beta1/Event.py +131 -132
- pulumi_kubernetes/events/v1beta1/EventList.py +25 -26
- pulumi_kubernetes/events/v1beta1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/events/v1beta1/_inputs.py +114 -115
- pulumi_kubernetes/events/v1beta1/outputs.py +78 -79
- pulumi_kubernetes/extensions/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1098
- pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -900
- pulumi_kubernetes/flowcontrol/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +333 -334
- pulumi_kubernetes/helm/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/Release.py +316 -317
- pulumi_kubernetes/helm/v3/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/_inputs.py +37 -38
- pulumi_kubernetes/helm/v3/outputs.py +54 -55
- pulumi_kubernetes/helm/v4/Chart.py +95 -96
- pulumi_kubernetes/helm/v4/__init__.py +1 -1
- pulumi_kubernetes/helm/v4/_inputs.py +34 -35
- pulumi_kubernetes/kustomize/__init__.py +1 -1
- pulumi_kubernetes/kustomize/v2/Directory.py +35 -36
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -1
- pulumi_kubernetes/meta/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/Status.py +57 -58
- pulumi_kubernetes/meta/v1/StatusPatch.py +57 -58
- pulumi_kubernetes/meta/v1/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/_inputs.py +551 -552
- pulumi_kubernetes/meta/v1/outputs.py +395 -396
- pulumi_kubernetes/networking/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/_inputs.py +463 -464
- pulumi_kubernetes/networking/v1/outputs.py +350 -351
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -158
- pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -111
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -248
- pulumi_kubernetes/networking/v1beta1/outputs.py +173 -174
- pulumi_kubernetes/node/__init__.py +1 -1
- pulumi_kubernetes/node/v1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1/__init__.py +1 -1
- pulumi_kubernetes/node/v1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1/outputs.py +34 -35
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +25 -26
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -58
- pulumi_kubernetes/node/v1alpha1/outputs.py +41 -42
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/node/v1beta1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1beta1/outputs.py +34 -35
- pulumi_kubernetes/policy/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/_inputs.py +91 -92
- pulumi_kubernetes/policy/v1/outputs.py +80 -81
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -471
- pulumi_kubernetes/policy/v1beta1/outputs.py +342 -343
- pulumi_kubernetes/provider.py +107 -108
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -143
- pulumi_kubernetes/resource/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -269
- pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -231
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -551
- pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -450
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +27 -28
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +836 -837
- pulumi_kubernetes/resource/v1alpha3/outputs.py +685 -686
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta1/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta1/outputs.py +564 -565
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta2/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta2/outputs.py +564 -565
- pulumi_kubernetes/scheduling/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -27
- pulumi_kubernetes/settings/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -22
- pulumi_kubernetes/storage/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/_inputs.py +372 -373
- pulumi_kubernetes/storage/v1/outputs.py +278 -279
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -108
- pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -94
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -368
- pulumi_kubernetes/storage/v1beta1/outputs.py +271 -272
- pulumi_kubernetes/storagemigration/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +25 -26
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -104
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -97
- pulumi_kubernetes/yaml/__init__.py +1 -1
- pulumi_kubernetes/yaml/v2/ConfigFile.py +26 -27
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +35 -36
- pulumi_kubernetes/yaml/v2/__init__.py +1 -1
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.24.0a1753121506.dist-info/RECORD +709 -0
- pulumi_kubernetes-4.24.0a1752908431.dist-info/RECORD +0 -709
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.24.0a1752908431.dist-info → pulumi_kubernetes-4.24.0a1753121506.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -72,15 +71,15 @@ class CronJob(dict):
|
|
|
72
71
|
return super().get(key, default)
|
|
73
72
|
|
|
74
73
|
def __init__(__self__, *,
|
|
75
|
-
api_version: Optional[
|
|
76
|
-
kind: Optional[
|
|
74
|
+
api_version: Optional[_builtins.str] = None,
|
|
75
|
+
kind: Optional[_builtins.str] = None,
|
|
77
76
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
78
77
|
spec: Optional['outputs.CronJobSpec'] = None,
|
|
79
78
|
status: Optional['outputs.CronJobStatus'] = None):
|
|
80
79
|
"""
|
|
81
80
|
CronJob represents the configuration of a single cron job.
|
|
82
|
-
:param
|
|
83
|
-
:param
|
|
81
|
+
: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
|
|
82
|
+
: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
|
|
84
83
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
85
84
|
: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
|
|
86
85
|
: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
|
|
@@ -96,23 +95,23 @@ class CronJob(dict):
|
|
|
96
95
|
if status is not None:
|
|
97
96
|
pulumi.set(__self__, "status", status)
|
|
98
97
|
|
|
99
|
-
@property
|
|
98
|
+
@_builtins.property
|
|
100
99
|
@pulumi.getter(name="apiVersion")
|
|
101
|
-
def api_version(self) -> Optional[
|
|
100
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
102
101
|
"""
|
|
103
102
|
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
|
|
104
103
|
"""
|
|
105
104
|
return pulumi.get(self, "api_version")
|
|
106
105
|
|
|
107
|
-
@property
|
|
106
|
+
@_builtins.property
|
|
108
107
|
@pulumi.getter
|
|
109
|
-
def kind(self) -> Optional[
|
|
108
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
110
109
|
"""
|
|
111
110
|
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
|
|
112
111
|
"""
|
|
113
112
|
return pulumi.get(self, "kind")
|
|
114
113
|
|
|
115
|
-
@property
|
|
114
|
+
@_builtins.property
|
|
116
115
|
@pulumi.getter
|
|
117
116
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
118
117
|
"""
|
|
@@ -120,7 +119,7 @@ class CronJob(dict):
|
|
|
120
119
|
"""
|
|
121
120
|
return pulumi.get(self, "metadata")
|
|
122
121
|
|
|
123
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
124
123
|
@pulumi.getter
|
|
125
124
|
def spec(self) -> Optional['outputs.CronJobSpec']:
|
|
126
125
|
"""
|
|
@@ -128,7 +127,7 @@ class CronJob(dict):
|
|
|
128
127
|
"""
|
|
129
128
|
return pulumi.get(self, "spec")
|
|
130
129
|
|
|
131
|
-
@property
|
|
130
|
+
@_builtins.property
|
|
132
131
|
@pulumi.getter
|
|
133
132
|
def status(self) -> Optional['outputs.CronJobStatus']:
|
|
134
133
|
"""
|
|
@@ -171,25 +170,25 @@ class CronJobSpec(dict):
|
|
|
171
170
|
|
|
172
171
|
def __init__(__self__, *,
|
|
173
172
|
job_template: 'outputs.JobTemplateSpec',
|
|
174
|
-
schedule:
|
|
175
|
-
concurrency_policy: Optional[
|
|
176
|
-
failed_jobs_history_limit: Optional[
|
|
177
|
-
starting_deadline_seconds: Optional[
|
|
178
|
-
successful_jobs_history_limit: Optional[
|
|
179
|
-
suspend: Optional[
|
|
180
|
-
time_zone: Optional[
|
|
173
|
+
schedule: _builtins.str,
|
|
174
|
+
concurrency_policy: Optional[_builtins.str] = None,
|
|
175
|
+
failed_jobs_history_limit: Optional[_builtins.int] = None,
|
|
176
|
+
starting_deadline_seconds: Optional[_builtins.int] = None,
|
|
177
|
+
successful_jobs_history_limit: Optional[_builtins.int] = None,
|
|
178
|
+
suspend: Optional[_builtins.bool] = None,
|
|
179
|
+
time_zone: Optional[_builtins.str] = None):
|
|
181
180
|
"""
|
|
182
181
|
CronJobSpec describes how the job execution will look like and when it will actually run.
|
|
183
182
|
:param 'JobTemplateSpecArgs' job_template: Specifies the job that will be created when executing a CronJob.
|
|
184
|
-
:param
|
|
185
|
-
:param
|
|
183
|
+
:param _builtins.str schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
184
|
+
:param _builtins.str concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
186
185
|
|
|
187
186
|
- "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
|
|
188
|
-
:param
|
|
189
|
-
:param
|
|
190
|
-
:param
|
|
191
|
-
:param
|
|
192
|
-
:param
|
|
187
|
+
:param _builtins.int failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
188
|
+
: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.
|
|
189
|
+
:param _builtins.int successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
190
|
+
:param _builtins.bool suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
191
|
+
: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
|
|
193
192
|
"""
|
|
194
193
|
pulumi.set(__self__, "job_template", job_template)
|
|
195
194
|
pulumi.set(__self__, "schedule", schedule)
|
|
@@ -206,7 +205,7 @@ class CronJobSpec(dict):
|
|
|
206
205
|
if time_zone is not None:
|
|
207
206
|
pulumi.set(__self__, "time_zone", time_zone)
|
|
208
207
|
|
|
209
|
-
@property
|
|
208
|
+
@_builtins.property
|
|
210
209
|
@pulumi.getter(name="jobTemplate")
|
|
211
210
|
def job_template(self) -> 'outputs.JobTemplateSpec':
|
|
212
211
|
"""
|
|
@@ -214,17 +213,17 @@ class CronJobSpec(dict):
|
|
|
214
213
|
"""
|
|
215
214
|
return pulumi.get(self, "job_template")
|
|
216
215
|
|
|
217
|
-
@property
|
|
216
|
+
@_builtins.property
|
|
218
217
|
@pulumi.getter
|
|
219
|
-
def schedule(self) ->
|
|
218
|
+
def schedule(self) -> _builtins.str:
|
|
220
219
|
"""
|
|
221
220
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
222
221
|
"""
|
|
223
222
|
return pulumi.get(self, "schedule")
|
|
224
223
|
|
|
225
|
-
@property
|
|
224
|
+
@_builtins.property
|
|
226
225
|
@pulumi.getter(name="concurrencyPolicy")
|
|
227
|
-
def concurrency_policy(self) -> Optional[
|
|
226
|
+
def concurrency_policy(self) -> Optional[_builtins.str]:
|
|
228
227
|
"""
|
|
229
228
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
230
229
|
|
|
@@ -232,41 +231,41 @@ class CronJobSpec(dict):
|
|
|
232
231
|
"""
|
|
233
232
|
return pulumi.get(self, "concurrency_policy")
|
|
234
233
|
|
|
235
|
-
@property
|
|
234
|
+
@_builtins.property
|
|
236
235
|
@pulumi.getter(name="failedJobsHistoryLimit")
|
|
237
|
-
def failed_jobs_history_limit(self) -> Optional[
|
|
236
|
+
def failed_jobs_history_limit(self) -> Optional[_builtins.int]:
|
|
238
237
|
"""
|
|
239
238
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
240
239
|
"""
|
|
241
240
|
return pulumi.get(self, "failed_jobs_history_limit")
|
|
242
241
|
|
|
243
|
-
@property
|
|
242
|
+
@_builtins.property
|
|
244
243
|
@pulumi.getter(name="startingDeadlineSeconds")
|
|
245
|
-
def starting_deadline_seconds(self) -> Optional[
|
|
244
|
+
def starting_deadline_seconds(self) -> Optional[_builtins.int]:
|
|
246
245
|
"""
|
|
247
246
|
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.
|
|
248
247
|
"""
|
|
249
248
|
return pulumi.get(self, "starting_deadline_seconds")
|
|
250
249
|
|
|
251
|
-
@property
|
|
250
|
+
@_builtins.property
|
|
252
251
|
@pulumi.getter(name="successfulJobsHistoryLimit")
|
|
253
|
-
def successful_jobs_history_limit(self) -> Optional[
|
|
252
|
+
def successful_jobs_history_limit(self) -> Optional[_builtins.int]:
|
|
254
253
|
"""
|
|
255
254
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
256
255
|
"""
|
|
257
256
|
return pulumi.get(self, "successful_jobs_history_limit")
|
|
258
257
|
|
|
259
|
-
@property
|
|
258
|
+
@_builtins.property
|
|
260
259
|
@pulumi.getter
|
|
261
|
-
def suspend(self) -> Optional[
|
|
260
|
+
def suspend(self) -> Optional[_builtins.bool]:
|
|
262
261
|
"""
|
|
263
262
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
264
263
|
"""
|
|
265
264
|
return pulumi.get(self, "suspend")
|
|
266
265
|
|
|
267
|
-
@property
|
|
266
|
+
@_builtins.property
|
|
268
267
|
@pulumi.getter(name="timeZone")
|
|
269
|
-
def time_zone(self) -> Optional[
|
|
268
|
+
def time_zone(self) -> Optional[_builtins.str]:
|
|
270
269
|
"""
|
|
271
270
|
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
|
|
272
271
|
"""
|
|
@@ -306,26 +305,26 @@ class CronJobSpecPatch(dict):
|
|
|
306
305
|
return super().get(key, default)
|
|
307
306
|
|
|
308
307
|
def __init__(__self__, *,
|
|
309
|
-
concurrency_policy: Optional[
|
|
310
|
-
failed_jobs_history_limit: Optional[
|
|
308
|
+
concurrency_policy: Optional[_builtins.str] = None,
|
|
309
|
+
failed_jobs_history_limit: Optional[_builtins.int] = None,
|
|
311
310
|
job_template: Optional['outputs.JobTemplateSpecPatch'] = None,
|
|
312
|
-
schedule: Optional[
|
|
313
|
-
starting_deadline_seconds: Optional[
|
|
314
|
-
successful_jobs_history_limit: Optional[
|
|
315
|
-
suspend: Optional[
|
|
316
|
-
time_zone: Optional[
|
|
311
|
+
schedule: Optional[_builtins.str] = None,
|
|
312
|
+
starting_deadline_seconds: Optional[_builtins.int] = None,
|
|
313
|
+
successful_jobs_history_limit: Optional[_builtins.int] = None,
|
|
314
|
+
suspend: Optional[_builtins.bool] = None,
|
|
315
|
+
time_zone: Optional[_builtins.str] = None):
|
|
317
316
|
"""
|
|
318
317
|
CronJobSpec describes how the job execution will look like and when it will actually run.
|
|
319
|
-
:param
|
|
318
|
+
:param _builtins.str concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
320
319
|
|
|
321
320
|
- "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
|
|
322
|
-
:param
|
|
321
|
+
:param _builtins.int failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
323
322
|
:param 'JobTemplateSpecPatchArgs' job_template: Specifies the job that will be created when executing a CronJob.
|
|
324
|
-
:param
|
|
325
|
-
:param
|
|
326
|
-
:param
|
|
327
|
-
:param
|
|
328
|
-
:param
|
|
323
|
+
:param _builtins.str schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
324
|
+
: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.
|
|
325
|
+
:param _builtins.int successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
326
|
+
:param _builtins.bool suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
327
|
+
: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
|
|
329
328
|
"""
|
|
330
329
|
if concurrency_policy is not None:
|
|
331
330
|
pulumi.set(__self__, "concurrency_policy", concurrency_policy)
|
|
@@ -344,9 +343,9 @@ class CronJobSpecPatch(dict):
|
|
|
344
343
|
if time_zone is not None:
|
|
345
344
|
pulumi.set(__self__, "time_zone", time_zone)
|
|
346
345
|
|
|
347
|
-
@property
|
|
346
|
+
@_builtins.property
|
|
348
347
|
@pulumi.getter(name="concurrencyPolicy")
|
|
349
|
-
def concurrency_policy(self) -> Optional[
|
|
348
|
+
def concurrency_policy(self) -> Optional[_builtins.str]:
|
|
350
349
|
"""
|
|
351
350
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
352
351
|
|
|
@@ -354,15 +353,15 @@ class CronJobSpecPatch(dict):
|
|
|
354
353
|
"""
|
|
355
354
|
return pulumi.get(self, "concurrency_policy")
|
|
356
355
|
|
|
357
|
-
@property
|
|
356
|
+
@_builtins.property
|
|
358
357
|
@pulumi.getter(name="failedJobsHistoryLimit")
|
|
359
|
-
def failed_jobs_history_limit(self) -> Optional[
|
|
358
|
+
def failed_jobs_history_limit(self) -> Optional[_builtins.int]:
|
|
360
359
|
"""
|
|
361
360
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
362
361
|
"""
|
|
363
362
|
return pulumi.get(self, "failed_jobs_history_limit")
|
|
364
363
|
|
|
365
|
-
@property
|
|
364
|
+
@_builtins.property
|
|
366
365
|
@pulumi.getter(name="jobTemplate")
|
|
367
366
|
def job_template(self) -> Optional['outputs.JobTemplateSpecPatch']:
|
|
368
367
|
"""
|
|
@@ -370,41 +369,41 @@ class CronJobSpecPatch(dict):
|
|
|
370
369
|
"""
|
|
371
370
|
return pulumi.get(self, "job_template")
|
|
372
371
|
|
|
373
|
-
@property
|
|
372
|
+
@_builtins.property
|
|
374
373
|
@pulumi.getter
|
|
375
|
-
def schedule(self) -> Optional[
|
|
374
|
+
def schedule(self) -> Optional[_builtins.str]:
|
|
376
375
|
"""
|
|
377
376
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
378
377
|
"""
|
|
379
378
|
return pulumi.get(self, "schedule")
|
|
380
379
|
|
|
381
|
-
@property
|
|
380
|
+
@_builtins.property
|
|
382
381
|
@pulumi.getter(name="startingDeadlineSeconds")
|
|
383
|
-
def starting_deadline_seconds(self) -> Optional[
|
|
382
|
+
def starting_deadline_seconds(self) -> Optional[_builtins.int]:
|
|
384
383
|
"""
|
|
385
384
|
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.
|
|
386
385
|
"""
|
|
387
386
|
return pulumi.get(self, "starting_deadline_seconds")
|
|
388
387
|
|
|
389
|
-
@property
|
|
388
|
+
@_builtins.property
|
|
390
389
|
@pulumi.getter(name="successfulJobsHistoryLimit")
|
|
391
|
-
def successful_jobs_history_limit(self) -> Optional[
|
|
390
|
+
def successful_jobs_history_limit(self) -> Optional[_builtins.int]:
|
|
392
391
|
"""
|
|
393
392
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
394
393
|
"""
|
|
395
394
|
return pulumi.get(self, "successful_jobs_history_limit")
|
|
396
395
|
|
|
397
|
-
@property
|
|
396
|
+
@_builtins.property
|
|
398
397
|
@pulumi.getter
|
|
399
|
-
def suspend(self) -> Optional[
|
|
398
|
+
def suspend(self) -> Optional[_builtins.bool]:
|
|
400
399
|
"""
|
|
401
400
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
402
401
|
"""
|
|
403
402
|
return pulumi.get(self, "suspend")
|
|
404
403
|
|
|
405
|
-
@property
|
|
404
|
+
@_builtins.property
|
|
406
405
|
@pulumi.getter(name="timeZone")
|
|
407
|
-
def time_zone(self) -> Optional[
|
|
406
|
+
def time_zone(self) -> Optional[_builtins.str]:
|
|
408
407
|
"""
|
|
409
408
|
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
|
|
410
409
|
"""
|
|
@@ -437,13 +436,13 @@ class CronJobStatus(dict):
|
|
|
437
436
|
|
|
438
437
|
def __init__(__self__, *,
|
|
439
438
|
active: Optional[Sequence['_core.v1.outputs.ObjectReference']] = None,
|
|
440
|
-
last_schedule_time: Optional[
|
|
441
|
-
last_successful_time: Optional[
|
|
439
|
+
last_schedule_time: Optional[_builtins.str] = None,
|
|
440
|
+
last_successful_time: Optional[_builtins.str] = None):
|
|
442
441
|
"""
|
|
443
442
|
CronJobStatus represents the current state of a cron job.
|
|
444
443
|
:param Sequence['_core.v1.ObjectReferenceArgs'] active: A list of pointers to currently running jobs.
|
|
445
|
-
:param
|
|
446
|
-
:param
|
|
444
|
+
:param _builtins.str last_schedule_time: Information when was the last time the job was successfully scheduled.
|
|
445
|
+
:param _builtins.str last_successful_time: Information when was the last time the job successfully completed.
|
|
447
446
|
"""
|
|
448
447
|
if active is not None:
|
|
449
448
|
pulumi.set(__self__, "active", active)
|
|
@@ -452,7 +451,7 @@ class CronJobStatus(dict):
|
|
|
452
451
|
if last_successful_time is not None:
|
|
453
452
|
pulumi.set(__self__, "last_successful_time", last_successful_time)
|
|
454
453
|
|
|
455
|
-
@property
|
|
454
|
+
@_builtins.property
|
|
456
455
|
@pulumi.getter
|
|
457
456
|
def active(self) -> Optional[Sequence['_core.v1.outputs.ObjectReference']]:
|
|
458
457
|
"""
|
|
@@ -460,17 +459,17 @@ class CronJobStatus(dict):
|
|
|
460
459
|
"""
|
|
461
460
|
return pulumi.get(self, "active")
|
|
462
461
|
|
|
463
|
-
@property
|
|
462
|
+
@_builtins.property
|
|
464
463
|
@pulumi.getter(name="lastScheduleTime")
|
|
465
|
-
def last_schedule_time(self) -> Optional[
|
|
464
|
+
def last_schedule_time(self) -> Optional[_builtins.str]:
|
|
466
465
|
"""
|
|
467
466
|
Information when was the last time the job was successfully scheduled.
|
|
468
467
|
"""
|
|
469
468
|
return pulumi.get(self, "last_schedule_time")
|
|
470
469
|
|
|
471
|
-
@property
|
|
470
|
+
@_builtins.property
|
|
472
471
|
@pulumi.getter(name="lastSuccessfulTime")
|
|
473
|
-
def last_successful_time(self) -> Optional[
|
|
472
|
+
def last_successful_time(self) -> Optional[_builtins.str]:
|
|
474
473
|
"""
|
|
475
474
|
Information when was the last time the job successfully completed.
|
|
476
475
|
"""
|
|
@@ -503,13 +502,13 @@ class CronJobStatusPatch(dict):
|
|
|
503
502
|
|
|
504
503
|
def __init__(__self__, *,
|
|
505
504
|
active: Optional[Sequence['_core.v1.outputs.ObjectReferencePatch']] = None,
|
|
506
|
-
last_schedule_time: Optional[
|
|
507
|
-
last_successful_time: Optional[
|
|
505
|
+
last_schedule_time: Optional[_builtins.str] = None,
|
|
506
|
+
last_successful_time: Optional[_builtins.str] = None):
|
|
508
507
|
"""
|
|
509
508
|
CronJobStatus represents the current state of a cron job.
|
|
510
509
|
:param Sequence['_core.v1.ObjectReferencePatchArgs'] active: A list of pointers to currently running jobs.
|
|
511
|
-
:param
|
|
512
|
-
:param
|
|
510
|
+
:param _builtins.str last_schedule_time: Information when was the last time the job was successfully scheduled.
|
|
511
|
+
:param _builtins.str last_successful_time: Information when was the last time the job successfully completed.
|
|
513
512
|
"""
|
|
514
513
|
if active is not None:
|
|
515
514
|
pulumi.set(__self__, "active", active)
|
|
@@ -518,7 +517,7 @@ class CronJobStatusPatch(dict):
|
|
|
518
517
|
if last_successful_time is not None:
|
|
519
518
|
pulumi.set(__self__, "last_successful_time", last_successful_time)
|
|
520
519
|
|
|
521
|
-
@property
|
|
520
|
+
@_builtins.property
|
|
522
521
|
@pulumi.getter
|
|
523
522
|
def active(self) -> Optional[Sequence['_core.v1.outputs.ObjectReferencePatch']]:
|
|
524
523
|
"""
|
|
@@ -526,17 +525,17 @@ class CronJobStatusPatch(dict):
|
|
|
526
525
|
"""
|
|
527
526
|
return pulumi.get(self, "active")
|
|
528
527
|
|
|
529
|
-
@property
|
|
528
|
+
@_builtins.property
|
|
530
529
|
@pulumi.getter(name="lastScheduleTime")
|
|
531
|
-
def last_schedule_time(self) -> Optional[
|
|
530
|
+
def last_schedule_time(self) -> Optional[_builtins.str]:
|
|
532
531
|
"""
|
|
533
532
|
Information when was the last time the job was successfully scheduled.
|
|
534
533
|
"""
|
|
535
534
|
return pulumi.get(self, "last_schedule_time")
|
|
536
535
|
|
|
537
|
-
@property
|
|
536
|
+
@_builtins.property
|
|
538
537
|
@pulumi.getter(name="lastSuccessfulTime")
|
|
539
|
-
def last_successful_time(self) -> Optional[
|
|
538
|
+
def last_successful_time(self) -> Optional[_builtins.str]:
|
|
540
539
|
"""
|
|
541
540
|
Information when was the last time the job successfully completed.
|
|
542
541
|
"""
|
|
@@ -586,8 +585,8 @@ class Job(dict):
|
|
|
586
585
|
return super().get(key, default)
|
|
587
586
|
|
|
588
587
|
def __init__(__self__, *,
|
|
589
|
-
api_version: Optional[
|
|
590
|
-
kind: Optional[
|
|
588
|
+
api_version: Optional[_builtins.str] = None,
|
|
589
|
+
kind: Optional[_builtins.str] = None,
|
|
591
590
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
592
591
|
spec: Optional['outputs.JobSpec'] = None,
|
|
593
592
|
status: Optional['outputs.JobStatus'] = None):
|
|
@@ -613,8 +612,8 @@ class Job(dict):
|
|
|
613
612
|
Pulumi will continue to wait for readiness on the next update. If you would prefer
|
|
614
613
|
to schedule a replacement for an unready resource on the next update, you can add the
|
|
615
614
|
"pulumi.com/replaceUnready": "true" annotation to the resource definition.
|
|
616
|
-
:param
|
|
617
|
-
:param
|
|
615
|
+
: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
|
|
616
|
+
: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
|
|
618
617
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
619
618
|
: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
|
|
620
619
|
: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
|
|
@@ -630,23 +629,23 @@ class Job(dict):
|
|
|
630
629
|
if status is not None:
|
|
631
630
|
pulumi.set(__self__, "status", status)
|
|
632
631
|
|
|
633
|
-
@property
|
|
632
|
+
@_builtins.property
|
|
634
633
|
@pulumi.getter(name="apiVersion")
|
|
635
|
-
def api_version(self) -> Optional[
|
|
634
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
636
635
|
"""
|
|
637
636
|
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
|
|
638
637
|
"""
|
|
639
638
|
return pulumi.get(self, "api_version")
|
|
640
639
|
|
|
641
|
-
@property
|
|
640
|
+
@_builtins.property
|
|
642
641
|
@pulumi.getter
|
|
643
|
-
def kind(self) -> Optional[
|
|
642
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
644
643
|
"""
|
|
645
644
|
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
|
|
646
645
|
"""
|
|
647
646
|
return pulumi.get(self, "kind")
|
|
648
647
|
|
|
649
|
-
@property
|
|
648
|
+
@_builtins.property
|
|
650
649
|
@pulumi.getter
|
|
651
650
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
652
651
|
"""
|
|
@@ -654,7 +653,7 @@ class Job(dict):
|
|
|
654
653
|
"""
|
|
655
654
|
return pulumi.get(self, "metadata")
|
|
656
655
|
|
|
657
|
-
@property
|
|
656
|
+
@_builtins.property
|
|
658
657
|
@pulumi.getter
|
|
659
658
|
def spec(self) -> Optional['outputs.JobSpec']:
|
|
660
659
|
"""
|
|
@@ -662,7 +661,7 @@ class Job(dict):
|
|
|
662
661
|
"""
|
|
663
662
|
return pulumi.get(self, "spec")
|
|
664
663
|
|
|
665
|
-
@property
|
|
664
|
+
@_builtins.property
|
|
666
665
|
@pulumi.getter
|
|
667
666
|
def status(self) -> Optional['outputs.JobStatus']:
|
|
668
667
|
"""
|
|
@@ -696,20 +695,20 @@ class JobCondition(dict):
|
|
|
696
695
|
return super().get(key, default)
|
|
697
696
|
|
|
698
697
|
def __init__(__self__, *,
|
|
699
|
-
status:
|
|
700
|
-
type:
|
|
701
|
-
last_probe_time: Optional[
|
|
702
|
-
last_transition_time: Optional[
|
|
703
|
-
message: Optional[
|
|
704
|
-
reason: Optional[
|
|
698
|
+
status: _builtins.str,
|
|
699
|
+
type: _builtins.str,
|
|
700
|
+
last_probe_time: Optional[_builtins.str] = None,
|
|
701
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
702
|
+
message: Optional[_builtins.str] = None,
|
|
703
|
+
reason: Optional[_builtins.str] = None):
|
|
705
704
|
"""
|
|
706
705
|
JobCondition describes current state of a job.
|
|
707
|
-
:param
|
|
708
|
-
:param
|
|
709
|
-
:param
|
|
710
|
-
:param
|
|
711
|
-
:param
|
|
712
|
-
:param
|
|
706
|
+
:param _builtins.str status: Status of the condition, one of True, False, Unknown.
|
|
707
|
+
:param _builtins.str type: Type of job condition, Complete or Failed.
|
|
708
|
+
:param _builtins.str last_probe_time: Last time the condition was checked.
|
|
709
|
+
:param _builtins.str last_transition_time: Last time the condition transit from one status to another.
|
|
710
|
+
:param _builtins.str message: Human readable message indicating details about last transition.
|
|
711
|
+
:param _builtins.str reason: (brief) reason for the condition's last transition.
|
|
713
712
|
"""
|
|
714
713
|
pulumi.set(__self__, "status", status)
|
|
715
714
|
pulumi.set(__self__, "type", type)
|
|
@@ -722,49 +721,49 @@ class JobCondition(dict):
|
|
|
722
721
|
if reason is not None:
|
|
723
722
|
pulumi.set(__self__, "reason", reason)
|
|
724
723
|
|
|
725
|
-
@property
|
|
724
|
+
@_builtins.property
|
|
726
725
|
@pulumi.getter
|
|
727
|
-
def status(self) ->
|
|
726
|
+
def status(self) -> _builtins.str:
|
|
728
727
|
"""
|
|
729
728
|
Status of the condition, one of True, False, Unknown.
|
|
730
729
|
"""
|
|
731
730
|
return pulumi.get(self, "status")
|
|
732
731
|
|
|
733
|
-
@property
|
|
732
|
+
@_builtins.property
|
|
734
733
|
@pulumi.getter
|
|
735
|
-
def type(self) ->
|
|
734
|
+
def type(self) -> _builtins.str:
|
|
736
735
|
"""
|
|
737
736
|
Type of job condition, Complete or Failed.
|
|
738
737
|
"""
|
|
739
738
|
return pulumi.get(self, "type")
|
|
740
739
|
|
|
741
|
-
@property
|
|
740
|
+
@_builtins.property
|
|
742
741
|
@pulumi.getter(name="lastProbeTime")
|
|
743
|
-
def last_probe_time(self) -> Optional[
|
|
742
|
+
def last_probe_time(self) -> Optional[_builtins.str]:
|
|
744
743
|
"""
|
|
745
744
|
Last time the condition was checked.
|
|
746
745
|
"""
|
|
747
746
|
return pulumi.get(self, "last_probe_time")
|
|
748
747
|
|
|
749
|
-
@property
|
|
748
|
+
@_builtins.property
|
|
750
749
|
@pulumi.getter(name="lastTransitionTime")
|
|
751
|
-
def last_transition_time(self) -> Optional[
|
|
750
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
752
751
|
"""
|
|
753
752
|
Last time the condition transit from one status to another.
|
|
754
753
|
"""
|
|
755
754
|
return pulumi.get(self, "last_transition_time")
|
|
756
755
|
|
|
757
|
-
@property
|
|
756
|
+
@_builtins.property
|
|
758
757
|
@pulumi.getter
|
|
759
|
-
def message(self) -> Optional[
|
|
758
|
+
def message(self) -> Optional[_builtins.str]:
|
|
760
759
|
"""
|
|
761
760
|
Human readable message indicating details about last transition.
|
|
762
761
|
"""
|
|
763
762
|
return pulumi.get(self, "message")
|
|
764
763
|
|
|
765
|
-
@property
|
|
764
|
+
@_builtins.property
|
|
766
765
|
@pulumi.getter
|
|
767
|
-
def reason(self) -> Optional[
|
|
766
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
768
767
|
"""
|
|
769
768
|
(brief) reason for the condition's last transition.
|
|
770
769
|
"""
|
|
@@ -796,20 +795,20 @@ class JobConditionPatch(dict):
|
|
|
796
795
|
return super().get(key, default)
|
|
797
796
|
|
|
798
797
|
def __init__(__self__, *,
|
|
799
|
-
last_probe_time: Optional[
|
|
800
|
-
last_transition_time: Optional[
|
|
801
|
-
message: Optional[
|
|
802
|
-
reason: Optional[
|
|
803
|
-
status: Optional[
|
|
804
|
-
type: Optional[
|
|
798
|
+
last_probe_time: Optional[_builtins.str] = None,
|
|
799
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
800
|
+
message: Optional[_builtins.str] = None,
|
|
801
|
+
reason: Optional[_builtins.str] = None,
|
|
802
|
+
status: Optional[_builtins.str] = None,
|
|
803
|
+
type: Optional[_builtins.str] = None):
|
|
805
804
|
"""
|
|
806
805
|
JobCondition describes current state of a job.
|
|
807
|
-
:param
|
|
808
|
-
:param
|
|
809
|
-
:param
|
|
810
|
-
:param
|
|
811
|
-
:param
|
|
812
|
-
:param
|
|
806
|
+
:param _builtins.str last_probe_time: Last time the condition was checked.
|
|
807
|
+
:param _builtins.str last_transition_time: Last time the condition transit from one status to another.
|
|
808
|
+
:param _builtins.str message: Human readable message indicating details about last transition.
|
|
809
|
+
:param _builtins.str reason: (brief) reason for the condition's last transition.
|
|
810
|
+
:param _builtins.str status: Status of the condition, one of True, False, Unknown.
|
|
811
|
+
:param _builtins.str type: Type of job condition, Complete or Failed.
|
|
813
812
|
"""
|
|
814
813
|
if last_probe_time is not None:
|
|
815
814
|
pulumi.set(__self__, "last_probe_time", last_probe_time)
|
|
@@ -824,49 +823,49 @@ class JobConditionPatch(dict):
|
|
|
824
823
|
if type is not None:
|
|
825
824
|
pulumi.set(__self__, "type", type)
|
|
826
825
|
|
|
827
|
-
@property
|
|
826
|
+
@_builtins.property
|
|
828
827
|
@pulumi.getter(name="lastProbeTime")
|
|
829
|
-
def last_probe_time(self) -> Optional[
|
|
828
|
+
def last_probe_time(self) -> Optional[_builtins.str]:
|
|
830
829
|
"""
|
|
831
830
|
Last time the condition was checked.
|
|
832
831
|
"""
|
|
833
832
|
return pulumi.get(self, "last_probe_time")
|
|
834
833
|
|
|
835
|
-
@property
|
|
834
|
+
@_builtins.property
|
|
836
835
|
@pulumi.getter(name="lastTransitionTime")
|
|
837
|
-
def last_transition_time(self) -> Optional[
|
|
836
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
838
837
|
"""
|
|
839
838
|
Last time the condition transit from one status to another.
|
|
840
839
|
"""
|
|
841
840
|
return pulumi.get(self, "last_transition_time")
|
|
842
841
|
|
|
843
|
-
@property
|
|
842
|
+
@_builtins.property
|
|
844
843
|
@pulumi.getter
|
|
845
|
-
def message(self) -> Optional[
|
|
844
|
+
def message(self) -> Optional[_builtins.str]:
|
|
846
845
|
"""
|
|
847
846
|
Human readable message indicating details about last transition.
|
|
848
847
|
"""
|
|
849
848
|
return pulumi.get(self, "message")
|
|
850
849
|
|
|
851
|
-
@property
|
|
850
|
+
@_builtins.property
|
|
852
851
|
@pulumi.getter
|
|
853
|
-
def reason(self) -> Optional[
|
|
852
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
854
853
|
"""
|
|
855
854
|
(brief) reason for the condition's last transition.
|
|
856
855
|
"""
|
|
857
856
|
return pulumi.get(self, "reason")
|
|
858
857
|
|
|
859
|
-
@property
|
|
858
|
+
@_builtins.property
|
|
860
859
|
@pulumi.getter
|
|
861
|
-
def status(self) -> Optional[
|
|
860
|
+
def status(self) -> Optional[_builtins.str]:
|
|
862
861
|
"""
|
|
863
862
|
Status of the condition, one of True, False, Unknown.
|
|
864
863
|
"""
|
|
865
864
|
return pulumi.get(self, "status")
|
|
866
865
|
|
|
867
|
-
@property
|
|
866
|
+
@_builtins.property
|
|
868
867
|
@pulumi.getter
|
|
869
|
-
def type(self) -> Optional[
|
|
868
|
+
def type(self) -> Optional[_builtins.str]:
|
|
870
869
|
"""
|
|
871
870
|
Type of job condition, Complete or Failed.
|
|
872
871
|
"""
|
|
@@ -917,43 +916,43 @@ class JobSpec(dict):
|
|
|
917
916
|
|
|
918
917
|
def __init__(__self__, *,
|
|
919
918
|
template: '_core.v1.outputs.PodTemplateSpec',
|
|
920
|
-
active_deadline_seconds: Optional[
|
|
921
|
-
backoff_limit: Optional[
|
|
922
|
-
backoff_limit_per_index: Optional[
|
|
923
|
-
completion_mode: Optional[
|
|
924
|
-
completions: Optional[
|
|
925
|
-
managed_by: Optional[
|
|
926
|
-
manual_selector: Optional[
|
|
927
|
-
max_failed_indexes: Optional[
|
|
928
|
-
parallelism: Optional[
|
|
919
|
+
active_deadline_seconds: Optional[_builtins.int] = None,
|
|
920
|
+
backoff_limit: Optional[_builtins.int] = None,
|
|
921
|
+
backoff_limit_per_index: Optional[_builtins.int] = None,
|
|
922
|
+
completion_mode: Optional[_builtins.str] = None,
|
|
923
|
+
completions: Optional[_builtins.int] = None,
|
|
924
|
+
managed_by: Optional[_builtins.str] = None,
|
|
925
|
+
manual_selector: Optional[_builtins.bool] = None,
|
|
926
|
+
max_failed_indexes: Optional[_builtins.int] = None,
|
|
927
|
+
parallelism: Optional[_builtins.int] = None,
|
|
929
928
|
pod_failure_policy: Optional['outputs.PodFailurePolicy'] = None,
|
|
930
|
-
pod_replacement_policy: Optional[
|
|
929
|
+
pod_replacement_policy: Optional[_builtins.str] = None,
|
|
931
930
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
932
931
|
success_policy: Optional['outputs.SuccessPolicy'] = None,
|
|
933
|
-
suspend: Optional[
|
|
934
|
-
ttl_seconds_after_finished: Optional[
|
|
932
|
+
suspend: Optional[_builtins.bool] = None,
|
|
933
|
+
ttl_seconds_after_finished: Optional[_builtins.int] = None):
|
|
935
934
|
"""
|
|
936
935
|
JobSpec describes how the job execution will look like.
|
|
937
936
|
: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/
|
|
938
|
-
:param
|
|
939
|
-
:param
|
|
940
|
-
:param
|
|
941
|
-
:param
|
|
937
|
+
: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.
|
|
938
|
+
:param _builtins.int backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
939
|
+
: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.
|
|
940
|
+
:param _builtins.str completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
942
941
|
|
|
943
942
|
`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.
|
|
944
943
|
|
|
945
944
|
`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)`.
|
|
946
945
|
|
|
947
946
|
More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
|
|
948
|
-
:param
|
|
949
|
-
:param
|
|
947
|
+
: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/
|
|
948
|
+
: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.
|
|
950
949
|
|
|
951
950
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
952
|
-
:param
|
|
953
|
-
:param
|
|
954
|
-
:param
|
|
951
|
+
: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
|
|
952
|
+
: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.
|
|
953
|
+
: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/
|
|
955
954
|
:param 'PodFailurePolicyArgs' pod_failure_policy: Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
|
|
956
|
-
:param
|
|
955
|
+
:param _builtins.str pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
957
956
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
958
957
|
- Failed means to wait until a previously created Pod is fully terminated (has phase
|
|
959
958
|
Failed or Succeeded) before creating a replacement Pod.
|
|
@@ -961,8 +960,8 @@ class JobSpec(dict):
|
|
|
961
960
|
When using podFailurePolicy, Failed is the the only allowed value. TerminatingOrFailed and Failed are allowed values when podFailurePolicy is not in use. This is an beta field. To use this, enable the JobPodReplacementPolicy feature toggle. This is on by default.
|
|
962
961
|
:param '_meta.v1.LabelSelectorArgs' selector: A label query over pods that should match the pod count. Normally, the system sets this field for you. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
963
962
|
:param 'SuccessPolicyArgs' success_policy: successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
|
|
964
|
-
:param
|
|
965
|
-
:param
|
|
963
|
+
: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.
|
|
964
|
+
: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.
|
|
966
965
|
"""
|
|
967
966
|
pulumi.set(__self__, "template", template)
|
|
968
967
|
if active_deadline_seconds is not None:
|
|
@@ -996,7 +995,7 @@ class JobSpec(dict):
|
|
|
996
995
|
if ttl_seconds_after_finished is not None:
|
|
997
996
|
pulumi.set(__self__, "ttl_seconds_after_finished", ttl_seconds_after_finished)
|
|
998
997
|
|
|
999
|
-
@property
|
|
998
|
+
@_builtins.property
|
|
1000
999
|
@pulumi.getter
|
|
1001
1000
|
def template(self) -> '_core.v1.outputs.PodTemplateSpec':
|
|
1002
1001
|
"""
|
|
@@ -1004,33 +1003,33 @@ class JobSpec(dict):
|
|
|
1004
1003
|
"""
|
|
1005
1004
|
return pulumi.get(self, "template")
|
|
1006
1005
|
|
|
1007
|
-
@property
|
|
1006
|
+
@_builtins.property
|
|
1008
1007
|
@pulumi.getter(name="activeDeadlineSeconds")
|
|
1009
|
-
def active_deadline_seconds(self) -> Optional[
|
|
1008
|
+
def active_deadline_seconds(self) -> Optional[_builtins.int]:
|
|
1010
1009
|
"""
|
|
1011
1010
|
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.
|
|
1012
1011
|
"""
|
|
1013
1012
|
return pulumi.get(self, "active_deadline_seconds")
|
|
1014
1013
|
|
|
1015
|
-
@property
|
|
1014
|
+
@_builtins.property
|
|
1016
1015
|
@pulumi.getter(name="backoffLimit")
|
|
1017
|
-
def backoff_limit(self) -> Optional[
|
|
1016
|
+
def backoff_limit(self) -> Optional[_builtins.int]:
|
|
1018
1017
|
"""
|
|
1019
1018
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1020
1019
|
"""
|
|
1021
1020
|
return pulumi.get(self, "backoff_limit")
|
|
1022
1021
|
|
|
1023
|
-
@property
|
|
1022
|
+
@_builtins.property
|
|
1024
1023
|
@pulumi.getter(name="backoffLimitPerIndex")
|
|
1025
|
-
def backoff_limit_per_index(self) -> Optional[
|
|
1024
|
+
def backoff_limit_per_index(self) -> Optional[_builtins.int]:
|
|
1026
1025
|
"""
|
|
1027
1026
|
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.
|
|
1028
1027
|
"""
|
|
1029
1028
|
return pulumi.get(self, "backoff_limit_per_index")
|
|
1030
1029
|
|
|
1031
|
-
@property
|
|
1030
|
+
@_builtins.property
|
|
1032
1031
|
@pulumi.getter(name="completionMode")
|
|
1033
|
-
def completion_mode(self) -> Optional[
|
|
1032
|
+
def completion_mode(self) -> Optional[_builtins.str]:
|
|
1034
1033
|
"""
|
|
1035
1034
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1036
1035
|
|
|
@@ -1042,17 +1041,17 @@ class JobSpec(dict):
|
|
|
1042
1041
|
"""
|
|
1043
1042
|
return pulumi.get(self, "completion_mode")
|
|
1044
1043
|
|
|
1045
|
-
@property
|
|
1044
|
+
@_builtins.property
|
|
1046
1045
|
@pulumi.getter
|
|
1047
|
-
def completions(self) -> Optional[
|
|
1046
|
+
def completions(self) -> Optional[_builtins.int]:
|
|
1048
1047
|
"""
|
|
1049
1048
|
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/
|
|
1050
1049
|
"""
|
|
1051
1050
|
return pulumi.get(self, "completions")
|
|
1052
1051
|
|
|
1053
|
-
@property
|
|
1052
|
+
@_builtins.property
|
|
1054
1053
|
@pulumi.getter(name="managedBy")
|
|
1055
|
-
def managed_by(self) -> Optional[
|
|
1054
|
+
def managed_by(self) -> Optional[_builtins.str]:
|
|
1056
1055
|
"""
|
|
1057
1056
|
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.
|
|
1058
1057
|
|
|
@@ -1060,31 +1059,31 @@ class JobSpec(dict):
|
|
|
1060
1059
|
"""
|
|
1061
1060
|
return pulumi.get(self, "managed_by")
|
|
1062
1061
|
|
|
1063
|
-
@property
|
|
1062
|
+
@_builtins.property
|
|
1064
1063
|
@pulumi.getter(name="manualSelector")
|
|
1065
|
-
def manual_selector(self) -> Optional[
|
|
1064
|
+
def manual_selector(self) -> Optional[_builtins.bool]:
|
|
1066
1065
|
"""
|
|
1067
1066
|
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
|
|
1068
1067
|
"""
|
|
1069
1068
|
return pulumi.get(self, "manual_selector")
|
|
1070
1069
|
|
|
1071
|
-
@property
|
|
1070
|
+
@_builtins.property
|
|
1072
1071
|
@pulumi.getter(name="maxFailedIndexes")
|
|
1073
|
-
def max_failed_indexes(self) -> Optional[
|
|
1072
|
+
def max_failed_indexes(self) -> Optional[_builtins.int]:
|
|
1074
1073
|
"""
|
|
1075
1074
|
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.
|
|
1076
1075
|
"""
|
|
1077
1076
|
return pulumi.get(self, "max_failed_indexes")
|
|
1078
1077
|
|
|
1079
|
-
@property
|
|
1078
|
+
@_builtins.property
|
|
1080
1079
|
@pulumi.getter
|
|
1081
|
-
def parallelism(self) -> Optional[
|
|
1080
|
+
def parallelism(self) -> Optional[_builtins.int]:
|
|
1082
1081
|
"""
|
|
1083
1082
|
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/
|
|
1084
1083
|
"""
|
|
1085
1084
|
return pulumi.get(self, "parallelism")
|
|
1086
1085
|
|
|
1087
|
-
@property
|
|
1086
|
+
@_builtins.property
|
|
1088
1087
|
@pulumi.getter(name="podFailurePolicy")
|
|
1089
1088
|
def pod_failure_policy(self) -> Optional['outputs.PodFailurePolicy']:
|
|
1090
1089
|
"""
|
|
@@ -1092,9 +1091,9 @@ class JobSpec(dict):
|
|
|
1092
1091
|
"""
|
|
1093
1092
|
return pulumi.get(self, "pod_failure_policy")
|
|
1094
1093
|
|
|
1095
|
-
@property
|
|
1094
|
+
@_builtins.property
|
|
1096
1095
|
@pulumi.getter(name="podReplacementPolicy")
|
|
1097
|
-
def pod_replacement_policy(self) -> Optional[
|
|
1096
|
+
def pod_replacement_policy(self) -> Optional[_builtins.str]:
|
|
1098
1097
|
"""
|
|
1099
1098
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1100
1099
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -1105,7 +1104,7 @@ class JobSpec(dict):
|
|
|
1105
1104
|
"""
|
|
1106
1105
|
return pulumi.get(self, "pod_replacement_policy")
|
|
1107
1106
|
|
|
1108
|
-
@property
|
|
1107
|
+
@_builtins.property
|
|
1109
1108
|
@pulumi.getter
|
|
1110
1109
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
1111
1110
|
"""
|
|
@@ -1113,7 +1112,7 @@ class JobSpec(dict):
|
|
|
1113
1112
|
"""
|
|
1114
1113
|
return pulumi.get(self, "selector")
|
|
1115
1114
|
|
|
1116
|
-
@property
|
|
1115
|
+
@_builtins.property
|
|
1117
1116
|
@pulumi.getter(name="successPolicy")
|
|
1118
1117
|
def success_policy(self) -> Optional['outputs.SuccessPolicy']:
|
|
1119
1118
|
"""
|
|
@@ -1121,17 +1120,17 @@ class JobSpec(dict):
|
|
|
1121
1120
|
"""
|
|
1122
1121
|
return pulumi.get(self, "success_policy")
|
|
1123
1122
|
|
|
1124
|
-
@property
|
|
1123
|
+
@_builtins.property
|
|
1125
1124
|
@pulumi.getter
|
|
1126
|
-
def suspend(self) -> Optional[
|
|
1125
|
+
def suspend(self) -> Optional[_builtins.bool]:
|
|
1127
1126
|
"""
|
|
1128
1127
|
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.
|
|
1129
1128
|
"""
|
|
1130
1129
|
return pulumi.get(self, "suspend")
|
|
1131
1130
|
|
|
1132
|
-
@property
|
|
1131
|
+
@_builtins.property
|
|
1133
1132
|
@pulumi.getter(name="ttlSecondsAfterFinished")
|
|
1134
|
-
def ttl_seconds_after_finished(self) -> Optional[
|
|
1133
|
+
def ttl_seconds_after_finished(self) -> Optional[_builtins.int]:
|
|
1135
1134
|
"""
|
|
1136
1135
|
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.
|
|
1137
1136
|
"""
|
|
@@ -1181,43 +1180,43 @@ class JobSpecPatch(dict):
|
|
|
1181
1180
|
return super().get(key, default)
|
|
1182
1181
|
|
|
1183
1182
|
def __init__(__self__, *,
|
|
1184
|
-
active_deadline_seconds: Optional[
|
|
1185
|
-
backoff_limit: Optional[
|
|
1186
|
-
backoff_limit_per_index: Optional[
|
|
1187
|
-
completion_mode: Optional[
|
|
1188
|
-
completions: Optional[
|
|
1189
|
-
managed_by: Optional[
|
|
1190
|
-
manual_selector: Optional[
|
|
1191
|
-
max_failed_indexes: Optional[
|
|
1192
|
-
parallelism: Optional[
|
|
1183
|
+
active_deadline_seconds: Optional[_builtins.int] = None,
|
|
1184
|
+
backoff_limit: Optional[_builtins.int] = None,
|
|
1185
|
+
backoff_limit_per_index: Optional[_builtins.int] = None,
|
|
1186
|
+
completion_mode: Optional[_builtins.str] = None,
|
|
1187
|
+
completions: Optional[_builtins.int] = None,
|
|
1188
|
+
managed_by: Optional[_builtins.str] = None,
|
|
1189
|
+
manual_selector: Optional[_builtins.bool] = None,
|
|
1190
|
+
max_failed_indexes: Optional[_builtins.int] = None,
|
|
1191
|
+
parallelism: Optional[_builtins.int] = None,
|
|
1193
1192
|
pod_failure_policy: Optional['outputs.PodFailurePolicyPatch'] = None,
|
|
1194
|
-
pod_replacement_policy: Optional[
|
|
1193
|
+
pod_replacement_policy: Optional[_builtins.str] = None,
|
|
1195
1194
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1196
1195
|
success_policy: Optional['outputs.SuccessPolicyPatch'] = None,
|
|
1197
|
-
suspend: Optional[
|
|
1196
|
+
suspend: Optional[_builtins.bool] = None,
|
|
1198
1197
|
template: Optional['_core.v1.outputs.PodTemplateSpecPatch'] = None,
|
|
1199
|
-
ttl_seconds_after_finished: Optional[
|
|
1198
|
+
ttl_seconds_after_finished: Optional[_builtins.int] = None):
|
|
1200
1199
|
"""
|
|
1201
1200
|
JobSpec describes how the job execution will look like.
|
|
1202
|
-
:param
|
|
1203
|
-
:param
|
|
1204
|
-
:param
|
|
1205
|
-
:param
|
|
1201
|
+
: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.
|
|
1202
|
+
:param _builtins.int backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1203
|
+
: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.
|
|
1204
|
+
:param _builtins.str completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1206
1205
|
|
|
1207
1206
|
`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.
|
|
1208
1207
|
|
|
1209
1208
|
`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)`.
|
|
1210
1209
|
|
|
1211
1210
|
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.
|
|
1212
|
-
:param
|
|
1213
|
-
:param
|
|
1211
|
+
: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/
|
|
1212
|
+
: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.
|
|
1214
1213
|
|
|
1215
1214
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
1216
|
-
:param
|
|
1217
|
-
:param
|
|
1218
|
-
:param
|
|
1215
|
+
: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
|
|
1216
|
+
: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.
|
|
1217
|
+
: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/
|
|
1219
1218
|
: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.
|
|
1220
|
-
:param
|
|
1219
|
+
:param _builtins.str pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1221
1220
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
1222
1221
|
- Failed means to wait until a previously created Pod is fully terminated (has phase
|
|
1223
1222
|
Failed or Succeeded) before creating a replacement Pod.
|
|
@@ -1225,9 +1224,9 @@ class JobSpecPatch(dict):
|
|
|
1225
1224
|
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.
|
|
1226
1225
|
: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
|
|
1227
1226
|
: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.
|
|
1228
|
-
:param
|
|
1227
|
+
: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.
|
|
1229
1228
|
: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/
|
|
1230
|
-
:param
|
|
1229
|
+
: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.
|
|
1231
1230
|
"""
|
|
1232
1231
|
if active_deadline_seconds is not None:
|
|
1233
1232
|
pulumi.set(__self__, "active_deadline_seconds", active_deadline_seconds)
|
|
@@ -1262,33 +1261,33 @@ class JobSpecPatch(dict):
|
|
|
1262
1261
|
if ttl_seconds_after_finished is not None:
|
|
1263
1262
|
pulumi.set(__self__, "ttl_seconds_after_finished", ttl_seconds_after_finished)
|
|
1264
1263
|
|
|
1265
|
-
@property
|
|
1264
|
+
@_builtins.property
|
|
1266
1265
|
@pulumi.getter(name="activeDeadlineSeconds")
|
|
1267
|
-
def active_deadline_seconds(self) -> Optional[
|
|
1266
|
+
def active_deadline_seconds(self) -> Optional[_builtins.int]:
|
|
1268
1267
|
"""
|
|
1269
1268
|
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.
|
|
1270
1269
|
"""
|
|
1271
1270
|
return pulumi.get(self, "active_deadline_seconds")
|
|
1272
1271
|
|
|
1273
|
-
@property
|
|
1272
|
+
@_builtins.property
|
|
1274
1273
|
@pulumi.getter(name="backoffLimit")
|
|
1275
|
-
def backoff_limit(self) -> Optional[
|
|
1274
|
+
def backoff_limit(self) -> Optional[_builtins.int]:
|
|
1276
1275
|
"""
|
|
1277
1276
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1278
1277
|
"""
|
|
1279
1278
|
return pulumi.get(self, "backoff_limit")
|
|
1280
1279
|
|
|
1281
|
-
@property
|
|
1280
|
+
@_builtins.property
|
|
1282
1281
|
@pulumi.getter(name="backoffLimitPerIndex")
|
|
1283
|
-
def backoff_limit_per_index(self) -> Optional[
|
|
1282
|
+
def backoff_limit_per_index(self) -> Optional[_builtins.int]:
|
|
1284
1283
|
"""
|
|
1285
1284
|
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.
|
|
1286
1285
|
"""
|
|
1287
1286
|
return pulumi.get(self, "backoff_limit_per_index")
|
|
1288
1287
|
|
|
1289
|
-
@property
|
|
1288
|
+
@_builtins.property
|
|
1290
1289
|
@pulumi.getter(name="completionMode")
|
|
1291
|
-
def completion_mode(self) -> Optional[
|
|
1290
|
+
def completion_mode(self) -> Optional[_builtins.str]:
|
|
1292
1291
|
"""
|
|
1293
1292
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1294
1293
|
|
|
@@ -1300,17 +1299,17 @@ class JobSpecPatch(dict):
|
|
|
1300
1299
|
"""
|
|
1301
1300
|
return pulumi.get(self, "completion_mode")
|
|
1302
1301
|
|
|
1303
|
-
@property
|
|
1302
|
+
@_builtins.property
|
|
1304
1303
|
@pulumi.getter
|
|
1305
|
-
def completions(self) -> Optional[
|
|
1304
|
+
def completions(self) -> Optional[_builtins.int]:
|
|
1306
1305
|
"""
|
|
1307
1306
|
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/
|
|
1308
1307
|
"""
|
|
1309
1308
|
return pulumi.get(self, "completions")
|
|
1310
1309
|
|
|
1311
|
-
@property
|
|
1310
|
+
@_builtins.property
|
|
1312
1311
|
@pulumi.getter(name="managedBy")
|
|
1313
|
-
def managed_by(self) -> Optional[
|
|
1312
|
+
def managed_by(self) -> Optional[_builtins.str]:
|
|
1314
1313
|
"""
|
|
1315
1314
|
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.
|
|
1316
1315
|
|
|
@@ -1318,31 +1317,31 @@ class JobSpecPatch(dict):
|
|
|
1318
1317
|
"""
|
|
1319
1318
|
return pulumi.get(self, "managed_by")
|
|
1320
1319
|
|
|
1321
|
-
@property
|
|
1320
|
+
@_builtins.property
|
|
1322
1321
|
@pulumi.getter(name="manualSelector")
|
|
1323
|
-
def manual_selector(self) -> Optional[
|
|
1322
|
+
def manual_selector(self) -> Optional[_builtins.bool]:
|
|
1324
1323
|
"""
|
|
1325
1324
|
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
|
|
1326
1325
|
"""
|
|
1327
1326
|
return pulumi.get(self, "manual_selector")
|
|
1328
1327
|
|
|
1329
|
-
@property
|
|
1328
|
+
@_builtins.property
|
|
1330
1329
|
@pulumi.getter(name="maxFailedIndexes")
|
|
1331
|
-
def max_failed_indexes(self) -> Optional[
|
|
1330
|
+
def max_failed_indexes(self) -> Optional[_builtins.int]:
|
|
1332
1331
|
"""
|
|
1333
1332
|
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.
|
|
1334
1333
|
"""
|
|
1335
1334
|
return pulumi.get(self, "max_failed_indexes")
|
|
1336
1335
|
|
|
1337
|
-
@property
|
|
1336
|
+
@_builtins.property
|
|
1338
1337
|
@pulumi.getter
|
|
1339
|
-
def parallelism(self) -> Optional[
|
|
1338
|
+
def parallelism(self) -> Optional[_builtins.int]:
|
|
1340
1339
|
"""
|
|
1341
1340
|
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/
|
|
1342
1341
|
"""
|
|
1343
1342
|
return pulumi.get(self, "parallelism")
|
|
1344
1343
|
|
|
1345
|
-
@property
|
|
1344
|
+
@_builtins.property
|
|
1346
1345
|
@pulumi.getter(name="podFailurePolicy")
|
|
1347
1346
|
def pod_failure_policy(self) -> Optional['outputs.PodFailurePolicyPatch']:
|
|
1348
1347
|
"""
|
|
@@ -1350,9 +1349,9 @@ class JobSpecPatch(dict):
|
|
|
1350
1349
|
"""
|
|
1351
1350
|
return pulumi.get(self, "pod_failure_policy")
|
|
1352
1351
|
|
|
1353
|
-
@property
|
|
1352
|
+
@_builtins.property
|
|
1354
1353
|
@pulumi.getter(name="podReplacementPolicy")
|
|
1355
|
-
def pod_replacement_policy(self) -> Optional[
|
|
1354
|
+
def pod_replacement_policy(self) -> Optional[_builtins.str]:
|
|
1356
1355
|
"""
|
|
1357
1356
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1358
1357
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -1363,7 +1362,7 @@ class JobSpecPatch(dict):
|
|
|
1363
1362
|
"""
|
|
1364
1363
|
return pulumi.get(self, "pod_replacement_policy")
|
|
1365
1364
|
|
|
1366
|
-
@property
|
|
1365
|
+
@_builtins.property
|
|
1367
1366
|
@pulumi.getter
|
|
1368
1367
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
1369
1368
|
"""
|
|
@@ -1371,7 +1370,7 @@ class JobSpecPatch(dict):
|
|
|
1371
1370
|
"""
|
|
1372
1371
|
return pulumi.get(self, "selector")
|
|
1373
1372
|
|
|
1374
|
-
@property
|
|
1373
|
+
@_builtins.property
|
|
1375
1374
|
@pulumi.getter(name="successPolicy")
|
|
1376
1375
|
def success_policy(self) -> Optional['outputs.SuccessPolicyPatch']:
|
|
1377
1376
|
"""
|
|
@@ -1379,15 +1378,15 @@ class JobSpecPatch(dict):
|
|
|
1379
1378
|
"""
|
|
1380
1379
|
return pulumi.get(self, "success_policy")
|
|
1381
1380
|
|
|
1382
|
-
@property
|
|
1381
|
+
@_builtins.property
|
|
1383
1382
|
@pulumi.getter
|
|
1384
|
-
def suspend(self) -> Optional[
|
|
1383
|
+
def suspend(self) -> Optional[_builtins.bool]:
|
|
1385
1384
|
"""
|
|
1386
1385
|
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.
|
|
1387
1386
|
"""
|
|
1388
1387
|
return pulumi.get(self, "suspend")
|
|
1389
1388
|
|
|
1390
|
-
@property
|
|
1389
|
+
@_builtins.property
|
|
1391
1390
|
@pulumi.getter
|
|
1392
1391
|
def template(self) -> Optional['_core.v1.outputs.PodTemplateSpecPatch']:
|
|
1393
1392
|
"""
|
|
@@ -1395,9 +1394,9 @@ class JobSpecPatch(dict):
|
|
|
1395
1394
|
"""
|
|
1396
1395
|
return pulumi.get(self, "template")
|
|
1397
1396
|
|
|
1398
|
-
@property
|
|
1397
|
+
@_builtins.property
|
|
1399
1398
|
@pulumi.getter(name="ttlSecondsAfterFinished")
|
|
1400
|
-
def ttl_seconds_after_finished(self) -> Optional[
|
|
1399
|
+
def ttl_seconds_after_finished(self) -> Optional[_builtins.int]:
|
|
1401
1400
|
"""
|
|
1402
1401
|
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.
|
|
1403
1402
|
"""
|
|
@@ -1435,35 +1434,35 @@ class JobStatus(dict):
|
|
|
1435
1434
|
return super().get(key, default)
|
|
1436
1435
|
|
|
1437
1436
|
def __init__(__self__, *,
|
|
1438
|
-
active: Optional[
|
|
1439
|
-
completed_indexes: Optional[
|
|
1440
|
-
completion_time: Optional[
|
|
1437
|
+
active: Optional[_builtins.int] = None,
|
|
1438
|
+
completed_indexes: Optional[_builtins.str] = None,
|
|
1439
|
+
completion_time: Optional[_builtins.str] = None,
|
|
1441
1440
|
conditions: Optional[Sequence['outputs.JobCondition']] = None,
|
|
1442
|
-
failed: Optional[
|
|
1443
|
-
failed_indexes: Optional[
|
|
1444
|
-
ready: Optional[
|
|
1445
|
-
start_time: Optional[
|
|
1446
|
-
succeeded: Optional[
|
|
1447
|
-
terminating: Optional[
|
|
1441
|
+
failed: Optional[_builtins.int] = None,
|
|
1442
|
+
failed_indexes: Optional[_builtins.str] = None,
|
|
1443
|
+
ready: Optional[_builtins.int] = None,
|
|
1444
|
+
start_time: Optional[_builtins.str] = None,
|
|
1445
|
+
succeeded: Optional[_builtins.int] = None,
|
|
1446
|
+
terminating: Optional[_builtins.int] = None,
|
|
1448
1447
|
uncounted_terminated_pods: Optional['outputs.UncountedTerminatedPods'] = None):
|
|
1449
1448
|
"""
|
|
1450
1449
|
JobStatus represents the current state of a Job.
|
|
1451
|
-
:param
|
|
1452
|
-
:param
|
|
1453
|
-
:param
|
|
1450
|
+
: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.
|
|
1451
|
+
: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".
|
|
1452
|
+
: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.
|
|
1454
1453
|
: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.
|
|
1455
1454
|
|
|
1456
1455
|
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.
|
|
1457
1456
|
|
|
1458
1457
|
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1459
|
-
:param
|
|
1460
|
-
:param
|
|
1461
|
-
:param
|
|
1462
|
-
:param
|
|
1458
|
+
:param _builtins.int failed: The number of pods which reached phase Failed. The value increases monotonically.
|
|
1459
|
+
: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.
|
|
1460
|
+
:param _builtins.int ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1461
|
+
: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.
|
|
1463
1462
|
|
|
1464
1463
|
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.
|
|
1465
|
-
:param
|
|
1466
|
-
:param
|
|
1464
|
+
: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.
|
|
1465
|
+
:param _builtins.int terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1467
1466
|
|
|
1468
1467
|
This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).
|
|
1469
1468
|
: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.
|
|
@@ -1498,31 +1497,31 @@ class JobStatus(dict):
|
|
|
1498
1497
|
if uncounted_terminated_pods is not None:
|
|
1499
1498
|
pulumi.set(__self__, "uncounted_terminated_pods", uncounted_terminated_pods)
|
|
1500
1499
|
|
|
1501
|
-
@property
|
|
1500
|
+
@_builtins.property
|
|
1502
1501
|
@pulumi.getter
|
|
1503
|
-
def active(self) -> Optional[
|
|
1502
|
+
def active(self) -> Optional[_builtins.int]:
|
|
1504
1503
|
"""
|
|
1505
1504
|
The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1506
1505
|
"""
|
|
1507
1506
|
return pulumi.get(self, "active")
|
|
1508
1507
|
|
|
1509
|
-
@property
|
|
1508
|
+
@_builtins.property
|
|
1510
1509
|
@pulumi.getter(name="completedIndexes")
|
|
1511
|
-
def completed_indexes(self) -> Optional[
|
|
1510
|
+
def completed_indexes(self) -> Optional[_builtins.str]:
|
|
1512
1511
|
"""
|
|
1513
1512
|
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".
|
|
1514
1513
|
"""
|
|
1515
1514
|
return pulumi.get(self, "completed_indexes")
|
|
1516
1515
|
|
|
1517
|
-
@property
|
|
1516
|
+
@_builtins.property
|
|
1518
1517
|
@pulumi.getter(name="completionTime")
|
|
1519
|
-
def completion_time(self) -> Optional[
|
|
1518
|
+
def completion_time(self) -> Optional[_builtins.str]:
|
|
1520
1519
|
"""
|
|
1521
1520
|
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.
|
|
1522
1521
|
"""
|
|
1523
1522
|
return pulumi.get(self, "completion_time")
|
|
1524
1523
|
|
|
1525
|
-
@property
|
|
1524
|
+
@_builtins.property
|
|
1526
1525
|
@pulumi.getter
|
|
1527
1526
|
def conditions(self) -> Optional[Sequence['outputs.JobCondition']]:
|
|
1528
1527
|
"""
|
|
@@ -1534,33 +1533,33 @@ class JobStatus(dict):
|
|
|
1534
1533
|
"""
|
|
1535
1534
|
return pulumi.get(self, "conditions")
|
|
1536
1535
|
|
|
1537
|
-
@property
|
|
1536
|
+
@_builtins.property
|
|
1538
1537
|
@pulumi.getter
|
|
1539
|
-
def failed(self) -> Optional[
|
|
1538
|
+
def failed(self) -> Optional[_builtins.int]:
|
|
1540
1539
|
"""
|
|
1541
1540
|
The number of pods which reached phase Failed. The value increases monotonically.
|
|
1542
1541
|
"""
|
|
1543
1542
|
return pulumi.get(self, "failed")
|
|
1544
1543
|
|
|
1545
|
-
@property
|
|
1544
|
+
@_builtins.property
|
|
1546
1545
|
@pulumi.getter(name="failedIndexes")
|
|
1547
|
-
def failed_indexes(self) -> Optional[
|
|
1546
|
+
def failed_indexes(self) -> Optional[_builtins.str]:
|
|
1548
1547
|
"""
|
|
1549
1548
|
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.
|
|
1550
1549
|
"""
|
|
1551
1550
|
return pulumi.get(self, "failed_indexes")
|
|
1552
1551
|
|
|
1553
|
-
@property
|
|
1552
|
+
@_builtins.property
|
|
1554
1553
|
@pulumi.getter
|
|
1555
|
-
def ready(self) -> Optional[
|
|
1554
|
+
def ready(self) -> Optional[_builtins.int]:
|
|
1556
1555
|
"""
|
|
1557
1556
|
The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1558
1557
|
"""
|
|
1559
1558
|
return pulumi.get(self, "ready")
|
|
1560
1559
|
|
|
1561
|
-
@property
|
|
1560
|
+
@_builtins.property
|
|
1562
1561
|
@pulumi.getter(name="startTime")
|
|
1563
|
-
def start_time(self) -> Optional[
|
|
1562
|
+
def start_time(self) -> Optional[_builtins.str]:
|
|
1564
1563
|
"""
|
|
1565
1564
|
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.
|
|
1566
1565
|
|
|
@@ -1568,17 +1567,17 @@ class JobStatus(dict):
|
|
|
1568
1567
|
"""
|
|
1569
1568
|
return pulumi.get(self, "start_time")
|
|
1570
1569
|
|
|
1571
|
-
@property
|
|
1570
|
+
@_builtins.property
|
|
1572
1571
|
@pulumi.getter
|
|
1573
|
-
def succeeded(self) -> Optional[
|
|
1572
|
+
def succeeded(self) -> Optional[_builtins.int]:
|
|
1574
1573
|
"""
|
|
1575
1574
|
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.
|
|
1576
1575
|
"""
|
|
1577
1576
|
return pulumi.get(self, "succeeded")
|
|
1578
1577
|
|
|
1579
|
-
@property
|
|
1578
|
+
@_builtins.property
|
|
1580
1579
|
@pulumi.getter
|
|
1581
|
-
def terminating(self) -> Optional[
|
|
1580
|
+
def terminating(self) -> Optional[_builtins.int]:
|
|
1582
1581
|
"""
|
|
1583
1582
|
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1584
1583
|
|
|
@@ -1586,7 +1585,7 @@ class JobStatus(dict):
|
|
|
1586
1585
|
"""
|
|
1587
1586
|
return pulumi.get(self, "terminating")
|
|
1588
1587
|
|
|
1589
|
-
@property
|
|
1588
|
+
@_builtins.property
|
|
1590
1589
|
@pulumi.getter(name="uncountedTerminatedPods")
|
|
1591
1590
|
def uncounted_terminated_pods(self) -> Optional['outputs.UncountedTerminatedPods']:
|
|
1592
1591
|
"""
|
|
@@ -1633,35 +1632,35 @@ class JobStatusPatch(dict):
|
|
|
1633
1632
|
return super().get(key, default)
|
|
1634
1633
|
|
|
1635
1634
|
def __init__(__self__, *,
|
|
1636
|
-
active: Optional[
|
|
1637
|
-
completed_indexes: Optional[
|
|
1638
|
-
completion_time: Optional[
|
|
1635
|
+
active: Optional[_builtins.int] = None,
|
|
1636
|
+
completed_indexes: Optional[_builtins.str] = None,
|
|
1637
|
+
completion_time: Optional[_builtins.str] = None,
|
|
1639
1638
|
conditions: Optional[Sequence['outputs.JobConditionPatch']] = None,
|
|
1640
|
-
failed: Optional[
|
|
1641
|
-
failed_indexes: Optional[
|
|
1642
|
-
ready: Optional[
|
|
1643
|
-
start_time: Optional[
|
|
1644
|
-
succeeded: Optional[
|
|
1645
|
-
terminating: Optional[
|
|
1639
|
+
failed: Optional[_builtins.int] = None,
|
|
1640
|
+
failed_indexes: Optional[_builtins.str] = None,
|
|
1641
|
+
ready: Optional[_builtins.int] = None,
|
|
1642
|
+
start_time: Optional[_builtins.str] = None,
|
|
1643
|
+
succeeded: Optional[_builtins.int] = None,
|
|
1644
|
+
terminating: Optional[_builtins.int] = None,
|
|
1646
1645
|
uncounted_terminated_pods: Optional['outputs.UncountedTerminatedPodsPatch'] = None):
|
|
1647
1646
|
"""
|
|
1648
1647
|
JobStatus represents the current state of a Job.
|
|
1649
|
-
:param
|
|
1650
|
-
:param
|
|
1651
|
-
:param
|
|
1648
|
+
: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.
|
|
1649
|
+
: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".
|
|
1650
|
+
: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.
|
|
1652
1651
|
: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.
|
|
1653
1652
|
|
|
1654
1653
|
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.
|
|
1655
1654
|
|
|
1656
1655
|
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1657
|
-
:param
|
|
1658
|
-
:param
|
|
1659
|
-
:param
|
|
1660
|
-
:param
|
|
1656
|
+
:param _builtins.int failed: The number of pods which reached phase Failed. The value increases monotonically.
|
|
1657
|
+
: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.
|
|
1658
|
+
:param _builtins.int ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1659
|
+
: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.
|
|
1661
1660
|
|
|
1662
1661
|
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.
|
|
1663
|
-
:param
|
|
1664
|
-
:param
|
|
1662
|
+
: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.
|
|
1663
|
+
:param _builtins.int terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1665
1664
|
|
|
1666
1665
|
This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).
|
|
1667
1666
|
: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.
|
|
@@ -1696,31 +1695,31 @@ class JobStatusPatch(dict):
|
|
|
1696
1695
|
if uncounted_terminated_pods is not None:
|
|
1697
1696
|
pulumi.set(__self__, "uncounted_terminated_pods", uncounted_terminated_pods)
|
|
1698
1697
|
|
|
1699
|
-
@property
|
|
1698
|
+
@_builtins.property
|
|
1700
1699
|
@pulumi.getter
|
|
1701
|
-
def active(self) -> Optional[
|
|
1700
|
+
def active(self) -> Optional[_builtins.int]:
|
|
1702
1701
|
"""
|
|
1703
1702
|
The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1704
1703
|
"""
|
|
1705
1704
|
return pulumi.get(self, "active")
|
|
1706
1705
|
|
|
1707
|
-
@property
|
|
1706
|
+
@_builtins.property
|
|
1708
1707
|
@pulumi.getter(name="completedIndexes")
|
|
1709
|
-
def completed_indexes(self) -> Optional[
|
|
1708
|
+
def completed_indexes(self) -> Optional[_builtins.str]:
|
|
1710
1709
|
"""
|
|
1711
1710
|
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".
|
|
1712
1711
|
"""
|
|
1713
1712
|
return pulumi.get(self, "completed_indexes")
|
|
1714
1713
|
|
|
1715
|
-
@property
|
|
1714
|
+
@_builtins.property
|
|
1716
1715
|
@pulumi.getter(name="completionTime")
|
|
1717
|
-
def completion_time(self) -> Optional[
|
|
1716
|
+
def completion_time(self) -> Optional[_builtins.str]:
|
|
1718
1717
|
"""
|
|
1719
1718
|
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.
|
|
1720
1719
|
"""
|
|
1721
1720
|
return pulumi.get(self, "completion_time")
|
|
1722
1721
|
|
|
1723
|
-
@property
|
|
1722
|
+
@_builtins.property
|
|
1724
1723
|
@pulumi.getter
|
|
1725
1724
|
def conditions(self) -> Optional[Sequence['outputs.JobConditionPatch']]:
|
|
1726
1725
|
"""
|
|
@@ -1732,33 +1731,33 @@ class JobStatusPatch(dict):
|
|
|
1732
1731
|
"""
|
|
1733
1732
|
return pulumi.get(self, "conditions")
|
|
1734
1733
|
|
|
1735
|
-
@property
|
|
1734
|
+
@_builtins.property
|
|
1736
1735
|
@pulumi.getter
|
|
1737
|
-
def failed(self) -> Optional[
|
|
1736
|
+
def failed(self) -> Optional[_builtins.int]:
|
|
1738
1737
|
"""
|
|
1739
1738
|
The number of pods which reached phase Failed. The value increases monotonically.
|
|
1740
1739
|
"""
|
|
1741
1740
|
return pulumi.get(self, "failed")
|
|
1742
1741
|
|
|
1743
|
-
@property
|
|
1742
|
+
@_builtins.property
|
|
1744
1743
|
@pulumi.getter(name="failedIndexes")
|
|
1745
|
-
def failed_indexes(self) -> Optional[
|
|
1744
|
+
def failed_indexes(self) -> Optional[_builtins.str]:
|
|
1746
1745
|
"""
|
|
1747
1746
|
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.
|
|
1748
1747
|
"""
|
|
1749
1748
|
return pulumi.get(self, "failed_indexes")
|
|
1750
1749
|
|
|
1751
|
-
@property
|
|
1750
|
+
@_builtins.property
|
|
1752
1751
|
@pulumi.getter
|
|
1753
|
-
def ready(self) -> Optional[
|
|
1752
|
+
def ready(self) -> Optional[_builtins.int]:
|
|
1754
1753
|
"""
|
|
1755
1754
|
The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1756
1755
|
"""
|
|
1757
1756
|
return pulumi.get(self, "ready")
|
|
1758
1757
|
|
|
1759
|
-
@property
|
|
1758
|
+
@_builtins.property
|
|
1760
1759
|
@pulumi.getter(name="startTime")
|
|
1761
|
-
def start_time(self) -> Optional[
|
|
1760
|
+
def start_time(self) -> Optional[_builtins.str]:
|
|
1762
1761
|
"""
|
|
1763
1762
|
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.
|
|
1764
1763
|
|
|
@@ -1766,17 +1765,17 @@ class JobStatusPatch(dict):
|
|
|
1766
1765
|
"""
|
|
1767
1766
|
return pulumi.get(self, "start_time")
|
|
1768
1767
|
|
|
1769
|
-
@property
|
|
1768
|
+
@_builtins.property
|
|
1770
1769
|
@pulumi.getter
|
|
1771
|
-
def succeeded(self) -> Optional[
|
|
1770
|
+
def succeeded(self) -> Optional[_builtins.int]:
|
|
1772
1771
|
"""
|
|
1773
1772
|
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.
|
|
1774
1773
|
"""
|
|
1775
1774
|
return pulumi.get(self, "succeeded")
|
|
1776
1775
|
|
|
1777
|
-
@property
|
|
1776
|
+
@_builtins.property
|
|
1778
1777
|
@pulumi.getter
|
|
1779
|
-
def terminating(self) -> Optional[
|
|
1778
|
+
def terminating(self) -> Optional[_builtins.int]:
|
|
1780
1779
|
"""
|
|
1781
1780
|
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1782
1781
|
|
|
@@ -1784,7 +1783,7 @@ class JobStatusPatch(dict):
|
|
|
1784
1783
|
"""
|
|
1785
1784
|
return pulumi.get(self, "terminating")
|
|
1786
1785
|
|
|
1787
|
-
@property
|
|
1786
|
+
@_builtins.property
|
|
1788
1787
|
@pulumi.getter(name="uncountedTerminatedPods")
|
|
1789
1788
|
def uncounted_terminated_pods(self) -> Optional['outputs.UncountedTerminatedPodsPatch']:
|
|
1790
1789
|
"""
|
|
@@ -1818,7 +1817,7 @@ class JobTemplateSpec(dict):
|
|
|
1818
1817
|
if spec is not None:
|
|
1819
1818
|
pulumi.set(__self__, "spec", spec)
|
|
1820
1819
|
|
|
1821
|
-
@property
|
|
1820
|
+
@_builtins.property
|
|
1822
1821
|
@pulumi.getter
|
|
1823
1822
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
1824
1823
|
"""
|
|
@@ -1826,7 +1825,7 @@ class JobTemplateSpec(dict):
|
|
|
1826
1825
|
"""
|
|
1827
1826
|
return pulumi.get(self, "metadata")
|
|
1828
1827
|
|
|
1829
|
-
@property
|
|
1828
|
+
@_builtins.property
|
|
1830
1829
|
@pulumi.getter
|
|
1831
1830
|
def spec(self) -> Optional['outputs.JobSpec']:
|
|
1832
1831
|
"""
|
|
@@ -1853,7 +1852,7 @@ class JobTemplateSpecPatch(dict):
|
|
|
1853
1852
|
if spec is not None:
|
|
1854
1853
|
pulumi.set(__self__, "spec", spec)
|
|
1855
1854
|
|
|
1856
|
-
@property
|
|
1855
|
+
@_builtins.property
|
|
1857
1856
|
@pulumi.getter
|
|
1858
1857
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMetaPatch']:
|
|
1859
1858
|
"""
|
|
@@ -1861,7 +1860,7 @@ class JobTemplateSpecPatch(dict):
|
|
|
1861
1860
|
"""
|
|
1862
1861
|
return pulumi.get(self, "metadata")
|
|
1863
1862
|
|
|
1864
|
-
@property
|
|
1863
|
+
@_builtins.property
|
|
1865
1864
|
@pulumi.getter
|
|
1866
1865
|
def spec(self) -> Optional['outputs.JobSpecPatch']:
|
|
1867
1866
|
"""
|
|
@@ -1883,7 +1882,7 @@ class PodFailurePolicy(dict):
|
|
|
1883
1882
|
"""
|
|
1884
1883
|
pulumi.set(__self__, "rules", rules)
|
|
1885
1884
|
|
|
1886
|
-
@property
|
|
1885
|
+
@_builtins.property
|
|
1887
1886
|
@pulumi.getter
|
|
1888
1887
|
def rules(self) -> Sequence['outputs.PodFailurePolicyRule']:
|
|
1889
1888
|
"""
|
|
@@ -1915,12 +1914,12 @@ class PodFailurePolicyOnExitCodesRequirement(dict):
|
|
|
1915
1914
|
return super().get(key, default)
|
|
1916
1915
|
|
|
1917
1916
|
def __init__(__self__, *,
|
|
1918
|
-
operator:
|
|
1919
|
-
values: Sequence[
|
|
1920
|
-
container_name: Optional[
|
|
1917
|
+
operator: _builtins.str,
|
|
1918
|
+
values: Sequence[_builtins.int],
|
|
1919
|
+
container_name: Optional[_builtins.str] = None):
|
|
1921
1920
|
"""
|
|
1922
1921
|
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.
|
|
1923
|
-
:param
|
|
1922
|
+
: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:
|
|
1924
1923
|
|
|
1925
1924
|
- In: the requirement is satisfied if at least one container exit code
|
|
1926
1925
|
(might be multiple if there are multiple containers not restricted
|
|
@@ -1929,17 +1928,17 @@ class PodFailurePolicyOnExitCodesRequirement(dict):
|
|
|
1929
1928
|
(might be multiple if there are multiple containers not restricted
|
|
1930
1929
|
by the 'containerName' field) is not in the set of specified values.
|
|
1931
1930
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
1932
|
-
:param Sequence[
|
|
1933
|
-
:param
|
|
1931
|
+
: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.
|
|
1932
|
+
: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.
|
|
1934
1933
|
"""
|
|
1935
1934
|
pulumi.set(__self__, "operator", operator)
|
|
1936
1935
|
pulumi.set(__self__, "values", values)
|
|
1937
1936
|
if container_name is not None:
|
|
1938
1937
|
pulumi.set(__self__, "container_name", container_name)
|
|
1939
1938
|
|
|
1940
|
-
@property
|
|
1939
|
+
@_builtins.property
|
|
1941
1940
|
@pulumi.getter
|
|
1942
|
-
def operator(self) ->
|
|
1941
|
+
def operator(self) -> _builtins.str:
|
|
1943
1942
|
"""
|
|
1944
1943
|
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:
|
|
1945
1944
|
|
|
@@ -1953,17 +1952,17 @@ class PodFailurePolicyOnExitCodesRequirement(dict):
|
|
|
1953
1952
|
"""
|
|
1954
1953
|
return pulumi.get(self, "operator")
|
|
1955
1954
|
|
|
1956
|
-
@property
|
|
1955
|
+
@_builtins.property
|
|
1957
1956
|
@pulumi.getter
|
|
1958
|
-
def values(self) -> Sequence[
|
|
1957
|
+
def values(self) -> Sequence[_builtins.int]:
|
|
1959
1958
|
"""
|
|
1960
1959
|
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.
|
|
1961
1960
|
"""
|
|
1962
1961
|
return pulumi.get(self, "values")
|
|
1963
1962
|
|
|
1964
|
-
@property
|
|
1963
|
+
@_builtins.property
|
|
1965
1964
|
@pulumi.getter(name="containerName")
|
|
1966
|
-
def container_name(self) -> Optional[
|
|
1965
|
+
def container_name(self) -> Optional[_builtins.str]:
|
|
1967
1966
|
"""
|
|
1968
1967
|
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.
|
|
1969
1968
|
"""
|
|
@@ -1993,13 +1992,13 @@ class PodFailurePolicyOnExitCodesRequirementPatch(dict):
|
|
|
1993
1992
|
return super().get(key, default)
|
|
1994
1993
|
|
|
1995
1994
|
def __init__(__self__, *,
|
|
1996
|
-
container_name: Optional[
|
|
1997
|
-
operator: Optional[
|
|
1998
|
-
values: Optional[Sequence[
|
|
1995
|
+
container_name: Optional[_builtins.str] = None,
|
|
1996
|
+
operator: Optional[_builtins.str] = None,
|
|
1997
|
+
values: Optional[Sequence[_builtins.int]] = None):
|
|
1999
1998
|
"""
|
|
2000
1999
|
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.
|
|
2001
|
-
:param
|
|
2002
|
-
:param
|
|
2000
|
+
: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.
|
|
2001
|
+
: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:
|
|
2003
2002
|
|
|
2004
2003
|
- In: the requirement is satisfied if at least one container exit code
|
|
2005
2004
|
(might be multiple if there are multiple containers not restricted
|
|
@@ -2008,7 +2007,7 @@ class PodFailurePolicyOnExitCodesRequirementPatch(dict):
|
|
|
2008
2007
|
(might be multiple if there are multiple containers not restricted
|
|
2009
2008
|
by the 'containerName' field) is not in the set of specified values.
|
|
2010
2009
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2011
|
-
:param Sequence[
|
|
2010
|
+
: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.
|
|
2012
2011
|
"""
|
|
2013
2012
|
if container_name is not None:
|
|
2014
2013
|
pulumi.set(__self__, "container_name", container_name)
|
|
@@ -2017,17 +2016,17 @@ class PodFailurePolicyOnExitCodesRequirementPatch(dict):
|
|
|
2017
2016
|
if values is not None:
|
|
2018
2017
|
pulumi.set(__self__, "values", values)
|
|
2019
2018
|
|
|
2020
|
-
@property
|
|
2019
|
+
@_builtins.property
|
|
2021
2020
|
@pulumi.getter(name="containerName")
|
|
2022
|
-
def container_name(self) -> Optional[
|
|
2021
|
+
def container_name(self) -> Optional[_builtins.str]:
|
|
2023
2022
|
"""
|
|
2024
2023
|
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.
|
|
2025
2024
|
"""
|
|
2026
2025
|
return pulumi.get(self, "container_name")
|
|
2027
2026
|
|
|
2028
|
-
@property
|
|
2027
|
+
@_builtins.property
|
|
2029
2028
|
@pulumi.getter
|
|
2030
|
-
def operator(self) -> Optional[
|
|
2029
|
+
def operator(self) -> Optional[_builtins.str]:
|
|
2031
2030
|
"""
|
|
2032
2031
|
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:
|
|
2033
2032
|
|
|
@@ -2041,9 +2040,9 @@ class PodFailurePolicyOnExitCodesRequirementPatch(dict):
|
|
|
2041
2040
|
"""
|
|
2042
2041
|
return pulumi.get(self, "operator")
|
|
2043
2042
|
|
|
2044
|
-
@property
|
|
2043
|
+
@_builtins.property
|
|
2045
2044
|
@pulumi.getter
|
|
2046
|
-
def values(self) -> Optional[Sequence[
|
|
2045
|
+
def values(self) -> Optional[Sequence[_builtins.int]]:
|
|
2047
2046
|
"""
|
|
2048
2047
|
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.
|
|
2049
2048
|
"""
|
|
@@ -2056,27 +2055,27 @@ class PodFailurePolicyOnPodConditionsPattern(dict):
|
|
|
2056
2055
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2057
2056
|
"""
|
|
2058
2057
|
def __init__(__self__, *,
|
|
2059
|
-
status:
|
|
2060
|
-
type:
|
|
2058
|
+
status: _builtins.str,
|
|
2059
|
+
type: _builtins.str):
|
|
2061
2060
|
"""
|
|
2062
2061
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2063
|
-
:param
|
|
2064
|
-
:param
|
|
2062
|
+
: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.
|
|
2063
|
+
: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.
|
|
2065
2064
|
"""
|
|
2066
2065
|
pulumi.set(__self__, "status", status)
|
|
2067
2066
|
pulumi.set(__self__, "type", type)
|
|
2068
2067
|
|
|
2069
|
-
@property
|
|
2068
|
+
@_builtins.property
|
|
2070
2069
|
@pulumi.getter
|
|
2071
|
-
def status(self) ->
|
|
2070
|
+
def status(self) -> _builtins.str:
|
|
2072
2071
|
"""
|
|
2073
2072
|
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.
|
|
2074
2073
|
"""
|
|
2075
2074
|
return pulumi.get(self, "status")
|
|
2076
2075
|
|
|
2077
|
-
@property
|
|
2076
|
+
@_builtins.property
|
|
2078
2077
|
@pulumi.getter
|
|
2079
|
-
def type(self) ->
|
|
2078
|
+
def type(self) -> _builtins.str:
|
|
2080
2079
|
"""
|
|
2081
2080
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2082
2081
|
"""
|
|
@@ -2089,29 +2088,29 @@ class PodFailurePolicyOnPodConditionsPatternPatch(dict):
|
|
|
2089
2088
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2090
2089
|
"""
|
|
2091
2090
|
def __init__(__self__, *,
|
|
2092
|
-
status: Optional[
|
|
2093
|
-
type: Optional[
|
|
2091
|
+
status: Optional[_builtins.str] = None,
|
|
2092
|
+
type: Optional[_builtins.str] = None):
|
|
2094
2093
|
"""
|
|
2095
2094
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2096
|
-
:param
|
|
2097
|
-
:param
|
|
2095
|
+
: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.
|
|
2096
|
+
: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.
|
|
2098
2097
|
"""
|
|
2099
2098
|
if status is not None:
|
|
2100
2099
|
pulumi.set(__self__, "status", status)
|
|
2101
2100
|
if type is not None:
|
|
2102
2101
|
pulumi.set(__self__, "type", type)
|
|
2103
2102
|
|
|
2104
|
-
@property
|
|
2103
|
+
@_builtins.property
|
|
2105
2104
|
@pulumi.getter
|
|
2106
|
-
def status(self) -> Optional[
|
|
2105
|
+
def status(self) -> Optional[_builtins.str]:
|
|
2107
2106
|
"""
|
|
2108
2107
|
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.
|
|
2109
2108
|
"""
|
|
2110
2109
|
return pulumi.get(self, "status")
|
|
2111
2110
|
|
|
2112
|
-
@property
|
|
2111
|
+
@_builtins.property
|
|
2113
2112
|
@pulumi.getter
|
|
2114
|
-
def type(self) -> Optional[
|
|
2113
|
+
def type(self) -> Optional[_builtins.str]:
|
|
2115
2114
|
"""
|
|
2116
2115
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2117
2116
|
"""
|
|
@@ -2132,7 +2131,7 @@ class PodFailurePolicyPatch(dict):
|
|
|
2132
2131
|
if rules is not None:
|
|
2133
2132
|
pulumi.set(__self__, "rules", rules)
|
|
2134
2133
|
|
|
2135
|
-
@property
|
|
2134
|
+
@_builtins.property
|
|
2136
2135
|
@pulumi.getter
|
|
2137
2136
|
def rules(self) -> Optional[Sequence['outputs.PodFailurePolicyRulePatch']]:
|
|
2138
2137
|
"""
|
|
@@ -2166,12 +2165,12 @@ class PodFailurePolicyRule(dict):
|
|
|
2166
2165
|
return super().get(key, default)
|
|
2167
2166
|
|
|
2168
2167
|
def __init__(__self__, *,
|
|
2169
|
-
action:
|
|
2168
|
+
action: _builtins.str,
|
|
2170
2169
|
on_exit_codes: Optional['outputs.PodFailurePolicyOnExitCodesRequirement'] = None,
|
|
2171
2170
|
on_pod_conditions: Optional[Sequence['outputs.PodFailurePolicyOnPodConditionsPattern']] = None):
|
|
2172
2171
|
"""
|
|
2173
2172
|
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.
|
|
2174
|
-
:param
|
|
2173
|
+
:param _builtins.str action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2175
2174
|
|
|
2176
2175
|
- FailJob: indicates that the pod's job is marked as Failed and all
|
|
2177
2176
|
running pods are terminated.
|
|
@@ -2191,9 +2190,9 @@ class PodFailurePolicyRule(dict):
|
|
|
2191
2190
|
if on_pod_conditions is not None:
|
|
2192
2191
|
pulumi.set(__self__, "on_pod_conditions", on_pod_conditions)
|
|
2193
2192
|
|
|
2194
|
-
@property
|
|
2193
|
+
@_builtins.property
|
|
2195
2194
|
@pulumi.getter
|
|
2196
|
-
def action(self) ->
|
|
2195
|
+
def action(self) -> _builtins.str:
|
|
2197
2196
|
"""
|
|
2198
2197
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2199
2198
|
|
|
@@ -2209,7 +2208,7 @@ class PodFailurePolicyRule(dict):
|
|
|
2209
2208
|
"""
|
|
2210
2209
|
return pulumi.get(self, "action")
|
|
2211
2210
|
|
|
2212
|
-
@property
|
|
2211
|
+
@_builtins.property
|
|
2213
2212
|
@pulumi.getter(name="onExitCodes")
|
|
2214
2213
|
def on_exit_codes(self) -> Optional['outputs.PodFailurePolicyOnExitCodesRequirement']:
|
|
2215
2214
|
"""
|
|
@@ -2217,7 +2216,7 @@ class PodFailurePolicyRule(dict):
|
|
|
2217
2216
|
"""
|
|
2218
2217
|
return pulumi.get(self, "on_exit_codes")
|
|
2219
2218
|
|
|
2220
|
-
@property
|
|
2219
|
+
@_builtins.property
|
|
2221
2220
|
@pulumi.getter(name="onPodConditions")
|
|
2222
2221
|
def on_pod_conditions(self) -> Optional[Sequence['outputs.PodFailurePolicyOnPodConditionsPattern']]:
|
|
2223
2222
|
"""
|
|
@@ -2251,12 +2250,12 @@ class PodFailurePolicyRulePatch(dict):
|
|
|
2251
2250
|
return super().get(key, default)
|
|
2252
2251
|
|
|
2253
2252
|
def __init__(__self__, *,
|
|
2254
|
-
action: Optional[
|
|
2253
|
+
action: Optional[_builtins.str] = None,
|
|
2255
2254
|
on_exit_codes: Optional['outputs.PodFailurePolicyOnExitCodesRequirementPatch'] = None,
|
|
2256
2255
|
on_pod_conditions: Optional[Sequence['outputs.PodFailurePolicyOnPodConditionsPatternPatch']] = None):
|
|
2257
2256
|
"""
|
|
2258
2257
|
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.
|
|
2259
|
-
:param
|
|
2258
|
+
:param _builtins.str action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2260
2259
|
|
|
2261
2260
|
- FailJob: indicates that the pod's job is marked as Failed and all
|
|
2262
2261
|
running pods are terminated.
|
|
@@ -2277,9 +2276,9 @@ class PodFailurePolicyRulePatch(dict):
|
|
|
2277
2276
|
if on_pod_conditions is not None:
|
|
2278
2277
|
pulumi.set(__self__, "on_pod_conditions", on_pod_conditions)
|
|
2279
2278
|
|
|
2280
|
-
@property
|
|
2279
|
+
@_builtins.property
|
|
2281
2280
|
@pulumi.getter
|
|
2282
|
-
def action(self) -> Optional[
|
|
2281
|
+
def action(self) -> Optional[_builtins.str]:
|
|
2283
2282
|
"""
|
|
2284
2283
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2285
2284
|
|
|
@@ -2295,7 +2294,7 @@ class PodFailurePolicyRulePatch(dict):
|
|
|
2295
2294
|
"""
|
|
2296
2295
|
return pulumi.get(self, "action")
|
|
2297
2296
|
|
|
2298
|
-
@property
|
|
2297
|
+
@_builtins.property
|
|
2299
2298
|
@pulumi.getter(name="onExitCodes")
|
|
2300
2299
|
def on_exit_codes(self) -> Optional['outputs.PodFailurePolicyOnExitCodesRequirementPatch']:
|
|
2301
2300
|
"""
|
|
@@ -2303,7 +2302,7 @@ class PodFailurePolicyRulePatch(dict):
|
|
|
2303
2302
|
"""
|
|
2304
2303
|
return pulumi.get(self, "on_exit_codes")
|
|
2305
2304
|
|
|
2306
|
-
@property
|
|
2305
|
+
@_builtins.property
|
|
2307
2306
|
@pulumi.getter(name="onPodConditions")
|
|
2308
2307
|
def on_pod_conditions(self) -> Optional[Sequence['outputs.PodFailurePolicyOnPodConditionsPatternPatch']]:
|
|
2309
2308
|
"""
|
|
@@ -2325,7 +2324,7 @@ class SuccessPolicy(dict):
|
|
|
2325
2324
|
"""
|
|
2326
2325
|
pulumi.set(__self__, "rules", rules)
|
|
2327
2326
|
|
|
2328
|
-
@property
|
|
2327
|
+
@_builtins.property
|
|
2329
2328
|
@pulumi.getter
|
|
2330
2329
|
def rules(self) -> Sequence['outputs.SuccessPolicyRule']:
|
|
2331
2330
|
"""
|
|
@@ -2348,7 +2347,7 @@ class SuccessPolicyPatch(dict):
|
|
|
2348
2347
|
if rules is not None:
|
|
2349
2348
|
pulumi.set(__self__, "rules", rules)
|
|
2350
2349
|
|
|
2351
|
-
@property
|
|
2350
|
+
@_builtins.property
|
|
2352
2351
|
@pulumi.getter
|
|
2353
2352
|
def rules(self) -> Optional[Sequence['outputs.SuccessPolicyRulePatch']]:
|
|
2354
2353
|
"""
|
|
@@ -2382,29 +2381,29 @@ class SuccessPolicyRule(dict):
|
|
|
2382
2381
|
return super().get(key, default)
|
|
2383
2382
|
|
|
2384
2383
|
def __init__(__self__, *,
|
|
2385
|
-
succeeded_count: Optional[
|
|
2386
|
-
succeeded_indexes: Optional[
|
|
2384
|
+
succeeded_count: Optional[_builtins.int] = None,
|
|
2385
|
+
succeeded_indexes: Optional[_builtins.str] = None):
|
|
2387
2386
|
"""
|
|
2388
2387
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2389
|
-
:param
|
|
2390
|
-
:param
|
|
2388
|
+
: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.
|
|
2389
|
+
: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.
|
|
2391
2390
|
"""
|
|
2392
2391
|
if succeeded_count is not None:
|
|
2393
2392
|
pulumi.set(__self__, "succeeded_count", succeeded_count)
|
|
2394
2393
|
if succeeded_indexes is not None:
|
|
2395
2394
|
pulumi.set(__self__, "succeeded_indexes", succeeded_indexes)
|
|
2396
2395
|
|
|
2397
|
-
@property
|
|
2396
|
+
@_builtins.property
|
|
2398
2397
|
@pulumi.getter(name="succeededCount")
|
|
2399
|
-
def succeeded_count(self) -> Optional[
|
|
2398
|
+
def succeeded_count(self) -> Optional[_builtins.int]:
|
|
2400
2399
|
"""
|
|
2401
2400
|
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.
|
|
2402
2401
|
"""
|
|
2403
2402
|
return pulumi.get(self, "succeeded_count")
|
|
2404
2403
|
|
|
2405
|
-
@property
|
|
2404
|
+
@_builtins.property
|
|
2406
2405
|
@pulumi.getter(name="succeededIndexes")
|
|
2407
|
-
def succeeded_indexes(self) -> Optional[
|
|
2406
|
+
def succeeded_indexes(self) -> Optional[_builtins.str]:
|
|
2408
2407
|
"""
|
|
2409
2408
|
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.
|
|
2410
2409
|
"""
|
|
@@ -2436,29 +2435,29 @@ class SuccessPolicyRulePatch(dict):
|
|
|
2436
2435
|
return super().get(key, default)
|
|
2437
2436
|
|
|
2438
2437
|
def __init__(__self__, *,
|
|
2439
|
-
succeeded_count: Optional[
|
|
2440
|
-
succeeded_indexes: Optional[
|
|
2438
|
+
succeeded_count: Optional[_builtins.int] = None,
|
|
2439
|
+
succeeded_indexes: Optional[_builtins.str] = None):
|
|
2441
2440
|
"""
|
|
2442
2441
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2443
|
-
:param
|
|
2444
|
-
:param
|
|
2442
|
+
: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.
|
|
2443
|
+
: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.
|
|
2445
2444
|
"""
|
|
2446
2445
|
if succeeded_count is not None:
|
|
2447
2446
|
pulumi.set(__self__, "succeeded_count", succeeded_count)
|
|
2448
2447
|
if succeeded_indexes is not None:
|
|
2449
2448
|
pulumi.set(__self__, "succeeded_indexes", succeeded_indexes)
|
|
2450
2449
|
|
|
2451
|
-
@property
|
|
2450
|
+
@_builtins.property
|
|
2452
2451
|
@pulumi.getter(name="succeededCount")
|
|
2453
|
-
def succeeded_count(self) -> Optional[
|
|
2452
|
+
def succeeded_count(self) -> Optional[_builtins.int]:
|
|
2454
2453
|
"""
|
|
2455
2454
|
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.
|
|
2456
2455
|
"""
|
|
2457
2456
|
return pulumi.get(self, "succeeded_count")
|
|
2458
2457
|
|
|
2459
|
-
@property
|
|
2458
|
+
@_builtins.property
|
|
2460
2459
|
@pulumi.getter(name="succeededIndexes")
|
|
2461
|
-
def succeeded_indexes(self) -> Optional[
|
|
2460
|
+
def succeeded_indexes(self) -> Optional[_builtins.str]:
|
|
2462
2461
|
"""
|
|
2463
2462
|
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.
|
|
2464
2463
|
"""
|
|
@@ -2471,29 +2470,29 @@ class UncountedTerminatedPods(dict):
|
|
|
2471
2470
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2472
2471
|
"""
|
|
2473
2472
|
def __init__(__self__, *,
|
|
2474
|
-
failed: Optional[Sequence[
|
|
2475
|
-
succeeded: Optional[Sequence[
|
|
2473
|
+
failed: Optional[Sequence[_builtins.str]] = None,
|
|
2474
|
+
succeeded: Optional[Sequence[_builtins.str]] = None):
|
|
2476
2475
|
"""
|
|
2477
2476
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2478
|
-
:param Sequence[
|
|
2479
|
-
:param Sequence[
|
|
2477
|
+
:param Sequence[_builtins.str] failed: failed holds UIDs of failed Pods.
|
|
2478
|
+
:param Sequence[_builtins.str] succeeded: succeeded holds UIDs of succeeded Pods.
|
|
2480
2479
|
"""
|
|
2481
2480
|
if failed is not None:
|
|
2482
2481
|
pulumi.set(__self__, "failed", failed)
|
|
2483
2482
|
if succeeded is not None:
|
|
2484
2483
|
pulumi.set(__self__, "succeeded", succeeded)
|
|
2485
2484
|
|
|
2486
|
-
@property
|
|
2485
|
+
@_builtins.property
|
|
2487
2486
|
@pulumi.getter
|
|
2488
|
-
def failed(self) -> Optional[Sequence[
|
|
2487
|
+
def failed(self) -> Optional[Sequence[_builtins.str]]:
|
|
2489
2488
|
"""
|
|
2490
2489
|
failed holds UIDs of failed Pods.
|
|
2491
2490
|
"""
|
|
2492
2491
|
return pulumi.get(self, "failed")
|
|
2493
2492
|
|
|
2494
|
-
@property
|
|
2493
|
+
@_builtins.property
|
|
2495
2494
|
@pulumi.getter
|
|
2496
|
-
def succeeded(self) -> Optional[Sequence[
|
|
2495
|
+
def succeeded(self) -> Optional[Sequence[_builtins.str]]:
|
|
2497
2496
|
"""
|
|
2498
2497
|
succeeded holds UIDs of succeeded Pods.
|
|
2499
2498
|
"""
|
|
@@ -2506,29 +2505,29 @@ class UncountedTerminatedPodsPatch(dict):
|
|
|
2506
2505
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2507
2506
|
"""
|
|
2508
2507
|
def __init__(__self__, *,
|
|
2509
|
-
failed: Optional[Sequence[
|
|
2510
|
-
succeeded: Optional[Sequence[
|
|
2508
|
+
failed: Optional[Sequence[_builtins.str]] = None,
|
|
2509
|
+
succeeded: Optional[Sequence[_builtins.str]] = None):
|
|
2511
2510
|
"""
|
|
2512
2511
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2513
|
-
:param Sequence[
|
|
2514
|
-
:param Sequence[
|
|
2512
|
+
:param Sequence[_builtins.str] failed: failed holds UIDs of failed Pods.
|
|
2513
|
+
:param Sequence[_builtins.str] succeeded: succeeded holds UIDs of succeeded Pods.
|
|
2515
2514
|
"""
|
|
2516
2515
|
if failed is not None:
|
|
2517
2516
|
pulumi.set(__self__, "failed", failed)
|
|
2518
2517
|
if succeeded is not None:
|
|
2519
2518
|
pulumi.set(__self__, "succeeded", succeeded)
|
|
2520
2519
|
|
|
2521
|
-
@property
|
|
2520
|
+
@_builtins.property
|
|
2522
2521
|
@pulumi.getter
|
|
2523
|
-
def failed(self) -> Optional[Sequence[
|
|
2522
|
+
def failed(self) -> Optional[Sequence[_builtins.str]]:
|
|
2524
2523
|
"""
|
|
2525
2524
|
failed holds UIDs of failed Pods.
|
|
2526
2525
|
"""
|
|
2527
2526
|
return pulumi.get(self, "failed")
|
|
2528
2527
|
|
|
2529
|
-
@property
|
|
2528
|
+
@_builtins.property
|
|
2530
2529
|
@pulumi.getter
|
|
2531
|
-
def succeeded(self) -> Optional[Sequence[
|
|
2530
|
+
def succeeded(self) -> Optional[Sequence[_builtins.str]]:
|
|
2532
2531
|
"""
|
|
2533
2532
|
succeeded holds UIDs of succeeded Pods.
|
|
2534
2533
|
"""
|