pulumi-kubernetes 4.22.1__py3-none-any.whl → 4.22.2__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.22.1.dist-info → pulumi_kubernetes-4.22.2.dist-info}/METADATA +2 -2
- pulumi_kubernetes-4.22.2.dist-info/RECORD +679 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.22.2.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.22.1.dist-info/RECORD +0 -679
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.22.2.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -74,13 +75,13 @@ if not MYPY:
|
|
|
74
75
|
"""
|
|
75
76
|
CronJobSpec describes how the job execution will look like and when it will actually run.
|
|
76
77
|
"""
|
|
77
|
-
concurrency_policy: NotRequired[pulumi.Input[str]]
|
|
78
|
+
concurrency_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
78
79
|
"""
|
|
79
80
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
80
81
|
|
|
81
82
|
- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
|
|
82
83
|
"""
|
|
83
|
-
failed_jobs_history_limit: NotRequired[pulumi.Input[int]]
|
|
84
|
+
failed_jobs_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
84
85
|
"""
|
|
85
86
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
86
87
|
"""
|
|
@@ -88,23 +89,23 @@ if not MYPY:
|
|
|
88
89
|
"""
|
|
89
90
|
Specifies the job that will be created when executing a CronJob.
|
|
90
91
|
"""
|
|
91
|
-
schedule: NotRequired[pulumi.Input[str]]
|
|
92
|
+
schedule: NotRequired[pulumi.Input[builtins.str]]
|
|
92
93
|
"""
|
|
93
94
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
94
95
|
"""
|
|
95
|
-
starting_deadline_seconds: NotRequired[pulumi.Input[int]]
|
|
96
|
+
starting_deadline_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
96
97
|
"""
|
|
97
98
|
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
98
99
|
"""
|
|
99
|
-
successful_jobs_history_limit: NotRequired[pulumi.Input[int]]
|
|
100
|
+
successful_jobs_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
100
101
|
"""
|
|
101
102
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
102
103
|
"""
|
|
103
|
-
suspend: NotRequired[pulumi.Input[bool]]
|
|
104
|
+
suspend: NotRequired[pulumi.Input[builtins.bool]]
|
|
104
105
|
"""
|
|
105
106
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
106
107
|
"""
|
|
107
|
-
time_zone: NotRequired[pulumi.Input[str]]
|
|
108
|
+
time_zone: NotRequired[pulumi.Input[builtins.str]]
|
|
108
109
|
"""
|
|
109
110
|
The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
110
111
|
"""
|
|
@@ -114,26 +115,26 @@ elif False:
|
|
|
114
115
|
@pulumi.input_type
|
|
115
116
|
class CronJobSpecPatchArgs:
|
|
116
117
|
def __init__(__self__, *,
|
|
117
|
-
concurrency_policy: Optional[pulumi.Input[str]] = None,
|
|
118
|
-
failed_jobs_history_limit: Optional[pulumi.Input[int]] = None,
|
|
118
|
+
concurrency_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
119
|
+
failed_jobs_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
119
120
|
job_template: Optional[pulumi.Input['JobTemplateSpecPatchArgs']] = None,
|
|
120
|
-
schedule: Optional[pulumi.Input[str]] = None,
|
|
121
|
-
starting_deadline_seconds: Optional[pulumi.Input[int]] = None,
|
|
122
|
-
successful_jobs_history_limit: Optional[pulumi.Input[int]] = None,
|
|
123
|
-
suspend: Optional[pulumi.Input[bool]] = None,
|
|
124
|
-
time_zone: Optional[pulumi.Input[str]] = None):
|
|
121
|
+
schedule: Optional[pulumi.Input[builtins.str]] = None,
|
|
122
|
+
starting_deadline_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
123
|
+
successful_jobs_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
124
|
+
suspend: Optional[pulumi.Input[builtins.bool]] = None,
|
|
125
|
+
time_zone: Optional[pulumi.Input[builtins.str]] = None):
|
|
125
126
|
"""
|
|
126
127
|
CronJobSpec describes how the job execution will look like and when it will actually run.
|
|
127
|
-
:param pulumi.Input[str] concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
128
|
+
:param pulumi.Input[builtins.str] concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
128
129
|
|
|
129
130
|
- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
|
|
130
|
-
:param pulumi.Input[int] failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
131
|
+
:param pulumi.Input[builtins.int] failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
131
132
|
:param pulumi.Input['JobTemplateSpecPatchArgs'] job_template: Specifies the job that will be created when executing a CronJob.
|
|
132
|
-
:param pulumi.Input[str] schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
133
|
-
:param pulumi.Input[int] starting_deadline_seconds: Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
134
|
-
:param pulumi.Input[int] successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
135
|
-
:param pulumi.Input[bool] suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
136
|
-
:param pulumi.Input[str] time_zone: The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
133
|
+
:param pulumi.Input[builtins.str] schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
134
|
+
:param pulumi.Input[builtins.int] starting_deadline_seconds: Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
135
|
+
:param pulumi.Input[builtins.int] successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
136
|
+
:param pulumi.Input[builtins.bool] suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
137
|
+
:param pulumi.Input[builtins.str] time_zone: The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
137
138
|
"""
|
|
138
139
|
if concurrency_policy is not None:
|
|
139
140
|
pulumi.set(__self__, "concurrency_policy", concurrency_policy)
|
|
@@ -154,7 +155,7 @@ class CronJobSpecPatchArgs:
|
|
|
154
155
|
|
|
155
156
|
@property
|
|
156
157
|
@pulumi.getter(name="concurrencyPolicy")
|
|
157
|
-
def concurrency_policy(self) -> Optional[pulumi.Input[str]]:
|
|
158
|
+
def concurrency_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
158
159
|
"""
|
|
159
160
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
160
161
|
|
|
@@ -163,19 +164,19 @@ class CronJobSpecPatchArgs:
|
|
|
163
164
|
return pulumi.get(self, "concurrency_policy")
|
|
164
165
|
|
|
165
166
|
@concurrency_policy.setter
|
|
166
|
-
def concurrency_policy(self, value: Optional[pulumi.Input[str]]):
|
|
167
|
+
def concurrency_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
167
168
|
pulumi.set(self, "concurrency_policy", value)
|
|
168
169
|
|
|
169
170
|
@property
|
|
170
171
|
@pulumi.getter(name="failedJobsHistoryLimit")
|
|
171
|
-
def failed_jobs_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
172
|
+
def failed_jobs_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
172
173
|
"""
|
|
173
174
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
174
175
|
"""
|
|
175
176
|
return pulumi.get(self, "failed_jobs_history_limit")
|
|
176
177
|
|
|
177
178
|
@failed_jobs_history_limit.setter
|
|
178
|
-
def failed_jobs_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
179
|
+
def failed_jobs_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
179
180
|
pulumi.set(self, "failed_jobs_history_limit", value)
|
|
180
181
|
|
|
181
182
|
@property
|
|
@@ -192,62 +193,62 @@ class CronJobSpecPatchArgs:
|
|
|
192
193
|
|
|
193
194
|
@property
|
|
194
195
|
@pulumi.getter
|
|
195
|
-
def schedule(self) -> Optional[pulumi.Input[str]]:
|
|
196
|
+
def schedule(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
196
197
|
"""
|
|
197
198
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
198
199
|
"""
|
|
199
200
|
return pulumi.get(self, "schedule")
|
|
200
201
|
|
|
201
202
|
@schedule.setter
|
|
202
|
-
def schedule(self, value: Optional[pulumi.Input[str]]):
|
|
203
|
+
def schedule(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
203
204
|
pulumi.set(self, "schedule", value)
|
|
204
205
|
|
|
205
206
|
@property
|
|
206
207
|
@pulumi.getter(name="startingDeadlineSeconds")
|
|
207
|
-
def starting_deadline_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
208
|
+
def starting_deadline_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
208
209
|
"""
|
|
209
210
|
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
210
211
|
"""
|
|
211
212
|
return pulumi.get(self, "starting_deadline_seconds")
|
|
212
213
|
|
|
213
214
|
@starting_deadline_seconds.setter
|
|
214
|
-
def starting_deadline_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
215
|
+
def starting_deadline_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
215
216
|
pulumi.set(self, "starting_deadline_seconds", value)
|
|
216
217
|
|
|
217
218
|
@property
|
|
218
219
|
@pulumi.getter(name="successfulJobsHistoryLimit")
|
|
219
|
-
def successful_jobs_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
220
|
+
def successful_jobs_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
220
221
|
"""
|
|
221
222
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
222
223
|
"""
|
|
223
224
|
return pulumi.get(self, "successful_jobs_history_limit")
|
|
224
225
|
|
|
225
226
|
@successful_jobs_history_limit.setter
|
|
226
|
-
def successful_jobs_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
227
|
+
def successful_jobs_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
227
228
|
pulumi.set(self, "successful_jobs_history_limit", value)
|
|
228
229
|
|
|
229
230
|
@property
|
|
230
231
|
@pulumi.getter
|
|
231
|
-
def suspend(self) -> Optional[pulumi.Input[bool]]:
|
|
232
|
+
def suspend(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
232
233
|
"""
|
|
233
234
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
234
235
|
"""
|
|
235
236
|
return pulumi.get(self, "suspend")
|
|
236
237
|
|
|
237
238
|
@suspend.setter
|
|
238
|
-
def suspend(self, value: Optional[pulumi.Input[bool]]):
|
|
239
|
+
def suspend(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
239
240
|
pulumi.set(self, "suspend", value)
|
|
240
241
|
|
|
241
242
|
@property
|
|
242
243
|
@pulumi.getter(name="timeZone")
|
|
243
|
-
def time_zone(self) -> Optional[pulumi.Input[str]]:
|
|
244
|
+
def time_zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
244
245
|
"""
|
|
245
246
|
The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
246
247
|
"""
|
|
247
248
|
return pulumi.get(self, "time_zone")
|
|
248
249
|
|
|
249
250
|
@time_zone.setter
|
|
250
|
-
def time_zone(self, value: Optional[pulumi.Input[str]]):
|
|
251
|
+
def time_zone(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
251
252
|
pulumi.set(self, "time_zone", value)
|
|
252
253
|
|
|
253
254
|
|
|
@@ -260,33 +261,33 @@ if not MYPY:
|
|
|
260
261
|
"""
|
|
261
262
|
Specifies the job that will be created when executing a CronJob.
|
|
262
263
|
"""
|
|
263
|
-
schedule: pulumi.Input[str]
|
|
264
|
+
schedule: pulumi.Input[builtins.str]
|
|
264
265
|
"""
|
|
265
266
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
266
267
|
"""
|
|
267
|
-
concurrency_policy: NotRequired[pulumi.Input[str]]
|
|
268
|
+
concurrency_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
268
269
|
"""
|
|
269
270
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
270
271
|
|
|
271
272
|
- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
|
|
272
273
|
"""
|
|
273
|
-
failed_jobs_history_limit: NotRequired[pulumi.Input[int]]
|
|
274
|
+
failed_jobs_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
274
275
|
"""
|
|
275
276
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
276
277
|
"""
|
|
277
|
-
starting_deadline_seconds: NotRequired[pulumi.Input[int]]
|
|
278
|
+
starting_deadline_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
278
279
|
"""
|
|
279
280
|
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
280
281
|
"""
|
|
281
|
-
successful_jobs_history_limit: NotRequired[pulumi.Input[int]]
|
|
282
|
+
successful_jobs_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
282
283
|
"""
|
|
283
284
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
284
285
|
"""
|
|
285
|
-
suspend: NotRequired[pulumi.Input[bool]]
|
|
286
|
+
suspend: NotRequired[pulumi.Input[builtins.bool]]
|
|
286
287
|
"""
|
|
287
288
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
288
289
|
"""
|
|
289
|
-
time_zone: NotRequired[pulumi.Input[str]]
|
|
290
|
+
time_zone: NotRequired[pulumi.Input[builtins.str]]
|
|
290
291
|
"""
|
|
291
292
|
The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
292
293
|
"""
|
|
@@ -297,25 +298,25 @@ elif False:
|
|
|
297
298
|
class CronJobSpecArgs:
|
|
298
299
|
def __init__(__self__, *,
|
|
299
300
|
job_template: pulumi.Input['JobTemplateSpecArgs'],
|
|
300
|
-
schedule: pulumi.Input[str],
|
|
301
|
-
concurrency_policy: Optional[pulumi.Input[str]] = None,
|
|
302
|
-
failed_jobs_history_limit: Optional[pulumi.Input[int]] = None,
|
|
303
|
-
starting_deadline_seconds: Optional[pulumi.Input[int]] = None,
|
|
304
|
-
successful_jobs_history_limit: Optional[pulumi.Input[int]] = None,
|
|
305
|
-
suspend: Optional[pulumi.Input[bool]] = None,
|
|
306
|
-
time_zone: Optional[pulumi.Input[str]] = None):
|
|
301
|
+
schedule: pulumi.Input[builtins.str],
|
|
302
|
+
concurrency_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
303
|
+
failed_jobs_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
304
|
+
starting_deadline_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
305
|
+
successful_jobs_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
306
|
+
suspend: Optional[pulumi.Input[builtins.bool]] = None,
|
|
307
|
+
time_zone: Optional[pulumi.Input[builtins.str]] = None):
|
|
307
308
|
"""
|
|
308
309
|
CronJobSpec describes how the job execution will look like and when it will actually run.
|
|
309
310
|
:param pulumi.Input['JobTemplateSpecArgs'] job_template: Specifies the job that will be created when executing a CronJob.
|
|
310
|
-
:param pulumi.Input[str] schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
311
|
-
:param pulumi.Input[str] concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
311
|
+
:param pulumi.Input[builtins.str] schedule: The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
312
|
+
:param pulumi.Input[builtins.str] concurrency_policy: Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
312
313
|
|
|
313
314
|
- "Allow" (default): allows CronJobs to run concurrently; - "Forbid": forbids concurrent runs, skipping next run if previous run hasn't finished yet; - "Replace": cancels currently running job and replaces it with a new one
|
|
314
|
-
:param pulumi.Input[int] failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
315
|
-
:param pulumi.Input[int] starting_deadline_seconds: Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
316
|
-
:param pulumi.Input[int] successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
317
|
-
:param pulumi.Input[bool] suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
318
|
-
:param pulumi.Input[str] time_zone: The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
315
|
+
:param pulumi.Input[builtins.int] failed_jobs_history_limit: The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
316
|
+
:param pulumi.Input[builtins.int] starting_deadline_seconds: Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
317
|
+
:param pulumi.Input[builtins.int] successful_jobs_history_limit: The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
318
|
+
:param pulumi.Input[builtins.bool] suspend: This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
319
|
+
:param pulumi.Input[builtins.str] time_zone: The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
319
320
|
"""
|
|
320
321
|
pulumi.set(__self__, "job_template", job_template)
|
|
321
322
|
pulumi.set(__self__, "schedule", schedule)
|
|
@@ -346,19 +347,19 @@ class CronJobSpecArgs:
|
|
|
346
347
|
|
|
347
348
|
@property
|
|
348
349
|
@pulumi.getter
|
|
349
|
-
def schedule(self) -> pulumi.Input[str]:
|
|
350
|
+
def schedule(self) -> pulumi.Input[builtins.str]:
|
|
350
351
|
"""
|
|
351
352
|
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.
|
|
352
353
|
"""
|
|
353
354
|
return pulumi.get(self, "schedule")
|
|
354
355
|
|
|
355
356
|
@schedule.setter
|
|
356
|
-
def schedule(self, value: pulumi.Input[str]):
|
|
357
|
+
def schedule(self, value: pulumi.Input[builtins.str]):
|
|
357
358
|
pulumi.set(self, "schedule", value)
|
|
358
359
|
|
|
359
360
|
@property
|
|
360
361
|
@pulumi.getter(name="concurrencyPolicy")
|
|
361
|
-
def concurrency_policy(self) -> Optional[pulumi.Input[str]]:
|
|
362
|
+
def concurrency_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
362
363
|
"""
|
|
363
364
|
Specifies how to treat concurrent executions of a Job. Valid values are:
|
|
364
365
|
|
|
@@ -367,67 +368,67 @@ class CronJobSpecArgs:
|
|
|
367
368
|
return pulumi.get(self, "concurrency_policy")
|
|
368
369
|
|
|
369
370
|
@concurrency_policy.setter
|
|
370
|
-
def concurrency_policy(self, value: Optional[pulumi.Input[str]]):
|
|
371
|
+
def concurrency_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
371
372
|
pulumi.set(self, "concurrency_policy", value)
|
|
372
373
|
|
|
373
374
|
@property
|
|
374
375
|
@pulumi.getter(name="failedJobsHistoryLimit")
|
|
375
|
-
def failed_jobs_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
376
|
+
def failed_jobs_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
376
377
|
"""
|
|
377
378
|
The number of failed finished jobs to retain. Value must be non-negative integer. Defaults to 1.
|
|
378
379
|
"""
|
|
379
380
|
return pulumi.get(self, "failed_jobs_history_limit")
|
|
380
381
|
|
|
381
382
|
@failed_jobs_history_limit.setter
|
|
382
|
-
def failed_jobs_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
383
|
+
def failed_jobs_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
383
384
|
pulumi.set(self, "failed_jobs_history_limit", value)
|
|
384
385
|
|
|
385
386
|
@property
|
|
386
387
|
@pulumi.getter(name="startingDeadlineSeconds")
|
|
387
|
-
def starting_deadline_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
388
|
+
def starting_deadline_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
388
389
|
"""
|
|
389
390
|
Optional deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones.
|
|
390
391
|
"""
|
|
391
392
|
return pulumi.get(self, "starting_deadline_seconds")
|
|
392
393
|
|
|
393
394
|
@starting_deadline_seconds.setter
|
|
394
|
-
def starting_deadline_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
395
|
+
def starting_deadline_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
395
396
|
pulumi.set(self, "starting_deadline_seconds", value)
|
|
396
397
|
|
|
397
398
|
@property
|
|
398
399
|
@pulumi.getter(name="successfulJobsHistoryLimit")
|
|
399
|
-
def successful_jobs_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
400
|
+
def successful_jobs_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
400
401
|
"""
|
|
401
402
|
The number of successful finished jobs to retain. Value must be non-negative integer. Defaults to 3.
|
|
402
403
|
"""
|
|
403
404
|
return pulumi.get(self, "successful_jobs_history_limit")
|
|
404
405
|
|
|
405
406
|
@successful_jobs_history_limit.setter
|
|
406
|
-
def successful_jobs_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
407
|
+
def successful_jobs_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
407
408
|
pulumi.set(self, "successful_jobs_history_limit", value)
|
|
408
409
|
|
|
409
410
|
@property
|
|
410
411
|
@pulumi.getter
|
|
411
|
-
def suspend(self) -> Optional[pulumi.Input[bool]]:
|
|
412
|
+
def suspend(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
412
413
|
"""
|
|
413
414
|
This flag tells the controller to suspend subsequent executions, it does not apply to already started executions. Defaults to false.
|
|
414
415
|
"""
|
|
415
416
|
return pulumi.get(self, "suspend")
|
|
416
417
|
|
|
417
418
|
@suspend.setter
|
|
418
|
-
def suspend(self, value: Optional[pulumi.Input[bool]]):
|
|
419
|
+
def suspend(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
419
420
|
pulumi.set(self, "suspend", value)
|
|
420
421
|
|
|
421
422
|
@property
|
|
422
423
|
@pulumi.getter(name="timeZone")
|
|
423
|
-
def time_zone(self) -> Optional[pulumi.Input[str]]:
|
|
424
|
+
def time_zone(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
424
425
|
"""
|
|
425
426
|
The time zone name for the given schedule, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones. If not specified, this will default to the time zone of the kube-controller-manager process. The set of valid time zone names and the time zone offset is loaded from the system-wide time zone database by the API server during CronJob validation and the controller manager during execution. If no system-wide time zone database can be found a bundled version of the database is used instead. If the time zone name becomes invalid during the lifetime of a CronJob or due to a change in host configuration, the controller will stop creating new new Jobs and will create a system event with the reason UnknownTimeZone. More information can be found in https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#time-zones
|
|
426
427
|
"""
|
|
427
428
|
return pulumi.get(self, "time_zone")
|
|
428
429
|
|
|
429
430
|
@time_zone.setter
|
|
430
|
-
def time_zone(self, value: Optional[pulumi.Input[str]]):
|
|
431
|
+
def time_zone(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
431
432
|
pulumi.set(self, "time_zone", value)
|
|
432
433
|
|
|
433
434
|
|
|
@@ -440,11 +441,11 @@ if not MYPY:
|
|
|
440
441
|
"""
|
|
441
442
|
A list of pointers to currently running jobs.
|
|
442
443
|
"""
|
|
443
|
-
last_schedule_time: NotRequired[pulumi.Input[str]]
|
|
444
|
+
last_schedule_time: NotRequired[pulumi.Input[builtins.str]]
|
|
444
445
|
"""
|
|
445
446
|
Information when was the last time the job was successfully scheduled.
|
|
446
447
|
"""
|
|
447
|
-
last_successful_time: NotRequired[pulumi.Input[str]]
|
|
448
|
+
last_successful_time: NotRequired[pulumi.Input[builtins.str]]
|
|
448
449
|
"""
|
|
449
450
|
Information when was the last time the job successfully completed.
|
|
450
451
|
"""
|
|
@@ -455,13 +456,13 @@ elif False:
|
|
|
455
456
|
class CronJobStatusArgs:
|
|
456
457
|
def __init__(__self__, *,
|
|
457
458
|
active: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.ObjectReferenceArgs']]]] = None,
|
|
458
|
-
last_schedule_time: Optional[pulumi.Input[str]] = None,
|
|
459
|
-
last_successful_time: Optional[pulumi.Input[str]] = None):
|
|
459
|
+
last_schedule_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
460
|
+
last_successful_time: Optional[pulumi.Input[builtins.str]] = None):
|
|
460
461
|
"""
|
|
461
462
|
CronJobStatus represents the current state of a cron job.
|
|
462
463
|
:param pulumi.Input[Sequence[pulumi.Input['_core.v1.ObjectReferenceArgs']]] active: A list of pointers to currently running jobs.
|
|
463
|
-
:param pulumi.Input[str] last_schedule_time: Information when was the last time the job was successfully scheduled.
|
|
464
|
-
:param pulumi.Input[str] last_successful_time: Information when was the last time the job successfully completed.
|
|
464
|
+
:param pulumi.Input[builtins.str] last_schedule_time: Information when was the last time the job was successfully scheduled.
|
|
465
|
+
:param pulumi.Input[builtins.str] last_successful_time: Information when was the last time the job successfully completed.
|
|
465
466
|
"""
|
|
466
467
|
if active is not None:
|
|
467
468
|
pulumi.set(__self__, "active", active)
|
|
@@ -484,26 +485,26 @@ class CronJobStatusArgs:
|
|
|
484
485
|
|
|
485
486
|
@property
|
|
486
487
|
@pulumi.getter(name="lastScheduleTime")
|
|
487
|
-
def last_schedule_time(self) -> Optional[pulumi.Input[str]]:
|
|
488
|
+
def last_schedule_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
488
489
|
"""
|
|
489
490
|
Information when was the last time the job was successfully scheduled.
|
|
490
491
|
"""
|
|
491
492
|
return pulumi.get(self, "last_schedule_time")
|
|
492
493
|
|
|
493
494
|
@last_schedule_time.setter
|
|
494
|
-
def last_schedule_time(self, value: Optional[pulumi.Input[str]]):
|
|
495
|
+
def last_schedule_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
495
496
|
pulumi.set(self, "last_schedule_time", value)
|
|
496
497
|
|
|
497
498
|
@property
|
|
498
499
|
@pulumi.getter(name="lastSuccessfulTime")
|
|
499
|
-
def last_successful_time(self) -> Optional[pulumi.Input[str]]:
|
|
500
|
+
def last_successful_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
500
501
|
"""
|
|
501
502
|
Information when was the last time the job successfully completed.
|
|
502
503
|
"""
|
|
503
504
|
return pulumi.get(self, "last_successful_time")
|
|
504
505
|
|
|
505
506
|
@last_successful_time.setter
|
|
506
|
-
def last_successful_time(self, value: Optional[pulumi.Input[str]]):
|
|
507
|
+
def last_successful_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
507
508
|
pulumi.set(self, "last_successful_time", value)
|
|
508
509
|
|
|
509
510
|
|
|
@@ -512,11 +513,11 @@ if not MYPY:
|
|
|
512
513
|
"""
|
|
513
514
|
CronJob represents the configuration of a single cron job.
|
|
514
515
|
"""
|
|
515
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
516
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
516
517
|
"""
|
|
517
518
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
518
519
|
"""
|
|
519
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
520
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
520
521
|
"""
|
|
521
522
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
522
523
|
"""
|
|
@@ -538,15 +539,15 @@ elif False:
|
|
|
538
539
|
@pulumi.input_type
|
|
539
540
|
class CronJobArgs:
|
|
540
541
|
def __init__(__self__, *,
|
|
541
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
542
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
542
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
543
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
543
544
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
544
545
|
spec: Optional[pulumi.Input['CronJobSpecArgs']] = None,
|
|
545
546
|
status: Optional[pulumi.Input['CronJobStatusArgs']] = None):
|
|
546
547
|
"""
|
|
547
548
|
CronJob represents the configuration of a single cron job.
|
|
548
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
549
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
549
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
550
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
550
551
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
551
552
|
:param pulumi.Input['CronJobSpecArgs'] spec: Specification of the desired behavior of a cron job, including the schedule. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
552
553
|
:param pulumi.Input['CronJobStatusArgs'] status: Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
@@ -564,26 +565,26 @@ class CronJobArgs:
|
|
|
564
565
|
|
|
565
566
|
@property
|
|
566
567
|
@pulumi.getter(name="apiVersion")
|
|
567
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
568
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
568
569
|
"""
|
|
569
570
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
570
571
|
"""
|
|
571
572
|
return pulumi.get(self, "api_version")
|
|
572
573
|
|
|
573
574
|
@api_version.setter
|
|
574
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
575
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
575
576
|
pulumi.set(self, "api_version", value)
|
|
576
577
|
|
|
577
578
|
@property
|
|
578
579
|
@pulumi.getter
|
|
579
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
580
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
580
581
|
"""
|
|
581
582
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
582
583
|
"""
|
|
583
584
|
return pulumi.get(self, "kind")
|
|
584
585
|
|
|
585
586
|
@kind.setter
|
|
586
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
587
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
587
588
|
pulumi.set(self, "kind", value)
|
|
588
589
|
|
|
589
590
|
@property
|
|
@@ -628,27 +629,27 @@ if not MYPY:
|
|
|
628
629
|
"""
|
|
629
630
|
JobCondition describes current state of a job.
|
|
630
631
|
"""
|
|
631
|
-
status: pulumi.Input[str]
|
|
632
|
+
status: pulumi.Input[builtins.str]
|
|
632
633
|
"""
|
|
633
634
|
Status of the condition, one of True, False, Unknown.
|
|
634
635
|
"""
|
|
635
|
-
type: pulumi.Input[str]
|
|
636
|
+
type: pulumi.Input[builtins.str]
|
|
636
637
|
"""
|
|
637
638
|
Type of job condition, Complete or Failed.
|
|
638
639
|
"""
|
|
639
|
-
last_probe_time: NotRequired[pulumi.Input[str]]
|
|
640
|
+
last_probe_time: NotRequired[pulumi.Input[builtins.str]]
|
|
640
641
|
"""
|
|
641
642
|
Last time the condition was checked.
|
|
642
643
|
"""
|
|
643
|
-
last_transition_time: NotRequired[pulumi.Input[str]]
|
|
644
|
+
last_transition_time: NotRequired[pulumi.Input[builtins.str]]
|
|
644
645
|
"""
|
|
645
646
|
Last time the condition transit from one status to another.
|
|
646
647
|
"""
|
|
647
|
-
message: NotRequired[pulumi.Input[str]]
|
|
648
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
648
649
|
"""
|
|
649
650
|
Human readable message indicating details about last transition.
|
|
650
651
|
"""
|
|
651
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
652
|
+
reason: NotRequired[pulumi.Input[builtins.str]]
|
|
652
653
|
"""
|
|
653
654
|
(brief) reason for the condition's last transition.
|
|
654
655
|
"""
|
|
@@ -658,20 +659,20 @@ elif False:
|
|
|
658
659
|
@pulumi.input_type
|
|
659
660
|
class JobConditionArgs:
|
|
660
661
|
def __init__(__self__, *,
|
|
661
|
-
status: pulumi.Input[str],
|
|
662
|
-
type: pulumi.Input[str],
|
|
663
|
-
last_probe_time: Optional[pulumi.Input[str]] = None,
|
|
664
|
-
last_transition_time: Optional[pulumi.Input[str]] = None,
|
|
665
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
666
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
662
|
+
status: pulumi.Input[builtins.str],
|
|
663
|
+
type: pulumi.Input[builtins.str],
|
|
664
|
+
last_probe_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
665
|
+
last_transition_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
666
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
667
|
+
reason: Optional[pulumi.Input[builtins.str]] = None):
|
|
667
668
|
"""
|
|
668
669
|
JobCondition describes current state of a job.
|
|
669
|
-
:param pulumi.Input[str] status: Status of the condition, one of True, False, Unknown.
|
|
670
|
-
:param pulumi.Input[str] type: Type of job condition, Complete or Failed.
|
|
671
|
-
:param pulumi.Input[str] last_probe_time: Last time the condition was checked.
|
|
672
|
-
:param pulumi.Input[str] last_transition_time: Last time the condition transit from one status to another.
|
|
673
|
-
:param pulumi.Input[str] message: Human readable message indicating details about last transition.
|
|
674
|
-
:param pulumi.Input[str] reason: (brief) reason for the condition's last transition.
|
|
670
|
+
:param pulumi.Input[builtins.str] status: Status of the condition, one of True, False, Unknown.
|
|
671
|
+
:param pulumi.Input[builtins.str] type: Type of job condition, Complete or Failed.
|
|
672
|
+
:param pulumi.Input[builtins.str] last_probe_time: Last time the condition was checked.
|
|
673
|
+
:param pulumi.Input[builtins.str] last_transition_time: Last time the condition transit from one status to another.
|
|
674
|
+
:param pulumi.Input[builtins.str] message: Human readable message indicating details about last transition.
|
|
675
|
+
:param pulumi.Input[builtins.str] reason: (brief) reason for the condition's last transition.
|
|
675
676
|
"""
|
|
676
677
|
pulumi.set(__self__, "status", status)
|
|
677
678
|
pulumi.set(__self__, "type", type)
|
|
@@ -686,74 +687,74 @@ class JobConditionArgs:
|
|
|
686
687
|
|
|
687
688
|
@property
|
|
688
689
|
@pulumi.getter
|
|
689
|
-
def status(self) -> pulumi.Input[str]:
|
|
690
|
+
def status(self) -> pulumi.Input[builtins.str]:
|
|
690
691
|
"""
|
|
691
692
|
Status of the condition, one of True, False, Unknown.
|
|
692
693
|
"""
|
|
693
694
|
return pulumi.get(self, "status")
|
|
694
695
|
|
|
695
696
|
@status.setter
|
|
696
|
-
def status(self, value: pulumi.Input[str]):
|
|
697
|
+
def status(self, value: pulumi.Input[builtins.str]):
|
|
697
698
|
pulumi.set(self, "status", value)
|
|
698
699
|
|
|
699
700
|
@property
|
|
700
701
|
@pulumi.getter
|
|
701
|
-
def type(self) -> pulumi.Input[str]:
|
|
702
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
702
703
|
"""
|
|
703
704
|
Type of job condition, Complete or Failed.
|
|
704
705
|
"""
|
|
705
706
|
return pulumi.get(self, "type")
|
|
706
707
|
|
|
707
708
|
@type.setter
|
|
708
|
-
def type(self, value: pulumi.Input[str]):
|
|
709
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
709
710
|
pulumi.set(self, "type", value)
|
|
710
711
|
|
|
711
712
|
@property
|
|
712
713
|
@pulumi.getter(name="lastProbeTime")
|
|
713
|
-
def last_probe_time(self) -> Optional[pulumi.Input[str]]:
|
|
714
|
+
def last_probe_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
714
715
|
"""
|
|
715
716
|
Last time the condition was checked.
|
|
716
717
|
"""
|
|
717
718
|
return pulumi.get(self, "last_probe_time")
|
|
718
719
|
|
|
719
720
|
@last_probe_time.setter
|
|
720
|
-
def last_probe_time(self, value: Optional[pulumi.Input[str]]):
|
|
721
|
+
def last_probe_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
721
722
|
pulumi.set(self, "last_probe_time", value)
|
|
722
723
|
|
|
723
724
|
@property
|
|
724
725
|
@pulumi.getter(name="lastTransitionTime")
|
|
725
|
-
def last_transition_time(self) -> Optional[pulumi.Input[str]]:
|
|
726
|
+
def last_transition_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
726
727
|
"""
|
|
727
728
|
Last time the condition transit from one status to another.
|
|
728
729
|
"""
|
|
729
730
|
return pulumi.get(self, "last_transition_time")
|
|
730
731
|
|
|
731
732
|
@last_transition_time.setter
|
|
732
|
-
def last_transition_time(self, value: Optional[pulumi.Input[str]]):
|
|
733
|
+
def last_transition_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
733
734
|
pulumi.set(self, "last_transition_time", value)
|
|
734
735
|
|
|
735
736
|
@property
|
|
736
737
|
@pulumi.getter
|
|
737
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
738
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
738
739
|
"""
|
|
739
740
|
Human readable message indicating details about last transition.
|
|
740
741
|
"""
|
|
741
742
|
return pulumi.get(self, "message")
|
|
742
743
|
|
|
743
744
|
@message.setter
|
|
744
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
745
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
745
746
|
pulumi.set(self, "message", value)
|
|
746
747
|
|
|
747
748
|
@property
|
|
748
749
|
@pulumi.getter
|
|
749
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
750
|
+
def reason(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
750
751
|
"""
|
|
751
752
|
(brief) reason for the condition's last transition.
|
|
752
753
|
"""
|
|
753
754
|
return pulumi.get(self, "reason")
|
|
754
755
|
|
|
755
756
|
@reason.setter
|
|
756
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
757
|
+
def reason(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
757
758
|
pulumi.set(self, "reason", value)
|
|
758
759
|
|
|
759
760
|
|
|
@@ -762,19 +763,19 @@ if not MYPY:
|
|
|
762
763
|
"""
|
|
763
764
|
JobSpec describes how the job execution will look like.
|
|
764
765
|
"""
|
|
765
|
-
active_deadline_seconds: NotRequired[pulumi.Input[int]]
|
|
766
|
+
active_deadline_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
766
767
|
"""
|
|
767
768
|
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
|
|
768
769
|
"""
|
|
769
|
-
backoff_limit: NotRequired[pulumi.Input[int]]
|
|
770
|
+
backoff_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
770
771
|
"""
|
|
771
772
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
772
773
|
"""
|
|
773
|
-
backoff_limit_per_index: NotRequired[pulumi.Input[int]]
|
|
774
|
+
backoff_limit_per_index: NotRequired[pulumi.Input[builtins.int]]
|
|
774
775
|
"""
|
|
775
776
|
Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
776
777
|
"""
|
|
777
|
-
completion_mode: NotRequired[pulumi.Input[str]]
|
|
778
|
+
completion_mode: NotRequired[pulumi.Input[builtins.str]]
|
|
778
779
|
"""
|
|
779
780
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
780
781
|
|
|
@@ -784,25 +785,25 @@ if not MYPY:
|
|
|
784
785
|
|
|
785
786
|
More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
|
|
786
787
|
"""
|
|
787
|
-
completions: NotRequired[pulumi.Input[int]]
|
|
788
|
+
completions: NotRequired[pulumi.Input[builtins.int]]
|
|
788
789
|
"""
|
|
789
790
|
Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
790
791
|
"""
|
|
791
|
-
managed_by: NotRequired[pulumi.Input[str]]
|
|
792
|
+
managed_by: NotRequired[pulumi.Input[builtins.str]]
|
|
792
793
|
"""
|
|
793
794
|
ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
794
795
|
|
|
795
796
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
796
797
|
"""
|
|
797
|
-
manual_selector: NotRequired[pulumi.Input[bool]]
|
|
798
|
+
manual_selector: NotRequired[pulumi.Input[builtins.bool]]
|
|
798
799
|
"""
|
|
799
800
|
manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
|
|
800
801
|
"""
|
|
801
|
-
max_failed_indexes: NotRequired[pulumi.Input[int]]
|
|
802
|
+
max_failed_indexes: NotRequired[pulumi.Input[builtins.int]]
|
|
802
803
|
"""
|
|
803
804
|
Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
804
805
|
"""
|
|
805
|
-
parallelism: NotRequired[pulumi.Input[int]]
|
|
806
|
+
parallelism: NotRequired[pulumi.Input[builtins.int]]
|
|
806
807
|
"""
|
|
807
808
|
Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
808
809
|
"""
|
|
@@ -810,7 +811,7 @@ if not MYPY:
|
|
|
810
811
|
"""
|
|
811
812
|
Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
|
|
812
813
|
"""
|
|
813
|
-
pod_replacement_policy: NotRequired[pulumi.Input[str]]
|
|
814
|
+
pod_replacement_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
814
815
|
"""
|
|
815
816
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
816
817
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -829,7 +830,7 @@ if not MYPY:
|
|
|
829
830
|
|
|
830
831
|
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
831
832
|
"""
|
|
832
|
-
suspend: NotRequired[pulumi.Input[bool]]
|
|
833
|
+
suspend: NotRequired[pulumi.Input[builtins.bool]]
|
|
833
834
|
"""
|
|
834
835
|
suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
|
|
835
836
|
"""
|
|
@@ -837,7 +838,7 @@ if not MYPY:
|
|
|
837
838
|
"""
|
|
838
839
|
Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
839
840
|
"""
|
|
840
|
-
ttl_seconds_after_finished: NotRequired[pulumi.Input[int]]
|
|
841
|
+
ttl_seconds_after_finished: NotRequired[pulumi.Input[builtins.int]]
|
|
841
842
|
"""
|
|
842
843
|
ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
|
|
843
844
|
"""
|
|
@@ -847,43 +848,43 @@ elif False:
|
|
|
847
848
|
@pulumi.input_type
|
|
848
849
|
class JobSpecPatchArgs:
|
|
849
850
|
def __init__(__self__, *,
|
|
850
|
-
active_deadline_seconds: Optional[pulumi.Input[int]] = None,
|
|
851
|
-
backoff_limit: Optional[pulumi.Input[int]] = None,
|
|
852
|
-
backoff_limit_per_index: Optional[pulumi.Input[int]] = None,
|
|
853
|
-
completion_mode: Optional[pulumi.Input[str]] = None,
|
|
854
|
-
completions: Optional[pulumi.Input[int]] = None,
|
|
855
|
-
managed_by: Optional[pulumi.Input[str]] = None,
|
|
856
|
-
manual_selector: Optional[pulumi.Input[bool]] = None,
|
|
857
|
-
max_failed_indexes: Optional[pulumi.Input[int]] = None,
|
|
858
|
-
parallelism: Optional[pulumi.Input[int]] = None,
|
|
851
|
+
active_deadline_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
852
|
+
backoff_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
853
|
+
backoff_limit_per_index: Optional[pulumi.Input[builtins.int]] = None,
|
|
854
|
+
completion_mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
855
|
+
completions: Optional[pulumi.Input[builtins.int]] = None,
|
|
856
|
+
managed_by: Optional[pulumi.Input[builtins.str]] = None,
|
|
857
|
+
manual_selector: Optional[pulumi.Input[builtins.bool]] = None,
|
|
858
|
+
max_failed_indexes: Optional[pulumi.Input[builtins.int]] = None,
|
|
859
|
+
parallelism: Optional[pulumi.Input[builtins.int]] = None,
|
|
859
860
|
pod_failure_policy: Optional[pulumi.Input['PodFailurePolicyPatchArgs']] = None,
|
|
860
|
-
pod_replacement_policy: Optional[pulumi.Input[str]] = None,
|
|
861
|
+
pod_replacement_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
861
862
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
862
863
|
success_policy: Optional[pulumi.Input['SuccessPolicyPatchArgs']] = None,
|
|
863
|
-
suspend: Optional[pulumi.Input[bool]] = None,
|
|
864
|
+
suspend: Optional[pulumi.Input[builtins.bool]] = None,
|
|
864
865
|
template: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']] = None,
|
|
865
|
-
ttl_seconds_after_finished: Optional[pulumi.Input[int]] = None):
|
|
866
|
+
ttl_seconds_after_finished: Optional[pulumi.Input[builtins.int]] = None):
|
|
866
867
|
"""
|
|
867
868
|
JobSpec describes how the job execution will look like.
|
|
868
|
-
:param pulumi.Input[int] active_deadline_seconds: Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
|
|
869
|
-
:param pulumi.Input[int] backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
870
|
-
:param pulumi.Input[int] backoff_limit_per_index: Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
871
|
-
:param pulumi.Input[str] completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
869
|
+
:param pulumi.Input[builtins.int] active_deadline_seconds: Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
|
|
870
|
+
:param pulumi.Input[builtins.int] backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
871
|
+
:param pulumi.Input[builtins.int] backoff_limit_per_index: Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
872
|
+
:param pulumi.Input[builtins.str] completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
872
873
|
|
|
873
874
|
`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
|
|
874
875
|
|
|
875
876
|
`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
|
|
876
877
|
|
|
877
878
|
More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
|
|
878
|
-
:param pulumi.Input[int] completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
879
|
-
:param pulumi.Input[str] managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
879
|
+
:param pulumi.Input[builtins.int] completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
880
|
+
:param pulumi.Input[builtins.str] managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
880
881
|
|
|
881
882
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
882
|
-
:param pulumi.Input[bool] manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
|
|
883
|
-
:param pulumi.Input[int] max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
884
|
-
:param pulumi.Input[int] parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
883
|
+
:param pulumi.Input[builtins.bool] manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
|
|
884
|
+
:param pulumi.Input[builtins.int] max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
885
|
+
:param pulumi.Input[builtins.int] parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
885
886
|
:param pulumi.Input['PodFailurePolicyPatchArgs'] pod_failure_policy: Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
|
|
886
|
-
:param pulumi.Input[str] pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
887
|
+
:param pulumi.Input[builtins.str] pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
887
888
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
888
889
|
- Failed means to wait until a previously created Pod is fully terminated (has phase
|
|
889
890
|
Failed or Succeeded) before creating a replacement Pod.
|
|
@@ -893,9 +894,9 @@ class JobSpecPatchArgs:
|
|
|
893
894
|
:param pulumi.Input['SuccessPolicyPatchArgs'] success_policy: successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
|
|
894
895
|
|
|
895
896
|
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
896
|
-
:param pulumi.Input[bool] suspend: suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
|
|
897
|
+
:param pulumi.Input[builtins.bool] suspend: suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
|
|
897
898
|
:param pulumi.Input['_core.v1.PodTemplateSpecPatchArgs'] template: Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
898
|
-
:param pulumi.Input[int] ttl_seconds_after_finished: ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
|
|
899
|
+
:param pulumi.Input[builtins.int] ttl_seconds_after_finished: ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
|
|
899
900
|
"""
|
|
900
901
|
if active_deadline_seconds is not None:
|
|
901
902
|
pulumi.set(__self__, "active_deadline_seconds", active_deadline_seconds)
|
|
@@ -932,43 +933,43 @@ class JobSpecPatchArgs:
|
|
|
932
933
|
|
|
933
934
|
@property
|
|
934
935
|
@pulumi.getter(name="activeDeadlineSeconds")
|
|
935
|
-
def active_deadline_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
936
|
+
def active_deadline_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
936
937
|
"""
|
|
937
938
|
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
939
|
"""
|
|
939
940
|
return pulumi.get(self, "active_deadline_seconds")
|
|
940
941
|
|
|
941
942
|
@active_deadline_seconds.setter
|
|
942
|
-
def active_deadline_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
943
|
+
def active_deadline_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
943
944
|
pulumi.set(self, "active_deadline_seconds", value)
|
|
944
945
|
|
|
945
946
|
@property
|
|
946
947
|
@pulumi.getter(name="backoffLimit")
|
|
947
|
-
def backoff_limit(self) -> Optional[pulumi.Input[int]]:
|
|
948
|
+
def backoff_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
948
949
|
"""
|
|
949
950
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
950
951
|
"""
|
|
951
952
|
return pulumi.get(self, "backoff_limit")
|
|
952
953
|
|
|
953
954
|
@backoff_limit.setter
|
|
954
|
-
def backoff_limit(self, value: Optional[pulumi.Input[int]]):
|
|
955
|
+
def backoff_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
955
956
|
pulumi.set(self, "backoff_limit", value)
|
|
956
957
|
|
|
957
958
|
@property
|
|
958
959
|
@pulumi.getter(name="backoffLimitPerIndex")
|
|
959
|
-
def backoff_limit_per_index(self) -> Optional[pulumi.Input[int]]:
|
|
960
|
+
def backoff_limit_per_index(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
960
961
|
"""
|
|
961
962
|
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).
|
|
962
963
|
"""
|
|
963
964
|
return pulumi.get(self, "backoff_limit_per_index")
|
|
964
965
|
|
|
965
966
|
@backoff_limit_per_index.setter
|
|
966
|
-
def backoff_limit_per_index(self, value: Optional[pulumi.Input[int]]):
|
|
967
|
+
def backoff_limit_per_index(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
967
968
|
pulumi.set(self, "backoff_limit_per_index", value)
|
|
968
969
|
|
|
969
970
|
@property
|
|
970
971
|
@pulumi.getter(name="completionMode")
|
|
971
|
-
def completion_mode(self) -> Optional[pulumi.Input[str]]:
|
|
972
|
+
def completion_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
972
973
|
"""
|
|
973
974
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
974
975
|
|
|
@@ -981,24 +982,24 @@ class JobSpecPatchArgs:
|
|
|
981
982
|
return pulumi.get(self, "completion_mode")
|
|
982
983
|
|
|
983
984
|
@completion_mode.setter
|
|
984
|
-
def completion_mode(self, value: Optional[pulumi.Input[str]]):
|
|
985
|
+
def completion_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
985
986
|
pulumi.set(self, "completion_mode", value)
|
|
986
987
|
|
|
987
988
|
@property
|
|
988
989
|
@pulumi.getter
|
|
989
|
-
def completions(self) -> Optional[pulumi.Input[int]]:
|
|
990
|
+
def completions(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
990
991
|
"""
|
|
991
992
|
Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
992
993
|
"""
|
|
993
994
|
return pulumi.get(self, "completions")
|
|
994
995
|
|
|
995
996
|
@completions.setter
|
|
996
|
-
def completions(self, value: Optional[pulumi.Input[int]]):
|
|
997
|
+
def completions(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
997
998
|
pulumi.set(self, "completions", value)
|
|
998
999
|
|
|
999
1000
|
@property
|
|
1000
1001
|
@pulumi.getter(name="managedBy")
|
|
1001
|
-
def managed_by(self) -> Optional[pulumi.Input[str]]:
|
|
1002
|
+
def managed_by(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1002
1003
|
"""
|
|
1003
1004
|
ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
1004
1005
|
|
|
@@ -1007,43 +1008,43 @@ class JobSpecPatchArgs:
|
|
|
1007
1008
|
return pulumi.get(self, "managed_by")
|
|
1008
1009
|
|
|
1009
1010
|
@managed_by.setter
|
|
1010
|
-
def managed_by(self, value: Optional[pulumi.Input[str]]):
|
|
1011
|
+
def managed_by(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1011
1012
|
pulumi.set(self, "managed_by", value)
|
|
1012
1013
|
|
|
1013
1014
|
@property
|
|
1014
1015
|
@pulumi.getter(name="manualSelector")
|
|
1015
|
-
def manual_selector(self) -> Optional[pulumi.Input[bool]]:
|
|
1016
|
+
def manual_selector(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1016
1017
|
"""
|
|
1017
1018
|
manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
|
|
1018
1019
|
"""
|
|
1019
1020
|
return pulumi.get(self, "manual_selector")
|
|
1020
1021
|
|
|
1021
1022
|
@manual_selector.setter
|
|
1022
|
-
def manual_selector(self, value: Optional[pulumi.Input[bool]]):
|
|
1023
|
+
def manual_selector(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1023
1024
|
pulumi.set(self, "manual_selector", value)
|
|
1024
1025
|
|
|
1025
1026
|
@property
|
|
1026
1027
|
@pulumi.getter(name="maxFailedIndexes")
|
|
1027
|
-
def max_failed_indexes(self) -> Optional[pulumi.Input[int]]:
|
|
1028
|
+
def max_failed_indexes(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1028
1029
|
"""
|
|
1029
1030
|
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).
|
|
1030
1031
|
"""
|
|
1031
1032
|
return pulumi.get(self, "max_failed_indexes")
|
|
1032
1033
|
|
|
1033
1034
|
@max_failed_indexes.setter
|
|
1034
|
-
def max_failed_indexes(self, value: Optional[pulumi.Input[int]]):
|
|
1035
|
+
def max_failed_indexes(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1035
1036
|
pulumi.set(self, "max_failed_indexes", value)
|
|
1036
1037
|
|
|
1037
1038
|
@property
|
|
1038
1039
|
@pulumi.getter
|
|
1039
|
-
def parallelism(self) -> Optional[pulumi.Input[int]]:
|
|
1040
|
+
def parallelism(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1040
1041
|
"""
|
|
1041
1042
|
Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1042
1043
|
"""
|
|
1043
1044
|
return pulumi.get(self, "parallelism")
|
|
1044
1045
|
|
|
1045
1046
|
@parallelism.setter
|
|
1046
|
-
def parallelism(self, value: Optional[pulumi.Input[int]]):
|
|
1047
|
+
def parallelism(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1047
1048
|
pulumi.set(self, "parallelism", value)
|
|
1048
1049
|
|
|
1049
1050
|
@property
|
|
@@ -1060,7 +1061,7 @@ class JobSpecPatchArgs:
|
|
|
1060
1061
|
|
|
1061
1062
|
@property
|
|
1062
1063
|
@pulumi.getter(name="podReplacementPolicy")
|
|
1063
|
-
def pod_replacement_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1064
|
+
def pod_replacement_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1064
1065
|
"""
|
|
1065
1066
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1066
1067
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -1072,7 +1073,7 @@ class JobSpecPatchArgs:
|
|
|
1072
1073
|
return pulumi.get(self, "pod_replacement_policy")
|
|
1073
1074
|
|
|
1074
1075
|
@pod_replacement_policy.setter
|
|
1075
|
-
def pod_replacement_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1076
|
+
def pod_replacement_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1076
1077
|
pulumi.set(self, "pod_replacement_policy", value)
|
|
1077
1078
|
|
|
1078
1079
|
@property
|
|
@@ -1103,14 +1104,14 @@ class JobSpecPatchArgs:
|
|
|
1103
1104
|
|
|
1104
1105
|
@property
|
|
1105
1106
|
@pulumi.getter
|
|
1106
|
-
def suspend(self) -> Optional[pulumi.Input[bool]]:
|
|
1107
|
+
def suspend(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1107
1108
|
"""
|
|
1108
1109
|
suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
|
|
1109
1110
|
"""
|
|
1110
1111
|
return pulumi.get(self, "suspend")
|
|
1111
1112
|
|
|
1112
1113
|
@suspend.setter
|
|
1113
|
-
def suspend(self, value: Optional[pulumi.Input[bool]]):
|
|
1114
|
+
def suspend(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1114
1115
|
pulumi.set(self, "suspend", value)
|
|
1115
1116
|
|
|
1116
1117
|
@property
|
|
@@ -1127,14 +1128,14 @@ class JobSpecPatchArgs:
|
|
|
1127
1128
|
|
|
1128
1129
|
@property
|
|
1129
1130
|
@pulumi.getter(name="ttlSecondsAfterFinished")
|
|
1130
|
-
def ttl_seconds_after_finished(self) -> Optional[pulumi.Input[int]]:
|
|
1131
|
+
def ttl_seconds_after_finished(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1131
1132
|
"""
|
|
1132
1133
|
ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
|
|
1133
1134
|
"""
|
|
1134
1135
|
return pulumi.get(self, "ttl_seconds_after_finished")
|
|
1135
1136
|
|
|
1136
1137
|
@ttl_seconds_after_finished.setter
|
|
1137
|
-
def ttl_seconds_after_finished(self, value: Optional[pulumi.Input[int]]):
|
|
1138
|
+
def ttl_seconds_after_finished(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1138
1139
|
pulumi.set(self, "ttl_seconds_after_finished", value)
|
|
1139
1140
|
|
|
1140
1141
|
|
|
@@ -1147,19 +1148,19 @@ if not MYPY:
|
|
|
1147
1148
|
"""
|
|
1148
1149
|
Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1149
1150
|
"""
|
|
1150
|
-
active_deadline_seconds: NotRequired[pulumi.Input[int]]
|
|
1151
|
+
active_deadline_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
1151
1152
|
"""
|
|
1152
1153
|
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
|
|
1153
1154
|
"""
|
|
1154
|
-
backoff_limit: NotRequired[pulumi.Input[int]]
|
|
1155
|
+
backoff_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
1155
1156
|
"""
|
|
1156
1157
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1157
1158
|
"""
|
|
1158
|
-
backoff_limit_per_index: NotRequired[pulumi.Input[int]]
|
|
1159
|
+
backoff_limit_per_index: NotRequired[pulumi.Input[builtins.int]]
|
|
1159
1160
|
"""
|
|
1160
1161
|
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).
|
|
1161
1162
|
"""
|
|
1162
|
-
completion_mode: NotRequired[pulumi.Input[str]]
|
|
1163
|
+
completion_mode: NotRequired[pulumi.Input[builtins.str]]
|
|
1163
1164
|
"""
|
|
1164
1165
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1165
1166
|
|
|
@@ -1169,25 +1170,25 @@ if not MYPY:
|
|
|
1169
1170
|
|
|
1170
1171
|
More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
|
|
1171
1172
|
"""
|
|
1172
|
-
completions: NotRequired[pulumi.Input[int]]
|
|
1173
|
+
completions: NotRequired[pulumi.Input[builtins.int]]
|
|
1173
1174
|
"""
|
|
1174
1175
|
Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1175
1176
|
"""
|
|
1176
|
-
managed_by: NotRequired[pulumi.Input[str]]
|
|
1177
|
+
managed_by: NotRequired[pulumi.Input[builtins.str]]
|
|
1177
1178
|
"""
|
|
1178
1179
|
ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
1179
1180
|
|
|
1180
1181
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
1181
1182
|
"""
|
|
1182
|
-
manual_selector: NotRequired[pulumi.Input[bool]]
|
|
1183
|
+
manual_selector: NotRequired[pulumi.Input[builtins.bool]]
|
|
1183
1184
|
"""
|
|
1184
1185
|
manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
|
|
1185
1186
|
"""
|
|
1186
|
-
max_failed_indexes: NotRequired[pulumi.Input[int]]
|
|
1187
|
+
max_failed_indexes: NotRequired[pulumi.Input[builtins.int]]
|
|
1187
1188
|
"""
|
|
1188
1189
|
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).
|
|
1189
1190
|
"""
|
|
1190
|
-
parallelism: NotRequired[pulumi.Input[int]]
|
|
1191
|
+
parallelism: NotRequired[pulumi.Input[builtins.int]]
|
|
1191
1192
|
"""
|
|
1192
1193
|
Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1193
1194
|
"""
|
|
@@ -1195,7 +1196,7 @@ if not MYPY:
|
|
|
1195
1196
|
"""
|
|
1196
1197
|
Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
|
|
1197
1198
|
"""
|
|
1198
|
-
pod_replacement_policy: NotRequired[pulumi.Input[str]]
|
|
1199
|
+
pod_replacement_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
1199
1200
|
"""
|
|
1200
1201
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1201
1202
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -1214,11 +1215,11 @@ if not MYPY:
|
|
|
1214
1215
|
|
|
1215
1216
|
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
1216
1217
|
"""
|
|
1217
|
-
suspend: NotRequired[pulumi.Input[bool]]
|
|
1218
|
+
suspend: NotRequired[pulumi.Input[builtins.bool]]
|
|
1218
1219
|
"""
|
|
1219
1220
|
suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
|
|
1220
1221
|
"""
|
|
1221
|
-
ttl_seconds_after_finished: NotRequired[pulumi.Input[int]]
|
|
1222
|
+
ttl_seconds_after_finished: NotRequired[pulumi.Input[builtins.int]]
|
|
1222
1223
|
"""
|
|
1223
1224
|
ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
|
|
1224
1225
|
"""
|
|
@@ -1229,43 +1230,43 @@ elif False:
|
|
|
1229
1230
|
class JobSpecArgs:
|
|
1230
1231
|
def __init__(__self__, *,
|
|
1231
1232
|
template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
|
|
1232
|
-
active_deadline_seconds: Optional[pulumi.Input[int]] = None,
|
|
1233
|
-
backoff_limit: Optional[pulumi.Input[int]] = None,
|
|
1234
|
-
backoff_limit_per_index: Optional[pulumi.Input[int]] = None,
|
|
1235
|
-
completion_mode: Optional[pulumi.Input[str]] = None,
|
|
1236
|
-
completions: Optional[pulumi.Input[int]] = None,
|
|
1237
|
-
managed_by: Optional[pulumi.Input[str]] = None,
|
|
1238
|
-
manual_selector: Optional[pulumi.Input[bool]] = None,
|
|
1239
|
-
max_failed_indexes: Optional[pulumi.Input[int]] = None,
|
|
1240
|
-
parallelism: Optional[pulumi.Input[int]] = None,
|
|
1233
|
+
active_deadline_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
1234
|
+
backoff_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
1235
|
+
backoff_limit_per_index: Optional[pulumi.Input[builtins.int]] = None,
|
|
1236
|
+
completion_mode: Optional[pulumi.Input[builtins.str]] = None,
|
|
1237
|
+
completions: Optional[pulumi.Input[builtins.int]] = None,
|
|
1238
|
+
managed_by: Optional[pulumi.Input[builtins.str]] = None,
|
|
1239
|
+
manual_selector: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1240
|
+
max_failed_indexes: Optional[pulumi.Input[builtins.int]] = None,
|
|
1241
|
+
parallelism: Optional[pulumi.Input[builtins.int]] = None,
|
|
1241
1242
|
pod_failure_policy: Optional[pulumi.Input['PodFailurePolicyArgs']] = None,
|
|
1242
|
-
pod_replacement_policy: Optional[pulumi.Input[str]] = None,
|
|
1243
|
+
pod_replacement_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
1243
1244
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
1244
1245
|
success_policy: Optional[pulumi.Input['SuccessPolicyArgs']] = None,
|
|
1245
|
-
suspend: Optional[pulumi.Input[bool]] = None,
|
|
1246
|
-
ttl_seconds_after_finished: Optional[pulumi.Input[int]] = None):
|
|
1246
|
+
suspend: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1247
|
+
ttl_seconds_after_finished: Optional[pulumi.Input[builtins.int]] = None):
|
|
1247
1248
|
"""
|
|
1248
1249
|
JobSpec describes how the job execution will look like.
|
|
1249
1250
|
:param pulumi.Input['_core.v1.PodTemplateSpecArgs'] template: Describes the pod that will be created when executing a job. The only allowed template.spec.restartPolicy values are "Never" or "OnFailure". More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1250
|
-
:param pulumi.Input[int] active_deadline_seconds: Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
|
|
1251
|
-
:param pulumi.Input[int] backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1252
|
-
:param pulumi.Input[int] backoff_limit_per_index: Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1253
|
-
:param pulumi.Input[str] completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1251
|
+
:param pulumi.Input[builtins.int] active_deadline_seconds: Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
|
|
1252
|
+
:param pulumi.Input[builtins.int] backoff_limit: Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1253
|
+
:param pulumi.Input[builtins.int] backoff_limit_per_index: Specifies the limit for the number of retries within an index before marking this index as failed. When enabled the number of failures per index is kept in the pod's batch.kubernetes.io/job-index-failure-count annotation. It can only be set when Job's completionMode=Indexed, and the Pod's restart policy is Never. The field is immutable. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1254
|
+
:param pulumi.Input[builtins.str] completion_mode: completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1254
1255
|
|
|
1255
1256
|
`NonIndexed` means that the Job is considered complete when there have been .spec.completions successfully completed Pods. Each Pod completion is homologous to each other.
|
|
1256
1257
|
|
|
1257
1258
|
`Indexed` means that the Pods of a Job get an associated completion index from 0 to (.spec.completions - 1), available in the annotation batch.kubernetes.io/job-completion-index. The Job is considered complete when there is one successfully completed Pod for each index. When value is `Indexed`, .spec.completions must be specified and `.spec.parallelism` must be less than or equal to 10^5. In addition, The Pod name takes the form `$(job-name)-$(index)-$(random-string)`, the Pod hostname takes the form `$(job-name)-$(index)`.
|
|
1258
1259
|
|
|
1259
1260
|
More completion modes can be added in the future. If the Job controller observes a mode that it doesn't recognize, which is possible during upgrades due to version skew, the controller skips updates for the Job.
|
|
1260
|
-
:param pulumi.Input[int] completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1261
|
-
:param pulumi.Input[str] managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
1261
|
+
:param pulumi.Input[builtins.int] completions: Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1262
|
+
:param pulumi.Input[builtins.str] managed_by: ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
1262
1263
|
|
|
1263
1264
|
This field is beta-level. The job controller accepts setting the field when the feature gate JobManagedBy is enabled (enabled by default).
|
|
1264
|
-
:param pulumi.Input[bool] manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
|
|
1265
|
-
:param pulumi.Input[int] max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1266
|
-
:param pulumi.Input[int] parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1265
|
+
:param pulumi.Input[builtins.bool] manual_selector: manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
|
|
1266
|
+
:param pulumi.Input[builtins.int] max_failed_indexes: Specifies the maximal number of failed indexes before marking the Job as failed, when backoffLimitPerIndex is set. Once the number of failed indexes exceeds this number the entire Job is marked as Failed and its execution is terminated. When left as null the job continues execution of all of its indexes and is marked with the `Complete` Job condition. It can only be specified when backoffLimitPerIndex is set. It can be null or up to completions. It is required and must be less than or equal to 10^4 when is completions greater than 10^5. This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1267
|
+
:param pulumi.Input[builtins.int] parallelism: Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1267
1268
|
:param pulumi.Input['PodFailurePolicyArgs'] pod_failure_policy: Specifies the policy of handling failed pods. In particular, it allows to specify the set of actions and conditions which need to be satisfied to take the associated action. If empty, the default behaviour applies - the counter of failed pods, represented by the jobs's .status.failed field, is incremented and it is checked against the backoffLimit. This field cannot be used in combination with restartPolicy=OnFailure.
|
|
1268
|
-
:param pulumi.Input[str] pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1269
|
+
:param pulumi.Input[builtins.str] pod_replacement_policy: podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1269
1270
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
1270
1271
|
- Failed means to wait until a previously created Pod is fully terminated (has phase
|
|
1271
1272
|
Failed or Succeeded) before creating a replacement Pod.
|
|
@@ -1275,8 +1276,8 @@ class JobSpecArgs:
|
|
|
1275
1276
|
:param pulumi.Input['SuccessPolicyArgs'] success_policy: successPolicy specifies the policy when the Job can be declared as succeeded. If empty, the default behavior applies - the Job is declared as succeeded only when the number of succeeded pods equals to the completions. When the field is specified, it must be immutable and works only for the Indexed Jobs. Once the Job meets the SuccessPolicy, the lingering pods are terminated.
|
|
1276
1277
|
|
|
1277
1278
|
This field is beta-level. To use this field, you must enable the `JobSuccessPolicy` feature gate (enabled by default).
|
|
1278
|
-
:param pulumi.Input[bool] suspend: suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
|
|
1279
|
-
:param pulumi.Input[int] ttl_seconds_after_finished: ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
|
|
1279
|
+
:param pulumi.Input[builtins.bool] suspend: suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
|
|
1280
|
+
:param pulumi.Input[builtins.int] ttl_seconds_after_finished: ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
|
|
1280
1281
|
"""
|
|
1281
1282
|
pulumi.set(__self__, "template", template)
|
|
1282
1283
|
if active_deadline_seconds is not None:
|
|
@@ -1324,43 +1325,43 @@ class JobSpecArgs:
|
|
|
1324
1325
|
|
|
1325
1326
|
@property
|
|
1326
1327
|
@pulumi.getter(name="activeDeadlineSeconds")
|
|
1327
|
-
def active_deadline_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1328
|
+
def active_deadline_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1328
1329
|
"""
|
|
1329
1330
|
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. If a Job is suspended (at creation or through an update), this timer will effectively be stopped and reset when the Job is resumed again.
|
|
1330
1331
|
"""
|
|
1331
1332
|
return pulumi.get(self, "active_deadline_seconds")
|
|
1332
1333
|
|
|
1333
1334
|
@active_deadline_seconds.setter
|
|
1334
|
-
def active_deadline_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1335
|
+
def active_deadline_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1335
1336
|
pulumi.set(self, "active_deadline_seconds", value)
|
|
1336
1337
|
|
|
1337
1338
|
@property
|
|
1338
1339
|
@pulumi.getter(name="backoffLimit")
|
|
1339
|
-
def backoff_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1340
|
+
def backoff_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1340
1341
|
"""
|
|
1341
1342
|
Specifies the number of retries before marking this job failed. Defaults to 6
|
|
1342
1343
|
"""
|
|
1343
1344
|
return pulumi.get(self, "backoff_limit")
|
|
1344
1345
|
|
|
1345
1346
|
@backoff_limit.setter
|
|
1346
|
-
def backoff_limit(self, value: Optional[pulumi.Input[int]]):
|
|
1347
|
+
def backoff_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1347
1348
|
pulumi.set(self, "backoff_limit", value)
|
|
1348
1349
|
|
|
1349
1350
|
@property
|
|
1350
1351
|
@pulumi.getter(name="backoffLimitPerIndex")
|
|
1351
|
-
def backoff_limit_per_index(self) -> Optional[pulumi.Input[int]]:
|
|
1352
|
+
def backoff_limit_per_index(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1352
1353
|
"""
|
|
1353
1354
|
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).
|
|
1354
1355
|
"""
|
|
1355
1356
|
return pulumi.get(self, "backoff_limit_per_index")
|
|
1356
1357
|
|
|
1357
1358
|
@backoff_limit_per_index.setter
|
|
1358
|
-
def backoff_limit_per_index(self, value: Optional[pulumi.Input[int]]):
|
|
1359
|
+
def backoff_limit_per_index(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1359
1360
|
pulumi.set(self, "backoff_limit_per_index", value)
|
|
1360
1361
|
|
|
1361
1362
|
@property
|
|
1362
1363
|
@pulumi.getter(name="completionMode")
|
|
1363
|
-
def completion_mode(self) -> Optional[pulumi.Input[str]]:
|
|
1364
|
+
def completion_mode(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1364
1365
|
"""
|
|
1365
1366
|
completionMode specifies how Pod completions are tracked. It can be `NonIndexed` (default) or `Indexed`.
|
|
1366
1367
|
|
|
@@ -1373,24 +1374,24 @@ class JobSpecArgs:
|
|
|
1373
1374
|
return pulumi.get(self, "completion_mode")
|
|
1374
1375
|
|
|
1375
1376
|
@completion_mode.setter
|
|
1376
|
-
def completion_mode(self, value: Optional[pulumi.Input[str]]):
|
|
1377
|
+
def completion_mode(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1377
1378
|
pulumi.set(self, "completion_mode", value)
|
|
1378
1379
|
|
|
1379
1380
|
@property
|
|
1380
1381
|
@pulumi.getter
|
|
1381
|
-
def completions(self) -> Optional[pulumi.Input[int]]:
|
|
1382
|
+
def completions(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1382
1383
|
"""
|
|
1383
1384
|
Specifies the desired number of successfully finished pods the job should be run with. Setting to null means that the success of any pod signals the success of all pods, and allows parallelism to have any positive value. Setting to 1 means that parallelism is limited to 1 and the success of that pod signals the success of the job. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1384
1385
|
"""
|
|
1385
1386
|
return pulumi.get(self, "completions")
|
|
1386
1387
|
|
|
1387
1388
|
@completions.setter
|
|
1388
|
-
def completions(self, value: Optional[pulumi.Input[int]]):
|
|
1389
|
+
def completions(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1389
1390
|
pulumi.set(self, "completions", value)
|
|
1390
1391
|
|
|
1391
1392
|
@property
|
|
1392
1393
|
@pulumi.getter(name="managedBy")
|
|
1393
|
-
def managed_by(self) -> Optional[pulumi.Input[str]]:
|
|
1394
|
+
def managed_by(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1394
1395
|
"""
|
|
1395
1396
|
ManagedBy field indicates the controller that manages a Job. The k8s Job controller reconciles jobs which don't have this field at all or the field value is the reserved string `kubernetes.io/job-controller`, but skips reconciling Jobs with a custom value for this field. The value must be a valid domain-prefixed path (e.g. acme.io/foo) - all characters before the first "/" must be a valid subdomain as defined by RFC 1123. All characters trailing the first "/" must be valid HTTP Path characters as defined by RFC 3986. The value cannot exceed 63 characters. This field is immutable.
|
|
1396
1397
|
|
|
@@ -1399,43 +1400,43 @@ class JobSpecArgs:
|
|
|
1399
1400
|
return pulumi.get(self, "managed_by")
|
|
1400
1401
|
|
|
1401
1402
|
@managed_by.setter
|
|
1402
|
-
def managed_by(self, value: Optional[pulumi.Input[str]]):
|
|
1403
|
+
def managed_by(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1403
1404
|
pulumi.set(self, "managed_by", value)
|
|
1404
1405
|
|
|
1405
1406
|
@property
|
|
1406
1407
|
@pulumi.getter(name="manualSelector")
|
|
1407
|
-
def manual_selector(self) -> Optional[pulumi.Input[bool]]:
|
|
1408
|
+
def manual_selector(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1408
1409
|
"""
|
|
1409
1410
|
manualSelector controls generation of pod labels and pod selectors. Leave `manualSelector` unset unless you are certain what you are doing. When false or unset, the system pick labels unique to this job and appends those labels to the pod template. When true, the user is responsible for picking unique labels and specifying the selector. Failure to pick a unique label may cause this and other jobs to not function correctly. However, You may see `manualSelector=true` in jobs that were created with the old `extensions/v1beta1` API. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/#specifying-your-own-pod-selector
|
|
1410
1411
|
"""
|
|
1411
1412
|
return pulumi.get(self, "manual_selector")
|
|
1412
1413
|
|
|
1413
1414
|
@manual_selector.setter
|
|
1414
|
-
def manual_selector(self, value: Optional[pulumi.Input[bool]]):
|
|
1415
|
+
def manual_selector(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1415
1416
|
pulumi.set(self, "manual_selector", value)
|
|
1416
1417
|
|
|
1417
1418
|
@property
|
|
1418
1419
|
@pulumi.getter(name="maxFailedIndexes")
|
|
1419
|
-
def max_failed_indexes(self) -> Optional[pulumi.Input[int]]:
|
|
1420
|
+
def max_failed_indexes(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1420
1421
|
"""
|
|
1421
1422
|
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).
|
|
1422
1423
|
"""
|
|
1423
1424
|
return pulumi.get(self, "max_failed_indexes")
|
|
1424
1425
|
|
|
1425
1426
|
@max_failed_indexes.setter
|
|
1426
|
-
def max_failed_indexes(self, value: Optional[pulumi.Input[int]]):
|
|
1427
|
+
def max_failed_indexes(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1427
1428
|
pulumi.set(self, "max_failed_indexes", value)
|
|
1428
1429
|
|
|
1429
1430
|
@property
|
|
1430
1431
|
@pulumi.getter
|
|
1431
|
-
def parallelism(self) -> Optional[pulumi.Input[int]]:
|
|
1432
|
+
def parallelism(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1432
1433
|
"""
|
|
1433
1434
|
Specifies the maximum desired number of pods the job should run at any given time. The actual number of pods running in steady state will be less than this number when ((.spec.completions - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1434
1435
|
"""
|
|
1435
1436
|
return pulumi.get(self, "parallelism")
|
|
1436
1437
|
|
|
1437
1438
|
@parallelism.setter
|
|
1438
|
-
def parallelism(self, value: Optional[pulumi.Input[int]]):
|
|
1439
|
+
def parallelism(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1439
1440
|
pulumi.set(self, "parallelism", value)
|
|
1440
1441
|
|
|
1441
1442
|
@property
|
|
@@ -1452,7 +1453,7 @@ class JobSpecArgs:
|
|
|
1452
1453
|
|
|
1453
1454
|
@property
|
|
1454
1455
|
@pulumi.getter(name="podReplacementPolicy")
|
|
1455
|
-
def pod_replacement_policy(self) -> Optional[pulumi.Input[str]]:
|
|
1456
|
+
def pod_replacement_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1456
1457
|
"""
|
|
1457
1458
|
podReplacementPolicy specifies when to create replacement Pods. Possible values are: - TerminatingOrFailed means that we recreate pods
|
|
1458
1459
|
when they are terminating (has a metadata.deletionTimestamp) or failed.
|
|
@@ -1464,7 +1465,7 @@ class JobSpecArgs:
|
|
|
1464
1465
|
return pulumi.get(self, "pod_replacement_policy")
|
|
1465
1466
|
|
|
1466
1467
|
@pod_replacement_policy.setter
|
|
1467
|
-
def pod_replacement_policy(self, value: Optional[pulumi.Input[str]]):
|
|
1468
|
+
def pod_replacement_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1468
1469
|
pulumi.set(self, "pod_replacement_policy", value)
|
|
1469
1470
|
|
|
1470
1471
|
@property
|
|
@@ -1495,26 +1496,26 @@ class JobSpecArgs:
|
|
|
1495
1496
|
|
|
1496
1497
|
@property
|
|
1497
1498
|
@pulumi.getter
|
|
1498
|
-
def suspend(self) -> Optional[pulumi.Input[bool]]:
|
|
1499
|
+
def suspend(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1499
1500
|
"""
|
|
1500
1501
|
suspend specifies whether the Job controller should create Pods or not. If a Job is created with suspend set to true, no Pods are created by the Job controller. If a Job is suspended after creation (i.e. the flag goes from false to true), the Job controller will delete all active Pods associated with this Job. Users must design their workload to gracefully handle this. Suspending a Job will reset the StartTime field of the Job, effectively resetting the ActiveDeadlineSeconds timer too. Defaults to false.
|
|
1501
1502
|
"""
|
|
1502
1503
|
return pulumi.get(self, "suspend")
|
|
1503
1504
|
|
|
1504
1505
|
@suspend.setter
|
|
1505
|
-
def suspend(self, value: Optional[pulumi.Input[bool]]):
|
|
1506
|
+
def suspend(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1506
1507
|
pulumi.set(self, "suspend", value)
|
|
1507
1508
|
|
|
1508
1509
|
@property
|
|
1509
1510
|
@pulumi.getter(name="ttlSecondsAfterFinished")
|
|
1510
|
-
def ttl_seconds_after_finished(self) -> Optional[pulumi.Input[int]]:
|
|
1511
|
+
def ttl_seconds_after_finished(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1511
1512
|
"""
|
|
1512
1513
|
ttlSecondsAfterFinished limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. When the Job is being deleted, its lifecycle guarantees (e.g. finalizers) will be honored. If this field is unset, the Job won't be automatically deleted. If this field is set to zero, the Job becomes eligible to be deleted immediately after it finishes.
|
|
1513
1514
|
"""
|
|
1514
1515
|
return pulumi.get(self, "ttl_seconds_after_finished")
|
|
1515
1516
|
|
|
1516
1517
|
@ttl_seconds_after_finished.setter
|
|
1517
|
-
def ttl_seconds_after_finished(self, value: Optional[pulumi.Input[int]]):
|
|
1518
|
+
def ttl_seconds_after_finished(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1518
1519
|
pulumi.set(self, "ttl_seconds_after_finished", value)
|
|
1519
1520
|
|
|
1520
1521
|
|
|
@@ -1523,15 +1524,15 @@ if not MYPY:
|
|
|
1523
1524
|
"""
|
|
1524
1525
|
JobStatus represents the current state of a Job.
|
|
1525
1526
|
"""
|
|
1526
|
-
active: NotRequired[pulumi.Input[int]]
|
|
1527
|
+
active: NotRequired[pulumi.Input[builtins.int]]
|
|
1527
1528
|
"""
|
|
1528
1529
|
The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1529
1530
|
"""
|
|
1530
|
-
completed_indexes: NotRequired[pulumi.Input[str]]
|
|
1531
|
+
completed_indexes: NotRequired[pulumi.Input[builtins.str]]
|
|
1531
1532
|
"""
|
|
1532
1533
|
completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
|
|
1533
1534
|
"""
|
|
1534
|
-
completion_time: NotRequired[pulumi.Input[str]]
|
|
1535
|
+
completion_time: NotRequired[pulumi.Input[builtins.str]]
|
|
1535
1536
|
"""
|
|
1536
1537
|
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
|
|
1537
1538
|
"""
|
|
@@ -1543,31 +1544,31 @@ if not MYPY:
|
|
|
1543
1544
|
|
|
1544
1545
|
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1545
1546
|
"""
|
|
1546
|
-
failed: NotRequired[pulumi.Input[int]]
|
|
1547
|
+
failed: NotRequired[pulumi.Input[builtins.int]]
|
|
1547
1548
|
"""
|
|
1548
1549
|
The number of pods which reached phase Failed. The value increases monotonically.
|
|
1549
1550
|
"""
|
|
1550
|
-
failed_indexes: NotRequired[pulumi.Input[str]]
|
|
1551
|
+
failed_indexes: NotRequired[pulumi.Input[builtins.str]]
|
|
1551
1552
|
"""
|
|
1552
1553
|
FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
|
|
1553
1554
|
|
|
1554
1555
|
This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1555
1556
|
"""
|
|
1556
|
-
ready: NotRequired[pulumi.Input[int]]
|
|
1557
|
+
ready: NotRequired[pulumi.Input[builtins.int]]
|
|
1557
1558
|
"""
|
|
1558
1559
|
The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1559
1560
|
"""
|
|
1560
|
-
start_time: NotRequired[pulumi.Input[str]]
|
|
1561
|
+
start_time: NotRequired[pulumi.Input[builtins.str]]
|
|
1561
1562
|
"""
|
|
1562
1563
|
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
|
|
1563
1564
|
|
|
1564
1565
|
Once set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.
|
|
1565
1566
|
"""
|
|
1566
|
-
succeeded: NotRequired[pulumi.Input[int]]
|
|
1567
|
+
succeeded: NotRequired[pulumi.Input[builtins.int]]
|
|
1567
1568
|
"""
|
|
1568
1569
|
The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
|
|
1569
1570
|
"""
|
|
1570
|
-
terminating: NotRequired[pulumi.Input[int]]
|
|
1571
|
+
terminating: NotRequired[pulumi.Input[builtins.int]]
|
|
1571
1572
|
"""
|
|
1572
1573
|
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1573
1574
|
|
|
@@ -1590,37 +1591,37 @@ elif False:
|
|
|
1590
1591
|
@pulumi.input_type
|
|
1591
1592
|
class JobStatusArgs:
|
|
1592
1593
|
def __init__(__self__, *,
|
|
1593
|
-
active: Optional[pulumi.Input[int]] = None,
|
|
1594
|
-
completed_indexes: Optional[pulumi.Input[str]] = None,
|
|
1595
|
-
completion_time: Optional[pulumi.Input[str]] = None,
|
|
1594
|
+
active: Optional[pulumi.Input[builtins.int]] = None,
|
|
1595
|
+
completed_indexes: Optional[pulumi.Input[builtins.str]] = None,
|
|
1596
|
+
completion_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1596
1597
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['JobConditionArgs']]]] = None,
|
|
1597
|
-
failed: Optional[pulumi.Input[int]] = None,
|
|
1598
|
-
failed_indexes: Optional[pulumi.Input[str]] = None,
|
|
1599
|
-
ready: Optional[pulumi.Input[int]] = None,
|
|
1600
|
-
start_time: Optional[pulumi.Input[str]] = None,
|
|
1601
|
-
succeeded: Optional[pulumi.Input[int]] = None,
|
|
1602
|
-
terminating: Optional[pulumi.Input[int]] = None,
|
|
1598
|
+
failed: Optional[pulumi.Input[builtins.int]] = None,
|
|
1599
|
+
failed_indexes: Optional[pulumi.Input[builtins.str]] = None,
|
|
1600
|
+
ready: Optional[pulumi.Input[builtins.int]] = None,
|
|
1601
|
+
start_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1602
|
+
succeeded: Optional[pulumi.Input[builtins.int]] = None,
|
|
1603
|
+
terminating: Optional[pulumi.Input[builtins.int]] = None,
|
|
1603
1604
|
uncounted_terminated_pods: Optional[pulumi.Input['UncountedTerminatedPodsArgs']] = None):
|
|
1604
1605
|
"""
|
|
1605
1606
|
JobStatus represents the current state of a Job.
|
|
1606
|
-
:param pulumi.Input[int] active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1607
|
-
:param pulumi.Input[str] completed_indexes: completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
|
|
1608
|
-
:param pulumi.Input[str] completion_time: Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
|
|
1607
|
+
:param pulumi.Input[builtins.int] active: The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1608
|
+
:param pulumi.Input[builtins.str] completed_indexes: completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
|
|
1609
|
+
:param pulumi.Input[builtins.str] completion_time: Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
|
|
1609
1610
|
:param pulumi.Input[Sequence[pulumi.Input['JobConditionArgs']]] conditions: The latest available observations of an object's current state. When a Job fails, one of the conditions will have type "Failed" and status true. When a Job is suspended, one of the conditions will have type "Suspended" and status true; when the Job is resumed, the status of this condition will become false. When a Job is completed, one of the conditions will have type "Complete" and status true.
|
|
1610
1611
|
|
|
1611
1612
|
A job is considered finished when it is in a terminal condition, either "Complete" or "Failed". A Job cannot have both the "Complete" and "Failed" conditions. Additionally, it cannot be in the "Complete" and "FailureTarget" conditions. The "Complete", "Failed" and "FailureTarget" conditions cannot be disabled.
|
|
1612
1613
|
|
|
1613
1614
|
More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
|
|
1614
|
-
:param pulumi.Input[int] failed: The number of pods which reached phase Failed. The value increases monotonically.
|
|
1615
|
-
:param pulumi.Input[str] failed_indexes: FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
|
|
1615
|
+
:param pulumi.Input[builtins.int] failed: The number of pods which reached phase Failed. The value increases monotonically.
|
|
1616
|
+
:param pulumi.Input[builtins.str] failed_indexes: FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
|
|
1616
1617
|
|
|
1617
1618
|
This field is beta-level. It can be used when the `JobBackoffLimitPerIndex` feature gate is enabled (enabled by default).
|
|
1618
|
-
:param pulumi.Input[int] ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1619
|
-
:param pulumi.Input[str] start_time: Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
|
|
1619
|
+
:param pulumi.Input[builtins.int] ready: The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1620
|
+
:param pulumi.Input[builtins.str] start_time: Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
|
|
1620
1621
|
|
|
1621
1622
|
Once set, the field can only be removed when the job is suspended. The field cannot be modified while the job is unsuspended or finished.
|
|
1622
|
-
:param pulumi.Input[int] succeeded: The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
|
|
1623
|
-
:param pulumi.Input[int] terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1623
|
+
:param pulumi.Input[builtins.int] succeeded: The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
|
|
1624
|
+
:param pulumi.Input[builtins.int] terminating: The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1624
1625
|
|
|
1625
1626
|
This field is beta-level. The job controller populates the field when the feature gate JobPodReplacementPolicy is enabled (enabled by default).
|
|
1626
1627
|
:param pulumi.Input['UncountedTerminatedPodsArgs'] uncounted_terminated_pods: uncountedTerminatedPods holds the UIDs of Pods that have terminated but the job controller hasn't yet accounted for in the status counters.
|
|
@@ -1657,38 +1658,38 @@ class JobStatusArgs:
|
|
|
1657
1658
|
|
|
1658
1659
|
@property
|
|
1659
1660
|
@pulumi.getter
|
|
1660
|
-
def active(self) -> Optional[pulumi.Input[int]]:
|
|
1661
|
+
def active(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1661
1662
|
"""
|
|
1662
1663
|
The number of pending and running pods which are not terminating (without a deletionTimestamp). The value is zero for finished jobs.
|
|
1663
1664
|
"""
|
|
1664
1665
|
return pulumi.get(self, "active")
|
|
1665
1666
|
|
|
1666
1667
|
@active.setter
|
|
1667
|
-
def active(self, value: Optional[pulumi.Input[int]]):
|
|
1668
|
+
def active(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1668
1669
|
pulumi.set(self, "active", value)
|
|
1669
1670
|
|
|
1670
1671
|
@property
|
|
1671
1672
|
@pulumi.getter(name="completedIndexes")
|
|
1672
|
-
def completed_indexes(self) -> Optional[pulumi.Input[str]]:
|
|
1673
|
+
def completed_indexes(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1673
1674
|
"""
|
|
1674
1675
|
completedIndexes holds the completed indexes when .spec.completionMode = "Indexed" in a text format. The indexes are represented as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7".
|
|
1675
1676
|
"""
|
|
1676
1677
|
return pulumi.get(self, "completed_indexes")
|
|
1677
1678
|
|
|
1678
1679
|
@completed_indexes.setter
|
|
1679
|
-
def completed_indexes(self, value: Optional[pulumi.Input[str]]):
|
|
1680
|
+
def completed_indexes(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1680
1681
|
pulumi.set(self, "completed_indexes", value)
|
|
1681
1682
|
|
|
1682
1683
|
@property
|
|
1683
1684
|
@pulumi.getter(name="completionTime")
|
|
1684
|
-
def completion_time(self) -> Optional[pulumi.Input[str]]:
|
|
1685
|
+
def completion_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1685
1686
|
"""
|
|
1686
1687
|
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. The completion time is set when the job finishes successfully, and only then. The value cannot be updated or removed. The value indicates the same or later point in time as the startTime field.
|
|
1687
1688
|
"""
|
|
1688
1689
|
return pulumi.get(self, "completion_time")
|
|
1689
1690
|
|
|
1690
1691
|
@completion_time.setter
|
|
1691
|
-
def completion_time(self, value: Optional[pulumi.Input[str]]):
|
|
1692
|
+
def completion_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1692
1693
|
pulumi.set(self, "completion_time", value)
|
|
1693
1694
|
|
|
1694
1695
|
@property
|
|
@@ -1709,19 +1710,19 @@ class JobStatusArgs:
|
|
|
1709
1710
|
|
|
1710
1711
|
@property
|
|
1711
1712
|
@pulumi.getter
|
|
1712
|
-
def failed(self) -> Optional[pulumi.Input[int]]:
|
|
1713
|
+
def failed(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1713
1714
|
"""
|
|
1714
1715
|
The number of pods which reached phase Failed. The value increases monotonically.
|
|
1715
1716
|
"""
|
|
1716
1717
|
return pulumi.get(self, "failed")
|
|
1717
1718
|
|
|
1718
1719
|
@failed.setter
|
|
1719
|
-
def failed(self, value: Optional[pulumi.Input[int]]):
|
|
1720
|
+
def failed(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1720
1721
|
pulumi.set(self, "failed", value)
|
|
1721
1722
|
|
|
1722
1723
|
@property
|
|
1723
1724
|
@pulumi.getter(name="failedIndexes")
|
|
1724
|
-
def failed_indexes(self) -> Optional[pulumi.Input[str]]:
|
|
1725
|
+
def failed_indexes(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1725
1726
|
"""
|
|
1726
1727
|
FailedIndexes holds the failed indexes when spec.backoffLimitPerIndex is set. The indexes are represented in the text format analogous as for the `completedIndexes` field, ie. they are kept as decimal integers separated by commas. The numbers are listed in increasing order. Three or more consecutive numbers are compressed and represented by the first and last element of the series, separated by a hyphen. For example, if the failed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". The set of failed indexes cannot overlap with the set of completed indexes.
|
|
1727
1728
|
|
|
@@ -1730,24 +1731,24 @@ class JobStatusArgs:
|
|
|
1730
1731
|
return pulumi.get(self, "failed_indexes")
|
|
1731
1732
|
|
|
1732
1733
|
@failed_indexes.setter
|
|
1733
|
-
def failed_indexes(self, value: Optional[pulumi.Input[str]]):
|
|
1734
|
+
def failed_indexes(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1734
1735
|
pulumi.set(self, "failed_indexes", value)
|
|
1735
1736
|
|
|
1736
1737
|
@property
|
|
1737
1738
|
@pulumi.getter
|
|
1738
|
-
def ready(self) -> Optional[pulumi.Input[int]]:
|
|
1739
|
+
def ready(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1739
1740
|
"""
|
|
1740
1741
|
The number of active pods which have a Ready condition and are not terminating (without a deletionTimestamp).
|
|
1741
1742
|
"""
|
|
1742
1743
|
return pulumi.get(self, "ready")
|
|
1743
1744
|
|
|
1744
1745
|
@ready.setter
|
|
1745
|
-
def ready(self, value: Optional[pulumi.Input[int]]):
|
|
1746
|
+
def ready(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1746
1747
|
pulumi.set(self, "ready", value)
|
|
1747
1748
|
|
|
1748
1749
|
@property
|
|
1749
1750
|
@pulumi.getter(name="startTime")
|
|
1750
|
-
def start_time(self) -> Optional[pulumi.Input[str]]:
|
|
1751
|
+
def start_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1751
1752
|
"""
|
|
1752
1753
|
Represents time when the job controller started processing a job. When a Job is created in the suspended state, this field is not set until the first time it is resumed. This field is reset every time a Job is resumed from suspension. It is represented in RFC3339 form and is in UTC.
|
|
1753
1754
|
|
|
@@ -1756,24 +1757,24 @@ class JobStatusArgs:
|
|
|
1756
1757
|
return pulumi.get(self, "start_time")
|
|
1757
1758
|
|
|
1758
1759
|
@start_time.setter
|
|
1759
|
-
def start_time(self, value: Optional[pulumi.Input[str]]):
|
|
1760
|
+
def start_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1760
1761
|
pulumi.set(self, "start_time", value)
|
|
1761
1762
|
|
|
1762
1763
|
@property
|
|
1763
1764
|
@pulumi.getter
|
|
1764
|
-
def succeeded(self) -> Optional[pulumi.Input[int]]:
|
|
1765
|
+
def succeeded(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1765
1766
|
"""
|
|
1766
1767
|
The number of pods which reached phase Succeeded. The value increases monotonically for a given spec. However, it may decrease in reaction to scale down of elastic indexed jobs.
|
|
1767
1768
|
"""
|
|
1768
1769
|
return pulumi.get(self, "succeeded")
|
|
1769
1770
|
|
|
1770
1771
|
@succeeded.setter
|
|
1771
|
-
def succeeded(self, value: Optional[pulumi.Input[int]]):
|
|
1772
|
+
def succeeded(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1772
1773
|
pulumi.set(self, "succeeded", value)
|
|
1773
1774
|
|
|
1774
1775
|
@property
|
|
1775
1776
|
@pulumi.getter
|
|
1776
|
-
def terminating(self) -> Optional[pulumi.Input[int]]:
|
|
1777
|
+
def terminating(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1777
1778
|
"""
|
|
1778
1779
|
The number of pods which are terminating (in phase Pending or Running and have a deletionTimestamp).
|
|
1779
1780
|
|
|
@@ -1782,7 +1783,7 @@ class JobStatusArgs:
|
|
|
1782
1783
|
return pulumi.get(self, "terminating")
|
|
1783
1784
|
|
|
1784
1785
|
@terminating.setter
|
|
1785
|
-
def terminating(self, value: Optional[pulumi.Input[int]]):
|
|
1786
|
+
def terminating(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1786
1787
|
pulumi.set(self, "terminating", value)
|
|
1787
1788
|
|
|
1788
1789
|
@property
|
|
@@ -1942,11 +1943,11 @@ if not MYPY:
|
|
|
1942
1943
|
to schedule a replacement for an unready resource on the next update, you can add the
|
|
1943
1944
|
"pulumi.com/replaceUnready": "true" annotation to the resource definition.
|
|
1944
1945
|
"""
|
|
1945
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1946
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
1946
1947
|
"""
|
|
1947
1948
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1948
1949
|
"""
|
|
1949
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1950
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
1950
1951
|
"""
|
|
1951
1952
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1952
1953
|
"""
|
|
@@ -1968,8 +1969,8 @@ elif False:
|
|
|
1968
1969
|
@pulumi.input_type
|
|
1969
1970
|
class JobArgs:
|
|
1970
1971
|
def __init__(__self__, *,
|
|
1971
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1972
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1972
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
1973
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
1973
1974
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1974
1975
|
spec: Optional[pulumi.Input['JobSpecArgs']] = None,
|
|
1975
1976
|
status: Optional[pulumi.Input['JobStatusArgs']] = None):
|
|
@@ -1995,8 +1996,8 @@ class JobArgs:
|
|
|
1995
1996
|
Pulumi will continue to wait for readiness on the next update. If you would prefer
|
|
1996
1997
|
to schedule a replacement for an unready resource on the next update, you can add the
|
|
1997
1998
|
"pulumi.com/replaceUnready": "true" annotation to the resource definition.
|
|
1998
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1999
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1999
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2000
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2000
2001
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
2001
2002
|
:param pulumi.Input['JobSpecArgs'] spec: Specification of the desired behavior of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
2002
2003
|
:param pulumi.Input['JobStatusArgs'] status: Current status of a job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
@@ -2014,26 +2015,26 @@ class JobArgs:
|
|
|
2014
2015
|
|
|
2015
2016
|
@property
|
|
2016
2017
|
@pulumi.getter(name="apiVersion")
|
|
2017
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2018
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2018
2019
|
"""
|
|
2019
2020
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2020
2021
|
"""
|
|
2021
2022
|
return pulumi.get(self, "api_version")
|
|
2022
2023
|
|
|
2023
2024
|
@api_version.setter
|
|
2024
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2025
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2025
2026
|
pulumi.set(self, "api_version", value)
|
|
2026
2027
|
|
|
2027
2028
|
@property
|
|
2028
2029
|
@pulumi.getter
|
|
2029
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2030
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2030
2031
|
"""
|
|
2031
2032
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2032
2033
|
"""
|
|
2033
2034
|
return pulumi.get(self, "kind")
|
|
2034
2035
|
|
|
2035
2036
|
@kind.setter
|
|
2036
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2037
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2037
2038
|
pulumi.set(self, "kind", value)
|
|
2038
2039
|
|
|
2039
2040
|
@property
|
|
@@ -2078,11 +2079,11 @@ if not MYPY:
|
|
|
2078
2079
|
"""
|
|
2079
2080
|
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
|
|
2080
2081
|
"""
|
|
2081
|
-
container_name: NotRequired[pulumi.Input[str]]
|
|
2082
|
+
container_name: NotRequired[pulumi.Input[builtins.str]]
|
|
2082
2083
|
"""
|
|
2083
2084
|
Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2084
2085
|
"""
|
|
2085
|
-
operator: NotRequired[pulumi.Input[str]]
|
|
2086
|
+
operator: NotRequired[pulumi.Input[builtins.str]]
|
|
2086
2087
|
"""
|
|
2087
2088
|
Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2088
2089
|
|
|
@@ -2094,7 +2095,7 @@ if not MYPY:
|
|
|
2094
2095
|
by the 'containerName' field) is not in the set of specified values.
|
|
2095
2096
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2096
2097
|
"""
|
|
2097
|
-
values: NotRequired[pulumi.Input[Sequence[pulumi.Input[int]]]]
|
|
2098
|
+
values: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]
|
|
2098
2099
|
"""
|
|
2099
2100
|
Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2100
2101
|
"""
|
|
@@ -2104,13 +2105,13 @@ elif False:
|
|
|
2104
2105
|
@pulumi.input_type
|
|
2105
2106
|
class PodFailurePolicyOnExitCodesRequirementPatchArgs:
|
|
2106
2107
|
def __init__(__self__, *,
|
|
2107
|
-
container_name: Optional[pulumi.Input[str]] = None,
|
|
2108
|
-
operator: Optional[pulumi.Input[str]] = None,
|
|
2109
|
-
values: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]] = None):
|
|
2108
|
+
container_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
2109
|
+
operator: Optional[pulumi.Input[builtins.str]] = None,
|
|
2110
|
+
values: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]] = None):
|
|
2110
2111
|
"""
|
|
2111
2112
|
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
|
|
2112
|
-
:param pulumi.Input[str] container_name: Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2113
|
-
:param pulumi.Input[str] operator: Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2113
|
+
:param pulumi.Input[builtins.str] container_name: Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2114
|
+
:param pulumi.Input[builtins.str] operator: Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2114
2115
|
|
|
2115
2116
|
- In: the requirement is satisfied if at least one container exit code
|
|
2116
2117
|
(might be multiple if there are multiple containers not restricted
|
|
@@ -2119,7 +2120,7 @@ class PodFailurePolicyOnExitCodesRequirementPatchArgs:
|
|
|
2119
2120
|
(might be multiple if there are multiple containers not restricted
|
|
2120
2121
|
by the 'containerName' field) is not in the set of specified values.
|
|
2121
2122
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2122
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] values: Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2123
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] values: Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2123
2124
|
"""
|
|
2124
2125
|
if container_name is not None:
|
|
2125
2126
|
pulumi.set(__self__, "container_name", container_name)
|
|
@@ -2130,19 +2131,19 @@ class PodFailurePolicyOnExitCodesRequirementPatchArgs:
|
|
|
2130
2131
|
|
|
2131
2132
|
@property
|
|
2132
2133
|
@pulumi.getter(name="containerName")
|
|
2133
|
-
def container_name(self) -> Optional[pulumi.Input[str]]:
|
|
2134
|
+
def container_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2134
2135
|
"""
|
|
2135
2136
|
Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2136
2137
|
"""
|
|
2137
2138
|
return pulumi.get(self, "container_name")
|
|
2138
2139
|
|
|
2139
2140
|
@container_name.setter
|
|
2140
|
-
def container_name(self, value: Optional[pulumi.Input[str]]):
|
|
2141
|
+
def container_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2141
2142
|
pulumi.set(self, "container_name", value)
|
|
2142
2143
|
|
|
2143
2144
|
@property
|
|
2144
2145
|
@pulumi.getter
|
|
2145
|
-
def operator(self) -> Optional[pulumi.Input[str]]:
|
|
2146
|
+
def operator(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2146
2147
|
"""
|
|
2147
2148
|
Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2148
2149
|
|
|
@@ -2157,19 +2158,19 @@ class PodFailurePolicyOnExitCodesRequirementPatchArgs:
|
|
|
2157
2158
|
return pulumi.get(self, "operator")
|
|
2158
2159
|
|
|
2159
2160
|
@operator.setter
|
|
2160
|
-
def operator(self, value: Optional[pulumi.Input[str]]):
|
|
2161
|
+
def operator(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2161
2162
|
pulumi.set(self, "operator", value)
|
|
2162
2163
|
|
|
2163
2164
|
@property
|
|
2164
2165
|
@pulumi.getter
|
|
2165
|
-
def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]:
|
|
2166
|
+
def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]:
|
|
2166
2167
|
"""
|
|
2167
2168
|
Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2168
2169
|
"""
|
|
2169
2170
|
return pulumi.get(self, "values")
|
|
2170
2171
|
|
|
2171
2172
|
@values.setter
|
|
2172
|
-
def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[int]]]]):
|
|
2173
|
+
def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.int]]]]):
|
|
2173
2174
|
pulumi.set(self, "values", value)
|
|
2174
2175
|
|
|
2175
2176
|
|
|
@@ -2178,7 +2179,7 @@ if not MYPY:
|
|
|
2178
2179
|
"""
|
|
2179
2180
|
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
|
|
2180
2181
|
"""
|
|
2181
|
-
operator: pulumi.Input[str]
|
|
2182
|
+
operator: pulumi.Input[builtins.str]
|
|
2182
2183
|
"""
|
|
2183
2184
|
Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2184
2185
|
|
|
@@ -2190,11 +2191,11 @@ if not MYPY:
|
|
|
2190
2191
|
by the 'containerName' field) is not in the set of specified values.
|
|
2191
2192
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2192
2193
|
"""
|
|
2193
|
-
values: pulumi.Input[Sequence[pulumi.Input[int]]]
|
|
2194
|
+
values: pulumi.Input[Sequence[pulumi.Input[builtins.int]]]
|
|
2194
2195
|
"""
|
|
2195
2196
|
Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2196
2197
|
"""
|
|
2197
|
-
container_name: NotRequired[pulumi.Input[str]]
|
|
2198
|
+
container_name: NotRequired[pulumi.Input[builtins.str]]
|
|
2198
2199
|
"""
|
|
2199
2200
|
Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2200
2201
|
"""
|
|
@@ -2204,12 +2205,12 @@ elif False:
|
|
|
2204
2205
|
@pulumi.input_type
|
|
2205
2206
|
class PodFailurePolicyOnExitCodesRequirementArgs:
|
|
2206
2207
|
def __init__(__self__, *,
|
|
2207
|
-
operator: pulumi.Input[str],
|
|
2208
|
-
values: pulumi.Input[Sequence[pulumi.Input[int]]],
|
|
2209
|
-
container_name: Optional[pulumi.Input[str]] = None):
|
|
2208
|
+
operator: pulumi.Input[builtins.str],
|
|
2209
|
+
values: pulumi.Input[Sequence[pulumi.Input[builtins.int]]],
|
|
2210
|
+
container_name: Optional[pulumi.Input[builtins.str]] = None):
|
|
2210
2211
|
"""
|
|
2211
2212
|
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes. In particular, it lookups the .state.terminated.exitCode for each app container and init container status, represented by the .status.containerStatuses and .status.initContainerStatuses fields in the Pod status, respectively. Containers completed with success (exit code 0) are excluded from the requirement check.
|
|
2212
|
-
:param pulumi.Input[str] operator: Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2213
|
+
:param pulumi.Input[builtins.str] operator: Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2213
2214
|
|
|
2214
2215
|
- In: the requirement is satisfied if at least one container exit code
|
|
2215
2216
|
(might be multiple if there are multiple containers not restricted
|
|
@@ -2218,8 +2219,8 @@ class PodFailurePolicyOnExitCodesRequirementArgs:
|
|
|
2218
2219
|
(might be multiple if there are multiple containers not restricted
|
|
2219
2220
|
by the 'containerName' field) is not in the set of specified values.
|
|
2220
2221
|
Additional values are considered to be added in the future. Clients should react to an unknown operator by assuming the requirement is not satisfied.
|
|
2221
|
-
:param pulumi.Input[Sequence[pulumi.Input[int]]] values: Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2222
|
-
:param pulumi.Input[str] container_name: Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2222
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.int]]] values: Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2223
|
+
:param pulumi.Input[builtins.str] container_name: Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2223
2224
|
"""
|
|
2224
2225
|
pulumi.set(__self__, "operator", operator)
|
|
2225
2226
|
pulumi.set(__self__, "values", values)
|
|
@@ -2228,7 +2229,7 @@ class PodFailurePolicyOnExitCodesRequirementArgs:
|
|
|
2228
2229
|
|
|
2229
2230
|
@property
|
|
2230
2231
|
@pulumi.getter
|
|
2231
|
-
def operator(self) -> pulumi.Input[str]:
|
|
2232
|
+
def operator(self) -> pulumi.Input[builtins.str]:
|
|
2232
2233
|
"""
|
|
2233
2234
|
Represents the relationship between the container exit code(s) and the specified values. Containers completed with success (exit code 0) are excluded from the requirement check. Possible values are:
|
|
2234
2235
|
|
|
@@ -2243,31 +2244,31 @@ class PodFailurePolicyOnExitCodesRequirementArgs:
|
|
|
2243
2244
|
return pulumi.get(self, "operator")
|
|
2244
2245
|
|
|
2245
2246
|
@operator.setter
|
|
2246
|
-
def operator(self, value: pulumi.Input[str]):
|
|
2247
|
+
def operator(self, value: pulumi.Input[builtins.str]):
|
|
2247
2248
|
pulumi.set(self, "operator", value)
|
|
2248
2249
|
|
|
2249
2250
|
@property
|
|
2250
2251
|
@pulumi.getter
|
|
2251
|
-
def values(self) -> pulumi.Input[Sequence[pulumi.Input[int]]]:
|
|
2252
|
+
def values(self) -> pulumi.Input[Sequence[pulumi.Input[builtins.int]]]:
|
|
2252
2253
|
"""
|
|
2253
2254
|
Specifies the set of values. Each returned container exit code (might be multiple in case of multiple containers) is checked against this set of values with respect to the operator. The list of values must be ordered and must not contain duplicates. Value '0' cannot be used for the In operator. At least one element is required. At most 255 elements are allowed.
|
|
2254
2255
|
"""
|
|
2255
2256
|
return pulumi.get(self, "values")
|
|
2256
2257
|
|
|
2257
2258
|
@values.setter
|
|
2258
|
-
def values(self, value: pulumi.Input[Sequence[pulumi.Input[int]]]):
|
|
2259
|
+
def values(self, value: pulumi.Input[Sequence[pulumi.Input[builtins.int]]]):
|
|
2259
2260
|
pulumi.set(self, "values", value)
|
|
2260
2261
|
|
|
2261
2262
|
@property
|
|
2262
2263
|
@pulumi.getter(name="containerName")
|
|
2263
|
-
def container_name(self) -> Optional[pulumi.Input[str]]:
|
|
2264
|
+
def container_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2264
2265
|
"""
|
|
2265
2266
|
Restricts the check for exit codes to the container with the specified name. When null, the rule applies to all containers. When specified, it should match one the container or initContainer names in the pod template.
|
|
2266
2267
|
"""
|
|
2267
2268
|
return pulumi.get(self, "container_name")
|
|
2268
2269
|
|
|
2269
2270
|
@container_name.setter
|
|
2270
|
-
def container_name(self, value: Optional[pulumi.Input[str]]):
|
|
2271
|
+
def container_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2271
2272
|
pulumi.set(self, "container_name", value)
|
|
2272
2273
|
|
|
2273
2274
|
|
|
@@ -2276,11 +2277,11 @@ if not MYPY:
|
|
|
2276
2277
|
"""
|
|
2277
2278
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2278
2279
|
"""
|
|
2279
|
-
status: NotRequired[pulumi.Input[str]]
|
|
2280
|
+
status: NotRequired[pulumi.Input[builtins.str]]
|
|
2280
2281
|
"""
|
|
2281
2282
|
Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2282
2283
|
"""
|
|
2283
|
-
type: NotRequired[pulumi.Input[str]]
|
|
2284
|
+
type: NotRequired[pulumi.Input[builtins.str]]
|
|
2284
2285
|
"""
|
|
2285
2286
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2286
2287
|
"""
|
|
@@ -2290,12 +2291,12 @@ elif False:
|
|
|
2290
2291
|
@pulumi.input_type
|
|
2291
2292
|
class PodFailurePolicyOnPodConditionsPatternPatchArgs:
|
|
2292
2293
|
def __init__(__self__, *,
|
|
2293
|
-
status: Optional[pulumi.Input[str]] = None,
|
|
2294
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
2294
|
+
status: Optional[pulumi.Input[builtins.str]] = None,
|
|
2295
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
2295
2296
|
"""
|
|
2296
2297
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2297
|
-
:param pulumi.Input[str] status: Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2298
|
-
:param pulumi.Input[str] type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2298
|
+
:param pulumi.Input[builtins.str] status: Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2299
|
+
:param pulumi.Input[builtins.str] type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2299
2300
|
"""
|
|
2300
2301
|
if status is not None:
|
|
2301
2302
|
pulumi.set(__self__, "status", status)
|
|
@@ -2304,26 +2305,26 @@ class PodFailurePolicyOnPodConditionsPatternPatchArgs:
|
|
|
2304
2305
|
|
|
2305
2306
|
@property
|
|
2306
2307
|
@pulumi.getter
|
|
2307
|
-
def status(self) -> Optional[pulumi.Input[str]]:
|
|
2308
|
+
def status(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2308
2309
|
"""
|
|
2309
2310
|
Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2310
2311
|
"""
|
|
2311
2312
|
return pulumi.get(self, "status")
|
|
2312
2313
|
|
|
2313
2314
|
@status.setter
|
|
2314
|
-
def status(self, value: Optional[pulumi.Input[str]]):
|
|
2315
|
+
def status(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2315
2316
|
pulumi.set(self, "status", value)
|
|
2316
2317
|
|
|
2317
2318
|
@property
|
|
2318
2319
|
@pulumi.getter
|
|
2319
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
2320
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2320
2321
|
"""
|
|
2321
2322
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2322
2323
|
"""
|
|
2323
2324
|
return pulumi.get(self, "type")
|
|
2324
2325
|
|
|
2325
2326
|
@type.setter
|
|
2326
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
2327
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2327
2328
|
pulumi.set(self, "type", value)
|
|
2328
2329
|
|
|
2329
2330
|
|
|
@@ -2332,11 +2333,11 @@ if not MYPY:
|
|
|
2332
2333
|
"""
|
|
2333
2334
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2334
2335
|
"""
|
|
2335
|
-
status: pulumi.Input[str]
|
|
2336
|
+
status: pulumi.Input[builtins.str]
|
|
2336
2337
|
"""
|
|
2337
2338
|
Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2338
2339
|
"""
|
|
2339
|
-
type: pulumi.Input[str]
|
|
2340
|
+
type: pulumi.Input[builtins.str]
|
|
2340
2341
|
"""
|
|
2341
2342
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2342
2343
|
"""
|
|
@@ -2346,38 +2347,38 @@ elif False:
|
|
|
2346
2347
|
@pulumi.input_type
|
|
2347
2348
|
class PodFailurePolicyOnPodConditionsPatternArgs:
|
|
2348
2349
|
def __init__(__self__, *,
|
|
2349
|
-
status: pulumi.Input[str],
|
|
2350
|
-
type: pulumi.Input[str]):
|
|
2350
|
+
status: pulumi.Input[builtins.str],
|
|
2351
|
+
type: pulumi.Input[builtins.str]):
|
|
2351
2352
|
"""
|
|
2352
2353
|
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
|
|
2353
|
-
:param pulumi.Input[str] status: Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2354
|
-
:param pulumi.Input[str] type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2354
|
+
:param pulumi.Input[builtins.str] status: Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2355
|
+
:param pulumi.Input[builtins.str] type: Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2355
2356
|
"""
|
|
2356
2357
|
pulumi.set(__self__, "status", status)
|
|
2357
2358
|
pulumi.set(__self__, "type", type)
|
|
2358
2359
|
|
|
2359
2360
|
@property
|
|
2360
2361
|
@pulumi.getter
|
|
2361
|
-
def status(self) -> pulumi.Input[str]:
|
|
2362
|
+
def status(self) -> pulumi.Input[builtins.str]:
|
|
2362
2363
|
"""
|
|
2363
2364
|
Specifies the required Pod condition status. To match a pod condition it is required that the specified status equals the pod condition status. Defaults to True.
|
|
2364
2365
|
"""
|
|
2365
2366
|
return pulumi.get(self, "status")
|
|
2366
2367
|
|
|
2367
2368
|
@status.setter
|
|
2368
|
-
def status(self, value: pulumi.Input[str]):
|
|
2369
|
+
def status(self, value: pulumi.Input[builtins.str]):
|
|
2369
2370
|
pulumi.set(self, "status", value)
|
|
2370
2371
|
|
|
2371
2372
|
@property
|
|
2372
2373
|
@pulumi.getter
|
|
2373
|
-
def type(self) -> pulumi.Input[str]:
|
|
2374
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
2374
2375
|
"""
|
|
2375
2376
|
Specifies the required Pod condition type. To match a pod condition it is required that specified type equals the pod condition type.
|
|
2376
2377
|
"""
|
|
2377
2378
|
return pulumi.get(self, "type")
|
|
2378
2379
|
|
|
2379
2380
|
@type.setter
|
|
2380
|
-
def type(self, value: pulumi.Input[str]):
|
|
2381
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
2381
2382
|
pulumi.set(self, "type", value)
|
|
2382
2383
|
|
|
2383
2384
|
|
|
@@ -2422,7 +2423,7 @@ if not MYPY:
|
|
|
2422
2423
|
"""
|
|
2423
2424
|
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
|
|
2424
2425
|
"""
|
|
2425
|
-
action: NotRequired[pulumi.Input[str]]
|
|
2426
|
+
action: NotRequired[pulumi.Input[builtins.str]]
|
|
2426
2427
|
"""
|
|
2427
2428
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2428
2429
|
|
|
@@ -2452,12 +2453,12 @@ elif False:
|
|
|
2452
2453
|
@pulumi.input_type
|
|
2453
2454
|
class PodFailurePolicyRulePatchArgs:
|
|
2454
2455
|
def __init__(__self__, *,
|
|
2455
|
-
action: Optional[pulumi.Input[str]] = None,
|
|
2456
|
+
action: Optional[pulumi.Input[builtins.str]] = None,
|
|
2456
2457
|
on_exit_codes: Optional[pulumi.Input['PodFailurePolicyOnExitCodesRequirementPatchArgs']] = None,
|
|
2457
2458
|
on_pod_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyOnPodConditionsPatternPatchArgs']]]] = None):
|
|
2458
2459
|
"""
|
|
2459
2460
|
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
|
|
2460
|
-
:param pulumi.Input[str] action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2461
|
+
:param pulumi.Input[builtins.str] action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2461
2462
|
|
|
2462
2463
|
- FailJob: indicates that the pod's job is marked as Failed and all
|
|
2463
2464
|
running pods are terminated.
|
|
@@ -2482,7 +2483,7 @@ class PodFailurePolicyRulePatchArgs:
|
|
|
2482
2483
|
|
|
2483
2484
|
@property
|
|
2484
2485
|
@pulumi.getter
|
|
2485
|
-
def action(self) -> Optional[pulumi.Input[str]]:
|
|
2486
|
+
def action(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2486
2487
|
"""
|
|
2487
2488
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2488
2489
|
|
|
@@ -2501,7 +2502,7 @@ class PodFailurePolicyRulePatchArgs:
|
|
|
2501
2502
|
return pulumi.get(self, "action")
|
|
2502
2503
|
|
|
2503
2504
|
@action.setter
|
|
2504
|
-
def action(self, value: Optional[pulumi.Input[str]]):
|
|
2505
|
+
def action(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2505
2506
|
pulumi.set(self, "action", value)
|
|
2506
2507
|
|
|
2507
2508
|
@property
|
|
@@ -2534,7 +2535,7 @@ if not MYPY:
|
|
|
2534
2535
|
"""
|
|
2535
2536
|
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
|
|
2536
2537
|
"""
|
|
2537
|
-
action: pulumi.Input[str]
|
|
2538
|
+
action: pulumi.Input[builtins.str]
|
|
2538
2539
|
"""
|
|
2539
2540
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2540
2541
|
|
|
@@ -2564,12 +2565,12 @@ elif False:
|
|
|
2564
2565
|
@pulumi.input_type
|
|
2565
2566
|
class PodFailurePolicyRuleArgs:
|
|
2566
2567
|
def __init__(__self__, *,
|
|
2567
|
-
action: pulumi.Input[str],
|
|
2568
|
+
action: pulumi.Input[builtins.str],
|
|
2568
2569
|
on_exit_codes: Optional[pulumi.Input['PodFailurePolicyOnExitCodesRequirementArgs']] = None,
|
|
2569
2570
|
on_pod_conditions: Optional[pulumi.Input[Sequence[pulumi.Input['PodFailurePolicyOnPodConditionsPatternArgs']]]] = None):
|
|
2570
2571
|
"""
|
|
2571
2572
|
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met. One of onExitCodes and onPodConditions, but not both, can be used in each rule.
|
|
2572
|
-
:param pulumi.Input[str] action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2573
|
+
:param pulumi.Input[builtins.str] action: Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2573
2574
|
|
|
2574
2575
|
- FailJob: indicates that the pod's job is marked as Failed and all
|
|
2575
2576
|
running pods are terminated.
|
|
@@ -2593,7 +2594,7 @@ class PodFailurePolicyRuleArgs:
|
|
|
2593
2594
|
|
|
2594
2595
|
@property
|
|
2595
2596
|
@pulumi.getter
|
|
2596
|
-
def action(self) -> pulumi.Input[str]:
|
|
2597
|
+
def action(self) -> pulumi.Input[builtins.str]:
|
|
2597
2598
|
"""
|
|
2598
2599
|
Specifies the action taken on a pod failure when the requirements are satisfied. Possible values are:
|
|
2599
2600
|
|
|
@@ -2612,7 +2613,7 @@ class PodFailurePolicyRuleArgs:
|
|
|
2612
2613
|
return pulumi.get(self, "action")
|
|
2613
2614
|
|
|
2614
2615
|
@action.setter
|
|
2615
|
-
def action(self, value: pulumi.Input[str]):
|
|
2616
|
+
def action(self, value: pulumi.Input[builtins.str]):
|
|
2616
2617
|
pulumi.set(self, "action", value)
|
|
2617
2618
|
|
|
2618
2619
|
@property
|
|
@@ -2716,11 +2717,11 @@ if not MYPY:
|
|
|
2716
2717
|
"""
|
|
2717
2718
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2718
2719
|
"""
|
|
2719
|
-
succeeded_count: NotRequired[pulumi.Input[int]]
|
|
2720
|
+
succeeded_count: NotRequired[pulumi.Input[builtins.int]]
|
|
2720
2721
|
"""
|
|
2721
2722
|
succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2722
2723
|
"""
|
|
2723
|
-
succeeded_indexes: NotRequired[pulumi.Input[str]]
|
|
2724
|
+
succeeded_indexes: NotRequired[pulumi.Input[builtins.str]]
|
|
2724
2725
|
"""
|
|
2725
2726
|
succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2726
2727
|
"""
|
|
@@ -2730,12 +2731,12 @@ elif False:
|
|
|
2730
2731
|
@pulumi.input_type
|
|
2731
2732
|
class SuccessPolicyRulePatchArgs:
|
|
2732
2733
|
def __init__(__self__, *,
|
|
2733
|
-
succeeded_count: Optional[pulumi.Input[int]] = None,
|
|
2734
|
-
succeeded_indexes: Optional[pulumi.Input[str]] = None):
|
|
2734
|
+
succeeded_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
2735
|
+
succeeded_indexes: Optional[pulumi.Input[builtins.str]] = None):
|
|
2735
2736
|
"""
|
|
2736
2737
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2737
|
-
:param pulumi.Input[int] succeeded_count: succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2738
|
-
:param pulumi.Input[str] succeeded_indexes: succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2738
|
+
:param pulumi.Input[builtins.int] succeeded_count: succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2739
|
+
:param pulumi.Input[builtins.str] succeeded_indexes: succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2739
2740
|
"""
|
|
2740
2741
|
if succeeded_count is not None:
|
|
2741
2742
|
pulumi.set(__self__, "succeeded_count", succeeded_count)
|
|
@@ -2744,26 +2745,26 @@ class SuccessPolicyRulePatchArgs:
|
|
|
2744
2745
|
|
|
2745
2746
|
@property
|
|
2746
2747
|
@pulumi.getter(name="succeededCount")
|
|
2747
|
-
def succeeded_count(self) -> Optional[pulumi.Input[int]]:
|
|
2748
|
+
def succeeded_count(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2748
2749
|
"""
|
|
2749
2750
|
succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2750
2751
|
"""
|
|
2751
2752
|
return pulumi.get(self, "succeeded_count")
|
|
2752
2753
|
|
|
2753
2754
|
@succeeded_count.setter
|
|
2754
|
-
def succeeded_count(self, value: Optional[pulumi.Input[int]]):
|
|
2755
|
+
def succeeded_count(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2755
2756
|
pulumi.set(self, "succeeded_count", value)
|
|
2756
2757
|
|
|
2757
2758
|
@property
|
|
2758
2759
|
@pulumi.getter(name="succeededIndexes")
|
|
2759
|
-
def succeeded_indexes(self) -> Optional[pulumi.Input[str]]:
|
|
2760
|
+
def succeeded_indexes(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2760
2761
|
"""
|
|
2761
2762
|
succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2762
2763
|
"""
|
|
2763
2764
|
return pulumi.get(self, "succeeded_indexes")
|
|
2764
2765
|
|
|
2765
2766
|
@succeeded_indexes.setter
|
|
2766
|
-
def succeeded_indexes(self, value: Optional[pulumi.Input[str]]):
|
|
2767
|
+
def succeeded_indexes(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2767
2768
|
pulumi.set(self, "succeeded_indexes", value)
|
|
2768
2769
|
|
|
2769
2770
|
|
|
@@ -2772,11 +2773,11 @@ if not MYPY:
|
|
|
2772
2773
|
"""
|
|
2773
2774
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2774
2775
|
"""
|
|
2775
|
-
succeeded_count: NotRequired[pulumi.Input[int]]
|
|
2776
|
+
succeeded_count: NotRequired[pulumi.Input[builtins.int]]
|
|
2776
2777
|
"""
|
|
2777
2778
|
succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2778
2779
|
"""
|
|
2779
|
-
succeeded_indexes: NotRequired[pulumi.Input[str]]
|
|
2780
|
+
succeeded_indexes: NotRequired[pulumi.Input[builtins.str]]
|
|
2780
2781
|
"""
|
|
2781
2782
|
succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2782
2783
|
"""
|
|
@@ -2786,12 +2787,12 @@ elif False:
|
|
|
2786
2787
|
@pulumi.input_type
|
|
2787
2788
|
class SuccessPolicyRuleArgs:
|
|
2788
2789
|
def __init__(__self__, *,
|
|
2789
|
-
succeeded_count: Optional[pulumi.Input[int]] = None,
|
|
2790
|
-
succeeded_indexes: Optional[pulumi.Input[str]] = None):
|
|
2790
|
+
succeeded_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
2791
|
+
succeeded_indexes: Optional[pulumi.Input[builtins.str]] = None):
|
|
2791
2792
|
"""
|
|
2792
2793
|
SuccessPolicyRule describes rule for declaring a Job as succeeded. Each rule must have at least one of the "succeededIndexes" or "succeededCount" specified.
|
|
2793
|
-
:param pulumi.Input[int] succeeded_count: succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2794
|
-
:param pulumi.Input[str] succeeded_indexes: succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2794
|
+
:param pulumi.Input[builtins.int] succeeded_count: succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2795
|
+
:param pulumi.Input[builtins.str] succeeded_indexes: succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2795
2796
|
"""
|
|
2796
2797
|
if succeeded_count is not None:
|
|
2797
2798
|
pulumi.set(__self__, "succeeded_count", succeeded_count)
|
|
@@ -2800,26 +2801,26 @@ class SuccessPolicyRuleArgs:
|
|
|
2800
2801
|
|
|
2801
2802
|
@property
|
|
2802
2803
|
@pulumi.getter(name="succeededCount")
|
|
2803
|
-
def succeeded_count(self) -> Optional[pulumi.Input[int]]:
|
|
2804
|
+
def succeeded_count(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2804
2805
|
"""
|
|
2805
2806
|
succeededCount specifies the minimal required size of the actual set of the succeeded indexes for the Job. When succeededCount is used along with succeededIndexes, the check is constrained only to the set of indexes specified by succeededIndexes. For example, given that succeededIndexes is "1-4", succeededCount is "3", and completed indexes are "1", "3", and "5", the Job isn't declared as succeeded because only "1" and "3" indexes are considered in that rules. When this field is null, this doesn't default to any value and is never evaluated at any time. When specified it needs to be a positive integer.
|
|
2806
2807
|
"""
|
|
2807
2808
|
return pulumi.get(self, "succeeded_count")
|
|
2808
2809
|
|
|
2809
2810
|
@succeeded_count.setter
|
|
2810
|
-
def succeeded_count(self, value: Optional[pulumi.Input[int]]):
|
|
2811
|
+
def succeeded_count(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2811
2812
|
pulumi.set(self, "succeeded_count", value)
|
|
2812
2813
|
|
|
2813
2814
|
@property
|
|
2814
2815
|
@pulumi.getter(name="succeededIndexes")
|
|
2815
|
-
def succeeded_indexes(self) -> Optional[pulumi.Input[str]]:
|
|
2816
|
+
def succeeded_indexes(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2816
2817
|
"""
|
|
2817
2818
|
succeededIndexes specifies the set of indexes which need to be contained in the actual set of the succeeded indexes for the Job. The list of indexes must be within 0 to ".spec.completions-1" and must not contain duplicates. At least one element is required. The indexes are represented as intervals separated by commas. The intervals can be a decimal integer or a pair of decimal integers separated by a hyphen. The number are listed in represented by the first and last element of the series, separated by a hyphen. For example, if the completed indexes are 1, 3, 4, 5 and 7, they are represented as "1,3-5,7". When this field is null, this field doesn't default to any value and is never evaluated at any time.
|
|
2818
2819
|
"""
|
|
2819
2820
|
return pulumi.get(self, "succeeded_indexes")
|
|
2820
2821
|
|
|
2821
2822
|
@succeeded_indexes.setter
|
|
2822
|
-
def succeeded_indexes(self, value: Optional[pulumi.Input[str]]):
|
|
2823
|
+
def succeeded_indexes(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2823
2824
|
pulumi.set(self, "succeeded_indexes", value)
|
|
2824
2825
|
|
|
2825
2826
|
|
|
@@ -2863,11 +2864,11 @@ if not MYPY:
|
|
|
2863
2864
|
"""
|
|
2864
2865
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2865
2866
|
"""
|
|
2866
|
-
failed: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2867
|
+
failed: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2867
2868
|
"""
|
|
2868
2869
|
failed holds UIDs of failed Pods.
|
|
2869
2870
|
"""
|
|
2870
|
-
succeeded: NotRequired[pulumi.Input[Sequence[pulumi.Input[str]]]]
|
|
2871
|
+
succeeded: NotRequired[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]
|
|
2871
2872
|
"""
|
|
2872
2873
|
succeeded holds UIDs of succeeded Pods.
|
|
2873
2874
|
"""
|
|
@@ -2877,12 +2878,12 @@ elif False:
|
|
|
2877
2878
|
@pulumi.input_type
|
|
2878
2879
|
class UncountedTerminatedPodsArgs:
|
|
2879
2880
|
def __init__(__self__, *,
|
|
2880
|
-
failed: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
|
2881
|
-
succeeded: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None):
|
|
2881
|
+
failed: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None,
|
|
2882
|
+
succeeded: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]] = None):
|
|
2882
2883
|
"""
|
|
2883
2884
|
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
|
|
2884
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] failed: failed holds UIDs of failed Pods.
|
|
2885
|
-
:param pulumi.Input[Sequence[pulumi.Input[str]]] succeeded: succeeded holds UIDs of succeeded Pods.
|
|
2885
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] failed: failed holds UIDs of failed Pods.
|
|
2886
|
+
:param pulumi.Input[Sequence[pulumi.Input[builtins.str]]] succeeded: succeeded holds UIDs of succeeded Pods.
|
|
2886
2887
|
"""
|
|
2887
2888
|
if failed is not None:
|
|
2888
2889
|
pulumi.set(__self__, "failed", failed)
|
|
@@ -2891,26 +2892,26 @@ class UncountedTerminatedPodsArgs:
|
|
|
2891
2892
|
|
|
2892
2893
|
@property
|
|
2893
2894
|
@pulumi.getter
|
|
2894
|
-
def failed(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2895
|
+
def failed(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2895
2896
|
"""
|
|
2896
2897
|
failed holds UIDs of failed Pods.
|
|
2897
2898
|
"""
|
|
2898
2899
|
return pulumi.get(self, "failed")
|
|
2899
2900
|
|
|
2900
2901
|
@failed.setter
|
|
2901
|
-
def failed(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2902
|
+
def failed(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2902
2903
|
pulumi.set(self, "failed", value)
|
|
2903
2904
|
|
|
2904
2905
|
@property
|
|
2905
2906
|
@pulumi.getter
|
|
2906
|
-
def succeeded(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
|
2907
|
+
def succeeded(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]:
|
|
2907
2908
|
"""
|
|
2908
2909
|
succeeded holds UIDs of succeeded Pods.
|
|
2909
2910
|
"""
|
|
2910
2911
|
return pulumi.get(self, "succeeded")
|
|
2911
2912
|
|
|
2912
2913
|
@succeeded.setter
|
|
2913
|
-
def succeeded(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
|
2914
|
+
def succeeded(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[builtins.str]]]]):
|
|
2914
2915
|
pulumi.set(self, "succeeded", value)
|
|
2915
2916
|
|
|
2916
2917
|
|