pulumi-kubernetes 4.24.0a1753079574__py3-none-any.whl → 4.24.0a1753165802__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +1 -1
- pulumi_kubernetes/_inputs.py +49 -50
- pulumi_kubernetes/admissionregistration/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +715 -716
- pulumi_kubernetes/admissionregistration/v1/outputs.py +512 -513
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +495 -496
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +364 -365
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +711 -712
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +508 -509
- pulumi_kubernetes/apiextensions/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/_inputs.py +906 -907
- pulumi_kubernetes/apiextensions/v1/outputs.py +620 -621
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -835
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -573
- pulumi_kubernetes/apiregistration/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1/outputs.py +128 -129
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -129
- pulumi_kubernetes/apps/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/_inputs.py +749 -750
- pulumi_kubernetes/apps/v1/outputs.py +713 -714
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -410
- pulumi_kubernetes/apps/v1beta1/outputs.py +381 -382
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -656
- pulumi_kubernetes/apps/v1beta2/outputs.py +645 -646
- pulumi_kubernetes/auditregistration/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -146
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -102
- pulumi_kubernetes/autoscaling/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -121
- pulumi_kubernetes/autoscaling/v1/outputs.py +102 -103
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2/_inputs.py +410 -411
- pulumi_kubernetes/autoscaling/v2/outputs.py +374 -375
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -452
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -425
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -399
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -367
- pulumi_kubernetes/batch/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/Job.py +26 -27
- pulumi_kubernetes/batch/v1/JobList.py +25 -26
- pulumi_kubernetes/batch/v1/JobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/_inputs.py +494 -495
- pulumi_kubernetes/batch/v1/outputs.py +419 -420
- pulumi_kubernetes/batch/v1beta1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v1beta1/outputs.py +76 -77
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -1
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -77
- pulumi_kubernetes/certificates/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/_inputs.py +155 -156
- pulumi_kubernetes/certificates/v1/outputs.py +134 -135
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -40
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -28
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +182 -183
- pulumi_kubernetes/certificates/v1beta1/outputs.py +154 -155
- pulumi_kubernetes/coordination/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/_inputs.py +99 -100
- pulumi_kubernetes/coordination/v1/outputs.py +67 -68
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1beta1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +161 -162
- pulumi_kubernetes/coordination/v1beta1/outputs.py +109 -110
- pulumi_kubernetes/core/__init__.py +1 -1
- pulumi_kubernetes/core/v1/Binding.py +25 -26
- pulumi_kubernetes/core/v1/BindingPatch.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMap.py +53 -54
- pulumi_kubernetes/core/v1/ConfigMapList.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +53 -54
- pulumi_kubernetes/core/v1/Endpoints.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsList.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsPatch.py +25 -26
- pulumi_kubernetes/core/v1/Event.py +131 -132
- pulumi_kubernetes/core/v1/EventList.py +25 -26
- pulumi_kubernetes/core/v1/EventPatch.py +131 -132
- pulumi_kubernetes/core/v1/LimitRange.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangeList.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangePatch.py +25 -26
- pulumi_kubernetes/core/v1/Namespace.py +26 -27
- pulumi_kubernetes/core/v1/NamespaceList.py +25 -26
- pulumi_kubernetes/core/v1/NamespacePatch.py +26 -27
- pulumi_kubernetes/core/v1/Node.py +26 -27
- pulumi_kubernetes/core/v1/NodeList.py +25 -26
- pulumi_kubernetes/core/v1/NodePatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolume.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +26 -27
- pulumi_kubernetes/core/v1/Pod.py +26 -27
- pulumi_kubernetes/core/v1/PodList.py +25 -26
- pulumi_kubernetes/core/v1/PodPatch.py +26 -27
- pulumi_kubernetes/core/v1/PodTemplate.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplateList.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationController.py +26 -27
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuota.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +25 -26
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +26 -27
- pulumi_kubernetes/core/v1/Secret.py +63 -64
- pulumi_kubernetes/core/v1/SecretList.py +25 -26
- pulumi_kubernetes/core/v1/SecretPatch.py +63 -64
- pulumi_kubernetes/core/v1/Service.py +26 -27
- pulumi_kubernetes/core/v1/ServiceAccount.py +37 -38
- pulumi_kubernetes/core/v1/ServiceAccountList.py +25 -26
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +37 -38
- pulumi_kubernetes/core/v1/ServiceList.py +25 -26
- pulumi_kubernetes/core/v1/ServicePatch.py +26 -27
- pulumi_kubernetes/core/v1/__init__.py +1 -1
- pulumi_kubernetes/core/v1/_enums.py +2 -2
- pulumi_kubernetes/core/v1/_inputs.py +7133 -7134
- pulumi_kubernetes/core/v1/outputs.py +5390 -5391
- pulumi_kubernetes/discovery/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/_inputs.py +200 -201
- pulumi_kubernetes/discovery/v1/outputs.py +138 -139
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -159
- pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -109
- pulumi_kubernetes/events/__init__.py +1 -1
- pulumi_kubernetes/events/v1/Event.py +131 -132
- pulumi_kubernetes/events/v1/EventList.py +25 -26
- pulumi_kubernetes/events/v1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1/__init__.py +1 -1
- pulumi_kubernetes/events/v1/_inputs.py +102 -103
- pulumi_kubernetes/events/v1/outputs.py +70 -71
- pulumi_kubernetes/events/v1beta1/Event.py +131 -132
- pulumi_kubernetes/events/v1beta1/EventList.py +25 -26
- pulumi_kubernetes/events/v1beta1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/events/v1beta1/_inputs.py +114 -115
- pulumi_kubernetes/events/v1beta1/outputs.py +78 -79
- pulumi_kubernetes/extensions/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1098
- pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -900
- pulumi_kubernetes/flowcontrol/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +333 -334
- pulumi_kubernetes/helm/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/Release.py +316 -317
- pulumi_kubernetes/helm/v3/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/_inputs.py +37 -38
- pulumi_kubernetes/helm/v3/outputs.py +54 -55
- pulumi_kubernetes/helm/v4/Chart.py +95 -96
- pulumi_kubernetes/helm/v4/__init__.py +1 -1
- pulumi_kubernetes/helm/v4/_inputs.py +34 -35
- pulumi_kubernetes/kustomize/__init__.py +1 -1
- pulumi_kubernetes/kustomize/v2/Directory.py +35 -36
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -1
- pulumi_kubernetes/meta/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/Status.py +57 -58
- pulumi_kubernetes/meta/v1/StatusPatch.py +57 -58
- pulumi_kubernetes/meta/v1/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/_inputs.py +551 -552
- pulumi_kubernetes/meta/v1/outputs.py +395 -396
- pulumi_kubernetes/networking/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/_inputs.py +463 -464
- pulumi_kubernetes/networking/v1/outputs.py +350 -351
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -158
- pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -111
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -248
- pulumi_kubernetes/networking/v1beta1/outputs.py +173 -174
- pulumi_kubernetes/node/__init__.py +1 -1
- pulumi_kubernetes/node/v1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1/__init__.py +1 -1
- pulumi_kubernetes/node/v1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1/outputs.py +34 -35
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +25 -26
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -58
- pulumi_kubernetes/node/v1alpha1/outputs.py +41 -42
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/node/v1beta1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1beta1/outputs.py +34 -35
- pulumi_kubernetes/policy/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/_inputs.py +91 -92
- pulumi_kubernetes/policy/v1/outputs.py +80 -81
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -471
- pulumi_kubernetes/policy/v1beta1/outputs.py +342 -343
- pulumi_kubernetes/provider.py +107 -108
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -143
- pulumi_kubernetes/resource/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -269
- pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -231
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -551
- pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -450
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +27 -28
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +836 -837
- pulumi_kubernetes/resource/v1alpha3/outputs.py +685 -686
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta1/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta1/outputs.py +564 -565
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta2/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta2/outputs.py +564 -565
- pulumi_kubernetes/scheduling/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -27
- pulumi_kubernetes/settings/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -22
- pulumi_kubernetes/storage/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/_inputs.py +372 -373
- pulumi_kubernetes/storage/v1/outputs.py +278 -279
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -108
- pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -94
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -368
- pulumi_kubernetes/storage/v1beta1/outputs.py +271 -272
- pulumi_kubernetes/storagemigration/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +25 -26
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -104
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -97
- pulumi_kubernetes/yaml/__init__.py +1 -1
- pulumi_kubernetes/yaml/v2/ConfigFile.py +26 -27
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +35 -36
- pulumi_kubernetes/yaml/v2/__init__.py +1 -1
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753165802.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.24.0a1753165802.dist-info/RECORD +709 -0
- pulumi_kubernetes-4.24.0a1753079574.dist-info/RECORD +0 -709
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753165802.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753165802.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -101,11 +100,11 @@ if not MYPY:
|
|
|
101
100
|
"""
|
|
102
101
|
ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.
|
|
103
102
|
"""
|
|
104
|
-
revision: pulumi.Input[
|
|
103
|
+
revision: pulumi.Input[_builtins.int]
|
|
105
104
|
"""
|
|
106
105
|
Revision indicates the revision of the state represented by Data.
|
|
107
106
|
"""
|
|
108
|
-
api_version: NotRequired[pulumi.Input[
|
|
107
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
109
108
|
"""
|
|
110
109
|
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
|
|
111
110
|
"""
|
|
@@ -113,7 +112,7 @@ if not MYPY:
|
|
|
113
112
|
"""
|
|
114
113
|
Data is the serialized representation of the state.
|
|
115
114
|
"""
|
|
116
|
-
kind: NotRequired[pulumi.Input[
|
|
115
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
117
116
|
"""
|
|
118
117
|
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
|
|
119
118
|
"""
|
|
@@ -127,17 +126,17 @@ elif False:
|
|
|
127
126
|
@pulumi.input_type
|
|
128
127
|
class ControllerRevisionArgs:
|
|
129
128
|
def __init__(__self__, *,
|
|
130
|
-
revision: pulumi.Input[
|
|
131
|
-
api_version: Optional[pulumi.Input[
|
|
129
|
+
revision: pulumi.Input[_builtins.int],
|
|
130
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
132
131
|
data: Optional[Any] = None,
|
|
133
|
-
kind: Optional[pulumi.Input[
|
|
132
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
134
133
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
|
|
135
134
|
"""
|
|
136
135
|
ControllerRevision implements an immutable snapshot of state data. Clients are responsible for serializing and deserializing the objects that contain their internal state. Once a ControllerRevision has been successfully created, it can not be updated. The API Server will fail validation of all requests that attempt to mutate the Data field. ControllerRevisions may, however, be deleted. Note that, due to its use by both the DaemonSet and StatefulSet controllers for update and rollback, this object is beta. However, it may be subject to name and representation changes in future releases, and clients should not depend on its stability. It is primarily for internal use by controllers.
|
|
137
|
-
:param pulumi.Input[
|
|
138
|
-
:param pulumi.Input[
|
|
136
|
+
:param pulumi.Input[_builtins.int] revision: Revision indicates the revision of the state represented by Data.
|
|
137
|
+
: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
|
|
139
138
|
:param Any data: Data is the serialized representation of the state.
|
|
140
|
-
:param pulumi.Input[
|
|
139
|
+
: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
|
|
141
140
|
: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
|
|
142
141
|
"""
|
|
143
142
|
pulumi.set(__self__, "revision", revision)
|
|
@@ -150,31 +149,31 @@ class ControllerRevisionArgs:
|
|
|
150
149
|
if metadata is not None:
|
|
151
150
|
pulumi.set(__self__, "metadata", metadata)
|
|
152
151
|
|
|
153
|
-
@property
|
|
152
|
+
@_builtins.property
|
|
154
153
|
@pulumi.getter
|
|
155
|
-
def revision(self) -> pulumi.Input[
|
|
154
|
+
def revision(self) -> pulumi.Input[_builtins.int]:
|
|
156
155
|
"""
|
|
157
156
|
Revision indicates the revision of the state represented by Data.
|
|
158
157
|
"""
|
|
159
158
|
return pulumi.get(self, "revision")
|
|
160
159
|
|
|
161
160
|
@revision.setter
|
|
162
|
-
def revision(self, value: pulumi.Input[
|
|
161
|
+
def revision(self, value: pulumi.Input[_builtins.int]):
|
|
163
162
|
pulumi.set(self, "revision", value)
|
|
164
163
|
|
|
165
|
-
@property
|
|
164
|
+
@_builtins.property
|
|
166
165
|
@pulumi.getter(name="apiVersion")
|
|
167
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
166
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
168
167
|
"""
|
|
169
168
|
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
|
|
170
169
|
"""
|
|
171
170
|
return pulumi.get(self, "api_version")
|
|
172
171
|
|
|
173
172
|
@api_version.setter
|
|
174
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
173
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
175
174
|
pulumi.set(self, "api_version", value)
|
|
176
175
|
|
|
177
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
178
177
|
@pulumi.getter
|
|
179
178
|
def data(self) -> Optional[Any]:
|
|
180
179
|
"""
|
|
@@ -186,19 +185,19 @@ class ControllerRevisionArgs:
|
|
|
186
185
|
def data(self, value: Optional[Any]):
|
|
187
186
|
pulumi.set(self, "data", value)
|
|
188
187
|
|
|
189
|
-
@property
|
|
188
|
+
@_builtins.property
|
|
190
189
|
@pulumi.getter
|
|
191
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
190
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
192
191
|
"""
|
|
193
192
|
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
|
|
194
193
|
"""
|
|
195
194
|
return pulumi.get(self, "kind")
|
|
196
195
|
|
|
197
196
|
@kind.setter
|
|
198
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
197
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
199
198
|
pulumi.set(self, "kind", value)
|
|
200
199
|
|
|
201
|
-
@property
|
|
200
|
+
@_builtins.property
|
|
202
201
|
@pulumi.getter
|
|
203
202
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
204
203
|
"""
|
|
@@ -216,23 +215,23 @@ if not MYPY:
|
|
|
216
215
|
"""
|
|
217
216
|
DaemonSetCondition describes the state of a DaemonSet at a certain point.
|
|
218
217
|
"""
|
|
219
|
-
status: pulumi.Input[
|
|
218
|
+
status: pulumi.Input[_builtins.str]
|
|
220
219
|
"""
|
|
221
220
|
Status of the condition, one of True, False, Unknown.
|
|
222
221
|
"""
|
|
223
|
-
type: pulumi.Input[
|
|
222
|
+
type: pulumi.Input[_builtins.str]
|
|
224
223
|
"""
|
|
225
224
|
Type of DaemonSet condition.
|
|
226
225
|
"""
|
|
227
|
-
last_transition_time: NotRequired[pulumi.Input[
|
|
226
|
+
last_transition_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
228
227
|
"""
|
|
229
228
|
Last time the condition transitioned from one status to another.
|
|
230
229
|
"""
|
|
231
|
-
message: NotRequired[pulumi.Input[
|
|
230
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
232
231
|
"""
|
|
233
232
|
A human readable message indicating details about the transition.
|
|
234
233
|
"""
|
|
235
|
-
reason: NotRequired[pulumi.Input[
|
|
234
|
+
reason: NotRequired[pulumi.Input[_builtins.str]]
|
|
236
235
|
"""
|
|
237
236
|
The reason for the condition's last transition.
|
|
238
237
|
"""
|
|
@@ -242,18 +241,18 @@ elif False:
|
|
|
242
241
|
@pulumi.input_type
|
|
243
242
|
class DaemonSetConditionArgs:
|
|
244
243
|
def __init__(__self__, *,
|
|
245
|
-
status: pulumi.Input[
|
|
246
|
-
type: pulumi.Input[
|
|
247
|
-
last_transition_time: Optional[pulumi.Input[
|
|
248
|
-
message: Optional[pulumi.Input[
|
|
249
|
-
reason: Optional[pulumi.Input[
|
|
244
|
+
status: pulumi.Input[_builtins.str],
|
|
245
|
+
type: pulumi.Input[_builtins.str],
|
|
246
|
+
last_transition_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
247
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
248
|
+
reason: Optional[pulumi.Input[_builtins.str]] = None):
|
|
250
249
|
"""
|
|
251
250
|
DaemonSetCondition describes the state of a DaemonSet at a certain point.
|
|
252
|
-
:param pulumi.Input[
|
|
253
|
-
:param pulumi.Input[
|
|
254
|
-
:param pulumi.Input[
|
|
255
|
-
:param pulumi.Input[
|
|
256
|
-
:param pulumi.Input[
|
|
251
|
+
:param pulumi.Input[_builtins.str] status: Status of the condition, one of True, False, Unknown.
|
|
252
|
+
:param pulumi.Input[_builtins.str] type: Type of DaemonSet condition.
|
|
253
|
+
:param pulumi.Input[_builtins.str] last_transition_time: Last time the condition transitioned from one status to another.
|
|
254
|
+
:param pulumi.Input[_builtins.str] message: A human readable message indicating details about the transition.
|
|
255
|
+
:param pulumi.Input[_builtins.str] reason: The reason for the condition's last transition.
|
|
257
256
|
"""
|
|
258
257
|
pulumi.set(__self__, "status", status)
|
|
259
258
|
pulumi.set(__self__, "type", type)
|
|
@@ -264,64 +263,64 @@ class DaemonSetConditionArgs:
|
|
|
264
263
|
if reason is not None:
|
|
265
264
|
pulumi.set(__self__, "reason", reason)
|
|
266
265
|
|
|
267
|
-
@property
|
|
266
|
+
@_builtins.property
|
|
268
267
|
@pulumi.getter
|
|
269
|
-
def status(self) -> pulumi.Input[
|
|
268
|
+
def status(self) -> pulumi.Input[_builtins.str]:
|
|
270
269
|
"""
|
|
271
270
|
Status of the condition, one of True, False, Unknown.
|
|
272
271
|
"""
|
|
273
272
|
return pulumi.get(self, "status")
|
|
274
273
|
|
|
275
274
|
@status.setter
|
|
276
|
-
def status(self, value: pulumi.Input[
|
|
275
|
+
def status(self, value: pulumi.Input[_builtins.str]):
|
|
277
276
|
pulumi.set(self, "status", value)
|
|
278
277
|
|
|
279
|
-
@property
|
|
278
|
+
@_builtins.property
|
|
280
279
|
@pulumi.getter
|
|
281
|
-
def type(self) -> pulumi.Input[
|
|
280
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
282
281
|
"""
|
|
283
282
|
Type of DaemonSet condition.
|
|
284
283
|
"""
|
|
285
284
|
return pulumi.get(self, "type")
|
|
286
285
|
|
|
287
286
|
@type.setter
|
|
288
|
-
def type(self, value: pulumi.Input[
|
|
287
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
289
288
|
pulumi.set(self, "type", value)
|
|
290
289
|
|
|
291
|
-
@property
|
|
290
|
+
@_builtins.property
|
|
292
291
|
@pulumi.getter(name="lastTransitionTime")
|
|
293
|
-
def last_transition_time(self) -> Optional[pulumi.Input[
|
|
292
|
+
def last_transition_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
294
293
|
"""
|
|
295
294
|
Last time the condition transitioned from one status to another.
|
|
296
295
|
"""
|
|
297
296
|
return pulumi.get(self, "last_transition_time")
|
|
298
297
|
|
|
299
298
|
@last_transition_time.setter
|
|
300
|
-
def last_transition_time(self, value: Optional[pulumi.Input[
|
|
299
|
+
def last_transition_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
301
300
|
pulumi.set(self, "last_transition_time", value)
|
|
302
301
|
|
|
303
|
-
@property
|
|
302
|
+
@_builtins.property
|
|
304
303
|
@pulumi.getter
|
|
305
|
-
def message(self) -> Optional[pulumi.Input[
|
|
304
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
306
305
|
"""
|
|
307
306
|
A human readable message indicating details about the transition.
|
|
308
307
|
"""
|
|
309
308
|
return pulumi.get(self, "message")
|
|
310
309
|
|
|
311
310
|
@message.setter
|
|
312
|
-
def message(self, value: Optional[pulumi.Input[
|
|
311
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
313
312
|
pulumi.set(self, "message", value)
|
|
314
313
|
|
|
315
|
-
@property
|
|
314
|
+
@_builtins.property
|
|
316
315
|
@pulumi.getter
|
|
317
|
-
def reason(self) -> Optional[pulumi.Input[
|
|
316
|
+
def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
318
317
|
"""
|
|
319
318
|
The reason for the condition's last transition.
|
|
320
319
|
"""
|
|
321
320
|
return pulumi.get(self, "reason")
|
|
322
321
|
|
|
323
322
|
@reason.setter
|
|
324
|
-
def reason(self, value: Optional[pulumi.Input[
|
|
323
|
+
def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
325
324
|
pulumi.set(self, "reason", value)
|
|
326
325
|
|
|
327
326
|
|
|
@@ -330,11 +329,11 @@ if not MYPY:
|
|
|
330
329
|
"""
|
|
331
330
|
DaemonSetSpec is the specification of a daemon set.
|
|
332
331
|
"""
|
|
333
|
-
min_ready_seconds: NotRequired[pulumi.Input[
|
|
332
|
+
min_ready_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
334
333
|
"""
|
|
335
334
|
The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
|
|
336
335
|
"""
|
|
337
|
-
revision_history_limit: NotRequired[pulumi.Input[
|
|
336
|
+
revision_history_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
338
337
|
"""
|
|
339
338
|
The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
340
339
|
"""
|
|
@@ -356,15 +355,15 @@ elif False:
|
|
|
356
355
|
@pulumi.input_type
|
|
357
356
|
class DaemonSetSpecPatchArgs:
|
|
358
357
|
def __init__(__self__, *,
|
|
359
|
-
min_ready_seconds: Optional[pulumi.Input[
|
|
360
|
-
revision_history_limit: Optional[pulumi.Input[
|
|
358
|
+
min_ready_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
359
|
+
revision_history_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
361
360
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
362
361
|
template: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']] = None,
|
|
363
362
|
update_strategy: Optional[pulumi.Input['DaemonSetUpdateStrategyPatchArgs']] = None):
|
|
364
363
|
"""
|
|
365
364
|
DaemonSetSpec is the specification of a daemon set.
|
|
366
|
-
:param pulumi.Input[
|
|
367
|
-
:param pulumi.Input[
|
|
365
|
+
:param pulumi.Input[_builtins.int] min_ready_seconds: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
|
|
366
|
+
:param pulumi.Input[_builtins.int] revision_history_limit: The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
368
367
|
:param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] selector: A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
369
368
|
:param pulumi.Input['_core.v1.PodTemplateSpecPatchArgs'] template: An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
|
|
370
369
|
:param pulumi.Input['DaemonSetUpdateStrategyPatchArgs'] update_strategy: An update strategy to replace existing DaemonSet pods with new pods.
|
|
@@ -380,31 +379,31 @@ class DaemonSetSpecPatchArgs:
|
|
|
380
379
|
if update_strategy is not None:
|
|
381
380
|
pulumi.set(__self__, "update_strategy", update_strategy)
|
|
382
381
|
|
|
383
|
-
@property
|
|
382
|
+
@_builtins.property
|
|
384
383
|
@pulumi.getter(name="minReadySeconds")
|
|
385
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[
|
|
384
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
386
385
|
"""
|
|
387
386
|
The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
|
|
388
387
|
"""
|
|
389
388
|
return pulumi.get(self, "min_ready_seconds")
|
|
390
389
|
|
|
391
390
|
@min_ready_seconds.setter
|
|
392
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[
|
|
391
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
393
392
|
pulumi.set(self, "min_ready_seconds", value)
|
|
394
393
|
|
|
395
|
-
@property
|
|
394
|
+
@_builtins.property
|
|
396
395
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
397
|
-
def revision_history_limit(self) -> Optional[pulumi.Input[
|
|
396
|
+
def revision_history_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
398
397
|
"""
|
|
399
398
|
The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
400
399
|
"""
|
|
401
400
|
return pulumi.get(self, "revision_history_limit")
|
|
402
401
|
|
|
403
402
|
@revision_history_limit.setter
|
|
404
|
-
def revision_history_limit(self, value: Optional[pulumi.Input[
|
|
403
|
+
def revision_history_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
405
404
|
pulumi.set(self, "revision_history_limit", value)
|
|
406
405
|
|
|
407
|
-
@property
|
|
406
|
+
@_builtins.property
|
|
408
407
|
@pulumi.getter
|
|
409
408
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
410
409
|
"""
|
|
@@ -416,7 +415,7 @@ class DaemonSetSpecPatchArgs:
|
|
|
416
415
|
def selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
417
416
|
pulumi.set(self, "selector", value)
|
|
418
417
|
|
|
419
|
-
@property
|
|
418
|
+
@_builtins.property
|
|
420
419
|
@pulumi.getter
|
|
421
420
|
def template(self) -> Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']]:
|
|
422
421
|
"""
|
|
@@ -428,7 +427,7 @@ class DaemonSetSpecPatchArgs:
|
|
|
428
427
|
def template(self, value: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']]):
|
|
429
428
|
pulumi.set(self, "template", value)
|
|
430
429
|
|
|
431
|
-
@property
|
|
430
|
+
@_builtins.property
|
|
432
431
|
@pulumi.getter(name="updateStrategy")
|
|
433
432
|
def update_strategy(self) -> Optional[pulumi.Input['DaemonSetUpdateStrategyPatchArgs']]:
|
|
434
433
|
"""
|
|
@@ -454,11 +453,11 @@ if not MYPY:
|
|
|
454
453
|
"""
|
|
455
454
|
An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
|
|
456
455
|
"""
|
|
457
|
-
min_ready_seconds: NotRequired[pulumi.Input[
|
|
456
|
+
min_ready_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
458
457
|
"""
|
|
459
458
|
The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
|
|
460
459
|
"""
|
|
461
|
-
revision_history_limit: NotRequired[pulumi.Input[
|
|
460
|
+
revision_history_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
462
461
|
"""
|
|
463
462
|
The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
464
463
|
"""
|
|
@@ -474,15 +473,15 @@ class DaemonSetSpecArgs:
|
|
|
474
473
|
def __init__(__self__, *,
|
|
475
474
|
selector: pulumi.Input['_meta.v1.LabelSelectorArgs'],
|
|
476
475
|
template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
|
|
477
|
-
min_ready_seconds: Optional[pulumi.Input[
|
|
478
|
-
revision_history_limit: Optional[pulumi.Input[
|
|
476
|
+
min_ready_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
477
|
+
revision_history_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
479
478
|
update_strategy: Optional[pulumi.Input['DaemonSetUpdateStrategyArgs']] = None):
|
|
480
479
|
"""
|
|
481
480
|
DaemonSetSpec is the specification of a daemon set.
|
|
482
481
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
483
482
|
:param pulumi.Input['_core.v1.PodTemplateSpecArgs'] template: An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
|
|
484
|
-
:param pulumi.Input[
|
|
485
|
-
:param pulumi.Input[
|
|
483
|
+
:param pulumi.Input[_builtins.int] min_ready_seconds: The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
|
|
484
|
+
:param pulumi.Input[_builtins.int] revision_history_limit: The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
486
485
|
:param pulumi.Input['DaemonSetUpdateStrategyArgs'] update_strategy: An update strategy to replace existing DaemonSet pods with new pods.
|
|
487
486
|
"""
|
|
488
487
|
pulumi.set(__self__, "selector", selector)
|
|
@@ -494,7 +493,7 @@ class DaemonSetSpecArgs:
|
|
|
494
493
|
if update_strategy is not None:
|
|
495
494
|
pulumi.set(__self__, "update_strategy", update_strategy)
|
|
496
495
|
|
|
497
|
-
@property
|
|
496
|
+
@_builtins.property
|
|
498
497
|
@pulumi.getter
|
|
499
498
|
def selector(self) -> pulumi.Input['_meta.v1.LabelSelectorArgs']:
|
|
500
499
|
"""
|
|
@@ -506,7 +505,7 @@ class DaemonSetSpecArgs:
|
|
|
506
505
|
def selector(self, value: pulumi.Input['_meta.v1.LabelSelectorArgs']):
|
|
507
506
|
pulumi.set(self, "selector", value)
|
|
508
507
|
|
|
509
|
-
@property
|
|
508
|
+
@_builtins.property
|
|
510
509
|
@pulumi.getter
|
|
511
510
|
def template(self) -> pulumi.Input['_core.v1.PodTemplateSpecArgs']:
|
|
512
511
|
"""
|
|
@@ -518,31 +517,31 @@ class DaemonSetSpecArgs:
|
|
|
518
517
|
def template(self, value: pulumi.Input['_core.v1.PodTemplateSpecArgs']):
|
|
519
518
|
pulumi.set(self, "template", value)
|
|
520
519
|
|
|
521
|
-
@property
|
|
520
|
+
@_builtins.property
|
|
522
521
|
@pulumi.getter(name="minReadySeconds")
|
|
523
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[
|
|
522
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
524
523
|
"""
|
|
525
524
|
The minimum number of seconds for which a newly created DaemonSet pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready).
|
|
526
525
|
"""
|
|
527
526
|
return pulumi.get(self, "min_ready_seconds")
|
|
528
527
|
|
|
529
528
|
@min_ready_seconds.setter
|
|
530
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[
|
|
529
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
531
530
|
pulumi.set(self, "min_ready_seconds", value)
|
|
532
531
|
|
|
533
|
-
@property
|
|
532
|
+
@_builtins.property
|
|
534
533
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
535
|
-
def revision_history_limit(self) -> Optional[pulumi.Input[
|
|
534
|
+
def revision_history_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
536
535
|
"""
|
|
537
536
|
The number of old history to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
538
537
|
"""
|
|
539
538
|
return pulumi.get(self, "revision_history_limit")
|
|
540
539
|
|
|
541
540
|
@revision_history_limit.setter
|
|
542
|
-
def revision_history_limit(self, value: Optional[pulumi.Input[
|
|
541
|
+
def revision_history_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
543
542
|
pulumi.set(self, "revision_history_limit", value)
|
|
544
543
|
|
|
545
|
-
@property
|
|
544
|
+
@_builtins.property
|
|
546
545
|
@pulumi.getter(name="updateStrategy")
|
|
547
546
|
def update_strategy(self) -> Optional[pulumi.Input['DaemonSetUpdateStrategyArgs']]:
|
|
548
547
|
"""
|
|
@@ -560,23 +559,23 @@ if not MYPY:
|
|
|
560
559
|
"""
|
|
561
560
|
DaemonSetStatus represents the current status of a daemon set.
|
|
562
561
|
"""
|
|
563
|
-
current_number_scheduled: pulumi.Input[
|
|
562
|
+
current_number_scheduled: pulumi.Input[_builtins.int]
|
|
564
563
|
"""
|
|
565
564
|
The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
|
|
566
565
|
"""
|
|
567
|
-
desired_number_scheduled: pulumi.Input[
|
|
566
|
+
desired_number_scheduled: pulumi.Input[_builtins.int]
|
|
568
567
|
"""
|
|
569
568
|
The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
|
|
570
569
|
"""
|
|
571
|
-
number_misscheduled: pulumi.Input[
|
|
570
|
+
number_misscheduled: pulumi.Input[_builtins.int]
|
|
572
571
|
"""
|
|
573
572
|
The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
|
|
574
573
|
"""
|
|
575
|
-
number_ready: pulumi.Input[
|
|
574
|
+
number_ready: pulumi.Input[_builtins.int]
|
|
576
575
|
"""
|
|
577
576
|
numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition.
|
|
578
577
|
"""
|
|
579
|
-
collision_count: NotRequired[pulumi.Input[
|
|
578
|
+
collision_count: NotRequired[pulumi.Input[_builtins.int]]
|
|
580
579
|
"""
|
|
581
580
|
Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
|
|
582
581
|
"""
|
|
@@ -584,19 +583,19 @@ if not MYPY:
|
|
|
584
583
|
"""
|
|
585
584
|
Represents the latest available observations of a DaemonSet's current state.
|
|
586
585
|
"""
|
|
587
|
-
number_available: NotRequired[pulumi.Input[
|
|
586
|
+
number_available: NotRequired[pulumi.Input[_builtins.int]]
|
|
588
587
|
"""
|
|
589
588
|
The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)
|
|
590
589
|
"""
|
|
591
|
-
number_unavailable: NotRequired[pulumi.Input[
|
|
590
|
+
number_unavailable: NotRequired[pulumi.Input[_builtins.int]]
|
|
592
591
|
"""
|
|
593
592
|
The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)
|
|
594
593
|
"""
|
|
595
|
-
observed_generation: NotRequired[pulumi.Input[
|
|
594
|
+
observed_generation: NotRequired[pulumi.Input[_builtins.int]]
|
|
596
595
|
"""
|
|
597
596
|
The most recent generation observed by the daemon set controller.
|
|
598
597
|
"""
|
|
599
|
-
updated_number_scheduled: NotRequired[pulumi.Input[
|
|
598
|
+
updated_number_scheduled: NotRequired[pulumi.Input[_builtins.int]]
|
|
600
599
|
"""
|
|
601
600
|
The total number of nodes that are running updated daemon pod
|
|
602
601
|
"""
|
|
@@ -606,28 +605,28 @@ elif False:
|
|
|
606
605
|
@pulumi.input_type
|
|
607
606
|
class DaemonSetStatusArgs:
|
|
608
607
|
def __init__(__self__, *,
|
|
609
|
-
current_number_scheduled: pulumi.Input[
|
|
610
|
-
desired_number_scheduled: pulumi.Input[
|
|
611
|
-
number_misscheduled: pulumi.Input[
|
|
612
|
-
number_ready: pulumi.Input[
|
|
613
|
-
collision_count: Optional[pulumi.Input[
|
|
608
|
+
current_number_scheduled: pulumi.Input[_builtins.int],
|
|
609
|
+
desired_number_scheduled: pulumi.Input[_builtins.int],
|
|
610
|
+
number_misscheduled: pulumi.Input[_builtins.int],
|
|
611
|
+
number_ready: pulumi.Input[_builtins.int],
|
|
612
|
+
collision_count: Optional[pulumi.Input[_builtins.int]] = None,
|
|
614
613
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['DaemonSetConditionArgs']]]] = None,
|
|
615
|
-
number_available: Optional[pulumi.Input[
|
|
616
|
-
number_unavailable: Optional[pulumi.Input[
|
|
617
|
-
observed_generation: Optional[pulumi.Input[
|
|
618
|
-
updated_number_scheduled: Optional[pulumi.Input[
|
|
614
|
+
number_available: Optional[pulumi.Input[_builtins.int]] = None,
|
|
615
|
+
number_unavailable: Optional[pulumi.Input[_builtins.int]] = None,
|
|
616
|
+
observed_generation: Optional[pulumi.Input[_builtins.int]] = None,
|
|
617
|
+
updated_number_scheduled: Optional[pulumi.Input[_builtins.int]] = None):
|
|
619
618
|
"""
|
|
620
619
|
DaemonSetStatus represents the current status of a daemon set.
|
|
621
|
-
:param pulumi.Input[
|
|
622
|
-
:param pulumi.Input[
|
|
623
|
-
:param pulumi.Input[
|
|
624
|
-
:param pulumi.Input[
|
|
625
|
-
:param pulumi.Input[
|
|
620
|
+
:param pulumi.Input[_builtins.int] current_number_scheduled: The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
|
|
621
|
+
:param pulumi.Input[_builtins.int] desired_number_scheduled: The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
|
|
622
|
+
:param pulumi.Input[_builtins.int] number_misscheduled: The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
|
|
623
|
+
:param pulumi.Input[_builtins.int] number_ready: numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition.
|
|
624
|
+
:param pulumi.Input[_builtins.int] collision_count: Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
|
|
626
625
|
:param pulumi.Input[Sequence[pulumi.Input['DaemonSetConditionArgs']]] conditions: Represents the latest available observations of a DaemonSet's current state.
|
|
627
|
-
:param pulumi.Input[
|
|
628
|
-
:param pulumi.Input[
|
|
629
|
-
:param pulumi.Input[
|
|
630
|
-
:param pulumi.Input[
|
|
626
|
+
:param pulumi.Input[_builtins.int] number_available: The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)
|
|
627
|
+
:param pulumi.Input[_builtins.int] number_unavailable: The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)
|
|
628
|
+
:param pulumi.Input[_builtins.int] observed_generation: The most recent generation observed by the daemon set controller.
|
|
629
|
+
:param pulumi.Input[_builtins.int] updated_number_scheduled: The total number of nodes that are running updated daemon pod
|
|
631
630
|
"""
|
|
632
631
|
pulumi.set(__self__, "current_number_scheduled", current_number_scheduled)
|
|
633
632
|
pulumi.set(__self__, "desired_number_scheduled", desired_number_scheduled)
|
|
@@ -646,67 +645,67 @@ class DaemonSetStatusArgs:
|
|
|
646
645
|
if updated_number_scheduled is not None:
|
|
647
646
|
pulumi.set(__self__, "updated_number_scheduled", updated_number_scheduled)
|
|
648
647
|
|
|
649
|
-
@property
|
|
648
|
+
@_builtins.property
|
|
650
649
|
@pulumi.getter(name="currentNumberScheduled")
|
|
651
|
-
def current_number_scheduled(self) -> pulumi.Input[
|
|
650
|
+
def current_number_scheduled(self) -> pulumi.Input[_builtins.int]:
|
|
652
651
|
"""
|
|
653
652
|
The number of nodes that are running at least 1 daemon pod and are supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
|
|
654
653
|
"""
|
|
655
654
|
return pulumi.get(self, "current_number_scheduled")
|
|
656
655
|
|
|
657
656
|
@current_number_scheduled.setter
|
|
658
|
-
def current_number_scheduled(self, value: pulumi.Input[
|
|
657
|
+
def current_number_scheduled(self, value: pulumi.Input[_builtins.int]):
|
|
659
658
|
pulumi.set(self, "current_number_scheduled", value)
|
|
660
659
|
|
|
661
|
-
@property
|
|
660
|
+
@_builtins.property
|
|
662
661
|
@pulumi.getter(name="desiredNumberScheduled")
|
|
663
|
-
def desired_number_scheduled(self) -> pulumi.Input[
|
|
662
|
+
def desired_number_scheduled(self) -> pulumi.Input[_builtins.int]:
|
|
664
663
|
"""
|
|
665
664
|
The total number of nodes that should be running the daemon pod (including nodes correctly running the daemon pod). More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
|
|
666
665
|
"""
|
|
667
666
|
return pulumi.get(self, "desired_number_scheduled")
|
|
668
667
|
|
|
669
668
|
@desired_number_scheduled.setter
|
|
670
|
-
def desired_number_scheduled(self, value: pulumi.Input[
|
|
669
|
+
def desired_number_scheduled(self, value: pulumi.Input[_builtins.int]):
|
|
671
670
|
pulumi.set(self, "desired_number_scheduled", value)
|
|
672
671
|
|
|
673
|
-
@property
|
|
672
|
+
@_builtins.property
|
|
674
673
|
@pulumi.getter(name="numberMisscheduled")
|
|
675
|
-
def number_misscheduled(self) -> pulumi.Input[
|
|
674
|
+
def number_misscheduled(self) -> pulumi.Input[_builtins.int]:
|
|
676
675
|
"""
|
|
677
676
|
The number of nodes that are running the daemon pod, but are not supposed to run the daemon pod. More info: https://kubernetes.io/docs/concepts/workloads/controllers/daemonset/
|
|
678
677
|
"""
|
|
679
678
|
return pulumi.get(self, "number_misscheduled")
|
|
680
679
|
|
|
681
680
|
@number_misscheduled.setter
|
|
682
|
-
def number_misscheduled(self, value: pulumi.Input[
|
|
681
|
+
def number_misscheduled(self, value: pulumi.Input[_builtins.int]):
|
|
683
682
|
pulumi.set(self, "number_misscheduled", value)
|
|
684
683
|
|
|
685
|
-
@property
|
|
684
|
+
@_builtins.property
|
|
686
685
|
@pulumi.getter(name="numberReady")
|
|
687
|
-
def number_ready(self) -> pulumi.Input[
|
|
686
|
+
def number_ready(self) -> pulumi.Input[_builtins.int]:
|
|
688
687
|
"""
|
|
689
688
|
numberReady is the number of nodes that should be running the daemon pod and have one or more of the daemon pod running with a Ready Condition.
|
|
690
689
|
"""
|
|
691
690
|
return pulumi.get(self, "number_ready")
|
|
692
691
|
|
|
693
692
|
@number_ready.setter
|
|
694
|
-
def number_ready(self, value: pulumi.Input[
|
|
693
|
+
def number_ready(self, value: pulumi.Input[_builtins.int]):
|
|
695
694
|
pulumi.set(self, "number_ready", value)
|
|
696
695
|
|
|
697
|
-
@property
|
|
696
|
+
@_builtins.property
|
|
698
697
|
@pulumi.getter(name="collisionCount")
|
|
699
|
-
def collision_count(self) -> Optional[pulumi.Input[
|
|
698
|
+
def collision_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
700
699
|
"""
|
|
701
700
|
Count of hash collisions for the DaemonSet. The DaemonSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
|
|
702
701
|
"""
|
|
703
702
|
return pulumi.get(self, "collision_count")
|
|
704
703
|
|
|
705
704
|
@collision_count.setter
|
|
706
|
-
def collision_count(self, value: Optional[pulumi.Input[
|
|
705
|
+
def collision_count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
707
706
|
pulumi.set(self, "collision_count", value)
|
|
708
707
|
|
|
709
|
-
@property
|
|
708
|
+
@_builtins.property
|
|
710
709
|
@pulumi.getter
|
|
711
710
|
def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DaemonSetConditionArgs']]]]:
|
|
712
711
|
"""
|
|
@@ -718,52 +717,52 @@ class DaemonSetStatusArgs:
|
|
|
718
717
|
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DaemonSetConditionArgs']]]]):
|
|
719
718
|
pulumi.set(self, "conditions", value)
|
|
720
719
|
|
|
721
|
-
@property
|
|
720
|
+
@_builtins.property
|
|
722
721
|
@pulumi.getter(name="numberAvailable")
|
|
723
|
-
def number_available(self) -> Optional[pulumi.Input[
|
|
722
|
+
def number_available(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
724
723
|
"""
|
|
725
724
|
The number of nodes that should be running the daemon pod and have one or more of the daemon pod running and available (ready for at least spec.minReadySeconds)
|
|
726
725
|
"""
|
|
727
726
|
return pulumi.get(self, "number_available")
|
|
728
727
|
|
|
729
728
|
@number_available.setter
|
|
730
|
-
def number_available(self, value: Optional[pulumi.Input[
|
|
729
|
+
def number_available(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
731
730
|
pulumi.set(self, "number_available", value)
|
|
732
731
|
|
|
733
|
-
@property
|
|
732
|
+
@_builtins.property
|
|
734
733
|
@pulumi.getter(name="numberUnavailable")
|
|
735
|
-
def number_unavailable(self) -> Optional[pulumi.Input[
|
|
734
|
+
def number_unavailable(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
736
735
|
"""
|
|
737
736
|
The number of nodes that should be running the daemon pod and have none of the daemon pod running and available (ready for at least spec.minReadySeconds)
|
|
738
737
|
"""
|
|
739
738
|
return pulumi.get(self, "number_unavailable")
|
|
740
739
|
|
|
741
740
|
@number_unavailable.setter
|
|
742
|
-
def number_unavailable(self, value: Optional[pulumi.Input[
|
|
741
|
+
def number_unavailable(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
743
742
|
pulumi.set(self, "number_unavailable", value)
|
|
744
743
|
|
|
745
|
-
@property
|
|
744
|
+
@_builtins.property
|
|
746
745
|
@pulumi.getter(name="observedGeneration")
|
|
747
|
-
def observed_generation(self) -> Optional[pulumi.Input[
|
|
746
|
+
def observed_generation(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
748
747
|
"""
|
|
749
748
|
The most recent generation observed by the daemon set controller.
|
|
750
749
|
"""
|
|
751
750
|
return pulumi.get(self, "observed_generation")
|
|
752
751
|
|
|
753
752
|
@observed_generation.setter
|
|
754
|
-
def observed_generation(self, value: Optional[pulumi.Input[
|
|
753
|
+
def observed_generation(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
755
754
|
pulumi.set(self, "observed_generation", value)
|
|
756
755
|
|
|
757
|
-
@property
|
|
756
|
+
@_builtins.property
|
|
758
757
|
@pulumi.getter(name="updatedNumberScheduled")
|
|
759
|
-
def updated_number_scheduled(self) -> Optional[pulumi.Input[
|
|
758
|
+
def updated_number_scheduled(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
760
759
|
"""
|
|
761
760
|
The total number of nodes that are running updated daemon pod
|
|
762
761
|
"""
|
|
763
762
|
return pulumi.get(self, "updated_number_scheduled")
|
|
764
763
|
|
|
765
764
|
@updated_number_scheduled.setter
|
|
766
|
-
def updated_number_scheduled(self, value: Optional[pulumi.Input[
|
|
765
|
+
def updated_number_scheduled(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
767
766
|
pulumi.set(self, "updated_number_scheduled", value)
|
|
768
767
|
|
|
769
768
|
|
|
@@ -776,7 +775,7 @@ if not MYPY:
|
|
|
776
775
|
"""
|
|
777
776
|
Rolling update config params. Present only if type = "RollingUpdate".
|
|
778
777
|
"""
|
|
779
|
-
type: NotRequired[pulumi.Input[
|
|
778
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
780
779
|
"""
|
|
781
780
|
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
782
781
|
"""
|
|
@@ -787,18 +786,18 @@ elif False:
|
|
|
787
786
|
class DaemonSetUpdateStrategyPatchArgs:
|
|
788
787
|
def __init__(__self__, *,
|
|
789
788
|
rolling_update: Optional[pulumi.Input['RollingUpdateDaemonSetPatchArgs']] = None,
|
|
790
|
-
type: Optional[pulumi.Input[
|
|
789
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
791
790
|
"""
|
|
792
791
|
DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
|
|
793
792
|
:param pulumi.Input['RollingUpdateDaemonSetPatchArgs'] rolling_update: Rolling update config params. Present only if type = "RollingUpdate".
|
|
794
|
-
:param pulumi.Input[
|
|
793
|
+
:param pulumi.Input[_builtins.str] type: Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
795
794
|
"""
|
|
796
795
|
if rolling_update is not None:
|
|
797
796
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
798
797
|
if type is not None:
|
|
799
798
|
pulumi.set(__self__, "type", type)
|
|
800
799
|
|
|
801
|
-
@property
|
|
800
|
+
@_builtins.property
|
|
802
801
|
@pulumi.getter(name="rollingUpdate")
|
|
803
802
|
def rolling_update(self) -> Optional[pulumi.Input['RollingUpdateDaemonSetPatchArgs']]:
|
|
804
803
|
"""
|
|
@@ -810,16 +809,16 @@ class DaemonSetUpdateStrategyPatchArgs:
|
|
|
810
809
|
def rolling_update(self, value: Optional[pulumi.Input['RollingUpdateDaemonSetPatchArgs']]):
|
|
811
810
|
pulumi.set(self, "rolling_update", value)
|
|
812
811
|
|
|
813
|
-
@property
|
|
812
|
+
@_builtins.property
|
|
814
813
|
@pulumi.getter
|
|
815
|
-
def type(self) -> Optional[pulumi.Input[
|
|
814
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
816
815
|
"""
|
|
817
816
|
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
818
817
|
"""
|
|
819
818
|
return pulumi.get(self, "type")
|
|
820
819
|
|
|
821
820
|
@type.setter
|
|
822
|
-
def type(self, value: Optional[pulumi.Input[
|
|
821
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
823
822
|
pulumi.set(self, "type", value)
|
|
824
823
|
|
|
825
824
|
|
|
@@ -832,7 +831,7 @@ if not MYPY:
|
|
|
832
831
|
"""
|
|
833
832
|
Rolling update config params. Present only if type = "RollingUpdate".
|
|
834
833
|
"""
|
|
835
|
-
type: NotRequired[pulumi.Input[
|
|
834
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
836
835
|
"""
|
|
837
836
|
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
838
837
|
"""
|
|
@@ -843,18 +842,18 @@ elif False:
|
|
|
843
842
|
class DaemonSetUpdateStrategyArgs:
|
|
844
843
|
def __init__(__self__, *,
|
|
845
844
|
rolling_update: Optional[pulumi.Input['RollingUpdateDaemonSetArgs']] = None,
|
|
846
|
-
type: Optional[pulumi.Input[
|
|
845
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
847
846
|
"""
|
|
848
847
|
DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
|
|
849
848
|
:param pulumi.Input['RollingUpdateDaemonSetArgs'] rolling_update: Rolling update config params. Present only if type = "RollingUpdate".
|
|
850
|
-
:param pulumi.Input[
|
|
849
|
+
:param pulumi.Input[_builtins.str] type: Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
851
850
|
"""
|
|
852
851
|
if rolling_update is not None:
|
|
853
852
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
854
853
|
if type is not None:
|
|
855
854
|
pulumi.set(__self__, "type", type)
|
|
856
855
|
|
|
857
|
-
@property
|
|
856
|
+
@_builtins.property
|
|
858
857
|
@pulumi.getter(name="rollingUpdate")
|
|
859
858
|
def rolling_update(self) -> Optional[pulumi.Input['RollingUpdateDaemonSetArgs']]:
|
|
860
859
|
"""
|
|
@@ -866,16 +865,16 @@ class DaemonSetUpdateStrategyArgs:
|
|
|
866
865
|
def rolling_update(self, value: Optional[pulumi.Input['RollingUpdateDaemonSetArgs']]):
|
|
867
866
|
pulumi.set(self, "rolling_update", value)
|
|
868
867
|
|
|
869
|
-
@property
|
|
868
|
+
@_builtins.property
|
|
870
869
|
@pulumi.getter
|
|
871
|
-
def type(self) -> Optional[pulumi.Input[
|
|
870
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
872
871
|
"""
|
|
873
872
|
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
874
873
|
"""
|
|
875
874
|
return pulumi.get(self, "type")
|
|
876
875
|
|
|
877
876
|
@type.setter
|
|
878
|
-
def type(self, value: Optional[pulumi.Input[
|
|
877
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
879
878
|
pulumi.set(self, "type", value)
|
|
880
879
|
|
|
881
880
|
|
|
@@ -884,11 +883,11 @@ if not MYPY:
|
|
|
884
883
|
"""
|
|
885
884
|
DaemonSet represents the configuration of a daemon set.
|
|
886
885
|
"""
|
|
887
|
-
api_version: NotRequired[pulumi.Input[
|
|
886
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
888
887
|
"""
|
|
889
888
|
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
|
|
890
889
|
"""
|
|
891
|
-
kind: NotRequired[pulumi.Input[
|
|
890
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
892
891
|
"""
|
|
893
892
|
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
|
|
894
893
|
"""
|
|
@@ -910,15 +909,15 @@ elif False:
|
|
|
910
909
|
@pulumi.input_type
|
|
911
910
|
class DaemonSetArgs:
|
|
912
911
|
def __init__(__self__, *,
|
|
913
|
-
api_version: Optional[pulumi.Input[
|
|
914
|
-
kind: Optional[pulumi.Input[
|
|
912
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
913
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
915
914
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
916
915
|
spec: Optional[pulumi.Input['DaemonSetSpecArgs']] = None,
|
|
917
916
|
status: Optional[pulumi.Input['DaemonSetStatusArgs']] = None):
|
|
918
917
|
"""
|
|
919
918
|
DaemonSet represents the configuration of a daemon set.
|
|
920
|
-
:param pulumi.Input[
|
|
921
|
-
:param pulumi.Input[
|
|
919
|
+
: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
|
|
920
|
+
: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
|
|
922
921
|
: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
|
|
923
922
|
:param pulumi.Input['DaemonSetSpecArgs'] spec: The desired behavior of this daemon set. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
924
923
|
:param pulumi.Input['DaemonSetStatusArgs'] status: The current status of this daemon set. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
@@ -934,31 +933,31 @@ class DaemonSetArgs:
|
|
|
934
933
|
if status is not None:
|
|
935
934
|
pulumi.set(__self__, "status", status)
|
|
936
935
|
|
|
937
|
-
@property
|
|
936
|
+
@_builtins.property
|
|
938
937
|
@pulumi.getter(name="apiVersion")
|
|
939
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
938
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
940
939
|
"""
|
|
941
940
|
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
|
|
942
941
|
"""
|
|
943
942
|
return pulumi.get(self, "api_version")
|
|
944
943
|
|
|
945
944
|
@api_version.setter
|
|
946
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
945
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
947
946
|
pulumi.set(self, "api_version", value)
|
|
948
947
|
|
|
949
|
-
@property
|
|
948
|
+
@_builtins.property
|
|
950
949
|
@pulumi.getter
|
|
951
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
950
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
952
951
|
"""
|
|
953
952
|
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
|
|
954
953
|
"""
|
|
955
954
|
return pulumi.get(self, "kind")
|
|
956
955
|
|
|
957
956
|
@kind.setter
|
|
958
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
957
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
959
958
|
pulumi.set(self, "kind", value)
|
|
960
959
|
|
|
961
|
-
@property
|
|
960
|
+
@_builtins.property
|
|
962
961
|
@pulumi.getter
|
|
963
962
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
964
963
|
"""
|
|
@@ -970,7 +969,7 @@ class DaemonSetArgs:
|
|
|
970
969
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
971
970
|
pulumi.set(self, "metadata", value)
|
|
972
971
|
|
|
973
|
-
@property
|
|
972
|
+
@_builtins.property
|
|
974
973
|
@pulumi.getter
|
|
975
974
|
def spec(self) -> Optional[pulumi.Input['DaemonSetSpecArgs']]:
|
|
976
975
|
"""
|
|
@@ -982,7 +981,7 @@ class DaemonSetArgs:
|
|
|
982
981
|
def spec(self, value: Optional[pulumi.Input['DaemonSetSpecArgs']]):
|
|
983
982
|
pulumi.set(self, "spec", value)
|
|
984
983
|
|
|
985
|
-
@property
|
|
984
|
+
@_builtins.property
|
|
986
985
|
@pulumi.getter
|
|
987
986
|
def status(self) -> Optional[pulumi.Input['DaemonSetStatusArgs']]:
|
|
988
987
|
"""
|
|
@@ -1000,27 +999,27 @@ if not MYPY:
|
|
|
1000
999
|
"""
|
|
1001
1000
|
DeploymentCondition describes the state of a deployment at a certain point.
|
|
1002
1001
|
"""
|
|
1003
|
-
status: pulumi.Input[
|
|
1002
|
+
status: pulumi.Input[_builtins.str]
|
|
1004
1003
|
"""
|
|
1005
1004
|
Status of the condition, one of True, False, Unknown.
|
|
1006
1005
|
"""
|
|
1007
|
-
type: pulumi.Input[
|
|
1006
|
+
type: pulumi.Input[_builtins.str]
|
|
1008
1007
|
"""
|
|
1009
1008
|
Type of deployment condition.
|
|
1010
1009
|
"""
|
|
1011
|
-
last_transition_time: NotRequired[pulumi.Input[
|
|
1010
|
+
last_transition_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1012
1011
|
"""
|
|
1013
1012
|
Last time the condition transitioned from one status to another.
|
|
1014
1013
|
"""
|
|
1015
|
-
last_update_time: NotRequired[pulumi.Input[
|
|
1014
|
+
last_update_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1016
1015
|
"""
|
|
1017
1016
|
The last time this condition was updated.
|
|
1018
1017
|
"""
|
|
1019
|
-
message: NotRequired[pulumi.Input[
|
|
1018
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
1020
1019
|
"""
|
|
1021
1020
|
A human readable message indicating details about the transition.
|
|
1022
1021
|
"""
|
|
1023
|
-
reason: NotRequired[pulumi.Input[
|
|
1022
|
+
reason: NotRequired[pulumi.Input[_builtins.str]]
|
|
1024
1023
|
"""
|
|
1025
1024
|
The reason for the condition's last transition.
|
|
1026
1025
|
"""
|
|
@@ -1030,20 +1029,20 @@ elif False:
|
|
|
1030
1029
|
@pulumi.input_type
|
|
1031
1030
|
class DeploymentConditionArgs:
|
|
1032
1031
|
def __init__(__self__, *,
|
|
1033
|
-
status: pulumi.Input[
|
|
1034
|
-
type: pulumi.Input[
|
|
1035
|
-
last_transition_time: Optional[pulumi.Input[
|
|
1036
|
-
last_update_time: Optional[pulumi.Input[
|
|
1037
|
-
message: Optional[pulumi.Input[
|
|
1038
|
-
reason: Optional[pulumi.Input[
|
|
1032
|
+
status: pulumi.Input[_builtins.str],
|
|
1033
|
+
type: pulumi.Input[_builtins.str],
|
|
1034
|
+
last_transition_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1035
|
+
last_update_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1036
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1037
|
+
reason: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1039
1038
|
"""
|
|
1040
1039
|
DeploymentCondition describes the state of a deployment at a certain point.
|
|
1041
|
-
:param pulumi.Input[
|
|
1042
|
-
:param pulumi.Input[
|
|
1043
|
-
:param pulumi.Input[
|
|
1044
|
-
:param pulumi.Input[
|
|
1045
|
-
:param pulumi.Input[
|
|
1046
|
-
:param pulumi.Input[
|
|
1040
|
+
:param pulumi.Input[_builtins.str] status: Status of the condition, one of True, False, Unknown.
|
|
1041
|
+
:param pulumi.Input[_builtins.str] type: Type of deployment condition.
|
|
1042
|
+
:param pulumi.Input[_builtins.str] last_transition_time: Last time the condition transitioned from one status to another.
|
|
1043
|
+
:param pulumi.Input[_builtins.str] last_update_time: The last time this condition was updated.
|
|
1044
|
+
:param pulumi.Input[_builtins.str] message: A human readable message indicating details about the transition.
|
|
1045
|
+
:param pulumi.Input[_builtins.str] reason: The reason for the condition's last transition.
|
|
1047
1046
|
"""
|
|
1048
1047
|
pulumi.set(__self__, "status", status)
|
|
1049
1048
|
pulumi.set(__self__, "type", type)
|
|
@@ -1056,76 +1055,76 @@ class DeploymentConditionArgs:
|
|
|
1056
1055
|
if reason is not None:
|
|
1057
1056
|
pulumi.set(__self__, "reason", reason)
|
|
1058
1057
|
|
|
1059
|
-
@property
|
|
1058
|
+
@_builtins.property
|
|
1060
1059
|
@pulumi.getter
|
|
1061
|
-
def status(self) -> pulumi.Input[
|
|
1060
|
+
def status(self) -> pulumi.Input[_builtins.str]:
|
|
1062
1061
|
"""
|
|
1063
1062
|
Status of the condition, one of True, False, Unknown.
|
|
1064
1063
|
"""
|
|
1065
1064
|
return pulumi.get(self, "status")
|
|
1066
1065
|
|
|
1067
1066
|
@status.setter
|
|
1068
|
-
def status(self, value: pulumi.Input[
|
|
1067
|
+
def status(self, value: pulumi.Input[_builtins.str]):
|
|
1069
1068
|
pulumi.set(self, "status", value)
|
|
1070
1069
|
|
|
1071
|
-
@property
|
|
1070
|
+
@_builtins.property
|
|
1072
1071
|
@pulumi.getter
|
|
1073
|
-
def type(self) -> pulumi.Input[
|
|
1072
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
1074
1073
|
"""
|
|
1075
1074
|
Type of deployment condition.
|
|
1076
1075
|
"""
|
|
1077
1076
|
return pulumi.get(self, "type")
|
|
1078
1077
|
|
|
1079
1078
|
@type.setter
|
|
1080
|
-
def type(self, value: pulumi.Input[
|
|
1079
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
1081
1080
|
pulumi.set(self, "type", value)
|
|
1082
1081
|
|
|
1083
|
-
@property
|
|
1082
|
+
@_builtins.property
|
|
1084
1083
|
@pulumi.getter(name="lastTransitionTime")
|
|
1085
|
-
def last_transition_time(self) -> Optional[pulumi.Input[
|
|
1084
|
+
def last_transition_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1086
1085
|
"""
|
|
1087
1086
|
Last time the condition transitioned from one status to another.
|
|
1088
1087
|
"""
|
|
1089
1088
|
return pulumi.get(self, "last_transition_time")
|
|
1090
1089
|
|
|
1091
1090
|
@last_transition_time.setter
|
|
1092
|
-
def last_transition_time(self, value: Optional[pulumi.Input[
|
|
1091
|
+
def last_transition_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1093
1092
|
pulumi.set(self, "last_transition_time", value)
|
|
1094
1093
|
|
|
1095
|
-
@property
|
|
1094
|
+
@_builtins.property
|
|
1096
1095
|
@pulumi.getter(name="lastUpdateTime")
|
|
1097
|
-
def last_update_time(self) -> Optional[pulumi.Input[
|
|
1096
|
+
def last_update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1098
1097
|
"""
|
|
1099
1098
|
The last time this condition was updated.
|
|
1100
1099
|
"""
|
|
1101
1100
|
return pulumi.get(self, "last_update_time")
|
|
1102
1101
|
|
|
1103
1102
|
@last_update_time.setter
|
|
1104
|
-
def last_update_time(self, value: Optional[pulumi.Input[
|
|
1103
|
+
def last_update_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1105
1104
|
pulumi.set(self, "last_update_time", value)
|
|
1106
1105
|
|
|
1107
|
-
@property
|
|
1106
|
+
@_builtins.property
|
|
1108
1107
|
@pulumi.getter
|
|
1109
|
-
def message(self) -> Optional[pulumi.Input[
|
|
1108
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1110
1109
|
"""
|
|
1111
1110
|
A human readable message indicating details about the transition.
|
|
1112
1111
|
"""
|
|
1113
1112
|
return pulumi.get(self, "message")
|
|
1114
1113
|
|
|
1115
1114
|
@message.setter
|
|
1116
|
-
def message(self, value: Optional[pulumi.Input[
|
|
1115
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1117
1116
|
pulumi.set(self, "message", value)
|
|
1118
1117
|
|
|
1119
|
-
@property
|
|
1118
|
+
@_builtins.property
|
|
1120
1119
|
@pulumi.getter
|
|
1121
|
-
def reason(self) -> Optional[pulumi.Input[
|
|
1120
|
+
def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1122
1121
|
"""
|
|
1123
1122
|
The reason for the condition's last transition.
|
|
1124
1123
|
"""
|
|
1125
1124
|
return pulumi.get(self, "reason")
|
|
1126
1125
|
|
|
1127
1126
|
@reason.setter
|
|
1128
|
-
def reason(self, value: Optional[pulumi.Input[
|
|
1127
|
+
def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1129
1128
|
pulumi.set(self, "reason", value)
|
|
1130
1129
|
|
|
1131
1130
|
|
|
@@ -1134,23 +1133,23 @@ if not MYPY:
|
|
|
1134
1133
|
"""
|
|
1135
1134
|
DeploymentSpec is the specification of the desired behavior of the Deployment.
|
|
1136
1135
|
"""
|
|
1137
|
-
min_ready_seconds: NotRequired[pulumi.Input[
|
|
1136
|
+
min_ready_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
1138
1137
|
"""
|
|
1139
1138
|
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
1140
1139
|
"""
|
|
1141
|
-
paused: NotRequired[pulumi.Input[
|
|
1140
|
+
paused: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1142
1141
|
"""
|
|
1143
1142
|
Indicates that the deployment is paused.
|
|
1144
1143
|
"""
|
|
1145
|
-
progress_deadline_seconds: NotRequired[pulumi.Input[
|
|
1144
|
+
progress_deadline_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
1146
1145
|
"""
|
|
1147
1146
|
The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
|
|
1148
1147
|
"""
|
|
1149
|
-
replicas: NotRequired[pulumi.Input[
|
|
1148
|
+
replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1150
1149
|
"""
|
|
1151
1150
|
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1152
1151
|
"""
|
|
1153
|
-
revision_history_limit: NotRequired[pulumi.Input[
|
|
1152
|
+
revision_history_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
1154
1153
|
"""
|
|
1155
1154
|
The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
1156
1155
|
"""
|
|
@@ -1172,21 +1171,21 @@ elif False:
|
|
|
1172
1171
|
@pulumi.input_type
|
|
1173
1172
|
class DeploymentSpecPatchArgs:
|
|
1174
1173
|
def __init__(__self__, *,
|
|
1175
|
-
min_ready_seconds: Optional[pulumi.Input[
|
|
1176
|
-
paused: Optional[pulumi.Input[
|
|
1177
|
-
progress_deadline_seconds: Optional[pulumi.Input[
|
|
1178
|
-
replicas: Optional[pulumi.Input[
|
|
1179
|
-
revision_history_limit: Optional[pulumi.Input[
|
|
1174
|
+
min_ready_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1175
|
+
paused: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1176
|
+
progress_deadline_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1177
|
+
replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1178
|
+
revision_history_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1180
1179
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
1181
1180
|
strategy: Optional[pulumi.Input['DeploymentStrategyPatchArgs']] = None,
|
|
1182
1181
|
template: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']] = None):
|
|
1183
1182
|
"""
|
|
1184
1183
|
DeploymentSpec is the specification of the desired behavior of the Deployment.
|
|
1185
|
-
:param pulumi.Input[
|
|
1186
|
-
:param pulumi.Input[
|
|
1187
|
-
:param pulumi.Input[
|
|
1188
|
-
:param pulumi.Input[
|
|
1189
|
-
:param pulumi.Input[
|
|
1184
|
+
:param pulumi.Input[_builtins.int] min_ready_seconds: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
1185
|
+
:param pulumi.Input[_builtins.bool] paused: Indicates that the deployment is paused.
|
|
1186
|
+
:param pulumi.Input[_builtins.int] progress_deadline_seconds: The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
|
|
1187
|
+
:param pulumi.Input[_builtins.int] replicas: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1188
|
+
:param pulumi.Input[_builtins.int] revision_history_limit: The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
1190
1189
|
:param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] selector: Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.
|
|
1191
1190
|
:param pulumi.Input['DeploymentStrategyPatchArgs'] strategy: The deployment strategy to use to replace existing pods with new ones.
|
|
1192
1191
|
:param pulumi.Input['_core.v1.PodTemplateSpecPatchArgs'] template: Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is "Always".
|
|
@@ -1208,67 +1207,67 @@ class DeploymentSpecPatchArgs:
|
|
|
1208
1207
|
if template is not None:
|
|
1209
1208
|
pulumi.set(__self__, "template", template)
|
|
1210
1209
|
|
|
1211
|
-
@property
|
|
1210
|
+
@_builtins.property
|
|
1212
1211
|
@pulumi.getter(name="minReadySeconds")
|
|
1213
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[
|
|
1212
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1214
1213
|
"""
|
|
1215
1214
|
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
1216
1215
|
"""
|
|
1217
1216
|
return pulumi.get(self, "min_ready_seconds")
|
|
1218
1217
|
|
|
1219
1218
|
@min_ready_seconds.setter
|
|
1220
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[
|
|
1219
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1221
1220
|
pulumi.set(self, "min_ready_seconds", value)
|
|
1222
1221
|
|
|
1223
|
-
@property
|
|
1222
|
+
@_builtins.property
|
|
1224
1223
|
@pulumi.getter
|
|
1225
|
-
def paused(self) -> Optional[pulumi.Input[
|
|
1224
|
+
def paused(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1226
1225
|
"""
|
|
1227
1226
|
Indicates that the deployment is paused.
|
|
1228
1227
|
"""
|
|
1229
1228
|
return pulumi.get(self, "paused")
|
|
1230
1229
|
|
|
1231
1230
|
@paused.setter
|
|
1232
|
-
def paused(self, value: Optional[pulumi.Input[
|
|
1231
|
+
def paused(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1233
1232
|
pulumi.set(self, "paused", value)
|
|
1234
1233
|
|
|
1235
|
-
@property
|
|
1234
|
+
@_builtins.property
|
|
1236
1235
|
@pulumi.getter(name="progressDeadlineSeconds")
|
|
1237
|
-
def progress_deadline_seconds(self) -> Optional[pulumi.Input[
|
|
1236
|
+
def progress_deadline_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1238
1237
|
"""
|
|
1239
1238
|
The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
|
|
1240
1239
|
"""
|
|
1241
1240
|
return pulumi.get(self, "progress_deadline_seconds")
|
|
1242
1241
|
|
|
1243
1242
|
@progress_deadline_seconds.setter
|
|
1244
|
-
def progress_deadline_seconds(self, value: Optional[pulumi.Input[
|
|
1243
|
+
def progress_deadline_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1245
1244
|
pulumi.set(self, "progress_deadline_seconds", value)
|
|
1246
1245
|
|
|
1247
|
-
@property
|
|
1246
|
+
@_builtins.property
|
|
1248
1247
|
@pulumi.getter
|
|
1249
|
-
def replicas(self) -> Optional[pulumi.Input[
|
|
1248
|
+
def replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1250
1249
|
"""
|
|
1251
1250
|
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1252
1251
|
"""
|
|
1253
1252
|
return pulumi.get(self, "replicas")
|
|
1254
1253
|
|
|
1255
1254
|
@replicas.setter
|
|
1256
|
-
def replicas(self, value: Optional[pulumi.Input[
|
|
1255
|
+
def replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1257
1256
|
pulumi.set(self, "replicas", value)
|
|
1258
1257
|
|
|
1259
|
-
@property
|
|
1258
|
+
@_builtins.property
|
|
1260
1259
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
1261
|
-
def revision_history_limit(self) -> Optional[pulumi.Input[
|
|
1260
|
+
def revision_history_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1262
1261
|
"""
|
|
1263
1262
|
The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
1264
1263
|
"""
|
|
1265
1264
|
return pulumi.get(self, "revision_history_limit")
|
|
1266
1265
|
|
|
1267
1266
|
@revision_history_limit.setter
|
|
1268
|
-
def revision_history_limit(self, value: Optional[pulumi.Input[
|
|
1267
|
+
def revision_history_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1269
1268
|
pulumi.set(self, "revision_history_limit", value)
|
|
1270
1269
|
|
|
1271
|
-
@property
|
|
1270
|
+
@_builtins.property
|
|
1272
1271
|
@pulumi.getter
|
|
1273
1272
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
1274
1273
|
"""
|
|
@@ -1280,7 +1279,7 @@ class DeploymentSpecPatchArgs:
|
|
|
1280
1279
|
def selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
1281
1280
|
pulumi.set(self, "selector", value)
|
|
1282
1281
|
|
|
1283
|
-
@property
|
|
1282
|
+
@_builtins.property
|
|
1284
1283
|
@pulumi.getter
|
|
1285
1284
|
def strategy(self) -> Optional[pulumi.Input['DeploymentStrategyPatchArgs']]:
|
|
1286
1285
|
"""
|
|
@@ -1292,7 +1291,7 @@ class DeploymentSpecPatchArgs:
|
|
|
1292
1291
|
def strategy(self, value: Optional[pulumi.Input['DeploymentStrategyPatchArgs']]):
|
|
1293
1292
|
pulumi.set(self, "strategy", value)
|
|
1294
1293
|
|
|
1295
|
-
@property
|
|
1294
|
+
@_builtins.property
|
|
1296
1295
|
@pulumi.getter
|
|
1297
1296
|
def template(self) -> Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']]:
|
|
1298
1297
|
"""
|
|
@@ -1318,23 +1317,23 @@ if not MYPY:
|
|
|
1318
1317
|
"""
|
|
1319
1318
|
Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is "Always".
|
|
1320
1319
|
"""
|
|
1321
|
-
min_ready_seconds: NotRequired[pulumi.Input[
|
|
1320
|
+
min_ready_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
1322
1321
|
"""
|
|
1323
1322
|
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
1324
1323
|
"""
|
|
1325
|
-
paused: NotRequired[pulumi.Input[
|
|
1324
|
+
paused: NotRequired[pulumi.Input[_builtins.bool]]
|
|
1326
1325
|
"""
|
|
1327
1326
|
Indicates that the deployment is paused.
|
|
1328
1327
|
"""
|
|
1329
|
-
progress_deadline_seconds: NotRequired[pulumi.Input[
|
|
1328
|
+
progress_deadline_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
1330
1329
|
"""
|
|
1331
1330
|
The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
|
|
1332
1331
|
"""
|
|
1333
|
-
replicas: NotRequired[pulumi.Input[
|
|
1332
|
+
replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1334
1333
|
"""
|
|
1335
1334
|
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1336
1335
|
"""
|
|
1337
|
-
revision_history_limit: NotRequired[pulumi.Input[
|
|
1336
|
+
revision_history_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
1338
1337
|
"""
|
|
1339
1338
|
The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
1340
1339
|
"""
|
|
@@ -1350,21 +1349,21 @@ class DeploymentSpecArgs:
|
|
|
1350
1349
|
def __init__(__self__, *,
|
|
1351
1350
|
selector: pulumi.Input['_meta.v1.LabelSelectorArgs'],
|
|
1352
1351
|
template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
|
|
1353
|
-
min_ready_seconds: Optional[pulumi.Input[
|
|
1354
|
-
paused: Optional[pulumi.Input[
|
|
1355
|
-
progress_deadline_seconds: Optional[pulumi.Input[
|
|
1356
|
-
replicas: Optional[pulumi.Input[
|
|
1357
|
-
revision_history_limit: Optional[pulumi.Input[
|
|
1352
|
+
min_ready_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1353
|
+
paused: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
1354
|
+
progress_deadline_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1355
|
+
replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1356
|
+
revision_history_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1358
1357
|
strategy: Optional[pulumi.Input['DeploymentStrategyArgs']] = None):
|
|
1359
1358
|
"""
|
|
1360
1359
|
DeploymentSpec is the specification of the desired behavior of the Deployment.
|
|
1361
1360
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: Label selector for pods. Existing ReplicaSets whose pods are selected by this will be the ones affected by this deployment. It must match the pod template's labels.
|
|
1362
1361
|
:param pulumi.Input['_core.v1.PodTemplateSpecArgs'] template: Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is "Always".
|
|
1363
|
-
:param pulumi.Input[
|
|
1364
|
-
:param pulumi.Input[
|
|
1365
|
-
:param pulumi.Input[
|
|
1366
|
-
:param pulumi.Input[
|
|
1367
|
-
:param pulumi.Input[
|
|
1362
|
+
:param pulumi.Input[_builtins.int] min_ready_seconds: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
1363
|
+
:param pulumi.Input[_builtins.bool] paused: Indicates that the deployment is paused.
|
|
1364
|
+
:param pulumi.Input[_builtins.int] progress_deadline_seconds: The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
|
|
1365
|
+
:param pulumi.Input[_builtins.int] replicas: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1366
|
+
:param pulumi.Input[_builtins.int] revision_history_limit: The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
1368
1367
|
:param pulumi.Input['DeploymentStrategyArgs'] strategy: The deployment strategy to use to replace existing pods with new ones.
|
|
1369
1368
|
"""
|
|
1370
1369
|
pulumi.set(__self__, "selector", selector)
|
|
@@ -1382,7 +1381,7 @@ class DeploymentSpecArgs:
|
|
|
1382
1381
|
if strategy is not None:
|
|
1383
1382
|
pulumi.set(__self__, "strategy", strategy)
|
|
1384
1383
|
|
|
1385
|
-
@property
|
|
1384
|
+
@_builtins.property
|
|
1386
1385
|
@pulumi.getter
|
|
1387
1386
|
def selector(self) -> pulumi.Input['_meta.v1.LabelSelectorArgs']:
|
|
1388
1387
|
"""
|
|
@@ -1394,7 +1393,7 @@ class DeploymentSpecArgs:
|
|
|
1394
1393
|
def selector(self, value: pulumi.Input['_meta.v1.LabelSelectorArgs']):
|
|
1395
1394
|
pulumi.set(self, "selector", value)
|
|
1396
1395
|
|
|
1397
|
-
@property
|
|
1396
|
+
@_builtins.property
|
|
1398
1397
|
@pulumi.getter
|
|
1399
1398
|
def template(self) -> pulumi.Input['_core.v1.PodTemplateSpecArgs']:
|
|
1400
1399
|
"""
|
|
@@ -1406,67 +1405,67 @@ class DeploymentSpecArgs:
|
|
|
1406
1405
|
def template(self, value: pulumi.Input['_core.v1.PodTemplateSpecArgs']):
|
|
1407
1406
|
pulumi.set(self, "template", value)
|
|
1408
1407
|
|
|
1409
|
-
@property
|
|
1408
|
+
@_builtins.property
|
|
1410
1409
|
@pulumi.getter(name="minReadySeconds")
|
|
1411
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[
|
|
1410
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1412
1411
|
"""
|
|
1413
1412
|
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
1414
1413
|
"""
|
|
1415
1414
|
return pulumi.get(self, "min_ready_seconds")
|
|
1416
1415
|
|
|
1417
1416
|
@min_ready_seconds.setter
|
|
1418
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[
|
|
1417
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1419
1418
|
pulumi.set(self, "min_ready_seconds", value)
|
|
1420
1419
|
|
|
1421
|
-
@property
|
|
1420
|
+
@_builtins.property
|
|
1422
1421
|
@pulumi.getter
|
|
1423
|
-
def paused(self) -> Optional[pulumi.Input[
|
|
1422
|
+
def paused(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
1424
1423
|
"""
|
|
1425
1424
|
Indicates that the deployment is paused.
|
|
1426
1425
|
"""
|
|
1427
1426
|
return pulumi.get(self, "paused")
|
|
1428
1427
|
|
|
1429
1428
|
@paused.setter
|
|
1430
|
-
def paused(self, value: Optional[pulumi.Input[
|
|
1429
|
+
def paused(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
1431
1430
|
pulumi.set(self, "paused", value)
|
|
1432
1431
|
|
|
1433
|
-
@property
|
|
1432
|
+
@_builtins.property
|
|
1434
1433
|
@pulumi.getter(name="progressDeadlineSeconds")
|
|
1435
|
-
def progress_deadline_seconds(self) -> Optional[pulumi.Input[
|
|
1434
|
+
def progress_deadline_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1436
1435
|
"""
|
|
1437
1436
|
The maximum time in seconds for a deployment to make progress before it is considered to be failed. The deployment controller will continue to process failed deployments and a condition with a ProgressDeadlineExceeded reason will be surfaced in the deployment status. Note that progress will not be estimated during the time a deployment is paused. Defaults to 600s.
|
|
1438
1437
|
"""
|
|
1439
1438
|
return pulumi.get(self, "progress_deadline_seconds")
|
|
1440
1439
|
|
|
1441
1440
|
@progress_deadline_seconds.setter
|
|
1442
|
-
def progress_deadline_seconds(self, value: Optional[pulumi.Input[
|
|
1441
|
+
def progress_deadline_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1443
1442
|
pulumi.set(self, "progress_deadline_seconds", value)
|
|
1444
1443
|
|
|
1445
|
-
@property
|
|
1444
|
+
@_builtins.property
|
|
1446
1445
|
@pulumi.getter
|
|
1447
|
-
def replicas(self) -> Optional[pulumi.Input[
|
|
1446
|
+
def replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1448
1447
|
"""
|
|
1449
1448
|
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1450
1449
|
"""
|
|
1451
1450
|
return pulumi.get(self, "replicas")
|
|
1452
1451
|
|
|
1453
1452
|
@replicas.setter
|
|
1454
|
-
def replicas(self, value: Optional[pulumi.Input[
|
|
1453
|
+
def replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1455
1454
|
pulumi.set(self, "replicas", value)
|
|
1456
1455
|
|
|
1457
|
-
@property
|
|
1456
|
+
@_builtins.property
|
|
1458
1457
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
1459
|
-
def revision_history_limit(self) -> Optional[pulumi.Input[
|
|
1458
|
+
def revision_history_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1460
1459
|
"""
|
|
1461
1460
|
The number of old ReplicaSets to retain to allow rollback. This is a pointer to distinguish between explicit zero and not specified. Defaults to 10.
|
|
1462
1461
|
"""
|
|
1463
1462
|
return pulumi.get(self, "revision_history_limit")
|
|
1464
1463
|
|
|
1465
1464
|
@revision_history_limit.setter
|
|
1466
|
-
def revision_history_limit(self, value: Optional[pulumi.Input[
|
|
1465
|
+
def revision_history_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1467
1466
|
pulumi.set(self, "revision_history_limit", value)
|
|
1468
1467
|
|
|
1469
|
-
@property
|
|
1468
|
+
@_builtins.property
|
|
1470
1469
|
@pulumi.getter
|
|
1471
1470
|
def strategy(self) -> Optional[pulumi.Input['DeploymentStrategyArgs']]:
|
|
1472
1471
|
"""
|
|
@@ -1484,11 +1483,11 @@ if not MYPY:
|
|
|
1484
1483
|
"""
|
|
1485
1484
|
DeploymentStatus is the most recently observed status of the Deployment.
|
|
1486
1485
|
"""
|
|
1487
|
-
available_replicas: NotRequired[pulumi.Input[
|
|
1486
|
+
available_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1488
1487
|
"""
|
|
1489
1488
|
Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1490
1489
|
"""
|
|
1491
|
-
collision_count: NotRequired[pulumi.Input[
|
|
1490
|
+
collision_count: NotRequired[pulumi.Input[_builtins.int]]
|
|
1492
1491
|
"""
|
|
1493
1492
|
Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
|
|
1494
1493
|
"""
|
|
@@ -1496,29 +1495,29 @@ if not MYPY:
|
|
|
1496
1495
|
"""
|
|
1497
1496
|
Represents the latest available observations of a deployment's current state.
|
|
1498
1497
|
"""
|
|
1499
|
-
observed_generation: NotRequired[pulumi.Input[
|
|
1498
|
+
observed_generation: NotRequired[pulumi.Input[_builtins.int]]
|
|
1500
1499
|
"""
|
|
1501
1500
|
The generation observed by the deployment controller.
|
|
1502
1501
|
"""
|
|
1503
|
-
ready_replicas: NotRequired[pulumi.Input[
|
|
1502
|
+
ready_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1504
1503
|
"""
|
|
1505
1504
|
Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
|
|
1506
1505
|
"""
|
|
1507
|
-
replicas: NotRequired[pulumi.Input[
|
|
1506
|
+
replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1508
1507
|
"""
|
|
1509
1508
|
Total number of non-terminating pods targeted by this deployment (their labels match the selector).
|
|
1510
1509
|
"""
|
|
1511
|
-
terminating_replicas: NotRequired[pulumi.Input[
|
|
1510
|
+
terminating_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1512
1511
|
"""
|
|
1513
1512
|
Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
|
|
1514
1513
|
|
|
1515
1514
|
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
1516
1515
|
"""
|
|
1517
|
-
unavailable_replicas: NotRequired[pulumi.Input[
|
|
1516
|
+
unavailable_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1518
1517
|
"""
|
|
1519
1518
|
Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
|
|
1520
1519
|
"""
|
|
1521
|
-
updated_replicas: NotRequired[pulumi.Input[
|
|
1520
|
+
updated_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1522
1521
|
"""
|
|
1523
1522
|
Total number of non-terminating pods targeted by this deployment that have the desired template spec.
|
|
1524
1523
|
"""
|
|
@@ -1528,28 +1527,28 @@ elif False:
|
|
|
1528
1527
|
@pulumi.input_type
|
|
1529
1528
|
class DeploymentStatusArgs:
|
|
1530
1529
|
def __init__(__self__, *,
|
|
1531
|
-
available_replicas: Optional[pulumi.Input[
|
|
1532
|
-
collision_count: Optional[pulumi.Input[
|
|
1530
|
+
available_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1531
|
+
collision_count: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1533
1532
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentConditionArgs']]]] = None,
|
|
1534
|
-
observed_generation: Optional[pulumi.Input[
|
|
1535
|
-
ready_replicas: Optional[pulumi.Input[
|
|
1536
|
-
replicas: Optional[pulumi.Input[
|
|
1537
|
-
terminating_replicas: Optional[pulumi.Input[
|
|
1538
|
-
unavailable_replicas: Optional[pulumi.Input[
|
|
1539
|
-
updated_replicas: Optional[pulumi.Input[
|
|
1533
|
+
observed_generation: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1534
|
+
ready_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1535
|
+
replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1536
|
+
terminating_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1537
|
+
unavailable_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1538
|
+
updated_replicas: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1540
1539
|
"""
|
|
1541
1540
|
DeploymentStatus is the most recently observed status of the Deployment.
|
|
1542
|
-
:param pulumi.Input[
|
|
1543
|
-
:param pulumi.Input[
|
|
1541
|
+
:param pulumi.Input[_builtins.int] available_replicas: Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1542
|
+
:param pulumi.Input[_builtins.int] collision_count: Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
|
|
1544
1543
|
:param pulumi.Input[Sequence[pulumi.Input['DeploymentConditionArgs']]] conditions: Represents the latest available observations of a deployment's current state.
|
|
1545
|
-
:param pulumi.Input[
|
|
1546
|
-
:param pulumi.Input[
|
|
1547
|
-
:param pulumi.Input[
|
|
1548
|
-
:param pulumi.Input[
|
|
1544
|
+
:param pulumi.Input[_builtins.int] observed_generation: The generation observed by the deployment controller.
|
|
1545
|
+
:param pulumi.Input[_builtins.int] ready_replicas: Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
|
|
1546
|
+
:param pulumi.Input[_builtins.int] replicas: Total number of non-terminating pods targeted by this deployment (their labels match the selector).
|
|
1547
|
+
:param pulumi.Input[_builtins.int] terminating_replicas: Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
|
|
1549
1548
|
|
|
1550
1549
|
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
1551
|
-
:param pulumi.Input[
|
|
1552
|
-
:param pulumi.Input[
|
|
1550
|
+
:param pulumi.Input[_builtins.int] unavailable_replicas: Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
|
|
1551
|
+
:param pulumi.Input[_builtins.int] updated_replicas: Total number of non-terminating pods targeted by this deployment that have the desired template spec.
|
|
1553
1552
|
"""
|
|
1554
1553
|
if available_replicas is not None:
|
|
1555
1554
|
pulumi.set(__self__, "available_replicas", available_replicas)
|
|
@@ -1570,31 +1569,31 @@ class DeploymentStatusArgs:
|
|
|
1570
1569
|
if updated_replicas is not None:
|
|
1571
1570
|
pulumi.set(__self__, "updated_replicas", updated_replicas)
|
|
1572
1571
|
|
|
1573
|
-
@property
|
|
1572
|
+
@_builtins.property
|
|
1574
1573
|
@pulumi.getter(name="availableReplicas")
|
|
1575
|
-
def available_replicas(self) -> Optional[pulumi.Input[
|
|
1574
|
+
def available_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1576
1575
|
"""
|
|
1577
1576
|
Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1578
1577
|
"""
|
|
1579
1578
|
return pulumi.get(self, "available_replicas")
|
|
1580
1579
|
|
|
1581
1580
|
@available_replicas.setter
|
|
1582
|
-
def available_replicas(self, value: Optional[pulumi.Input[
|
|
1581
|
+
def available_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1583
1582
|
pulumi.set(self, "available_replicas", value)
|
|
1584
1583
|
|
|
1585
|
-
@property
|
|
1584
|
+
@_builtins.property
|
|
1586
1585
|
@pulumi.getter(name="collisionCount")
|
|
1587
|
-
def collision_count(self) -> Optional[pulumi.Input[
|
|
1586
|
+
def collision_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1588
1587
|
"""
|
|
1589
1588
|
Count of hash collisions for the Deployment. The Deployment controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ReplicaSet.
|
|
1590
1589
|
"""
|
|
1591
1590
|
return pulumi.get(self, "collision_count")
|
|
1592
1591
|
|
|
1593
1592
|
@collision_count.setter
|
|
1594
|
-
def collision_count(self, value: Optional[pulumi.Input[
|
|
1593
|
+
def collision_count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1595
1594
|
pulumi.set(self, "collision_count", value)
|
|
1596
1595
|
|
|
1597
|
-
@property
|
|
1596
|
+
@_builtins.property
|
|
1598
1597
|
@pulumi.getter
|
|
1599
1598
|
def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentConditionArgs']]]]:
|
|
1600
1599
|
"""
|
|
@@ -1606,45 +1605,45 @@ class DeploymentStatusArgs:
|
|
|
1606
1605
|
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentConditionArgs']]]]):
|
|
1607
1606
|
pulumi.set(self, "conditions", value)
|
|
1608
1607
|
|
|
1609
|
-
@property
|
|
1608
|
+
@_builtins.property
|
|
1610
1609
|
@pulumi.getter(name="observedGeneration")
|
|
1611
|
-
def observed_generation(self) -> Optional[pulumi.Input[
|
|
1610
|
+
def observed_generation(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1612
1611
|
"""
|
|
1613
1612
|
The generation observed by the deployment controller.
|
|
1614
1613
|
"""
|
|
1615
1614
|
return pulumi.get(self, "observed_generation")
|
|
1616
1615
|
|
|
1617
1616
|
@observed_generation.setter
|
|
1618
|
-
def observed_generation(self, value: Optional[pulumi.Input[
|
|
1617
|
+
def observed_generation(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1619
1618
|
pulumi.set(self, "observed_generation", value)
|
|
1620
1619
|
|
|
1621
|
-
@property
|
|
1620
|
+
@_builtins.property
|
|
1622
1621
|
@pulumi.getter(name="readyReplicas")
|
|
1623
|
-
def ready_replicas(self) -> Optional[pulumi.Input[
|
|
1622
|
+
def ready_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1624
1623
|
"""
|
|
1625
1624
|
Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
|
|
1626
1625
|
"""
|
|
1627
1626
|
return pulumi.get(self, "ready_replicas")
|
|
1628
1627
|
|
|
1629
1628
|
@ready_replicas.setter
|
|
1630
|
-
def ready_replicas(self, value: Optional[pulumi.Input[
|
|
1629
|
+
def ready_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1631
1630
|
pulumi.set(self, "ready_replicas", value)
|
|
1632
1631
|
|
|
1633
|
-
@property
|
|
1632
|
+
@_builtins.property
|
|
1634
1633
|
@pulumi.getter
|
|
1635
|
-
def replicas(self) -> Optional[pulumi.Input[
|
|
1634
|
+
def replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1636
1635
|
"""
|
|
1637
1636
|
Total number of non-terminating pods targeted by this deployment (their labels match the selector).
|
|
1638
1637
|
"""
|
|
1639
1638
|
return pulumi.get(self, "replicas")
|
|
1640
1639
|
|
|
1641
1640
|
@replicas.setter
|
|
1642
|
-
def replicas(self, value: Optional[pulumi.Input[
|
|
1641
|
+
def replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1643
1642
|
pulumi.set(self, "replicas", value)
|
|
1644
1643
|
|
|
1645
|
-
@property
|
|
1644
|
+
@_builtins.property
|
|
1646
1645
|
@pulumi.getter(name="terminatingReplicas")
|
|
1647
|
-
def terminating_replicas(self) -> Optional[pulumi.Input[
|
|
1646
|
+
def terminating_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1648
1647
|
"""
|
|
1649
1648
|
Total number of terminating pods targeted by this deployment. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
|
|
1650
1649
|
|
|
@@ -1653,31 +1652,31 @@ class DeploymentStatusArgs:
|
|
|
1653
1652
|
return pulumi.get(self, "terminating_replicas")
|
|
1654
1653
|
|
|
1655
1654
|
@terminating_replicas.setter
|
|
1656
|
-
def terminating_replicas(self, value: Optional[pulumi.Input[
|
|
1655
|
+
def terminating_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1657
1656
|
pulumi.set(self, "terminating_replicas", value)
|
|
1658
1657
|
|
|
1659
|
-
@property
|
|
1658
|
+
@_builtins.property
|
|
1660
1659
|
@pulumi.getter(name="unavailableReplicas")
|
|
1661
|
-
def unavailable_replicas(self) -> Optional[pulumi.Input[
|
|
1660
|
+
def unavailable_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1662
1661
|
"""
|
|
1663
1662
|
Total number of unavailable pods targeted by this deployment. This is the total number of pods that are still required for the deployment to have 100% available capacity. They may either be pods that are running but not yet available or pods that still have not been created.
|
|
1664
1663
|
"""
|
|
1665
1664
|
return pulumi.get(self, "unavailable_replicas")
|
|
1666
1665
|
|
|
1667
1666
|
@unavailable_replicas.setter
|
|
1668
|
-
def unavailable_replicas(self, value: Optional[pulumi.Input[
|
|
1667
|
+
def unavailable_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1669
1668
|
pulumi.set(self, "unavailable_replicas", value)
|
|
1670
1669
|
|
|
1671
|
-
@property
|
|
1670
|
+
@_builtins.property
|
|
1672
1671
|
@pulumi.getter(name="updatedReplicas")
|
|
1673
|
-
def updated_replicas(self) -> Optional[pulumi.Input[
|
|
1672
|
+
def updated_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1674
1673
|
"""
|
|
1675
1674
|
Total number of non-terminating pods targeted by this deployment that have the desired template spec.
|
|
1676
1675
|
"""
|
|
1677
1676
|
return pulumi.get(self, "updated_replicas")
|
|
1678
1677
|
|
|
1679
1678
|
@updated_replicas.setter
|
|
1680
|
-
def updated_replicas(self, value: Optional[pulumi.Input[
|
|
1679
|
+
def updated_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1681
1680
|
pulumi.set(self, "updated_replicas", value)
|
|
1682
1681
|
|
|
1683
1682
|
|
|
@@ -1690,7 +1689,7 @@ if not MYPY:
|
|
|
1690
1689
|
"""
|
|
1691
1690
|
Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
|
|
1692
1691
|
"""
|
|
1693
|
-
type: NotRequired[pulumi.Input[
|
|
1692
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
1694
1693
|
"""
|
|
1695
1694
|
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1696
1695
|
"""
|
|
@@ -1701,18 +1700,18 @@ elif False:
|
|
|
1701
1700
|
class DeploymentStrategyPatchArgs:
|
|
1702
1701
|
def __init__(__self__, *,
|
|
1703
1702
|
rolling_update: Optional[pulumi.Input['RollingUpdateDeploymentPatchArgs']] = None,
|
|
1704
|
-
type: Optional[pulumi.Input[
|
|
1703
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1705
1704
|
"""
|
|
1706
1705
|
DeploymentStrategy describes how to replace existing pods with new ones.
|
|
1707
1706
|
:param pulumi.Input['RollingUpdateDeploymentPatchArgs'] rolling_update: Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
|
|
1708
|
-
:param pulumi.Input[
|
|
1707
|
+
:param pulumi.Input[_builtins.str] type: Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1709
1708
|
"""
|
|
1710
1709
|
if rolling_update is not None:
|
|
1711
1710
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
1712
1711
|
if type is not None:
|
|
1713
1712
|
pulumi.set(__self__, "type", type)
|
|
1714
1713
|
|
|
1715
|
-
@property
|
|
1714
|
+
@_builtins.property
|
|
1716
1715
|
@pulumi.getter(name="rollingUpdate")
|
|
1717
1716
|
def rolling_update(self) -> Optional[pulumi.Input['RollingUpdateDeploymentPatchArgs']]:
|
|
1718
1717
|
"""
|
|
@@ -1724,16 +1723,16 @@ class DeploymentStrategyPatchArgs:
|
|
|
1724
1723
|
def rolling_update(self, value: Optional[pulumi.Input['RollingUpdateDeploymentPatchArgs']]):
|
|
1725
1724
|
pulumi.set(self, "rolling_update", value)
|
|
1726
1725
|
|
|
1727
|
-
@property
|
|
1726
|
+
@_builtins.property
|
|
1728
1727
|
@pulumi.getter
|
|
1729
|
-
def type(self) -> Optional[pulumi.Input[
|
|
1728
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1730
1729
|
"""
|
|
1731
1730
|
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1732
1731
|
"""
|
|
1733
1732
|
return pulumi.get(self, "type")
|
|
1734
1733
|
|
|
1735
1734
|
@type.setter
|
|
1736
|
-
def type(self, value: Optional[pulumi.Input[
|
|
1735
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1737
1736
|
pulumi.set(self, "type", value)
|
|
1738
1737
|
|
|
1739
1738
|
|
|
@@ -1746,7 +1745,7 @@ if not MYPY:
|
|
|
1746
1745
|
"""
|
|
1747
1746
|
Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
|
|
1748
1747
|
"""
|
|
1749
|
-
type: NotRequired[pulumi.Input[
|
|
1748
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
1750
1749
|
"""
|
|
1751
1750
|
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1752
1751
|
"""
|
|
@@ -1757,18 +1756,18 @@ elif False:
|
|
|
1757
1756
|
class DeploymentStrategyArgs:
|
|
1758
1757
|
def __init__(__self__, *,
|
|
1759
1758
|
rolling_update: Optional[pulumi.Input['RollingUpdateDeploymentArgs']] = None,
|
|
1760
|
-
type: Optional[pulumi.Input[
|
|
1759
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1761
1760
|
"""
|
|
1762
1761
|
DeploymentStrategy describes how to replace existing pods with new ones.
|
|
1763
1762
|
:param pulumi.Input['RollingUpdateDeploymentArgs'] rolling_update: Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
|
|
1764
|
-
:param pulumi.Input[
|
|
1763
|
+
:param pulumi.Input[_builtins.str] type: Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1765
1764
|
"""
|
|
1766
1765
|
if rolling_update is not None:
|
|
1767
1766
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
1768
1767
|
if type is not None:
|
|
1769
1768
|
pulumi.set(__self__, "type", type)
|
|
1770
1769
|
|
|
1771
|
-
@property
|
|
1770
|
+
@_builtins.property
|
|
1772
1771
|
@pulumi.getter(name="rollingUpdate")
|
|
1773
1772
|
def rolling_update(self) -> Optional[pulumi.Input['RollingUpdateDeploymentArgs']]:
|
|
1774
1773
|
"""
|
|
@@ -1780,16 +1779,16 @@ class DeploymentStrategyArgs:
|
|
|
1780
1779
|
def rolling_update(self, value: Optional[pulumi.Input['RollingUpdateDeploymentArgs']]):
|
|
1781
1780
|
pulumi.set(self, "rolling_update", value)
|
|
1782
1781
|
|
|
1783
|
-
@property
|
|
1782
|
+
@_builtins.property
|
|
1784
1783
|
@pulumi.getter
|
|
1785
|
-
def type(self) -> Optional[pulumi.Input[
|
|
1784
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1786
1785
|
"""
|
|
1787
1786
|
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1788
1787
|
"""
|
|
1789
1788
|
return pulumi.get(self, "type")
|
|
1790
1789
|
|
|
1791
1790
|
@type.setter
|
|
1792
|
-
def type(self, value: Optional[pulumi.Input[
|
|
1791
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1793
1792
|
pulumi.set(self, "type", value)
|
|
1794
1793
|
|
|
1795
1794
|
|
|
@@ -1820,11 +1819,11 @@ if not MYPY:
|
|
|
1820
1819
|
time out and mark the resource update as Failed. You can override the default timeout value
|
|
1821
1820
|
by setting the 'customTimeouts' option on the resource.
|
|
1822
1821
|
"""
|
|
1823
|
-
api_version: NotRequired[pulumi.Input[
|
|
1822
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1824
1823
|
"""
|
|
1825
1824
|
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
|
|
1826
1825
|
"""
|
|
1827
|
-
kind: NotRequired[pulumi.Input[
|
|
1826
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1828
1827
|
"""
|
|
1829
1828
|
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
|
|
1830
1829
|
"""
|
|
@@ -1846,8 +1845,8 @@ elif False:
|
|
|
1846
1845
|
@pulumi.input_type
|
|
1847
1846
|
class DeploymentArgs:
|
|
1848
1847
|
def __init__(__self__, *,
|
|
1849
|
-
api_version: Optional[pulumi.Input[
|
|
1850
|
-
kind: Optional[pulumi.Input[
|
|
1848
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1849
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1851
1850
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1852
1851
|
spec: Optional[pulumi.Input['DeploymentSpecArgs']] = None,
|
|
1853
1852
|
status: Optional[pulumi.Input['DeploymentStatusArgs']] = None):
|
|
@@ -1875,8 +1874,8 @@ class DeploymentArgs:
|
|
|
1875
1874
|
If the Deployment has not reached a Ready state after 10 minutes, it will
|
|
1876
1875
|
time out and mark the resource update as Failed. You can override the default timeout value
|
|
1877
1876
|
by setting the 'customTimeouts' option on the resource.
|
|
1878
|
-
:param pulumi.Input[
|
|
1879
|
-
:param pulumi.Input[
|
|
1877
|
+
: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
|
|
1878
|
+
: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
|
|
1880
1879
|
: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
|
|
1881
1880
|
:param pulumi.Input['DeploymentSpecArgs'] spec: Specification of the desired behavior of the Deployment.
|
|
1882
1881
|
:param pulumi.Input['DeploymentStatusArgs'] status: Most recently observed status of the Deployment.
|
|
@@ -1892,31 +1891,31 @@ class DeploymentArgs:
|
|
|
1892
1891
|
if status is not None:
|
|
1893
1892
|
pulumi.set(__self__, "status", status)
|
|
1894
1893
|
|
|
1895
|
-
@property
|
|
1894
|
+
@_builtins.property
|
|
1896
1895
|
@pulumi.getter(name="apiVersion")
|
|
1897
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
1896
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1898
1897
|
"""
|
|
1899
1898
|
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
|
|
1900
1899
|
"""
|
|
1901
1900
|
return pulumi.get(self, "api_version")
|
|
1902
1901
|
|
|
1903
1902
|
@api_version.setter
|
|
1904
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
1903
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1905
1904
|
pulumi.set(self, "api_version", value)
|
|
1906
1905
|
|
|
1907
|
-
@property
|
|
1906
|
+
@_builtins.property
|
|
1908
1907
|
@pulumi.getter
|
|
1909
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
1908
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1910
1909
|
"""
|
|
1911
1910
|
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
|
|
1912
1911
|
"""
|
|
1913
1912
|
return pulumi.get(self, "kind")
|
|
1914
1913
|
|
|
1915
1914
|
@kind.setter
|
|
1916
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
1915
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1917
1916
|
pulumi.set(self, "kind", value)
|
|
1918
1917
|
|
|
1919
|
-
@property
|
|
1918
|
+
@_builtins.property
|
|
1920
1919
|
@pulumi.getter
|
|
1921
1920
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1922
1921
|
"""
|
|
@@ -1928,7 +1927,7 @@ class DeploymentArgs:
|
|
|
1928
1927
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1929
1928
|
pulumi.set(self, "metadata", value)
|
|
1930
1929
|
|
|
1931
|
-
@property
|
|
1930
|
+
@_builtins.property
|
|
1932
1931
|
@pulumi.getter
|
|
1933
1932
|
def spec(self) -> Optional[pulumi.Input['DeploymentSpecArgs']]:
|
|
1934
1933
|
"""
|
|
@@ -1940,7 +1939,7 @@ class DeploymentArgs:
|
|
|
1940
1939
|
def spec(self, value: Optional[pulumi.Input['DeploymentSpecArgs']]):
|
|
1941
1940
|
pulumi.set(self, "spec", value)
|
|
1942
1941
|
|
|
1943
|
-
@property
|
|
1942
|
+
@_builtins.property
|
|
1944
1943
|
@pulumi.getter
|
|
1945
1944
|
def status(self) -> Optional[pulumi.Input['DeploymentStatusArgs']]:
|
|
1946
1945
|
"""
|
|
@@ -1958,23 +1957,23 @@ if not MYPY:
|
|
|
1958
1957
|
"""
|
|
1959
1958
|
ReplicaSetCondition describes the state of a replica set at a certain point.
|
|
1960
1959
|
"""
|
|
1961
|
-
status: pulumi.Input[
|
|
1960
|
+
status: pulumi.Input[_builtins.str]
|
|
1962
1961
|
"""
|
|
1963
1962
|
Status of the condition, one of True, False, Unknown.
|
|
1964
1963
|
"""
|
|
1965
|
-
type: pulumi.Input[
|
|
1964
|
+
type: pulumi.Input[_builtins.str]
|
|
1966
1965
|
"""
|
|
1967
1966
|
Type of replica set condition.
|
|
1968
1967
|
"""
|
|
1969
|
-
last_transition_time: NotRequired[pulumi.Input[
|
|
1968
|
+
last_transition_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1970
1969
|
"""
|
|
1971
1970
|
The last time the condition transitioned from one status to another.
|
|
1972
1971
|
"""
|
|
1973
|
-
message: NotRequired[pulumi.Input[
|
|
1972
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
1974
1973
|
"""
|
|
1975
1974
|
A human readable message indicating details about the transition.
|
|
1976
1975
|
"""
|
|
1977
|
-
reason: NotRequired[pulumi.Input[
|
|
1976
|
+
reason: NotRequired[pulumi.Input[_builtins.str]]
|
|
1978
1977
|
"""
|
|
1979
1978
|
The reason for the condition's last transition.
|
|
1980
1979
|
"""
|
|
@@ -1984,18 +1983,18 @@ elif False:
|
|
|
1984
1983
|
@pulumi.input_type
|
|
1985
1984
|
class ReplicaSetConditionArgs:
|
|
1986
1985
|
def __init__(__self__, *,
|
|
1987
|
-
status: pulumi.Input[
|
|
1988
|
-
type: pulumi.Input[
|
|
1989
|
-
last_transition_time: Optional[pulumi.Input[
|
|
1990
|
-
message: Optional[pulumi.Input[
|
|
1991
|
-
reason: Optional[pulumi.Input[
|
|
1986
|
+
status: pulumi.Input[_builtins.str],
|
|
1987
|
+
type: pulumi.Input[_builtins.str],
|
|
1988
|
+
last_transition_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1989
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1990
|
+
reason: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1992
1991
|
"""
|
|
1993
1992
|
ReplicaSetCondition describes the state of a replica set at a certain point.
|
|
1994
|
-
:param pulumi.Input[
|
|
1995
|
-
:param pulumi.Input[
|
|
1996
|
-
:param pulumi.Input[
|
|
1997
|
-
:param pulumi.Input[
|
|
1998
|
-
:param pulumi.Input[
|
|
1993
|
+
:param pulumi.Input[_builtins.str] status: Status of the condition, one of True, False, Unknown.
|
|
1994
|
+
:param pulumi.Input[_builtins.str] type: Type of replica set condition.
|
|
1995
|
+
:param pulumi.Input[_builtins.str] last_transition_time: The last time the condition transitioned from one status to another.
|
|
1996
|
+
:param pulumi.Input[_builtins.str] message: A human readable message indicating details about the transition.
|
|
1997
|
+
:param pulumi.Input[_builtins.str] reason: The reason for the condition's last transition.
|
|
1999
1998
|
"""
|
|
2000
1999
|
pulumi.set(__self__, "status", status)
|
|
2001
2000
|
pulumi.set(__self__, "type", type)
|
|
@@ -2006,64 +2005,64 @@ class ReplicaSetConditionArgs:
|
|
|
2006
2005
|
if reason is not None:
|
|
2007
2006
|
pulumi.set(__self__, "reason", reason)
|
|
2008
2007
|
|
|
2009
|
-
@property
|
|
2008
|
+
@_builtins.property
|
|
2010
2009
|
@pulumi.getter
|
|
2011
|
-
def status(self) -> pulumi.Input[
|
|
2010
|
+
def status(self) -> pulumi.Input[_builtins.str]:
|
|
2012
2011
|
"""
|
|
2013
2012
|
Status of the condition, one of True, False, Unknown.
|
|
2014
2013
|
"""
|
|
2015
2014
|
return pulumi.get(self, "status")
|
|
2016
2015
|
|
|
2017
2016
|
@status.setter
|
|
2018
|
-
def status(self, value: pulumi.Input[
|
|
2017
|
+
def status(self, value: pulumi.Input[_builtins.str]):
|
|
2019
2018
|
pulumi.set(self, "status", value)
|
|
2020
2019
|
|
|
2021
|
-
@property
|
|
2020
|
+
@_builtins.property
|
|
2022
2021
|
@pulumi.getter
|
|
2023
|
-
def type(self) -> pulumi.Input[
|
|
2022
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
2024
2023
|
"""
|
|
2025
2024
|
Type of replica set condition.
|
|
2026
2025
|
"""
|
|
2027
2026
|
return pulumi.get(self, "type")
|
|
2028
2027
|
|
|
2029
2028
|
@type.setter
|
|
2030
|
-
def type(self, value: pulumi.Input[
|
|
2029
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
2031
2030
|
pulumi.set(self, "type", value)
|
|
2032
2031
|
|
|
2033
|
-
@property
|
|
2032
|
+
@_builtins.property
|
|
2034
2033
|
@pulumi.getter(name="lastTransitionTime")
|
|
2035
|
-
def last_transition_time(self) -> Optional[pulumi.Input[
|
|
2034
|
+
def last_transition_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2036
2035
|
"""
|
|
2037
2036
|
The last time the condition transitioned from one status to another.
|
|
2038
2037
|
"""
|
|
2039
2038
|
return pulumi.get(self, "last_transition_time")
|
|
2040
2039
|
|
|
2041
2040
|
@last_transition_time.setter
|
|
2042
|
-
def last_transition_time(self, value: Optional[pulumi.Input[
|
|
2041
|
+
def last_transition_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2043
2042
|
pulumi.set(self, "last_transition_time", value)
|
|
2044
2043
|
|
|
2045
|
-
@property
|
|
2044
|
+
@_builtins.property
|
|
2046
2045
|
@pulumi.getter
|
|
2047
|
-
def message(self) -> Optional[pulumi.Input[
|
|
2046
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2048
2047
|
"""
|
|
2049
2048
|
A human readable message indicating details about the transition.
|
|
2050
2049
|
"""
|
|
2051
2050
|
return pulumi.get(self, "message")
|
|
2052
2051
|
|
|
2053
2052
|
@message.setter
|
|
2054
|
-
def message(self, value: Optional[pulumi.Input[
|
|
2053
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2055
2054
|
pulumi.set(self, "message", value)
|
|
2056
2055
|
|
|
2057
|
-
@property
|
|
2056
|
+
@_builtins.property
|
|
2058
2057
|
@pulumi.getter
|
|
2059
|
-
def reason(self) -> Optional[pulumi.Input[
|
|
2058
|
+
def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2060
2059
|
"""
|
|
2061
2060
|
The reason for the condition's last transition.
|
|
2062
2061
|
"""
|
|
2063
2062
|
return pulumi.get(self, "reason")
|
|
2064
2063
|
|
|
2065
2064
|
@reason.setter
|
|
2066
|
-
def reason(self, value: Optional[pulumi.Input[
|
|
2065
|
+
def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2067
2066
|
pulumi.set(self, "reason", value)
|
|
2068
2067
|
|
|
2069
2068
|
|
|
@@ -2072,11 +2071,11 @@ if not MYPY:
|
|
|
2072
2071
|
"""
|
|
2073
2072
|
ReplicaSetSpec is the specification of a ReplicaSet.
|
|
2074
2073
|
"""
|
|
2075
|
-
min_ready_seconds: NotRequired[pulumi.Input[
|
|
2074
|
+
min_ready_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
2076
2075
|
"""
|
|
2077
2076
|
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
2078
2077
|
"""
|
|
2079
|
-
replicas: NotRequired[pulumi.Input[
|
|
2078
|
+
replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
2080
2079
|
"""
|
|
2081
2080
|
Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2082
2081
|
"""
|
|
@@ -2094,14 +2093,14 @@ elif False:
|
|
|
2094
2093
|
@pulumi.input_type
|
|
2095
2094
|
class ReplicaSetSpecPatchArgs:
|
|
2096
2095
|
def __init__(__self__, *,
|
|
2097
|
-
min_ready_seconds: Optional[pulumi.Input[
|
|
2098
|
-
replicas: Optional[pulumi.Input[
|
|
2096
|
+
min_ready_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2097
|
+
replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2099
2098
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
2100
2099
|
template: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']] = None):
|
|
2101
2100
|
"""
|
|
2102
2101
|
ReplicaSetSpec is the specification of a ReplicaSet.
|
|
2103
|
-
:param pulumi.Input[
|
|
2104
|
-
:param pulumi.Input[
|
|
2102
|
+
:param pulumi.Input[_builtins.int] min_ready_seconds: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
2103
|
+
:param pulumi.Input[_builtins.int] replicas: Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2105
2104
|
:param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] selector: Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
2106
2105
|
:param pulumi.Input['_core.v1.PodTemplateSpecPatchArgs'] template: Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/#pod-template
|
|
2107
2106
|
"""
|
|
@@ -2114,31 +2113,31 @@ class ReplicaSetSpecPatchArgs:
|
|
|
2114
2113
|
if template is not None:
|
|
2115
2114
|
pulumi.set(__self__, "template", template)
|
|
2116
2115
|
|
|
2117
|
-
@property
|
|
2116
|
+
@_builtins.property
|
|
2118
2117
|
@pulumi.getter(name="minReadySeconds")
|
|
2119
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[
|
|
2118
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2120
2119
|
"""
|
|
2121
2120
|
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
2122
2121
|
"""
|
|
2123
2122
|
return pulumi.get(self, "min_ready_seconds")
|
|
2124
2123
|
|
|
2125
2124
|
@min_ready_seconds.setter
|
|
2126
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[
|
|
2125
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2127
2126
|
pulumi.set(self, "min_ready_seconds", value)
|
|
2128
2127
|
|
|
2129
|
-
@property
|
|
2128
|
+
@_builtins.property
|
|
2130
2129
|
@pulumi.getter
|
|
2131
|
-
def replicas(self) -> Optional[pulumi.Input[
|
|
2130
|
+
def replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2132
2131
|
"""
|
|
2133
2132
|
Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2134
2133
|
"""
|
|
2135
2134
|
return pulumi.get(self, "replicas")
|
|
2136
2135
|
|
|
2137
2136
|
@replicas.setter
|
|
2138
|
-
def replicas(self, value: Optional[pulumi.Input[
|
|
2137
|
+
def replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2139
2138
|
pulumi.set(self, "replicas", value)
|
|
2140
2139
|
|
|
2141
|
-
@property
|
|
2140
|
+
@_builtins.property
|
|
2142
2141
|
@pulumi.getter
|
|
2143
2142
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
2144
2143
|
"""
|
|
@@ -2150,7 +2149,7 @@ class ReplicaSetSpecPatchArgs:
|
|
|
2150
2149
|
def selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
2151
2150
|
pulumi.set(self, "selector", value)
|
|
2152
2151
|
|
|
2153
|
-
@property
|
|
2152
|
+
@_builtins.property
|
|
2154
2153
|
@pulumi.getter
|
|
2155
2154
|
def template(self) -> Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']]:
|
|
2156
2155
|
"""
|
|
@@ -2172,11 +2171,11 @@ if not MYPY:
|
|
|
2172
2171
|
"""
|
|
2173
2172
|
Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
2174
2173
|
"""
|
|
2175
|
-
min_ready_seconds: NotRequired[pulumi.Input[
|
|
2174
|
+
min_ready_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
2176
2175
|
"""
|
|
2177
2176
|
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
2178
2177
|
"""
|
|
2179
|
-
replicas: NotRequired[pulumi.Input[
|
|
2178
|
+
replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
2180
2179
|
"""
|
|
2181
2180
|
Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2182
2181
|
"""
|
|
@@ -2191,14 +2190,14 @@ elif False:
|
|
|
2191
2190
|
class ReplicaSetSpecArgs:
|
|
2192
2191
|
def __init__(__self__, *,
|
|
2193
2192
|
selector: pulumi.Input['_meta.v1.LabelSelectorArgs'],
|
|
2194
|
-
min_ready_seconds: Optional[pulumi.Input[
|
|
2195
|
-
replicas: Optional[pulumi.Input[
|
|
2193
|
+
min_ready_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2194
|
+
replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2196
2195
|
template: Optional[pulumi.Input['_core.v1.PodTemplateSpecArgs']] = None):
|
|
2197
2196
|
"""
|
|
2198
2197
|
ReplicaSetSpec is the specification of a ReplicaSet.
|
|
2199
2198
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: Selector is a label query over pods that should match the replica count. Label keys and values that must match in order to be controlled by this replica set. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
2200
|
-
:param pulumi.Input[
|
|
2201
|
-
:param pulumi.Input[
|
|
2199
|
+
:param pulumi.Input[_builtins.int] min_ready_seconds: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
2200
|
+
:param pulumi.Input[_builtins.int] replicas: Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2202
2201
|
:param pulumi.Input['_core.v1.PodTemplateSpecArgs'] template: Template is the object that describes the pod that will be created if insufficient replicas are detected. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/#pod-template
|
|
2203
2202
|
"""
|
|
2204
2203
|
pulumi.set(__self__, "selector", selector)
|
|
@@ -2209,7 +2208,7 @@ class ReplicaSetSpecArgs:
|
|
|
2209
2208
|
if template is not None:
|
|
2210
2209
|
pulumi.set(__self__, "template", template)
|
|
2211
2210
|
|
|
2212
|
-
@property
|
|
2211
|
+
@_builtins.property
|
|
2213
2212
|
@pulumi.getter
|
|
2214
2213
|
def selector(self) -> pulumi.Input['_meta.v1.LabelSelectorArgs']:
|
|
2215
2214
|
"""
|
|
@@ -2221,31 +2220,31 @@ class ReplicaSetSpecArgs:
|
|
|
2221
2220
|
def selector(self, value: pulumi.Input['_meta.v1.LabelSelectorArgs']):
|
|
2222
2221
|
pulumi.set(self, "selector", value)
|
|
2223
2222
|
|
|
2224
|
-
@property
|
|
2223
|
+
@_builtins.property
|
|
2225
2224
|
@pulumi.getter(name="minReadySeconds")
|
|
2226
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[
|
|
2225
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2227
2226
|
"""
|
|
2228
2227
|
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing, for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
2229
2228
|
"""
|
|
2230
2229
|
return pulumi.get(self, "min_ready_seconds")
|
|
2231
2230
|
|
|
2232
2231
|
@min_ready_seconds.setter
|
|
2233
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[
|
|
2232
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2234
2233
|
pulumi.set(self, "min_ready_seconds", value)
|
|
2235
2234
|
|
|
2236
|
-
@property
|
|
2235
|
+
@_builtins.property
|
|
2237
2236
|
@pulumi.getter
|
|
2238
|
-
def replicas(self) -> Optional[pulumi.Input[
|
|
2237
|
+
def replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2239
2238
|
"""
|
|
2240
2239
|
Replicas is the number of desired pods. This is a pointer to distinguish between explicit zero and unspecified. Defaults to 1. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2241
2240
|
"""
|
|
2242
2241
|
return pulumi.get(self, "replicas")
|
|
2243
2242
|
|
|
2244
2243
|
@replicas.setter
|
|
2245
|
-
def replicas(self, value: Optional[pulumi.Input[
|
|
2244
|
+
def replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2246
2245
|
pulumi.set(self, "replicas", value)
|
|
2247
2246
|
|
|
2248
|
-
@property
|
|
2247
|
+
@_builtins.property
|
|
2249
2248
|
@pulumi.getter
|
|
2250
2249
|
def template(self) -> Optional[pulumi.Input['_core.v1.PodTemplateSpecArgs']]:
|
|
2251
2250
|
"""
|
|
@@ -2263,11 +2262,11 @@ if not MYPY:
|
|
|
2263
2262
|
"""
|
|
2264
2263
|
ReplicaSetStatus represents the current status of a ReplicaSet.
|
|
2265
2264
|
"""
|
|
2266
|
-
replicas: pulumi.Input[
|
|
2265
|
+
replicas: pulumi.Input[_builtins.int]
|
|
2267
2266
|
"""
|
|
2268
2267
|
Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2269
2268
|
"""
|
|
2270
|
-
available_replicas: NotRequired[pulumi.Input[
|
|
2269
|
+
available_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
2271
2270
|
"""
|
|
2272
2271
|
The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
|
|
2273
2272
|
"""
|
|
@@ -2275,19 +2274,19 @@ if not MYPY:
|
|
|
2275
2274
|
"""
|
|
2276
2275
|
Represents the latest available observations of a replica set's current state.
|
|
2277
2276
|
"""
|
|
2278
|
-
fully_labeled_replicas: NotRequired[pulumi.Input[
|
|
2277
|
+
fully_labeled_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
2279
2278
|
"""
|
|
2280
2279
|
The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
|
|
2281
2280
|
"""
|
|
2282
|
-
observed_generation: NotRequired[pulumi.Input[
|
|
2281
|
+
observed_generation: NotRequired[pulumi.Input[_builtins.int]]
|
|
2283
2282
|
"""
|
|
2284
2283
|
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2285
2284
|
"""
|
|
2286
|
-
ready_replicas: NotRequired[pulumi.Input[
|
|
2285
|
+
ready_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
2287
2286
|
"""
|
|
2288
2287
|
The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
|
|
2289
2288
|
"""
|
|
2290
|
-
terminating_replicas: NotRequired[pulumi.Input[
|
|
2289
|
+
terminating_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
2291
2290
|
"""
|
|
2292
2291
|
The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
|
|
2293
2292
|
|
|
@@ -2299,22 +2298,22 @@ elif False:
|
|
|
2299
2298
|
@pulumi.input_type
|
|
2300
2299
|
class ReplicaSetStatusArgs:
|
|
2301
2300
|
def __init__(__self__, *,
|
|
2302
|
-
replicas: pulumi.Input[
|
|
2303
|
-
available_replicas: Optional[pulumi.Input[
|
|
2301
|
+
replicas: pulumi.Input[_builtins.int],
|
|
2302
|
+
available_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2304
2303
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['ReplicaSetConditionArgs']]]] = None,
|
|
2305
|
-
fully_labeled_replicas: Optional[pulumi.Input[
|
|
2306
|
-
observed_generation: Optional[pulumi.Input[
|
|
2307
|
-
ready_replicas: Optional[pulumi.Input[
|
|
2308
|
-
terminating_replicas: Optional[pulumi.Input[
|
|
2304
|
+
fully_labeled_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2305
|
+
observed_generation: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2306
|
+
ready_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2307
|
+
terminating_replicas: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2309
2308
|
"""
|
|
2310
2309
|
ReplicaSetStatus represents the current status of a ReplicaSet.
|
|
2311
|
-
:param pulumi.Input[
|
|
2312
|
-
:param pulumi.Input[
|
|
2310
|
+
:param pulumi.Input[_builtins.int] replicas: Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2311
|
+
:param pulumi.Input[_builtins.int] available_replicas: The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
|
|
2313
2312
|
:param pulumi.Input[Sequence[pulumi.Input['ReplicaSetConditionArgs']]] conditions: Represents the latest available observations of a replica set's current state.
|
|
2314
|
-
:param pulumi.Input[
|
|
2315
|
-
:param pulumi.Input[
|
|
2316
|
-
:param pulumi.Input[
|
|
2317
|
-
:param pulumi.Input[
|
|
2313
|
+
:param pulumi.Input[_builtins.int] fully_labeled_replicas: The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
|
|
2314
|
+
:param pulumi.Input[_builtins.int] observed_generation: ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2315
|
+
:param pulumi.Input[_builtins.int] ready_replicas: The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
|
|
2316
|
+
:param pulumi.Input[_builtins.int] terminating_replicas: The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
|
|
2318
2317
|
|
|
2319
2318
|
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
2320
2319
|
"""
|
|
@@ -2332,31 +2331,31 @@ class ReplicaSetStatusArgs:
|
|
|
2332
2331
|
if terminating_replicas is not None:
|
|
2333
2332
|
pulumi.set(__self__, "terminating_replicas", terminating_replicas)
|
|
2334
2333
|
|
|
2335
|
-
@property
|
|
2334
|
+
@_builtins.property
|
|
2336
2335
|
@pulumi.getter
|
|
2337
|
-
def replicas(self) -> pulumi.Input[
|
|
2336
|
+
def replicas(self) -> pulumi.Input[_builtins.int]:
|
|
2338
2337
|
"""
|
|
2339
2338
|
Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2340
2339
|
"""
|
|
2341
2340
|
return pulumi.get(self, "replicas")
|
|
2342
2341
|
|
|
2343
2342
|
@replicas.setter
|
|
2344
|
-
def replicas(self, value: pulumi.Input[
|
|
2343
|
+
def replicas(self, value: pulumi.Input[_builtins.int]):
|
|
2345
2344
|
pulumi.set(self, "replicas", value)
|
|
2346
2345
|
|
|
2347
|
-
@property
|
|
2346
|
+
@_builtins.property
|
|
2348
2347
|
@pulumi.getter(name="availableReplicas")
|
|
2349
|
-
def available_replicas(self) -> Optional[pulumi.Input[
|
|
2348
|
+
def available_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2350
2349
|
"""
|
|
2351
2350
|
The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
|
|
2352
2351
|
"""
|
|
2353
2352
|
return pulumi.get(self, "available_replicas")
|
|
2354
2353
|
|
|
2355
2354
|
@available_replicas.setter
|
|
2356
|
-
def available_replicas(self, value: Optional[pulumi.Input[
|
|
2355
|
+
def available_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2357
2356
|
pulumi.set(self, "available_replicas", value)
|
|
2358
2357
|
|
|
2359
|
-
@property
|
|
2358
|
+
@_builtins.property
|
|
2360
2359
|
@pulumi.getter
|
|
2361
2360
|
def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ReplicaSetConditionArgs']]]]:
|
|
2362
2361
|
"""
|
|
@@ -2368,45 +2367,45 @@ class ReplicaSetStatusArgs:
|
|
|
2368
2367
|
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ReplicaSetConditionArgs']]]]):
|
|
2369
2368
|
pulumi.set(self, "conditions", value)
|
|
2370
2369
|
|
|
2371
|
-
@property
|
|
2370
|
+
@_builtins.property
|
|
2372
2371
|
@pulumi.getter(name="fullyLabeledReplicas")
|
|
2373
|
-
def fully_labeled_replicas(self) -> Optional[pulumi.Input[
|
|
2372
|
+
def fully_labeled_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2374
2373
|
"""
|
|
2375
2374
|
The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
|
|
2376
2375
|
"""
|
|
2377
2376
|
return pulumi.get(self, "fully_labeled_replicas")
|
|
2378
2377
|
|
|
2379
2378
|
@fully_labeled_replicas.setter
|
|
2380
|
-
def fully_labeled_replicas(self, value: Optional[pulumi.Input[
|
|
2379
|
+
def fully_labeled_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2381
2380
|
pulumi.set(self, "fully_labeled_replicas", value)
|
|
2382
2381
|
|
|
2383
|
-
@property
|
|
2382
|
+
@_builtins.property
|
|
2384
2383
|
@pulumi.getter(name="observedGeneration")
|
|
2385
|
-
def observed_generation(self) -> Optional[pulumi.Input[
|
|
2384
|
+
def observed_generation(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2386
2385
|
"""
|
|
2387
2386
|
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2388
2387
|
"""
|
|
2389
2388
|
return pulumi.get(self, "observed_generation")
|
|
2390
2389
|
|
|
2391
2390
|
@observed_generation.setter
|
|
2392
|
-
def observed_generation(self, value: Optional[pulumi.Input[
|
|
2391
|
+
def observed_generation(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2393
2392
|
pulumi.set(self, "observed_generation", value)
|
|
2394
2393
|
|
|
2395
|
-
@property
|
|
2394
|
+
@_builtins.property
|
|
2396
2395
|
@pulumi.getter(name="readyReplicas")
|
|
2397
|
-
def ready_replicas(self) -> Optional[pulumi.Input[
|
|
2396
|
+
def ready_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2398
2397
|
"""
|
|
2399
2398
|
The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
|
|
2400
2399
|
"""
|
|
2401
2400
|
return pulumi.get(self, "ready_replicas")
|
|
2402
2401
|
|
|
2403
2402
|
@ready_replicas.setter
|
|
2404
|
-
def ready_replicas(self, value: Optional[pulumi.Input[
|
|
2403
|
+
def ready_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2405
2404
|
pulumi.set(self, "ready_replicas", value)
|
|
2406
2405
|
|
|
2407
|
-
@property
|
|
2406
|
+
@_builtins.property
|
|
2408
2407
|
@pulumi.getter(name="terminatingReplicas")
|
|
2409
|
-
def terminating_replicas(self) -> Optional[pulumi.Input[
|
|
2408
|
+
def terminating_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2410
2409
|
"""
|
|
2411
2410
|
The number of terminating pods for this replica set. Terminating pods have a non-null .metadata.deletionTimestamp and have not yet reached the Failed or Succeeded .status.phase.
|
|
2412
2411
|
|
|
@@ -2415,7 +2414,7 @@ class ReplicaSetStatusArgs:
|
|
|
2415
2414
|
return pulumi.get(self, "terminating_replicas")
|
|
2416
2415
|
|
|
2417
2416
|
@terminating_replicas.setter
|
|
2418
|
-
def terminating_replicas(self, value: Optional[pulumi.Input[
|
|
2417
|
+
def terminating_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2419
2418
|
pulumi.set(self, "terminating_replicas", value)
|
|
2420
2419
|
|
|
2421
2420
|
|
|
@@ -2424,11 +2423,11 @@ if not MYPY:
|
|
|
2424
2423
|
"""
|
|
2425
2424
|
ReplicaSet ensures that a specified number of pod replicas are running at any given time.
|
|
2426
2425
|
"""
|
|
2427
|
-
api_version: NotRequired[pulumi.Input[
|
|
2426
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
2428
2427
|
"""
|
|
2429
2428
|
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
|
|
2430
2429
|
"""
|
|
2431
|
-
kind: NotRequired[pulumi.Input[
|
|
2430
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
2432
2431
|
"""
|
|
2433
2432
|
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
|
|
2434
2433
|
"""
|
|
@@ -2450,15 +2449,15 @@ elif False:
|
|
|
2450
2449
|
@pulumi.input_type
|
|
2451
2450
|
class ReplicaSetArgs:
|
|
2452
2451
|
def __init__(__self__, *,
|
|
2453
|
-
api_version: Optional[pulumi.Input[
|
|
2454
|
-
kind: Optional[pulumi.Input[
|
|
2452
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2453
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2455
2454
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
2456
2455
|
spec: Optional[pulumi.Input['ReplicaSetSpecArgs']] = None,
|
|
2457
2456
|
status: Optional[pulumi.Input['ReplicaSetStatusArgs']] = None):
|
|
2458
2457
|
"""
|
|
2459
2458
|
ReplicaSet ensures that a specified number of pod replicas are running at any given time.
|
|
2460
|
-
:param pulumi.Input[
|
|
2461
|
-
:param pulumi.Input[
|
|
2459
|
+
: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
|
|
2460
|
+
: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
|
|
2462
2461
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: If the Labels of a ReplicaSet are empty, they are defaulted to be the same as the Pod(s) that the ReplicaSet manages. Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
2463
2462
|
:param pulumi.Input['ReplicaSetSpecArgs'] spec: Spec defines the specification of the desired behavior of the ReplicaSet. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
2464
2463
|
:param pulumi.Input['ReplicaSetStatusArgs'] status: Status is the most recently observed status of the ReplicaSet. This data may be out of date by some window of time. Populated by the system. Read-only. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
|
@@ -2474,31 +2473,31 @@ class ReplicaSetArgs:
|
|
|
2474
2473
|
if status is not None:
|
|
2475
2474
|
pulumi.set(__self__, "status", status)
|
|
2476
2475
|
|
|
2477
|
-
@property
|
|
2476
|
+
@_builtins.property
|
|
2478
2477
|
@pulumi.getter(name="apiVersion")
|
|
2479
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
2478
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2480
2479
|
"""
|
|
2481
2480
|
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
|
|
2482
2481
|
"""
|
|
2483
2482
|
return pulumi.get(self, "api_version")
|
|
2484
2483
|
|
|
2485
2484
|
@api_version.setter
|
|
2486
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
2485
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2487
2486
|
pulumi.set(self, "api_version", value)
|
|
2488
2487
|
|
|
2489
|
-
@property
|
|
2488
|
+
@_builtins.property
|
|
2490
2489
|
@pulumi.getter
|
|
2491
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
2490
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2492
2491
|
"""
|
|
2493
2492
|
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
|
|
2494
2493
|
"""
|
|
2495
2494
|
return pulumi.get(self, "kind")
|
|
2496
2495
|
|
|
2497
2496
|
@kind.setter
|
|
2498
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
2497
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2499
2498
|
pulumi.set(self, "kind", value)
|
|
2500
2499
|
|
|
2501
|
-
@property
|
|
2500
|
+
@_builtins.property
|
|
2502
2501
|
@pulumi.getter
|
|
2503
2502
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
2504
2503
|
"""
|
|
@@ -2510,7 +2509,7 @@ class ReplicaSetArgs:
|
|
|
2510
2509
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
2511
2510
|
pulumi.set(self, "metadata", value)
|
|
2512
2511
|
|
|
2513
|
-
@property
|
|
2512
|
+
@_builtins.property
|
|
2514
2513
|
@pulumi.getter
|
|
2515
2514
|
def spec(self) -> Optional[pulumi.Input['ReplicaSetSpecArgs']]:
|
|
2516
2515
|
"""
|
|
@@ -2522,7 +2521,7 @@ class ReplicaSetArgs:
|
|
|
2522
2521
|
def spec(self, value: Optional[pulumi.Input['ReplicaSetSpecArgs']]):
|
|
2523
2522
|
pulumi.set(self, "spec", value)
|
|
2524
2523
|
|
|
2525
|
-
@property
|
|
2524
|
+
@_builtins.property
|
|
2526
2525
|
@pulumi.getter
|
|
2527
2526
|
def status(self) -> Optional[pulumi.Input['ReplicaSetStatusArgs']]:
|
|
2528
2527
|
"""
|
|
@@ -2540,11 +2539,11 @@ if not MYPY:
|
|
|
2540
2539
|
"""
|
|
2541
2540
|
Spec to control the desired behavior of daemon set rolling update.
|
|
2542
2541
|
"""
|
|
2543
|
-
max_surge: NotRequired[pulumi.Input[Union[
|
|
2542
|
+
max_surge: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
2544
2543
|
"""
|
|
2545
2544
|
The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption.
|
|
2546
2545
|
"""
|
|
2547
|
-
max_unavailable: NotRequired[pulumi.Input[Union[
|
|
2546
|
+
max_unavailable: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
2548
2547
|
"""
|
|
2549
2548
|
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.
|
|
2550
2549
|
"""
|
|
@@ -2554,40 +2553,40 @@ elif False:
|
|
|
2554
2553
|
@pulumi.input_type
|
|
2555
2554
|
class RollingUpdateDaemonSetPatchArgs:
|
|
2556
2555
|
def __init__(__self__, *,
|
|
2557
|
-
max_surge: Optional[pulumi.Input[Union[
|
|
2558
|
-
max_unavailable: Optional[pulumi.Input[Union[
|
|
2556
|
+
max_surge: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None,
|
|
2557
|
+
max_unavailable: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None):
|
|
2559
2558
|
"""
|
|
2560
2559
|
Spec to control the desired behavior of daemon set rolling update.
|
|
2561
|
-
:param pulumi.Input[Union[
|
|
2562
|
-
:param pulumi.Input[Union[
|
|
2560
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] max_surge: The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption.
|
|
2561
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] max_unavailable: The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.
|
|
2563
2562
|
"""
|
|
2564
2563
|
if max_surge is not None:
|
|
2565
2564
|
pulumi.set(__self__, "max_surge", max_surge)
|
|
2566
2565
|
if max_unavailable is not None:
|
|
2567
2566
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
2568
2567
|
|
|
2569
|
-
@property
|
|
2568
|
+
@_builtins.property
|
|
2570
2569
|
@pulumi.getter(name="maxSurge")
|
|
2571
|
-
def max_surge(self) -> Optional[pulumi.Input[Union[
|
|
2570
|
+
def max_surge(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
2572
2571
|
"""
|
|
2573
2572
|
The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption.
|
|
2574
2573
|
"""
|
|
2575
2574
|
return pulumi.get(self, "max_surge")
|
|
2576
2575
|
|
|
2577
2576
|
@max_surge.setter
|
|
2578
|
-
def max_surge(self, value: Optional[pulumi.Input[Union[
|
|
2577
|
+
def max_surge(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
2579
2578
|
pulumi.set(self, "max_surge", value)
|
|
2580
2579
|
|
|
2581
|
-
@property
|
|
2580
|
+
@_builtins.property
|
|
2582
2581
|
@pulumi.getter(name="maxUnavailable")
|
|
2583
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[
|
|
2582
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
2584
2583
|
"""
|
|
2585
2584
|
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.
|
|
2586
2585
|
"""
|
|
2587
2586
|
return pulumi.get(self, "max_unavailable")
|
|
2588
2587
|
|
|
2589
2588
|
@max_unavailable.setter
|
|
2590
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[
|
|
2589
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
2591
2590
|
pulumi.set(self, "max_unavailable", value)
|
|
2592
2591
|
|
|
2593
2592
|
|
|
@@ -2596,11 +2595,11 @@ if not MYPY:
|
|
|
2596
2595
|
"""
|
|
2597
2596
|
Spec to control the desired behavior of daemon set rolling update.
|
|
2598
2597
|
"""
|
|
2599
|
-
max_surge: NotRequired[pulumi.Input[Union[
|
|
2598
|
+
max_surge: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
2600
2599
|
"""
|
|
2601
2600
|
The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption.
|
|
2602
2601
|
"""
|
|
2603
|
-
max_unavailable: NotRequired[pulumi.Input[Union[
|
|
2602
|
+
max_unavailable: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
2604
2603
|
"""
|
|
2605
2604
|
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.
|
|
2606
2605
|
"""
|
|
@@ -2610,40 +2609,40 @@ elif False:
|
|
|
2610
2609
|
@pulumi.input_type
|
|
2611
2610
|
class RollingUpdateDaemonSetArgs:
|
|
2612
2611
|
def __init__(__self__, *,
|
|
2613
|
-
max_surge: Optional[pulumi.Input[Union[
|
|
2614
|
-
max_unavailable: Optional[pulumi.Input[Union[
|
|
2612
|
+
max_surge: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None,
|
|
2613
|
+
max_unavailable: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None):
|
|
2615
2614
|
"""
|
|
2616
2615
|
Spec to control the desired behavior of daemon set rolling update.
|
|
2617
|
-
:param pulumi.Input[Union[
|
|
2618
|
-
:param pulumi.Input[Union[
|
|
2616
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] max_surge: The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption.
|
|
2617
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] max_unavailable: The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.
|
|
2619
2618
|
"""
|
|
2620
2619
|
if max_surge is not None:
|
|
2621
2620
|
pulumi.set(__self__, "max_surge", max_surge)
|
|
2622
2621
|
if max_unavailable is not None:
|
|
2623
2622
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
2624
2623
|
|
|
2625
|
-
@property
|
|
2624
|
+
@_builtins.property
|
|
2626
2625
|
@pulumi.getter(name="maxSurge")
|
|
2627
|
-
def max_surge(self) -> Optional[pulumi.Input[Union[
|
|
2626
|
+
def max_surge(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
2628
2627
|
"""
|
|
2629
2628
|
The maximum number of nodes with an existing available DaemonSet pod that can have an updated DaemonSet pod during during an update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up to a minimum of 1. Default value is 0. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their a new pod created before the old pod is marked as deleted. The update starts by launching new pods on 30% of nodes. Once an updated pod is available (Ready for at least minReadySeconds) the old DaemonSet pod on that node is marked deleted. If the old pod becomes unavailable for any reason (Ready transitions to false, is evicted, or is drained) an updated pod is immediatedly created on that node without considering surge limits. Allowing surge implies the possibility that the resources consumed by the daemonset on any given node can double if the readiness check fails, and so resource intensive daemonsets should take into account that they may cause evictions during disruption.
|
|
2630
2629
|
"""
|
|
2631
2630
|
return pulumi.get(self, "max_surge")
|
|
2632
2631
|
|
|
2633
2632
|
@max_surge.setter
|
|
2634
|
-
def max_surge(self, value: Optional[pulumi.Input[Union[
|
|
2633
|
+
def max_surge(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
2635
2634
|
pulumi.set(self, "max_surge", value)
|
|
2636
2635
|
|
|
2637
|
-
@property
|
|
2636
|
+
@_builtins.property
|
|
2638
2637
|
@pulumi.getter(name="maxUnavailable")
|
|
2639
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[
|
|
2638
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
2640
2639
|
"""
|
|
2641
2640
|
The maximum number of DaemonSet pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of DaemonSet pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0 if MaxSurge is 0 Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desiredNumberScheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those DaemonSet pods and then brings up new DaemonSet pods in their place. Once the new pods are available, it then proceeds onto other DaemonSet pods, thus ensuring that at least 70% of original number of DaemonSet pods are available at all times during the update.
|
|
2642
2641
|
"""
|
|
2643
2642
|
return pulumi.get(self, "max_unavailable")
|
|
2644
2643
|
|
|
2645
2644
|
@max_unavailable.setter
|
|
2646
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[
|
|
2645
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
2647
2646
|
pulumi.set(self, "max_unavailable", value)
|
|
2648
2647
|
|
|
2649
2648
|
|
|
@@ -2652,11 +2651,11 @@ if not MYPY:
|
|
|
2652
2651
|
"""
|
|
2653
2652
|
Spec to control the desired behavior of rolling update.
|
|
2654
2653
|
"""
|
|
2655
|
-
max_surge: NotRequired[pulumi.Input[Union[
|
|
2654
|
+
max_surge: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
2656
2655
|
"""
|
|
2657
2656
|
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
|
|
2658
2657
|
"""
|
|
2659
|
-
max_unavailable: NotRequired[pulumi.Input[Union[
|
|
2658
|
+
max_unavailable: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
2660
2659
|
"""
|
|
2661
2660
|
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
|
|
2662
2661
|
"""
|
|
@@ -2666,40 +2665,40 @@ elif False:
|
|
|
2666
2665
|
@pulumi.input_type
|
|
2667
2666
|
class RollingUpdateDeploymentPatchArgs:
|
|
2668
2667
|
def __init__(__self__, *,
|
|
2669
|
-
max_surge: Optional[pulumi.Input[Union[
|
|
2670
|
-
max_unavailable: Optional[pulumi.Input[Union[
|
|
2668
|
+
max_surge: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None,
|
|
2669
|
+
max_unavailable: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None):
|
|
2671
2670
|
"""
|
|
2672
2671
|
Spec to control the desired behavior of rolling update.
|
|
2673
|
-
:param pulumi.Input[Union[
|
|
2674
|
-
:param pulumi.Input[Union[
|
|
2672
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] max_surge: The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
|
|
2673
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] max_unavailable: The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
|
|
2675
2674
|
"""
|
|
2676
2675
|
if max_surge is not None:
|
|
2677
2676
|
pulumi.set(__self__, "max_surge", max_surge)
|
|
2678
2677
|
if max_unavailable is not None:
|
|
2679
2678
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
2680
2679
|
|
|
2681
|
-
@property
|
|
2680
|
+
@_builtins.property
|
|
2682
2681
|
@pulumi.getter(name="maxSurge")
|
|
2683
|
-
def max_surge(self) -> Optional[pulumi.Input[Union[
|
|
2682
|
+
def max_surge(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
2684
2683
|
"""
|
|
2685
2684
|
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
|
|
2686
2685
|
"""
|
|
2687
2686
|
return pulumi.get(self, "max_surge")
|
|
2688
2687
|
|
|
2689
2688
|
@max_surge.setter
|
|
2690
|
-
def max_surge(self, value: Optional[pulumi.Input[Union[
|
|
2689
|
+
def max_surge(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
2691
2690
|
pulumi.set(self, "max_surge", value)
|
|
2692
2691
|
|
|
2693
|
-
@property
|
|
2692
|
+
@_builtins.property
|
|
2694
2693
|
@pulumi.getter(name="maxUnavailable")
|
|
2695
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[
|
|
2694
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
2696
2695
|
"""
|
|
2697
2696
|
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
|
|
2698
2697
|
"""
|
|
2699
2698
|
return pulumi.get(self, "max_unavailable")
|
|
2700
2699
|
|
|
2701
2700
|
@max_unavailable.setter
|
|
2702
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[
|
|
2701
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
2703
2702
|
pulumi.set(self, "max_unavailable", value)
|
|
2704
2703
|
|
|
2705
2704
|
|
|
@@ -2708,11 +2707,11 @@ if not MYPY:
|
|
|
2708
2707
|
"""
|
|
2709
2708
|
Spec to control the desired behavior of rolling update.
|
|
2710
2709
|
"""
|
|
2711
|
-
max_surge: NotRequired[pulumi.Input[Union[
|
|
2710
|
+
max_surge: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
2712
2711
|
"""
|
|
2713
2712
|
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
|
|
2714
2713
|
"""
|
|
2715
|
-
max_unavailable: NotRequired[pulumi.Input[Union[
|
|
2714
|
+
max_unavailable: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
2716
2715
|
"""
|
|
2717
2716
|
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
|
|
2718
2717
|
"""
|
|
@@ -2722,40 +2721,40 @@ elif False:
|
|
|
2722
2721
|
@pulumi.input_type
|
|
2723
2722
|
class RollingUpdateDeploymentArgs:
|
|
2724
2723
|
def __init__(__self__, *,
|
|
2725
|
-
max_surge: Optional[pulumi.Input[Union[
|
|
2726
|
-
max_unavailable: Optional[pulumi.Input[Union[
|
|
2724
|
+
max_surge: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None,
|
|
2725
|
+
max_unavailable: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None):
|
|
2727
2726
|
"""
|
|
2728
2727
|
Spec to control the desired behavior of rolling update.
|
|
2729
|
-
:param pulumi.Input[Union[
|
|
2730
|
-
:param pulumi.Input[Union[
|
|
2728
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] max_surge: The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
|
|
2729
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] max_unavailable: The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
|
|
2731
2730
|
"""
|
|
2732
2731
|
if max_surge is not None:
|
|
2733
2732
|
pulumi.set(__self__, "max_surge", max_surge)
|
|
2734
2733
|
if max_unavailable is not None:
|
|
2735
2734
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
2736
2735
|
|
|
2737
|
-
@property
|
|
2736
|
+
@_builtins.property
|
|
2738
2737
|
@pulumi.getter(name="maxSurge")
|
|
2739
|
-
def max_surge(self) -> Optional[pulumi.Input[Union[
|
|
2738
|
+
def max_surge(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
2740
2739
|
"""
|
|
2741
2740
|
The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods do not exceed 130% of desired pods. Once old pods have been killed, new ReplicaSet can be scaled up further, ensuring that total number of pods running at any time during the update is at most 130% of desired pods.
|
|
2742
2741
|
"""
|
|
2743
2742
|
return pulumi.get(self, "max_surge")
|
|
2744
2743
|
|
|
2745
2744
|
@max_surge.setter
|
|
2746
|
-
def max_surge(self, value: Optional[pulumi.Input[Union[
|
|
2745
|
+
def max_surge(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
2747
2746
|
pulumi.set(self, "max_surge", value)
|
|
2748
2747
|
|
|
2749
|
-
@property
|
|
2748
|
+
@_builtins.property
|
|
2750
2749
|
@pulumi.getter(name="maxUnavailable")
|
|
2751
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[
|
|
2750
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
2752
2751
|
"""
|
|
2753
2752
|
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding down. This can not be 0 if MaxSurge is 0. Defaults to 25%. Example: when this is set to 30%, the old ReplicaSet can be scaled down to 70% of desired pods immediately when the rolling update starts. Once new pods are ready, old ReplicaSet can be scaled down further, followed by scaling up the new ReplicaSet, ensuring that the total number of pods available at all times during the update is at least 70% of desired pods.
|
|
2754
2753
|
"""
|
|
2755
2754
|
return pulumi.get(self, "max_unavailable")
|
|
2756
2755
|
|
|
2757
2756
|
@max_unavailable.setter
|
|
2758
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[
|
|
2757
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
2759
2758
|
pulumi.set(self, "max_unavailable", value)
|
|
2760
2759
|
|
|
2761
2760
|
|
|
@@ -2764,11 +2763,11 @@ if not MYPY:
|
|
|
2764
2763
|
"""
|
|
2765
2764
|
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
|
|
2766
2765
|
"""
|
|
2767
|
-
max_unavailable: NotRequired[pulumi.Input[Union[
|
|
2766
|
+
max_unavailable: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
2768
2767
|
"""
|
|
2769
2768
|
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.
|
|
2770
2769
|
"""
|
|
2771
|
-
partition: NotRequired[pulumi.Input[
|
|
2770
|
+
partition: NotRequired[pulumi.Input[_builtins.int]]
|
|
2772
2771
|
"""
|
|
2773
2772
|
Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.
|
|
2774
2773
|
"""
|
|
@@ -2778,40 +2777,40 @@ elif False:
|
|
|
2778
2777
|
@pulumi.input_type
|
|
2779
2778
|
class RollingUpdateStatefulSetStrategyPatchArgs:
|
|
2780
2779
|
def __init__(__self__, *,
|
|
2781
|
-
max_unavailable: Optional[pulumi.Input[Union[
|
|
2782
|
-
partition: Optional[pulumi.Input[
|
|
2780
|
+
max_unavailable: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None,
|
|
2781
|
+
partition: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2783
2782
|
"""
|
|
2784
2783
|
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
|
|
2785
|
-
:param pulumi.Input[Union[
|
|
2786
|
-
:param pulumi.Input[
|
|
2784
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] max_unavailable: The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.
|
|
2785
|
+
:param pulumi.Input[_builtins.int] partition: Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.
|
|
2787
2786
|
"""
|
|
2788
2787
|
if max_unavailable is not None:
|
|
2789
2788
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
2790
2789
|
if partition is not None:
|
|
2791
2790
|
pulumi.set(__self__, "partition", partition)
|
|
2792
2791
|
|
|
2793
|
-
@property
|
|
2792
|
+
@_builtins.property
|
|
2794
2793
|
@pulumi.getter(name="maxUnavailable")
|
|
2795
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[
|
|
2794
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
2796
2795
|
"""
|
|
2797
2796
|
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.
|
|
2798
2797
|
"""
|
|
2799
2798
|
return pulumi.get(self, "max_unavailable")
|
|
2800
2799
|
|
|
2801
2800
|
@max_unavailable.setter
|
|
2802
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[
|
|
2801
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
2803
2802
|
pulumi.set(self, "max_unavailable", value)
|
|
2804
2803
|
|
|
2805
|
-
@property
|
|
2804
|
+
@_builtins.property
|
|
2806
2805
|
@pulumi.getter
|
|
2807
|
-
def partition(self) -> Optional[pulumi.Input[
|
|
2806
|
+
def partition(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2808
2807
|
"""
|
|
2809
2808
|
Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.
|
|
2810
2809
|
"""
|
|
2811
2810
|
return pulumi.get(self, "partition")
|
|
2812
2811
|
|
|
2813
2812
|
@partition.setter
|
|
2814
|
-
def partition(self, value: Optional[pulumi.Input[
|
|
2813
|
+
def partition(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2815
2814
|
pulumi.set(self, "partition", value)
|
|
2816
2815
|
|
|
2817
2816
|
|
|
@@ -2820,11 +2819,11 @@ if not MYPY:
|
|
|
2820
2819
|
"""
|
|
2821
2820
|
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
|
|
2822
2821
|
"""
|
|
2823
|
-
max_unavailable: NotRequired[pulumi.Input[Union[
|
|
2822
|
+
max_unavailable: NotRequired[pulumi.Input[Union[_builtins.int, _builtins.str]]]
|
|
2824
2823
|
"""
|
|
2825
2824
|
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.
|
|
2826
2825
|
"""
|
|
2827
|
-
partition: NotRequired[pulumi.Input[
|
|
2826
|
+
partition: NotRequired[pulumi.Input[_builtins.int]]
|
|
2828
2827
|
"""
|
|
2829
2828
|
Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.
|
|
2830
2829
|
"""
|
|
@@ -2834,40 +2833,40 @@ elif False:
|
|
|
2834
2833
|
@pulumi.input_type
|
|
2835
2834
|
class RollingUpdateStatefulSetStrategyArgs:
|
|
2836
2835
|
def __init__(__self__, *,
|
|
2837
|
-
max_unavailable: Optional[pulumi.Input[Union[
|
|
2838
|
-
partition: Optional[pulumi.Input[
|
|
2836
|
+
max_unavailable: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]] = None,
|
|
2837
|
+
partition: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2839
2838
|
"""
|
|
2840
2839
|
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
|
|
2841
|
-
:param pulumi.Input[Union[
|
|
2842
|
-
:param pulumi.Input[
|
|
2840
|
+
:param pulumi.Input[Union[_builtins.int, _builtins.str]] max_unavailable: The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.
|
|
2841
|
+
:param pulumi.Input[_builtins.int] partition: Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.
|
|
2843
2842
|
"""
|
|
2844
2843
|
if max_unavailable is not None:
|
|
2845
2844
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
2846
2845
|
if partition is not None:
|
|
2847
2846
|
pulumi.set(__self__, "partition", partition)
|
|
2848
2847
|
|
|
2849
|
-
@property
|
|
2848
|
+
@_builtins.property
|
|
2850
2849
|
@pulumi.getter(name="maxUnavailable")
|
|
2851
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[
|
|
2850
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]:
|
|
2852
2851
|
"""
|
|
2853
2852
|
The maximum number of pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). Absolute number is calculated from percentage by rounding up. This can not be 0. Defaults to 1. This field is alpha-level and is only honored by servers that enable the MaxUnavailableStatefulSet feature. The field applies to all pods in the range 0 to Replicas-1. That means if there is any unavailable pod in the range 0 to Replicas-1, it will be counted towards MaxUnavailable.
|
|
2854
2853
|
"""
|
|
2855
2854
|
return pulumi.get(self, "max_unavailable")
|
|
2856
2855
|
|
|
2857
2856
|
@max_unavailable.setter
|
|
2858
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[
|
|
2857
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[_builtins.int, _builtins.str]]]):
|
|
2859
2858
|
pulumi.set(self, "max_unavailable", value)
|
|
2860
2859
|
|
|
2861
|
-
@property
|
|
2860
|
+
@_builtins.property
|
|
2862
2861
|
@pulumi.getter
|
|
2863
|
-
def partition(self) -> Optional[pulumi.Input[
|
|
2862
|
+
def partition(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2864
2863
|
"""
|
|
2865
2864
|
Partition indicates the ordinal at which the StatefulSet should be partitioned for updates. During a rolling update, all pods from ordinal Replicas-1 to Partition are updated. All pods from ordinal Partition-1 to 0 remain untouched. This is helpful in being able to do a canary based deployment. The default value is 0.
|
|
2866
2865
|
"""
|
|
2867
2866
|
return pulumi.get(self, "partition")
|
|
2868
2867
|
|
|
2869
2868
|
@partition.setter
|
|
2870
|
-
def partition(self, value: Optional[pulumi.Input[
|
|
2869
|
+
def partition(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2871
2870
|
pulumi.set(self, "partition", value)
|
|
2872
2871
|
|
|
2873
2872
|
|
|
@@ -2876,23 +2875,23 @@ if not MYPY:
|
|
|
2876
2875
|
"""
|
|
2877
2876
|
StatefulSetCondition describes the state of a statefulset at a certain point.
|
|
2878
2877
|
"""
|
|
2879
|
-
status: pulumi.Input[
|
|
2878
|
+
status: pulumi.Input[_builtins.str]
|
|
2880
2879
|
"""
|
|
2881
2880
|
Status of the condition, one of True, False, Unknown.
|
|
2882
2881
|
"""
|
|
2883
|
-
type: pulumi.Input[
|
|
2882
|
+
type: pulumi.Input[_builtins.str]
|
|
2884
2883
|
"""
|
|
2885
2884
|
Type of statefulset condition.
|
|
2886
2885
|
"""
|
|
2887
|
-
last_transition_time: NotRequired[pulumi.Input[
|
|
2886
|
+
last_transition_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
2888
2887
|
"""
|
|
2889
2888
|
Last time the condition transitioned from one status to another.
|
|
2890
2889
|
"""
|
|
2891
|
-
message: NotRequired[pulumi.Input[
|
|
2890
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
2892
2891
|
"""
|
|
2893
2892
|
A human readable message indicating details about the transition.
|
|
2894
2893
|
"""
|
|
2895
|
-
reason: NotRequired[pulumi.Input[
|
|
2894
|
+
reason: NotRequired[pulumi.Input[_builtins.str]]
|
|
2896
2895
|
"""
|
|
2897
2896
|
The reason for the condition's last transition.
|
|
2898
2897
|
"""
|
|
@@ -2902,18 +2901,18 @@ elif False:
|
|
|
2902
2901
|
@pulumi.input_type
|
|
2903
2902
|
class StatefulSetConditionArgs:
|
|
2904
2903
|
def __init__(__self__, *,
|
|
2905
|
-
status: pulumi.Input[
|
|
2906
|
-
type: pulumi.Input[
|
|
2907
|
-
last_transition_time: Optional[pulumi.Input[
|
|
2908
|
-
message: Optional[pulumi.Input[
|
|
2909
|
-
reason: Optional[pulumi.Input[
|
|
2904
|
+
status: pulumi.Input[_builtins.str],
|
|
2905
|
+
type: pulumi.Input[_builtins.str],
|
|
2906
|
+
last_transition_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2907
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2908
|
+
reason: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2910
2909
|
"""
|
|
2911
2910
|
StatefulSetCondition describes the state of a statefulset at a certain point.
|
|
2912
|
-
:param pulumi.Input[
|
|
2913
|
-
:param pulumi.Input[
|
|
2914
|
-
:param pulumi.Input[
|
|
2915
|
-
:param pulumi.Input[
|
|
2916
|
-
:param pulumi.Input[
|
|
2911
|
+
:param pulumi.Input[_builtins.str] status: Status of the condition, one of True, False, Unknown.
|
|
2912
|
+
:param pulumi.Input[_builtins.str] type: Type of statefulset condition.
|
|
2913
|
+
:param pulumi.Input[_builtins.str] last_transition_time: Last time the condition transitioned from one status to another.
|
|
2914
|
+
:param pulumi.Input[_builtins.str] message: A human readable message indicating details about the transition.
|
|
2915
|
+
:param pulumi.Input[_builtins.str] reason: The reason for the condition's last transition.
|
|
2917
2916
|
"""
|
|
2918
2917
|
pulumi.set(__self__, "status", status)
|
|
2919
2918
|
pulumi.set(__self__, "type", type)
|
|
@@ -2924,64 +2923,64 @@ class StatefulSetConditionArgs:
|
|
|
2924
2923
|
if reason is not None:
|
|
2925
2924
|
pulumi.set(__self__, "reason", reason)
|
|
2926
2925
|
|
|
2927
|
-
@property
|
|
2926
|
+
@_builtins.property
|
|
2928
2927
|
@pulumi.getter
|
|
2929
|
-
def status(self) -> pulumi.Input[
|
|
2928
|
+
def status(self) -> pulumi.Input[_builtins.str]:
|
|
2930
2929
|
"""
|
|
2931
2930
|
Status of the condition, one of True, False, Unknown.
|
|
2932
2931
|
"""
|
|
2933
2932
|
return pulumi.get(self, "status")
|
|
2934
2933
|
|
|
2935
2934
|
@status.setter
|
|
2936
|
-
def status(self, value: pulumi.Input[
|
|
2935
|
+
def status(self, value: pulumi.Input[_builtins.str]):
|
|
2937
2936
|
pulumi.set(self, "status", value)
|
|
2938
2937
|
|
|
2939
|
-
@property
|
|
2938
|
+
@_builtins.property
|
|
2940
2939
|
@pulumi.getter
|
|
2941
|
-
def type(self) -> pulumi.Input[
|
|
2940
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
2942
2941
|
"""
|
|
2943
2942
|
Type of statefulset condition.
|
|
2944
2943
|
"""
|
|
2945
2944
|
return pulumi.get(self, "type")
|
|
2946
2945
|
|
|
2947
2946
|
@type.setter
|
|
2948
|
-
def type(self, value: pulumi.Input[
|
|
2947
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
2949
2948
|
pulumi.set(self, "type", value)
|
|
2950
2949
|
|
|
2951
|
-
@property
|
|
2950
|
+
@_builtins.property
|
|
2952
2951
|
@pulumi.getter(name="lastTransitionTime")
|
|
2953
|
-
def last_transition_time(self) -> Optional[pulumi.Input[
|
|
2952
|
+
def last_transition_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2954
2953
|
"""
|
|
2955
2954
|
Last time the condition transitioned from one status to another.
|
|
2956
2955
|
"""
|
|
2957
2956
|
return pulumi.get(self, "last_transition_time")
|
|
2958
2957
|
|
|
2959
2958
|
@last_transition_time.setter
|
|
2960
|
-
def last_transition_time(self, value: Optional[pulumi.Input[
|
|
2959
|
+
def last_transition_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2961
2960
|
pulumi.set(self, "last_transition_time", value)
|
|
2962
2961
|
|
|
2963
|
-
@property
|
|
2962
|
+
@_builtins.property
|
|
2964
2963
|
@pulumi.getter
|
|
2965
|
-
def message(self) -> Optional[pulumi.Input[
|
|
2964
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2966
2965
|
"""
|
|
2967
2966
|
A human readable message indicating details about the transition.
|
|
2968
2967
|
"""
|
|
2969
2968
|
return pulumi.get(self, "message")
|
|
2970
2969
|
|
|
2971
2970
|
@message.setter
|
|
2972
|
-
def message(self, value: Optional[pulumi.Input[
|
|
2971
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2973
2972
|
pulumi.set(self, "message", value)
|
|
2974
2973
|
|
|
2975
|
-
@property
|
|
2974
|
+
@_builtins.property
|
|
2976
2975
|
@pulumi.getter
|
|
2977
|
-
def reason(self) -> Optional[pulumi.Input[
|
|
2976
|
+
def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2978
2977
|
"""
|
|
2979
2978
|
The reason for the condition's last transition.
|
|
2980
2979
|
"""
|
|
2981
2980
|
return pulumi.get(self, "reason")
|
|
2982
2981
|
|
|
2983
2982
|
@reason.setter
|
|
2984
|
-
def reason(self, value: Optional[pulumi.Input[
|
|
2983
|
+
def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2985
2984
|
pulumi.set(self, "reason", value)
|
|
2986
2985
|
|
|
2987
2986
|
|
|
@@ -2990,7 +2989,7 @@ if not MYPY:
|
|
|
2990
2989
|
"""
|
|
2991
2990
|
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
|
|
2992
2991
|
"""
|
|
2993
|
-
start: NotRequired[pulumi.Input[
|
|
2992
|
+
start: NotRequired[pulumi.Input[_builtins.int]]
|
|
2994
2993
|
"""
|
|
2995
2994
|
start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:
|
|
2996
2995
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
@@ -3003,10 +3002,10 @@ elif False:
|
|
|
3003
3002
|
@pulumi.input_type
|
|
3004
3003
|
class StatefulSetOrdinalsPatchArgs:
|
|
3005
3004
|
def __init__(__self__, *,
|
|
3006
|
-
start: Optional[pulumi.Input[
|
|
3005
|
+
start: Optional[pulumi.Input[_builtins.int]] = None):
|
|
3007
3006
|
"""
|
|
3008
3007
|
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
|
|
3009
|
-
:param pulumi.Input[
|
|
3008
|
+
:param pulumi.Input[_builtins.int] start: start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:
|
|
3010
3009
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
3011
3010
|
If unset, defaults to 0. Replica indices will be in the range:
|
|
3012
3011
|
[0, .spec.replicas).
|
|
@@ -3014,9 +3013,9 @@ class StatefulSetOrdinalsPatchArgs:
|
|
|
3014
3013
|
if start is not None:
|
|
3015
3014
|
pulumi.set(__self__, "start", start)
|
|
3016
3015
|
|
|
3017
|
-
@property
|
|
3016
|
+
@_builtins.property
|
|
3018
3017
|
@pulumi.getter
|
|
3019
|
-
def start(self) -> Optional[pulumi.Input[
|
|
3018
|
+
def start(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3020
3019
|
"""
|
|
3021
3020
|
start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:
|
|
3022
3021
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
@@ -3026,7 +3025,7 @@ class StatefulSetOrdinalsPatchArgs:
|
|
|
3026
3025
|
return pulumi.get(self, "start")
|
|
3027
3026
|
|
|
3028
3027
|
@start.setter
|
|
3029
|
-
def start(self, value: Optional[pulumi.Input[
|
|
3028
|
+
def start(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3030
3029
|
pulumi.set(self, "start", value)
|
|
3031
3030
|
|
|
3032
3031
|
|
|
@@ -3035,7 +3034,7 @@ if not MYPY:
|
|
|
3035
3034
|
"""
|
|
3036
3035
|
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
|
|
3037
3036
|
"""
|
|
3038
|
-
start: NotRequired[pulumi.Input[
|
|
3037
|
+
start: NotRequired[pulumi.Input[_builtins.int]]
|
|
3039
3038
|
"""
|
|
3040
3039
|
start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:
|
|
3041
3040
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
@@ -3048,10 +3047,10 @@ elif False:
|
|
|
3048
3047
|
@pulumi.input_type
|
|
3049
3048
|
class StatefulSetOrdinalsArgs:
|
|
3050
3049
|
def __init__(__self__, *,
|
|
3051
|
-
start: Optional[pulumi.Input[
|
|
3050
|
+
start: Optional[pulumi.Input[_builtins.int]] = None):
|
|
3052
3051
|
"""
|
|
3053
3052
|
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
|
|
3054
|
-
:param pulumi.Input[
|
|
3053
|
+
:param pulumi.Input[_builtins.int] start: start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:
|
|
3055
3054
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
3056
3055
|
If unset, defaults to 0. Replica indices will be in the range:
|
|
3057
3056
|
[0, .spec.replicas).
|
|
@@ -3059,9 +3058,9 @@ class StatefulSetOrdinalsArgs:
|
|
|
3059
3058
|
if start is not None:
|
|
3060
3059
|
pulumi.set(__self__, "start", start)
|
|
3061
3060
|
|
|
3062
|
-
@property
|
|
3061
|
+
@_builtins.property
|
|
3063
3062
|
@pulumi.getter
|
|
3064
|
-
def start(self) -> Optional[pulumi.Input[
|
|
3063
|
+
def start(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3065
3064
|
"""
|
|
3066
3065
|
start is the number representing the first replica's index. It may be used to number replicas from an alternate index (eg: 1-indexed) over the default 0-indexed names, or to orchestrate progressive movement of replicas from one StatefulSet to another. If set, replica indices will be in the range:
|
|
3067
3066
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
@@ -3071,7 +3070,7 @@ class StatefulSetOrdinalsArgs:
|
|
|
3071
3070
|
return pulumi.get(self, "start")
|
|
3072
3071
|
|
|
3073
3072
|
@start.setter
|
|
3074
|
-
def start(self, value: Optional[pulumi.Input[
|
|
3073
|
+
def start(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3075
3074
|
pulumi.set(self, "start", value)
|
|
3076
3075
|
|
|
3077
3076
|
|
|
@@ -3080,11 +3079,11 @@ if not MYPY:
|
|
|
3080
3079
|
"""
|
|
3081
3080
|
StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
|
|
3082
3081
|
"""
|
|
3083
|
-
when_deleted: NotRequired[pulumi.Input[
|
|
3082
|
+
when_deleted: NotRequired[pulumi.Input[_builtins.str]]
|
|
3084
3083
|
"""
|
|
3085
3084
|
WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.
|
|
3086
3085
|
"""
|
|
3087
|
-
when_scaled: NotRequired[pulumi.Input[
|
|
3086
|
+
when_scaled: NotRequired[pulumi.Input[_builtins.str]]
|
|
3088
3087
|
"""
|
|
3089
3088
|
WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.
|
|
3090
3089
|
"""
|
|
@@ -3094,40 +3093,40 @@ elif False:
|
|
|
3094
3093
|
@pulumi.input_type
|
|
3095
3094
|
class StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs:
|
|
3096
3095
|
def __init__(__self__, *,
|
|
3097
|
-
when_deleted: Optional[pulumi.Input[
|
|
3098
|
-
when_scaled: Optional[pulumi.Input[
|
|
3096
|
+
when_deleted: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3097
|
+
when_scaled: Optional[pulumi.Input[_builtins.str]] = None):
|
|
3099
3098
|
"""
|
|
3100
3099
|
StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
|
|
3101
|
-
:param pulumi.Input[
|
|
3102
|
-
:param pulumi.Input[
|
|
3100
|
+
:param pulumi.Input[_builtins.str] when_deleted: WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.
|
|
3101
|
+
:param pulumi.Input[_builtins.str] when_scaled: WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.
|
|
3103
3102
|
"""
|
|
3104
3103
|
if when_deleted is not None:
|
|
3105
3104
|
pulumi.set(__self__, "when_deleted", when_deleted)
|
|
3106
3105
|
if when_scaled is not None:
|
|
3107
3106
|
pulumi.set(__self__, "when_scaled", when_scaled)
|
|
3108
3107
|
|
|
3109
|
-
@property
|
|
3108
|
+
@_builtins.property
|
|
3110
3109
|
@pulumi.getter(name="whenDeleted")
|
|
3111
|
-
def when_deleted(self) -> Optional[pulumi.Input[
|
|
3110
|
+
def when_deleted(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3112
3111
|
"""
|
|
3113
3112
|
WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.
|
|
3114
3113
|
"""
|
|
3115
3114
|
return pulumi.get(self, "when_deleted")
|
|
3116
3115
|
|
|
3117
3116
|
@when_deleted.setter
|
|
3118
|
-
def when_deleted(self, value: Optional[pulumi.Input[
|
|
3117
|
+
def when_deleted(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3119
3118
|
pulumi.set(self, "when_deleted", value)
|
|
3120
3119
|
|
|
3121
|
-
@property
|
|
3120
|
+
@_builtins.property
|
|
3122
3121
|
@pulumi.getter(name="whenScaled")
|
|
3123
|
-
def when_scaled(self) -> Optional[pulumi.Input[
|
|
3122
|
+
def when_scaled(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3124
3123
|
"""
|
|
3125
3124
|
WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.
|
|
3126
3125
|
"""
|
|
3127
3126
|
return pulumi.get(self, "when_scaled")
|
|
3128
3127
|
|
|
3129
3128
|
@when_scaled.setter
|
|
3130
|
-
def when_scaled(self, value: Optional[pulumi.Input[
|
|
3129
|
+
def when_scaled(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3131
3130
|
pulumi.set(self, "when_scaled", value)
|
|
3132
3131
|
|
|
3133
3132
|
|
|
@@ -3136,11 +3135,11 @@ if not MYPY:
|
|
|
3136
3135
|
"""
|
|
3137
3136
|
StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
|
|
3138
3137
|
"""
|
|
3139
|
-
when_deleted: NotRequired[pulumi.Input[
|
|
3138
|
+
when_deleted: NotRequired[pulumi.Input[_builtins.str]]
|
|
3140
3139
|
"""
|
|
3141
3140
|
WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.
|
|
3142
3141
|
"""
|
|
3143
|
-
when_scaled: NotRequired[pulumi.Input[
|
|
3142
|
+
when_scaled: NotRequired[pulumi.Input[_builtins.str]]
|
|
3144
3143
|
"""
|
|
3145
3144
|
WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.
|
|
3146
3145
|
"""
|
|
@@ -3150,40 +3149,40 @@ elif False:
|
|
|
3150
3149
|
@pulumi.input_type
|
|
3151
3150
|
class StatefulSetPersistentVolumeClaimRetentionPolicyArgs:
|
|
3152
3151
|
def __init__(__self__, *,
|
|
3153
|
-
when_deleted: Optional[pulumi.Input[
|
|
3154
|
-
when_scaled: Optional[pulumi.Input[
|
|
3152
|
+
when_deleted: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3153
|
+
when_scaled: Optional[pulumi.Input[_builtins.str]] = None):
|
|
3155
3154
|
"""
|
|
3156
3155
|
StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
|
|
3157
|
-
:param pulumi.Input[
|
|
3158
|
-
:param pulumi.Input[
|
|
3156
|
+
:param pulumi.Input[_builtins.str] when_deleted: WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.
|
|
3157
|
+
:param pulumi.Input[_builtins.str] when_scaled: WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.
|
|
3159
3158
|
"""
|
|
3160
3159
|
if when_deleted is not None:
|
|
3161
3160
|
pulumi.set(__self__, "when_deleted", when_deleted)
|
|
3162
3161
|
if when_scaled is not None:
|
|
3163
3162
|
pulumi.set(__self__, "when_scaled", when_scaled)
|
|
3164
3163
|
|
|
3165
|
-
@property
|
|
3164
|
+
@_builtins.property
|
|
3166
3165
|
@pulumi.getter(name="whenDeleted")
|
|
3167
|
-
def when_deleted(self) -> Optional[pulumi.Input[
|
|
3166
|
+
def when_deleted(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3168
3167
|
"""
|
|
3169
3168
|
WhenDeleted specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is deleted. The default policy of `Retain` causes PVCs to not be affected by StatefulSet deletion. The `Delete` policy causes those PVCs to be deleted.
|
|
3170
3169
|
"""
|
|
3171
3170
|
return pulumi.get(self, "when_deleted")
|
|
3172
3171
|
|
|
3173
3172
|
@when_deleted.setter
|
|
3174
|
-
def when_deleted(self, value: Optional[pulumi.Input[
|
|
3173
|
+
def when_deleted(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3175
3174
|
pulumi.set(self, "when_deleted", value)
|
|
3176
3175
|
|
|
3177
|
-
@property
|
|
3176
|
+
@_builtins.property
|
|
3178
3177
|
@pulumi.getter(name="whenScaled")
|
|
3179
|
-
def when_scaled(self) -> Optional[pulumi.Input[
|
|
3178
|
+
def when_scaled(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3180
3179
|
"""
|
|
3181
3180
|
WhenScaled specifies what happens to PVCs created from StatefulSet VolumeClaimTemplates when the StatefulSet is scaled down. The default policy of `Retain` causes PVCs to not be affected by a scaledown. The `Delete` policy causes the associated PVCs for any excess pods above the replica count to be deleted.
|
|
3182
3181
|
"""
|
|
3183
3182
|
return pulumi.get(self, "when_scaled")
|
|
3184
3183
|
|
|
3185
3184
|
@when_scaled.setter
|
|
3186
|
-
def when_scaled(self, value: Optional[pulumi.Input[
|
|
3185
|
+
def when_scaled(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3187
3186
|
pulumi.set(self, "when_scaled", value)
|
|
3188
3187
|
|
|
3189
3188
|
|
|
@@ -3192,7 +3191,7 @@ if not MYPY:
|
|
|
3192
3191
|
"""
|
|
3193
3192
|
A StatefulSetSpec is the specification of a StatefulSet.
|
|
3194
3193
|
"""
|
|
3195
|
-
min_ready_seconds: NotRequired[pulumi.Input[
|
|
3194
|
+
min_ready_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
3196
3195
|
"""
|
|
3197
3196
|
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
3198
3197
|
"""
|
|
@@ -3204,15 +3203,15 @@ if not MYPY:
|
|
|
3204
3203
|
"""
|
|
3205
3204
|
persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down.
|
|
3206
3205
|
"""
|
|
3207
|
-
pod_management_policy: NotRequired[pulumi.Input[
|
|
3206
|
+
pod_management_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
3208
3207
|
"""
|
|
3209
3208
|
podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
|
|
3210
3209
|
"""
|
|
3211
|
-
replicas: NotRequired[pulumi.Input[
|
|
3210
|
+
replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
3212
3211
|
"""
|
|
3213
3212
|
replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
|
|
3214
3213
|
"""
|
|
3215
|
-
revision_history_limit: NotRequired[pulumi.Input[
|
|
3214
|
+
revision_history_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
3216
3215
|
"""
|
|
3217
3216
|
revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
|
|
3218
3217
|
"""
|
|
@@ -3220,7 +3219,7 @@ if not MYPY:
|
|
|
3220
3219
|
"""
|
|
3221
3220
|
selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
3222
3221
|
"""
|
|
3223
|
-
service_name: NotRequired[pulumi.Input[
|
|
3222
|
+
service_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
3224
3223
|
"""
|
|
3225
3224
|
serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
|
|
3226
3225
|
"""
|
|
@@ -3242,27 +3241,27 @@ elif False:
|
|
|
3242
3241
|
@pulumi.input_type
|
|
3243
3242
|
class StatefulSetSpecPatchArgs:
|
|
3244
3243
|
def __init__(__self__, *,
|
|
3245
|
-
min_ready_seconds: Optional[pulumi.Input[
|
|
3244
|
+
min_ready_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3246
3245
|
ordinals: Optional[pulumi.Input['StatefulSetOrdinalsPatchArgs']] = None,
|
|
3247
3246
|
persistent_volume_claim_retention_policy: Optional[pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs']] = None,
|
|
3248
|
-
pod_management_policy: Optional[pulumi.Input[
|
|
3249
|
-
replicas: Optional[pulumi.Input[
|
|
3250
|
-
revision_history_limit: Optional[pulumi.Input[
|
|
3247
|
+
pod_management_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3248
|
+
replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3249
|
+
revision_history_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3251
3250
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
3252
|
-
service_name: Optional[pulumi.Input[
|
|
3251
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3253
3252
|
template: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']] = None,
|
|
3254
3253
|
update_strategy: Optional[pulumi.Input['StatefulSetUpdateStrategyPatchArgs']] = None,
|
|
3255
3254
|
volume_claim_templates: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.PersistentVolumeClaimPatchArgs']]]] = None):
|
|
3256
3255
|
"""
|
|
3257
3256
|
A StatefulSetSpec is the specification of a StatefulSet.
|
|
3258
|
-
:param pulumi.Input[
|
|
3257
|
+
:param pulumi.Input[_builtins.int] min_ready_seconds: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
3259
3258
|
:param pulumi.Input['StatefulSetOrdinalsPatchArgs'] ordinals: ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a "0" index to the first replica and increments the index by one for each additional replica requested.
|
|
3260
3259
|
:param pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs'] persistent_volume_claim_retention_policy: persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down.
|
|
3261
|
-
:param pulumi.Input[
|
|
3262
|
-
:param pulumi.Input[
|
|
3263
|
-
:param pulumi.Input[
|
|
3260
|
+
:param pulumi.Input[_builtins.str] pod_management_policy: podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
|
|
3261
|
+
:param pulumi.Input[_builtins.int] replicas: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
|
|
3262
|
+
:param pulumi.Input[_builtins.int] revision_history_limit: revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
|
|
3264
3263
|
:param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] selector: selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
3265
|
-
:param pulumi.Input[
|
|
3264
|
+
:param pulumi.Input[_builtins.str] service_name: serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
|
|
3266
3265
|
:param pulumi.Input['_core.v1.PodTemplateSpecPatchArgs'] template: template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named "web" with index number "3" would be named "web-3". The only allowed template.spec.restartPolicy value is "Always".
|
|
3267
3266
|
:param pulumi.Input['StatefulSetUpdateStrategyPatchArgs'] update_strategy: updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
|
|
3268
3267
|
:param pulumi.Input[Sequence[pulumi.Input['_core.v1.PersistentVolumeClaimPatchArgs']]] volume_claim_templates: volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.
|
|
@@ -3290,19 +3289,19 @@ class StatefulSetSpecPatchArgs:
|
|
|
3290
3289
|
if volume_claim_templates is not None:
|
|
3291
3290
|
pulumi.set(__self__, "volume_claim_templates", volume_claim_templates)
|
|
3292
3291
|
|
|
3293
|
-
@property
|
|
3292
|
+
@_builtins.property
|
|
3294
3293
|
@pulumi.getter(name="minReadySeconds")
|
|
3295
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[
|
|
3294
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3296
3295
|
"""
|
|
3297
3296
|
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
3298
3297
|
"""
|
|
3299
3298
|
return pulumi.get(self, "min_ready_seconds")
|
|
3300
3299
|
|
|
3301
3300
|
@min_ready_seconds.setter
|
|
3302
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[
|
|
3301
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3303
3302
|
pulumi.set(self, "min_ready_seconds", value)
|
|
3304
3303
|
|
|
3305
|
-
@property
|
|
3304
|
+
@_builtins.property
|
|
3306
3305
|
@pulumi.getter
|
|
3307
3306
|
def ordinals(self) -> Optional[pulumi.Input['StatefulSetOrdinalsPatchArgs']]:
|
|
3308
3307
|
"""
|
|
@@ -3314,7 +3313,7 @@ class StatefulSetSpecPatchArgs:
|
|
|
3314
3313
|
def ordinals(self, value: Optional[pulumi.Input['StatefulSetOrdinalsPatchArgs']]):
|
|
3315
3314
|
pulumi.set(self, "ordinals", value)
|
|
3316
3315
|
|
|
3317
|
-
@property
|
|
3316
|
+
@_builtins.property
|
|
3318
3317
|
@pulumi.getter(name="persistentVolumeClaimRetentionPolicy")
|
|
3319
3318
|
def persistent_volume_claim_retention_policy(self) -> Optional[pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs']]:
|
|
3320
3319
|
"""
|
|
@@ -3326,43 +3325,43 @@ class StatefulSetSpecPatchArgs:
|
|
|
3326
3325
|
def persistent_volume_claim_retention_policy(self, value: Optional[pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs']]):
|
|
3327
3326
|
pulumi.set(self, "persistent_volume_claim_retention_policy", value)
|
|
3328
3327
|
|
|
3329
|
-
@property
|
|
3328
|
+
@_builtins.property
|
|
3330
3329
|
@pulumi.getter(name="podManagementPolicy")
|
|
3331
|
-
def pod_management_policy(self) -> Optional[pulumi.Input[
|
|
3330
|
+
def pod_management_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3332
3331
|
"""
|
|
3333
3332
|
podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
|
|
3334
3333
|
"""
|
|
3335
3334
|
return pulumi.get(self, "pod_management_policy")
|
|
3336
3335
|
|
|
3337
3336
|
@pod_management_policy.setter
|
|
3338
|
-
def pod_management_policy(self, value: Optional[pulumi.Input[
|
|
3337
|
+
def pod_management_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3339
3338
|
pulumi.set(self, "pod_management_policy", value)
|
|
3340
3339
|
|
|
3341
|
-
@property
|
|
3340
|
+
@_builtins.property
|
|
3342
3341
|
@pulumi.getter
|
|
3343
|
-
def replicas(self) -> Optional[pulumi.Input[
|
|
3342
|
+
def replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3344
3343
|
"""
|
|
3345
3344
|
replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
|
|
3346
3345
|
"""
|
|
3347
3346
|
return pulumi.get(self, "replicas")
|
|
3348
3347
|
|
|
3349
3348
|
@replicas.setter
|
|
3350
|
-
def replicas(self, value: Optional[pulumi.Input[
|
|
3349
|
+
def replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3351
3350
|
pulumi.set(self, "replicas", value)
|
|
3352
3351
|
|
|
3353
|
-
@property
|
|
3352
|
+
@_builtins.property
|
|
3354
3353
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
3355
|
-
def revision_history_limit(self) -> Optional[pulumi.Input[
|
|
3354
|
+
def revision_history_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3356
3355
|
"""
|
|
3357
3356
|
revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
|
|
3358
3357
|
"""
|
|
3359
3358
|
return pulumi.get(self, "revision_history_limit")
|
|
3360
3359
|
|
|
3361
3360
|
@revision_history_limit.setter
|
|
3362
|
-
def revision_history_limit(self, value: Optional[pulumi.Input[
|
|
3361
|
+
def revision_history_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3363
3362
|
pulumi.set(self, "revision_history_limit", value)
|
|
3364
3363
|
|
|
3365
|
-
@property
|
|
3364
|
+
@_builtins.property
|
|
3366
3365
|
@pulumi.getter
|
|
3367
3366
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
3368
3367
|
"""
|
|
@@ -3374,19 +3373,19 @@ class StatefulSetSpecPatchArgs:
|
|
|
3374
3373
|
def selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
3375
3374
|
pulumi.set(self, "selector", value)
|
|
3376
3375
|
|
|
3377
|
-
@property
|
|
3376
|
+
@_builtins.property
|
|
3378
3377
|
@pulumi.getter(name="serviceName")
|
|
3379
|
-
def service_name(self) -> Optional[pulumi.Input[
|
|
3378
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3380
3379
|
"""
|
|
3381
3380
|
serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
|
|
3382
3381
|
"""
|
|
3383
3382
|
return pulumi.get(self, "service_name")
|
|
3384
3383
|
|
|
3385
3384
|
@service_name.setter
|
|
3386
|
-
def service_name(self, value: Optional[pulumi.Input[
|
|
3385
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3387
3386
|
pulumi.set(self, "service_name", value)
|
|
3388
3387
|
|
|
3389
|
-
@property
|
|
3388
|
+
@_builtins.property
|
|
3390
3389
|
@pulumi.getter
|
|
3391
3390
|
def template(self) -> Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']]:
|
|
3392
3391
|
"""
|
|
@@ -3398,7 +3397,7 @@ class StatefulSetSpecPatchArgs:
|
|
|
3398
3397
|
def template(self, value: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']]):
|
|
3399
3398
|
pulumi.set(self, "template", value)
|
|
3400
3399
|
|
|
3401
|
-
@property
|
|
3400
|
+
@_builtins.property
|
|
3402
3401
|
@pulumi.getter(name="updateStrategy")
|
|
3403
3402
|
def update_strategy(self) -> Optional[pulumi.Input['StatefulSetUpdateStrategyPatchArgs']]:
|
|
3404
3403
|
"""
|
|
@@ -3410,7 +3409,7 @@ class StatefulSetSpecPatchArgs:
|
|
|
3410
3409
|
def update_strategy(self, value: Optional[pulumi.Input['StatefulSetUpdateStrategyPatchArgs']]):
|
|
3411
3410
|
pulumi.set(self, "update_strategy", value)
|
|
3412
3411
|
|
|
3413
|
-
@property
|
|
3412
|
+
@_builtins.property
|
|
3414
3413
|
@pulumi.getter(name="volumeClaimTemplates")
|
|
3415
3414
|
def volume_claim_templates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.PersistentVolumeClaimPatchArgs']]]]:
|
|
3416
3415
|
"""
|
|
@@ -3436,7 +3435,7 @@ if not MYPY:
|
|
|
3436
3435
|
"""
|
|
3437
3436
|
template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named "web" with index number "3" would be named "web-3". The only allowed template.spec.restartPolicy value is "Always".
|
|
3438
3437
|
"""
|
|
3439
|
-
min_ready_seconds: NotRequired[pulumi.Input[
|
|
3438
|
+
min_ready_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
3440
3439
|
"""
|
|
3441
3440
|
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
3442
3441
|
"""
|
|
@@ -3448,19 +3447,19 @@ if not MYPY:
|
|
|
3448
3447
|
"""
|
|
3449
3448
|
persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down.
|
|
3450
3449
|
"""
|
|
3451
|
-
pod_management_policy: NotRequired[pulumi.Input[
|
|
3450
|
+
pod_management_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
3452
3451
|
"""
|
|
3453
3452
|
podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
|
|
3454
3453
|
"""
|
|
3455
|
-
replicas: NotRequired[pulumi.Input[
|
|
3454
|
+
replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
3456
3455
|
"""
|
|
3457
3456
|
replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
|
|
3458
3457
|
"""
|
|
3459
|
-
revision_history_limit: NotRequired[pulumi.Input[
|
|
3458
|
+
revision_history_limit: NotRequired[pulumi.Input[_builtins.int]]
|
|
3460
3459
|
"""
|
|
3461
3460
|
revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
|
|
3462
3461
|
"""
|
|
3463
|
-
service_name: NotRequired[pulumi.Input[
|
|
3462
|
+
service_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
3464
3463
|
"""
|
|
3465
3464
|
serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
|
|
3466
3465
|
"""
|
|
@@ -3480,26 +3479,26 @@ class StatefulSetSpecArgs:
|
|
|
3480
3479
|
def __init__(__self__, *,
|
|
3481
3480
|
selector: pulumi.Input['_meta.v1.LabelSelectorArgs'],
|
|
3482
3481
|
template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
|
|
3483
|
-
min_ready_seconds: Optional[pulumi.Input[
|
|
3482
|
+
min_ready_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3484
3483
|
ordinals: Optional[pulumi.Input['StatefulSetOrdinalsArgs']] = None,
|
|
3485
3484
|
persistent_volume_claim_retention_policy: Optional[pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyArgs']] = None,
|
|
3486
|
-
pod_management_policy: Optional[pulumi.Input[
|
|
3487
|
-
replicas: Optional[pulumi.Input[
|
|
3488
|
-
revision_history_limit: Optional[pulumi.Input[
|
|
3489
|
-
service_name: Optional[pulumi.Input[
|
|
3485
|
+
pod_management_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3486
|
+
replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3487
|
+
revision_history_limit: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3488
|
+
service_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3490
3489
|
update_strategy: Optional[pulumi.Input['StatefulSetUpdateStrategyArgs']] = None,
|
|
3491
3490
|
volume_claim_templates: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.PersistentVolumeClaimArgs']]]] = None):
|
|
3492
3491
|
"""
|
|
3493
3492
|
A StatefulSetSpec is the specification of a StatefulSet.
|
|
3494
3493
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: selector is a label query over pods that should match the replica count. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
|
|
3495
3494
|
:param pulumi.Input['_core.v1.PodTemplateSpecArgs'] template: template is the object that describes the pod that will be created if insufficient replicas are detected. Each pod stamped out by the StatefulSet will fulfill this Template, but have a unique identity from the rest of the StatefulSet. Each pod will be named with the format <statefulsetname>-<podindex>. For example, a pod in a StatefulSet named "web" with index number "3" would be named "web-3". The only allowed template.spec.restartPolicy value is "Always".
|
|
3496
|
-
:param pulumi.Input[
|
|
3495
|
+
:param pulumi.Input[_builtins.int] min_ready_seconds: Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
3497
3496
|
:param pulumi.Input['StatefulSetOrdinalsArgs'] ordinals: ordinals controls the numbering of replica indices in a StatefulSet. The default ordinals behavior assigns a "0" index to the first replica and increments the index by one for each additional replica requested.
|
|
3498
3497
|
:param pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyArgs'] persistent_volume_claim_retention_policy: persistentVolumeClaimRetentionPolicy describes the lifecycle of persistent volume claims created from volumeClaimTemplates. By default, all persistent volume claims are created as needed and retained until manually deleted. This policy allows the lifecycle to be altered, for example by deleting persistent volume claims when their stateful set is deleted, or when their pod is scaled down.
|
|
3499
|
-
:param pulumi.Input[
|
|
3500
|
-
:param pulumi.Input[
|
|
3501
|
-
:param pulumi.Input[
|
|
3502
|
-
:param pulumi.Input[
|
|
3498
|
+
:param pulumi.Input[_builtins.str] pod_management_policy: podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
|
|
3499
|
+
:param pulumi.Input[_builtins.int] replicas: replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
|
|
3500
|
+
:param pulumi.Input[_builtins.int] revision_history_limit: revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
|
|
3501
|
+
:param pulumi.Input[_builtins.str] service_name: serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
|
|
3503
3502
|
:param pulumi.Input['StatefulSetUpdateStrategyArgs'] update_strategy: updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
|
|
3504
3503
|
:param pulumi.Input[Sequence[pulumi.Input['_core.v1.PersistentVolumeClaimArgs']]] volume_claim_templates: volumeClaimTemplates is a list of claims that pods are allowed to reference. The StatefulSet controller is responsible for mapping network identities to claims in a way that maintains the identity of a pod. Every claim in this list must have at least one matching (by name) volumeMount in one container in the template. A claim in this list takes precedence over any volumes in the template, with the same name.
|
|
3505
3504
|
"""
|
|
@@ -3524,7 +3523,7 @@ class StatefulSetSpecArgs:
|
|
|
3524
3523
|
if volume_claim_templates is not None:
|
|
3525
3524
|
pulumi.set(__self__, "volume_claim_templates", volume_claim_templates)
|
|
3526
3525
|
|
|
3527
|
-
@property
|
|
3526
|
+
@_builtins.property
|
|
3528
3527
|
@pulumi.getter
|
|
3529
3528
|
def selector(self) -> pulumi.Input['_meta.v1.LabelSelectorArgs']:
|
|
3530
3529
|
"""
|
|
@@ -3536,7 +3535,7 @@ class StatefulSetSpecArgs:
|
|
|
3536
3535
|
def selector(self, value: pulumi.Input['_meta.v1.LabelSelectorArgs']):
|
|
3537
3536
|
pulumi.set(self, "selector", value)
|
|
3538
3537
|
|
|
3539
|
-
@property
|
|
3538
|
+
@_builtins.property
|
|
3540
3539
|
@pulumi.getter
|
|
3541
3540
|
def template(self) -> pulumi.Input['_core.v1.PodTemplateSpecArgs']:
|
|
3542
3541
|
"""
|
|
@@ -3548,19 +3547,19 @@ class StatefulSetSpecArgs:
|
|
|
3548
3547
|
def template(self, value: pulumi.Input['_core.v1.PodTemplateSpecArgs']):
|
|
3549
3548
|
pulumi.set(self, "template", value)
|
|
3550
3549
|
|
|
3551
|
-
@property
|
|
3550
|
+
@_builtins.property
|
|
3552
3551
|
@pulumi.getter(name="minReadySeconds")
|
|
3553
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[
|
|
3552
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3554
3553
|
"""
|
|
3555
3554
|
Minimum number of seconds for which a newly created pod should be ready without any of its container crashing for it to be considered available. Defaults to 0 (pod will be considered available as soon as it is ready)
|
|
3556
3555
|
"""
|
|
3557
3556
|
return pulumi.get(self, "min_ready_seconds")
|
|
3558
3557
|
|
|
3559
3558
|
@min_ready_seconds.setter
|
|
3560
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[
|
|
3559
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3561
3560
|
pulumi.set(self, "min_ready_seconds", value)
|
|
3562
3561
|
|
|
3563
|
-
@property
|
|
3562
|
+
@_builtins.property
|
|
3564
3563
|
@pulumi.getter
|
|
3565
3564
|
def ordinals(self) -> Optional[pulumi.Input['StatefulSetOrdinalsArgs']]:
|
|
3566
3565
|
"""
|
|
@@ -3572,7 +3571,7 @@ class StatefulSetSpecArgs:
|
|
|
3572
3571
|
def ordinals(self, value: Optional[pulumi.Input['StatefulSetOrdinalsArgs']]):
|
|
3573
3572
|
pulumi.set(self, "ordinals", value)
|
|
3574
3573
|
|
|
3575
|
-
@property
|
|
3574
|
+
@_builtins.property
|
|
3576
3575
|
@pulumi.getter(name="persistentVolumeClaimRetentionPolicy")
|
|
3577
3576
|
def persistent_volume_claim_retention_policy(self) -> Optional[pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyArgs']]:
|
|
3578
3577
|
"""
|
|
@@ -3584,55 +3583,55 @@ class StatefulSetSpecArgs:
|
|
|
3584
3583
|
def persistent_volume_claim_retention_policy(self, value: Optional[pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyArgs']]):
|
|
3585
3584
|
pulumi.set(self, "persistent_volume_claim_retention_policy", value)
|
|
3586
3585
|
|
|
3587
|
-
@property
|
|
3586
|
+
@_builtins.property
|
|
3588
3587
|
@pulumi.getter(name="podManagementPolicy")
|
|
3589
|
-
def pod_management_policy(self) -> Optional[pulumi.Input[
|
|
3588
|
+
def pod_management_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3590
3589
|
"""
|
|
3591
3590
|
podManagementPolicy controls how pods are created during initial scale up, when replacing pods on nodes, or when scaling down. The default policy is `OrderedReady`, where pods are created in increasing order (pod-0, then pod-1, etc) and the controller will wait until each pod is ready before continuing. When scaling down, the pods are removed in the opposite order. The alternative policy is `Parallel` which will create pods in parallel to match the desired scale without waiting, and on scale down will delete all pods at once.
|
|
3592
3591
|
"""
|
|
3593
3592
|
return pulumi.get(self, "pod_management_policy")
|
|
3594
3593
|
|
|
3595
3594
|
@pod_management_policy.setter
|
|
3596
|
-
def pod_management_policy(self, value: Optional[pulumi.Input[
|
|
3595
|
+
def pod_management_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3597
3596
|
pulumi.set(self, "pod_management_policy", value)
|
|
3598
3597
|
|
|
3599
|
-
@property
|
|
3598
|
+
@_builtins.property
|
|
3600
3599
|
@pulumi.getter
|
|
3601
|
-
def replicas(self) -> Optional[pulumi.Input[
|
|
3600
|
+
def replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3602
3601
|
"""
|
|
3603
3602
|
replicas is the desired number of replicas of the given Template. These are replicas in the sense that they are instantiations of the same Template, but individual replicas also have a consistent identity. If unspecified, defaults to 1.
|
|
3604
3603
|
"""
|
|
3605
3604
|
return pulumi.get(self, "replicas")
|
|
3606
3605
|
|
|
3607
3606
|
@replicas.setter
|
|
3608
|
-
def replicas(self, value: Optional[pulumi.Input[
|
|
3607
|
+
def replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3609
3608
|
pulumi.set(self, "replicas", value)
|
|
3610
3609
|
|
|
3611
|
-
@property
|
|
3610
|
+
@_builtins.property
|
|
3612
3611
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
3613
|
-
def revision_history_limit(self) -> Optional[pulumi.Input[
|
|
3612
|
+
def revision_history_limit(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3614
3613
|
"""
|
|
3615
3614
|
revisionHistoryLimit is the maximum number of revisions that will be maintained in the StatefulSet's revision history. The revision history consists of all revisions not represented by a currently applied StatefulSetSpec version. The default value is 10.
|
|
3616
3615
|
"""
|
|
3617
3616
|
return pulumi.get(self, "revision_history_limit")
|
|
3618
3617
|
|
|
3619
3618
|
@revision_history_limit.setter
|
|
3620
|
-
def revision_history_limit(self, value: Optional[pulumi.Input[
|
|
3619
|
+
def revision_history_limit(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3621
3620
|
pulumi.set(self, "revision_history_limit", value)
|
|
3622
3621
|
|
|
3623
|
-
@property
|
|
3622
|
+
@_builtins.property
|
|
3624
3623
|
@pulumi.getter(name="serviceName")
|
|
3625
|
-
def service_name(self) -> Optional[pulumi.Input[
|
|
3624
|
+
def service_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3626
3625
|
"""
|
|
3627
3626
|
serviceName is the name of the service that governs this StatefulSet. This service must exist before the StatefulSet, and is responsible for the network identity of the set. Pods get DNS/hostnames that follow the pattern: pod-specific-string.serviceName.default.svc.cluster.local where "pod-specific-string" is managed by the StatefulSet controller.
|
|
3628
3627
|
"""
|
|
3629
3628
|
return pulumi.get(self, "service_name")
|
|
3630
3629
|
|
|
3631
3630
|
@service_name.setter
|
|
3632
|
-
def service_name(self, value: Optional[pulumi.Input[
|
|
3631
|
+
def service_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3633
3632
|
pulumi.set(self, "service_name", value)
|
|
3634
3633
|
|
|
3635
|
-
@property
|
|
3634
|
+
@_builtins.property
|
|
3636
3635
|
@pulumi.getter(name="updateStrategy")
|
|
3637
3636
|
def update_strategy(self) -> Optional[pulumi.Input['StatefulSetUpdateStrategyArgs']]:
|
|
3638
3637
|
"""
|
|
@@ -3644,7 +3643,7 @@ class StatefulSetSpecArgs:
|
|
|
3644
3643
|
def update_strategy(self, value: Optional[pulumi.Input['StatefulSetUpdateStrategyArgs']]):
|
|
3645
3644
|
pulumi.set(self, "update_strategy", value)
|
|
3646
3645
|
|
|
3647
|
-
@property
|
|
3646
|
+
@_builtins.property
|
|
3648
3647
|
@pulumi.getter(name="volumeClaimTemplates")
|
|
3649
3648
|
def volume_claim_templates(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.PersistentVolumeClaimArgs']]]]:
|
|
3650
3649
|
"""
|
|
@@ -3662,15 +3661,15 @@ if not MYPY:
|
|
|
3662
3661
|
"""
|
|
3663
3662
|
StatefulSetStatus represents the current state of a StatefulSet.
|
|
3664
3663
|
"""
|
|
3665
|
-
replicas: pulumi.Input[
|
|
3664
|
+
replicas: pulumi.Input[_builtins.int]
|
|
3666
3665
|
"""
|
|
3667
3666
|
replicas is the number of Pods created by the StatefulSet controller.
|
|
3668
3667
|
"""
|
|
3669
|
-
available_replicas: NotRequired[pulumi.Input[
|
|
3668
|
+
available_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
3670
3669
|
"""
|
|
3671
3670
|
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
|
3672
3671
|
"""
|
|
3673
|
-
collision_count: NotRequired[pulumi.Input[
|
|
3672
|
+
collision_count: NotRequired[pulumi.Input[_builtins.int]]
|
|
3674
3673
|
"""
|
|
3675
3674
|
collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
|
|
3676
3675
|
"""
|
|
@@ -3678,27 +3677,27 @@ if not MYPY:
|
|
|
3678
3677
|
"""
|
|
3679
3678
|
Represents the latest available observations of a statefulset's current state.
|
|
3680
3679
|
"""
|
|
3681
|
-
current_replicas: NotRequired[pulumi.Input[
|
|
3680
|
+
current_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
3682
3681
|
"""
|
|
3683
3682
|
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
|
|
3684
3683
|
"""
|
|
3685
|
-
current_revision: NotRequired[pulumi.Input[
|
|
3684
|
+
current_revision: NotRequired[pulumi.Input[_builtins.str]]
|
|
3686
3685
|
"""
|
|
3687
3686
|
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
|
|
3688
3687
|
"""
|
|
3689
|
-
observed_generation: NotRequired[pulumi.Input[
|
|
3688
|
+
observed_generation: NotRequired[pulumi.Input[_builtins.int]]
|
|
3690
3689
|
"""
|
|
3691
3690
|
observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
|
|
3692
3691
|
"""
|
|
3693
|
-
ready_replicas: NotRequired[pulumi.Input[
|
|
3692
|
+
ready_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
3694
3693
|
"""
|
|
3695
3694
|
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
|
|
3696
3695
|
"""
|
|
3697
|
-
update_revision: NotRequired[pulumi.Input[
|
|
3696
|
+
update_revision: NotRequired[pulumi.Input[_builtins.str]]
|
|
3698
3697
|
"""
|
|
3699
3698
|
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
|
|
3700
3699
|
"""
|
|
3701
|
-
updated_replicas: NotRequired[pulumi.Input[
|
|
3700
|
+
updated_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
3702
3701
|
"""
|
|
3703
3702
|
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
|
|
3704
3703
|
"""
|
|
@@ -3708,28 +3707,28 @@ elif False:
|
|
|
3708
3707
|
@pulumi.input_type
|
|
3709
3708
|
class StatefulSetStatusArgs:
|
|
3710
3709
|
def __init__(__self__, *,
|
|
3711
|
-
replicas: pulumi.Input[
|
|
3712
|
-
available_replicas: Optional[pulumi.Input[
|
|
3713
|
-
collision_count: Optional[pulumi.Input[
|
|
3710
|
+
replicas: pulumi.Input[_builtins.int],
|
|
3711
|
+
available_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3712
|
+
collision_count: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3714
3713
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['StatefulSetConditionArgs']]]] = None,
|
|
3715
|
-
current_replicas: Optional[pulumi.Input[
|
|
3716
|
-
current_revision: Optional[pulumi.Input[
|
|
3717
|
-
observed_generation: Optional[pulumi.Input[
|
|
3718
|
-
ready_replicas: Optional[pulumi.Input[
|
|
3719
|
-
update_revision: Optional[pulumi.Input[
|
|
3720
|
-
updated_replicas: Optional[pulumi.Input[
|
|
3714
|
+
current_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3715
|
+
current_revision: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3716
|
+
observed_generation: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3717
|
+
ready_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
3718
|
+
update_revision: Optional[pulumi.Input[_builtins.str]] = None,
|
|
3719
|
+
updated_replicas: Optional[pulumi.Input[_builtins.int]] = None):
|
|
3721
3720
|
"""
|
|
3722
3721
|
StatefulSetStatus represents the current state of a StatefulSet.
|
|
3723
|
-
:param pulumi.Input[
|
|
3724
|
-
:param pulumi.Input[
|
|
3725
|
-
:param pulumi.Input[
|
|
3722
|
+
:param pulumi.Input[_builtins.int] replicas: replicas is the number of Pods created by the StatefulSet controller.
|
|
3723
|
+
:param pulumi.Input[_builtins.int] available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
|
3724
|
+
:param pulumi.Input[_builtins.int] collision_count: collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
|
|
3726
3725
|
:param pulumi.Input[Sequence[pulumi.Input['StatefulSetConditionArgs']]] conditions: Represents the latest available observations of a statefulset's current state.
|
|
3727
|
-
:param pulumi.Input[
|
|
3728
|
-
:param pulumi.Input[
|
|
3729
|
-
:param pulumi.Input[
|
|
3730
|
-
:param pulumi.Input[
|
|
3731
|
-
:param pulumi.Input[
|
|
3732
|
-
:param pulumi.Input[
|
|
3726
|
+
:param pulumi.Input[_builtins.int] current_replicas: currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
|
|
3727
|
+
:param pulumi.Input[_builtins.str] current_revision: currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
|
|
3728
|
+
:param pulumi.Input[_builtins.int] observed_generation: observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
|
|
3729
|
+
:param pulumi.Input[_builtins.int] ready_replicas: readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
|
|
3730
|
+
:param pulumi.Input[_builtins.str] update_revision: updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
|
|
3731
|
+
:param pulumi.Input[_builtins.int] updated_replicas: updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
|
|
3733
3732
|
"""
|
|
3734
3733
|
pulumi.set(__self__, "replicas", replicas)
|
|
3735
3734
|
if available_replicas is not None:
|
|
@@ -3751,43 +3750,43 @@ class StatefulSetStatusArgs:
|
|
|
3751
3750
|
if updated_replicas is not None:
|
|
3752
3751
|
pulumi.set(__self__, "updated_replicas", updated_replicas)
|
|
3753
3752
|
|
|
3754
|
-
@property
|
|
3753
|
+
@_builtins.property
|
|
3755
3754
|
@pulumi.getter
|
|
3756
|
-
def replicas(self) -> pulumi.Input[
|
|
3755
|
+
def replicas(self) -> pulumi.Input[_builtins.int]:
|
|
3757
3756
|
"""
|
|
3758
3757
|
replicas is the number of Pods created by the StatefulSet controller.
|
|
3759
3758
|
"""
|
|
3760
3759
|
return pulumi.get(self, "replicas")
|
|
3761
3760
|
|
|
3762
3761
|
@replicas.setter
|
|
3763
|
-
def replicas(self, value: pulumi.Input[
|
|
3762
|
+
def replicas(self, value: pulumi.Input[_builtins.int]):
|
|
3764
3763
|
pulumi.set(self, "replicas", value)
|
|
3765
3764
|
|
|
3766
|
-
@property
|
|
3765
|
+
@_builtins.property
|
|
3767
3766
|
@pulumi.getter(name="availableReplicas")
|
|
3768
|
-
def available_replicas(self) -> Optional[pulumi.Input[
|
|
3767
|
+
def available_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3769
3768
|
"""
|
|
3770
3769
|
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
|
3771
3770
|
"""
|
|
3772
3771
|
return pulumi.get(self, "available_replicas")
|
|
3773
3772
|
|
|
3774
3773
|
@available_replicas.setter
|
|
3775
|
-
def available_replicas(self, value: Optional[pulumi.Input[
|
|
3774
|
+
def available_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3776
3775
|
pulumi.set(self, "available_replicas", value)
|
|
3777
3776
|
|
|
3778
|
-
@property
|
|
3777
|
+
@_builtins.property
|
|
3779
3778
|
@pulumi.getter(name="collisionCount")
|
|
3780
|
-
def collision_count(self) -> Optional[pulumi.Input[
|
|
3779
|
+
def collision_count(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3781
3780
|
"""
|
|
3782
3781
|
collisionCount is the count of hash collisions for the StatefulSet. The StatefulSet controller uses this field as a collision avoidance mechanism when it needs to create the name for the newest ControllerRevision.
|
|
3783
3782
|
"""
|
|
3784
3783
|
return pulumi.get(self, "collision_count")
|
|
3785
3784
|
|
|
3786
3785
|
@collision_count.setter
|
|
3787
|
-
def collision_count(self, value: Optional[pulumi.Input[
|
|
3786
|
+
def collision_count(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3788
3787
|
pulumi.set(self, "collision_count", value)
|
|
3789
3788
|
|
|
3790
|
-
@property
|
|
3789
|
+
@_builtins.property
|
|
3791
3790
|
@pulumi.getter
|
|
3792
3791
|
def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['StatefulSetConditionArgs']]]]:
|
|
3793
3792
|
"""
|
|
@@ -3799,76 +3798,76 @@ class StatefulSetStatusArgs:
|
|
|
3799
3798
|
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['StatefulSetConditionArgs']]]]):
|
|
3800
3799
|
pulumi.set(self, "conditions", value)
|
|
3801
3800
|
|
|
3802
|
-
@property
|
|
3801
|
+
@_builtins.property
|
|
3803
3802
|
@pulumi.getter(name="currentReplicas")
|
|
3804
|
-
def current_replicas(self) -> Optional[pulumi.Input[
|
|
3803
|
+
def current_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3805
3804
|
"""
|
|
3806
3805
|
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
|
|
3807
3806
|
"""
|
|
3808
3807
|
return pulumi.get(self, "current_replicas")
|
|
3809
3808
|
|
|
3810
3809
|
@current_replicas.setter
|
|
3811
|
-
def current_replicas(self, value: Optional[pulumi.Input[
|
|
3810
|
+
def current_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3812
3811
|
pulumi.set(self, "current_replicas", value)
|
|
3813
3812
|
|
|
3814
|
-
@property
|
|
3813
|
+
@_builtins.property
|
|
3815
3814
|
@pulumi.getter(name="currentRevision")
|
|
3816
|
-
def current_revision(self) -> Optional[pulumi.Input[
|
|
3815
|
+
def current_revision(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3817
3816
|
"""
|
|
3818
3817
|
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
|
|
3819
3818
|
"""
|
|
3820
3819
|
return pulumi.get(self, "current_revision")
|
|
3821
3820
|
|
|
3822
3821
|
@current_revision.setter
|
|
3823
|
-
def current_revision(self, value: Optional[pulumi.Input[
|
|
3822
|
+
def current_revision(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3824
3823
|
pulumi.set(self, "current_revision", value)
|
|
3825
3824
|
|
|
3826
|
-
@property
|
|
3825
|
+
@_builtins.property
|
|
3827
3826
|
@pulumi.getter(name="observedGeneration")
|
|
3828
|
-
def observed_generation(self) -> Optional[pulumi.Input[
|
|
3827
|
+
def observed_generation(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3829
3828
|
"""
|
|
3830
3829
|
observedGeneration is the most recent generation observed for this StatefulSet. It corresponds to the StatefulSet's generation, which is updated on mutation by the API Server.
|
|
3831
3830
|
"""
|
|
3832
3831
|
return pulumi.get(self, "observed_generation")
|
|
3833
3832
|
|
|
3834
3833
|
@observed_generation.setter
|
|
3835
|
-
def observed_generation(self, value: Optional[pulumi.Input[
|
|
3834
|
+
def observed_generation(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3836
3835
|
pulumi.set(self, "observed_generation", value)
|
|
3837
3836
|
|
|
3838
|
-
@property
|
|
3837
|
+
@_builtins.property
|
|
3839
3838
|
@pulumi.getter(name="readyReplicas")
|
|
3840
|
-
def ready_replicas(self) -> Optional[pulumi.Input[
|
|
3839
|
+
def ready_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3841
3840
|
"""
|
|
3842
3841
|
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
|
|
3843
3842
|
"""
|
|
3844
3843
|
return pulumi.get(self, "ready_replicas")
|
|
3845
3844
|
|
|
3846
3845
|
@ready_replicas.setter
|
|
3847
|
-
def ready_replicas(self, value: Optional[pulumi.Input[
|
|
3846
|
+
def ready_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3848
3847
|
pulumi.set(self, "ready_replicas", value)
|
|
3849
3848
|
|
|
3850
|
-
@property
|
|
3849
|
+
@_builtins.property
|
|
3851
3850
|
@pulumi.getter(name="updateRevision")
|
|
3852
|
-
def update_revision(self) -> Optional[pulumi.Input[
|
|
3851
|
+
def update_revision(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3853
3852
|
"""
|
|
3854
3853
|
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
|
|
3855
3854
|
"""
|
|
3856
3855
|
return pulumi.get(self, "update_revision")
|
|
3857
3856
|
|
|
3858
3857
|
@update_revision.setter
|
|
3859
|
-
def update_revision(self, value: Optional[pulumi.Input[
|
|
3858
|
+
def update_revision(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3860
3859
|
pulumi.set(self, "update_revision", value)
|
|
3861
3860
|
|
|
3862
|
-
@property
|
|
3861
|
+
@_builtins.property
|
|
3863
3862
|
@pulumi.getter(name="updatedReplicas")
|
|
3864
|
-
def updated_replicas(self) -> Optional[pulumi.Input[
|
|
3863
|
+
def updated_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
3865
3864
|
"""
|
|
3866
3865
|
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
|
|
3867
3866
|
"""
|
|
3868
3867
|
return pulumi.get(self, "updated_replicas")
|
|
3869
3868
|
|
|
3870
3869
|
@updated_replicas.setter
|
|
3871
|
-
def updated_replicas(self, value: Optional[pulumi.Input[
|
|
3870
|
+
def updated_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
3872
3871
|
pulumi.set(self, "updated_replicas", value)
|
|
3873
3872
|
|
|
3874
3873
|
|
|
@@ -3881,7 +3880,7 @@ if not MYPY:
|
|
|
3881
3880
|
"""
|
|
3882
3881
|
RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
|
|
3883
3882
|
"""
|
|
3884
|
-
type: NotRequired[pulumi.Input[
|
|
3883
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
3885
3884
|
"""
|
|
3886
3885
|
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3887
3886
|
"""
|
|
@@ -3892,18 +3891,18 @@ elif False:
|
|
|
3892
3891
|
class StatefulSetUpdateStrategyPatchArgs:
|
|
3893
3892
|
def __init__(__self__, *,
|
|
3894
3893
|
rolling_update: Optional[pulumi.Input['RollingUpdateStatefulSetStrategyPatchArgs']] = None,
|
|
3895
|
-
type: Optional[pulumi.Input[
|
|
3894
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
3896
3895
|
"""
|
|
3897
3896
|
StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.
|
|
3898
3897
|
:param pulumi.Input['RollingUpdateStatefulSetStrategyPatchArgs'] rolling_update: RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
|
|
3899
|
-
:param pulumi.Input[
|
|
3898
|
+
:param pulumi.Input[_builtins.str] type: Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3900
3899
|
"""
|
|
3901
3900
|
if rolling_update is not None:
|
|
3902
3901
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
3903
3902
|
if type is not None:
|
|
3904
3903
|
pulumi.set(__self__, "type", type)
|
|
3905
3904
|
|
|
3906
|
-
@property
|
|
3905
|
+
@_builtins.property
|
|
3907
3906
|
@pulumi.getter(name="rollingUpdate")
|
|
3908
3907
|
def rolling_update(self) -> Optional[pulumi.Input['RollingUpdateStatefulSetStrategyPatchArgs']]:
|
|
3909
3908
|
"""
|
|
@@ -3915,16 +3914,16 @@ class StatefulSetUpdateStrategyPatchArgs:
|
|
|
3915
3914
|
def rolling_update(self, value: Optional[pulumi.Input['RollingUpdateStatefulSetStrategyPatchArgs']]):
|
|
3916
3915
|
pulumi.set(self, "rolling_update", value)
|
|
3917
3916
|
|
|
3918
|
-
@property
|
|
3917
|
+
@_builtins.property
|
|
3919
3918
|
@pulumi.getter
|
|
3920
|
-
def type(self) -> Optional[pulumi.Input[
|
|
3919
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3921
3920
|
"""
|
|
3922
3921
|
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3923
3922
|
"""
|
|
3924
3923
|
return pulumi.get(self, "type")
|
|
3925
3924
|
|
|
3926
3925
|
@type.setter
|
|
3927
|
-
def type(self, value: Optional[pulumi.Input[
|
|
3926
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3928
3927
|
pulumi.set(self, "type", value)
|
|
3929
3928
|
|
|
3930
3929
|
|
|
@@ -3937,7 +3936,7 @@ if not MYPY:
|
|
|
3937
3936
|
"""
|
|
3938
3937
|
RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
|
|
3939
3938
|
"""
|
|
3940
|
-
type: NotRequired[pulumi.Input[
|
|
3939
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
3941
3940
|
"""
|
|
3942
3941
|
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3943
3942
|
"""
|
|
@@ -3948,18 +3947,18 @@ elif False:
|
|
|
3948
3947
|
class StatefulSetUpdateStrategyArgs:
|
|
3949
3948
|
def __init__(__self__, *,
|
|
3950
3949
|
rolling_update: Optional[pulumi.Input['RollingUpdateStatefulSetStrategyArgs']] = None,
|
|
3951
|
-
type: Optional[pulumi.Input[
|
|
3950
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
3952
3951
|
"""
|
|
3953
3952
|
StatefulSetUpdateStrategy indicates the strategy that the StatefulSet controller will use to perform updates. It includes any additional parameters necessary to perform the update for the indicated strategy.
|
|
3954
3953
|
:param pulumi.Input['RollingUpdateStatefulSetStrategyArgs'] rolling_update: RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
|
|
3955
|
-
:param pulumi.Input[
|
|
3954
|
+
:param pulumi.Input[_builtins.str] type: Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3956
3955
|
"""
|
|
3957
3956
|
if rolling_update is not None:
|
|
3958
3957
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
3959
3958
|
if type is not None:
|
|
3960
3959
|
pulumi.set(__self__, "type", type)
|
|
3961
3960
|
|
|
3962
|
-
@property
|
|
3961
|
+
@_builtins.property
|
|
3963
3962
|
@pulumi.getter(name="rollingUpdate")
|
|
3964
3963
|
def rolling_update(self) -> Optional[pulumi.Input['RollingUpdateStatefulSetStrategyArgs']]:
|
|
3965
3964
|
"""
|
|
@@ -3971,16 +3970,16 @@ class StatefulSetUpdateStrategyArgs:
|
|
|
3971
3970
|
def rolling_update(self, value: Optional[pulumi.Input['RollingUpdateStatefulSetStrategyArgs']]):
|
|
3972
3971
|
pulumi.set(self, "rolling_update", value)
|
|
3973
3972
|
|
|
3974
|
-
@property
|
|
3973
|
+
@_builtins.property
|
|
3975
3974
|
@pulumi.getter
|
|
3976
|
-
def type(self) -> Optional[pulumi.Input[
|
|
3975
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
3977
3976
|
"""
|
|
3978
3977
|
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3979
3978
|
"""
|
|
3980
3979
|
return pulumi.get(self, "type")
|
|
3981
3980
|
|
|
3982
3981
|
@type.setter
|
|
3983
|
-
def type(self, value: Optional[pulumi.Input[
|
|
3982
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
3984
3983
|
pulumi.set(self, "type", value)
|
|
3985
3984
|
|
|
3986
3985
|
|
|
@@ -4006,11 +4005,11 @@ if not MYPY:
|
|
|
4006
4005
|
time out and mark the resource update as Failed. You can override the default timeout value
|
|
4007
4006
|
by setting the 'customTimeouts' option on the resource.
|
|
4008
4007
|
"""
|
|
4009
|
-
api_version: NotRequired[pulumi.Input[
|
|
4008
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
4010
4009
|
"""
|
|
4011
4010
|
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
|
|
4012
4011
|
"""
|
|
4013
|
-
kind: NotRequired[pulumi.Input[
|
|
4012
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
4014
4013
|
"""
|
|
4015
4014
|
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
|
|
4016
4015
|
"""
|
|
@@ -4032,8 +4031,8 @@ elif False:
|
|
|
4032
4031
|
@pulumi.input_type
|
|
4033
4032
|
class StatefulSetArgs:
|
|
4034
4033
|
def __init__(__self__, *,
|
|
4035
|
-
api_version: Optional[pulumi.Input[
|
|
4036
|
-
kind: Optional[pulumi.Input[
|
|
4034
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4035
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
4037
4036
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
4038
4037
|
spec: Optional[pulumi.Input['StatefulSetSpecArgs']] = None,
|
|
4039
4038
|
status: Optional[pulumi.Input['StatefulSetStatusArgs']] = None):
|
|
@@ -4056,8 +4055,8 @@ class StatefulSetArgs:
|
|
|
4056
4055
|
If the StatefulSet has not reached a Ready state after 10 minutes, it will
|
|
4057
4056
|
time out and mark the resource update as Failed. You can override the default timeout value
|
|
4058
4057
|
by setting the 'customTimeouts' option on the resource.
|
|
4059
|
-
:param pulumi.Input[
|
|
4060
|
-
:param pulumi.Input[
|
|
4058
|
+
: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
|
|
4059
|
+
: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
|
|
4061
4060
|
: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
|
|
4062
4061
|
:param pulumi.Input['StatefulSetSpecArgs'] spec: Spec defines the desired identities of pods in this set.
|
|
4063
4062
|
:param pulumi.Input['StatefulSetStatusArgs'] status: Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
|
|
@@ -4073,31 +4072,31 @@ class StatefulSetArgs:
|
|
|
4073
4072
|
if status is not None:
|
|
4074
4073
|
pulumi.set(__self__, "status", status)
|
|
4075
4074
|
|
|
4076
|
-
@property
|
|
4075
|
+
@_builtins.property
|
|
4077
4076
|
@pulumi.getter(name="apiVersion")
|
|
4078
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
4077
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4079
4078
|
"""
|
|
4080
4079
|
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
|
|
4081
4080
|
"""
|
|
4082
4081
|
return pulumi.get(self, "api_version")
|
|
4083
4082
|
|
|
4084
4083
|
@api_version.setter
|
|
4085
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
4084
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4086
4085
|
pulumi.set(self, "api_version", value)
|
|
4087
4086
|
|
|
4088
|
-
@property
|
|
4087
|
+
@_builtins.property
|
|
4089
4088
|
@pulumi.getter
|
|
4090
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
4089
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
4091
4090
|
"""
|
|
4092
4091
|
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
|
|
4093
4092
|
"""
|
|
4094
4093
|
return pulumi.get(self, "kind")
|
|
4095
4094
|
|
|
4096
4095
|
@kind.setter
|
|
4097
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
4096
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
4098
4097
|
pulumi.set(self, "kind", value)
|
|
4099
4098
|
|
|
4100
|
-
@property
|
|
4099
|
+
@_builtins.property
|
|
4101
4100
|
@pulumi.getter
|
|
4102
4101
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
4103
4102
|
"""
|
|
@@ -4109,7 +4108,7 @@ class StatefulSetArgs:
|
|
|
4109
4108
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
4110
4109
|
pulumi.set(self, "metadata", value)
|
|
4111
4110
|
|
|
4112
|
-
@property
|
|
4111
|
+
@_builtins.property
|
|
4113
4112
|
@pulumi.getter
|
|
4114
4113
|
def spec(self) -> Optional[pulumi.Input['StatefulSetSpecArgs']]:
|
|
4115
4114
|
"""
|
|
@@ -4121,7 +4120,7 @@ class StatefulSetArgs:
|
|
|
4121
4120
|
def spec(self, value: Optional[pulumi.Input['StatefulSetSpecArgs']]):
|
|
4122
4121
|
pulumi.set(self, "spec", value)
|
|
4123
4122
|
|
|
4124
|
-
@property
|
|
4123
|
+
@_builtins.property
|
|
4125
4124
|
@pulumi.getter
|
|
4126
4125
|
def status(self) -> Optional[pulumi.Input['StatefulSetStatusArgs']]:
|
|
4127
4126
|
"""
|