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