pulumi-kubernetes 4.22.1__py3-none-any.whl → 4.23.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +37 -2
- pulumi_kubernetes/_inputs.py +41 -40
- pulumi_kubernetes/admissionregistration/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1/outputs.py +337 -336
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +396 -395
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +249 -248
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +337 -336
- pulumi_kubernetes/apiextensions/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +18 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +18 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +18 -16
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/_inputs.py +699 -698
- pulumi_kubernetes/apiextensions/v1/outputs.py +405 -404
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +639 -638
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +369 -368
- pulumi_kubernetes/apiregistration/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +18 -16
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +18 -16
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +18 -16
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1/outputs.py +91 -90
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +91 -90
- pulumi_kubernetes/apps/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1/DaemonSet.py +18 -16
- pulumi_kubernetes/apps/v1/DaemonSetList.py +18 -16
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1/ReplicaSet.py +18 -16
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +22 -20
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/_inputs.py +664 -610
- pulumi_kubernetes/apps/v1/outputs.py +582 -508
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1beta1/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta1/_inputs.py +316 -315
- pulumi_kubernetes/apps/v1beta1/outputs.py +260 -259
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta2/_inputs.py +506 -505
- pulumi_kubernetes/apps/v1beta2/outputs.py +442 -441
- pulumi_kubernetes/auditregistration/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +111 -110
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/autoscaling/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/_inputs.py +96 -95
- pulumi_kubernetes/autoscaling/v1/outputs.py +73 -72
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2/_inputs.py +371 -290
- pulumi_kubernetes/autoscaling/v2/outputs.py +281 -224
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +346 -345
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +283 -282
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +281 -280
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +217 -216
- pulumi_kubernetes/batch/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v1/Job.py +18 -16
- pulumi_kubernetes/batch/v1/JobList.py +18 -16
- pulumi_kubernetes/batch/v1/JobPatch.py +18 -16
- pulumi_kubernetes/batch/v1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/_inputs.py +394 -423
- pulumi_kubernetes/batch/v1/outputs.py +293 -316
- pulumi_kubernetes/batch/v1beta1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1beta1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v1beta1/outputs.py +49 -48
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v2alpha1/outputs.py +49 -48
- pulumi_kubernetes/certificates/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +18 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +18 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +18 -16
- pulumi_kubernetes/certificates/v1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/_inputs.py +126 -125
- pulumi_kubernetes/certificates/v1/outputs.py +97 -96
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +20 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +18 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +20 -16
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +227 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +217 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +238 -0
- pulumi_kubernetes/certificates/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +409 -116
- pulumi_kubernetes/certificates/v1beta1/outputs.py +334 -92
- pulumi_kubernetes/coordination/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/Lease.py +18 -16
- pulumi_kubernetes/coordination/v1/LeaseList.py +18 -16
- pulumi_kubernetes/coordination/v1/LeasePatch.py +18 -16
- pulumi_kubernetes/coordination/v1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/_inputs.py +81 -80
- pulumi_kubernetes/coordination/v1/outputs.py +49 -48
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +19 -17
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +18 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +19 -17
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +71 -70
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +43 -42
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +19 -17
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +18 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +19 -17
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +75 -74
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +45 -44
- pulumi_kubernetes/coordination/v1beta1/Lease.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +218 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +217 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +230 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +432 -60
- pulumi_kubernetes/coordination/v1beta1/outputs.py +329 -36
- pulumi_kubernetes/core/__init__.py +1 -0
- pulumi_kubernetes/core/v1/Binding.py +18 -16
- pulumi_kubernetes/core/v1/BindingPatch.py +18 -16
- pulumi_kubernetes/core/v1/ConfigMap.py +42 -40
- pulumi_kubernetes/core/v1/ConfigMapList.py +18 -16
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +42 -40
- pulumi_kubernetes/core/v1/Endpoints.py +26 -16
- pulumi_kubernetes/core/v1/EndpointsList.py +20 -18
- pulumi_kubernetes/core/v1/EndpointsPatch.py +26 -16
- pulumi_kubernetes/core/v1/Event.py +98 -96
- pulumi_kubernetes/core/v1/EventList.py +18 -16
- pulumi_kubernetes/core/v1/EventPatch.py +98 -96
- pulumi_kubernetes/core/v1/LimitRange.py +18 -16
- pulumi_kubernetes/core/v1/LimitRangeList.py +18 -16
- pulumi_kubernetes/core/v1/LimitRangePatch.py +18 -16
- pulumi_kubernetes/core/v1/Namespace.py +18 -16
- pulumi_kubernetes/core/v1/NamespaceList.py +18 -16
- pulumi_kubernetes/core/v1/NamespacePatch.py +18 -16
- pulumi_kubernetes/core/v1/Node.py +18 -16
- pulumi_kubernetes/core/v1/NodeList.py +18 -16
- pulumi_kubernetes/core/v1/NodePatch.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolume.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +18 -16
- pulumi_kubernetes/core/v1/Pod.py +18 -16
- pulumi_kubernetes/core/v1/PodList.py +18 -16
- pulumi_kubernetes/core/v1/PodPatch.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplate.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplateList.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationController.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuota.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +18 -16
- pulumi_kubernetes/core/v1/Secret.py +50 -48
- pulumi_kubernetes/core/v1/SecretList.py +18 -16
- pulumi_kubernetes/core/v1/SecretPatch.py +50 -48
- pulumi_kubernetes/core/v1/Service.py +18 -16
- pulumi_kubernetes/core/v1/ServiceAccount.py +26 -24
- pulumi_kubernetes/core/v1/ServiceAccountList.py +18 -16
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +26 -24
- pulumi_kubernetes/core/v1/ServiceList.py +18 -16
- pulumi_kubernetes/core/v1/ServicePatch.py +18 -16
- pulumi_kubernetes/core/v1/__init__.py +1 -0
- pulumi_kubernetes/core/v1/_enums.py +4 -1
- pulumi_kubernetes/core/v1/_inputs.py +5736 -5561
- pulumi_kubernetes/core/v1/outputs.py +3853 -3652
- pulumi_kubernetes/discovery/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +34 -32
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +18 -16
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +34 -32
- pulumi_kubernetes/discovery/v1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/_inputs.py +294 -178
- pulumi_kubernetes/discovery/v1/outputs.py +184 -108
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +26 -24
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +18 -16
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +26 -24
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/discovery/v1beta1/outputs.py +76 -75
- pulumi_kubernetes/events/__init__.py +1 -0
- pulumi_kubernetes/events/v1/Event.py +98 -96
- pulumi_kubernetes/events/v1/EventList.py +18 -16
- pulumi_kubernetes/events/v1/EventPatch.py +98 -96
- pulumi_kubernetes/events/v1/__init__.py +1 -0
- pulumi_kubernetes/events/v1/_inputs.py +81 -80
- pulumi_kubernetes/events/v1/outputs.py +49 -48
- pulumi_kubernetes/events/v1beta1/Event.py +98 -96
- pulumi_kubernetes/events/v1beta1/EventList.py +18 -16
- pulumi_kubernetes/events/v1beta1/EventPatch.py +98 -96
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/events/v1beta1/_inputs.py +91 -90
- pulumi_kubernetes/events/v1beta1/outputs.py +55 -54
- pulumi_kubernetes/extensions/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +826 -825
- pulumi_kubernetes/extensions/v1beta1/outputs.py +587 -586
- pulumi_kubernetes/flowcontrol/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +223 -222
- pulumi_kubernetes/helm/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/Release.py +247 -245
- pulumi_kubernetes/helm/v3/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/_inputs.py +31 -30
- pulumi_kubernetes/helm/v3/outputs.py +41 -40
- pulumi_kubernetes/helm/v4/Chart.py +72 -70
- pulumi_kubernetes/helm/v4/__init__.py +1 -0
- pulumi_kubernetes/helm/v4/_inputs.py +26 -25
- pulumi_kubernetes/kustomize/__init__.py +1 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +31 -29
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
- pulumi_kubernetes/meta/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/Status.py +43 -41
- pulumi_kubernetes/meta/v1/StatusPatch.py +43 -41
- pulumi_kubernetes/meta/v1/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/_inputs.py +451 -450
- pulumi_kubernetes/meta/v1/outputs.py +289 -288
- pulumi_kubernetes/networking/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/IPAddress.py +218 -0
- pulumi_kubernetes/networking/v1/IPAddressList.py +217 -0
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +230 -0
- pulumi_kubernetes/networking/v1/Ingress.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClass.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClassList.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +18 -16
- pulumi_kubernetes/networking/v1/IngressList.py +18 -16
- pulumi_kubernetes/networking/v1/IngressPatch.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +18 -16
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +228 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +217 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +240 -0
- pulumi_kubernetes/networking/v1/__init__.py +7 -0
- pulumi_kubernetes/networking/v1/_inputs.py +865 -265
- pulumi_kubernetes/networking/v1/outputs.py +632 -170
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +121 -120
- pulumi_kubernetes/networking/v1alpha1/outputs.py +73 -72
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +19 -17
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +19 -17
- pulumi_kubernetes/networking/v1beta1/Ingress.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +18 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +19 -17
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +19 -17
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +181 -180
- pulumi_kubernetes/networking/v1beta1/outputs.py +105 -104
- pulumi_kubernetes/node/__init__.py +1 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +26 -24
- pulumi_kubernetes/node/v1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +26 -24
- pulumi_kubernetes/node/v1/__init__.py +1 -0
- pulumi_kubernetes/node/v1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1/outputs.py +22 -21
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +18 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +18 -16
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/node/v1alpha1/_inputs.py +41 -40
- pulumi_kubernetes/node/v1alpha1/outputs.py +25 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +26 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +26 -24
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/node/v1beta1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1beta1/outputs.py +22 -21
- pulumi_kubernetes/policy/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +18 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +18 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +18 -16
- pulumi_kubernetes/policy/v1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/_inputs.py +71 -82
- pulumi_kubernetes/policy/v1/outputs.py +53 -60
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +18 -16
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1beta1/_inputs.py +361 -360
- pulumi_kubernetes/policy/v1beta1/outputs.py +227 -226
- pulumi_kubernetes/provider.py +93 -91
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1beta1/outputs.py +97 -96
- pulumi_kubernetes/resource/__init__.py +4 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +26 -24
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +26 -24
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +206 -205
- pulumi_kubernetes/resource/v1alpha1/outputs.py +154 -153
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +26 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +26 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +34 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +34 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +35 -33
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +35 -33
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +411 -410
- pulumi_kubernetes/resource/v1alpha2/outputs.py +286 -285
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +225 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +217 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +236 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/__init__.py +4 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +2999 -652
- pulumi_kubernetes/resource/v1alpha3/outputs.py +2286 -504
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +19 -17
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +2481 -612
- pulumi_kubernetes/resource/v1beta1/outputs.py +1782 -379
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +239 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +250 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +234 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +218 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +245 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +231 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +242 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +248 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +218 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +259 -0
- pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta2/_inputs.py +5681 -0
- pulumi_kubernetes/resource/v1beta2/outputs.py +4726 -0
- pulumi_kubernetes/scheduling/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +19 -18
- pulumi_kubernetes/settings/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +11 -10
- pulumi_kubernetes/settings/v1alpha1/outputs.py +7 -6
- pulumi_kubernetes/storage/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +18 -16
- pulumi_kubernetes/storage/v1/CSIDriverList.py +18 -16
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +18 -16
- pulumi_kubernetes/storage/v1/CSINode.py +18 -16
- pulumi_kubernetes/storage/v1/CSINodeList.py +18 -16
- pulumi_kubernetes/storage/v1/CSINodePatch.py +18 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +42 -40
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +18 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +42 -40
- pulumi_kubernetes/storage/v1/StorageClass.py +66 -64
- pulumi_kubernetes/storage/v1/StorageClassList.py +18 -16
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +66 -64
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/_inputs.py +366 -275
- pulumi_kubernetes/storage/v1/outputs.py +288 -177
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +34 -32
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +34 -32
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storage/v1alpha1/outputs.py +61 -60
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINode.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +42 -40
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +42 -40
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +66 -64
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +66 -64
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +34 -32
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +34 -32
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +286 -285
- pulumi_kubernetes/storage/v1beta1/outputs.py +184 -183
- pulumi_kubernetes/storagemigration/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/yaml/__init__.py +1 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +23 -21
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +30 -28
- pulumi_kubernetes/yaml/v2/__init__.py +1 -0
- pulumi_kubernetes/yaml/yaml.py +108 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/METADATA +4 -4
- pulumi_kubernetes-4.23.0.dist-info/RECORD +709 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.22.1.dist-info/RECORD +0 -679
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -100,11 +101,11 @@ if not MYPY:
|
|
|
100
101
|
"""
|
|
101
102
|
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.
|
|
102
103
|
"""
|
|
103
|
-
revision: pulumi.Input[int]
|
|
104
|
+
revision: pulumi.Input[builtins.int]
|
|
104
105
|
"""
|
|
105
106
|
Revision indicates the revision of the state represented by Data.
|
|
106
107
|
"""
|
|
107
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
108
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
108
109
|
"""
|
|
109
110
|
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
|
|
110
111
|
"""
|
|
@@ -112,7 +113,7 @@ if not MYPY:
|
|
|
112
113
|
"""
|
|
113
114
|
Data is the serialized representation of the state.
|
|
114
115
|
"""
|
|
115
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
116
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
116
117
|
"""
|
|
117
118
|
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
|
|
118
119
|
"""
|
|
@@ -126,17 +127,17 @@ elif False:
|
|
|
126
127
|
@pulumi.input_type
|
|
127
128
|
class ControllerRevisionArgs:
|
|
128
129
|
def __init__(__self__, *,
|
|
129
|
-
revision: pulumi.Input[int],
|
|
130
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
130
|
+
revision: pulumi.Input[builtins.int],
|
|
131
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
131
132
|
data: Optional[Any] = None,
|
|
132
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
133
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
133
134
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None):
|
|
134
135
|
"""
|
|
135
136
|
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.
|
|
136
|
-
:param pulumi.Input[int] revision: Revision indicates the revision of the state represented by Data.
|
|
137
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
137
|
+
:param pulumi.Input[builtins.int] revision: Revision indicates the revision of the state represented by Data.
|
|
138
|
+
: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
|
|
138
139
|
:param Any data: Data is the serialized representation of the state.
|
|
139
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
140
|
+
: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
|
|
140
141
|
: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
|
|
141
142
|
"""
|
|
142
143
|
pulumi.set(__self__, "revision", revision)
|
|
@@ -151,26 +152,26 @@ class ControllerRevisionArgs:
|
|
|
151
152
|
|
|
152
153
|
@property
|
|
153
154
|
@pulumi.getter
|
|
154
|
-
def revision(self) -> pulumi.Input[int]:
|
|
155
|
+
def revision(self) -> pulumi.Input[builtins.int]:
|
|
155
156
|
"""
|
|
156
157
|
Revision indicates the revision of the state represented by Data.
|
|
157
158
|
"""
|
|
158
159
|
return pulumi.get(self, "revision")
|
|
159
160
|
|
|
160
161
|
@revision.setter
|
|
161
|
-
def revision(self, value: pulumi.Input[int]):
|
|
162
|
+
def revision(self, value: pulumi.Input[builtins.int]):
|
|
162
163
|
pulumi.set(self, "revision", value)
|
|
163
164
|
|
|
164
165
|
@property
|
|
165
166
|
@pulumi.getter(name="apiVersion")
|
|
166
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
167
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
167
168
|
"""
|
|
168
169
|
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
|
|
169
170
|
"""
|
|
170
171
|
return pulumi.get(self, "api_version")
|
|
171
172
|
|
|
172
173
|
@api_version.setter
|
|
173
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
174
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
174
175
|
pulumi.set(self, "api_version", value)
|
|
175
176
|
|
|
176
177
|
@property
|
|
@@ -187,14 +188,14 @@ class ControllerRevisionArgs:
|
|
|
187
188
|
|
|
188
189
|
@property
|
|
189
190
|
@pulumi.getter
|
|
190
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
191
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
191
192
|
"""
|
|
192
193
|
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
|
|
193
194
|
"""
|
|
194
195
|
return pulumi.get(self, "kind")
|
|
195
196
|
|
|
196
197
|
@kind.setter
|
|
197
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
198
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
198
199
|
pulumi.set(self, "kind", value)
|
|
199
200
|
|
|
200
201
|
@property
|
|
@@ -215,23 +216,23 @@ if not MYPY:
|
|
|
215
216
|
"""
|
|
216
217
|
DaemonSetCondition describes the state of a DaemonSet at a certain point.
|
|
217
218
|
"""
|
|
218
|
-
status: pulumi.Input[str]
|
|
219
|
+
status: pulumi.Input[builtins.str]
|
|
219
220
|
"""
|
|
220
221
|
Status of the condition, one of True, False, Unknown.
|
|
221
222
|
"""
|
|
222
|
-
type: pulumi.Input[str]
|
|
223
|
+
type: pulumi.Input[builtins.str]
|
|
223
224
|
"""
|
|
224
225
|
Type of DaemonSet condition.
|
|
225
226
|
"""
|
|
226
|
-
last_transition_time: NotRequired[pulumi.Input[str]]
|
|
227
|
+
last_transition_time: NotRequired[pulumi.Input[builtins.str]]
|
|
227
228
|
"""
|
|
228
229
|
Last time the condition transitioned from one status to another.
|
|
229
230
|
"""
|
|
230
|
-
message: NotRequired[pulumi.Input[str]]
|
|
231
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
231
232
|
"""
|
|
232
233
|
A human readable message indicating details about the transition.
|
|
233
234
|
"""
|
|
234
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
235
|
+
reason: NotRequired[pulumi.Input[builtins.str]]
|
|
235
236
|
"""
|
|
236
237
|
The reason for the condition's last transition.
|
|
237
238
|
"""
|
|
@@ -241,18 +242,18 @@ elif False:
|
|
|
241
242
|
@pulumi.input_type
|
|
242
243
|
class DaemonSetConditionArgs:
|
|
243
244
|
def __init__(__self__, *,
|
|
244
|
-
status: pulumi.Input[str],
|
|
245
|
-
type: pulumi.Input[str],
|
|
246
|
-
last_transition_time: Optional[pulumi.Input[str]] = None,
|
|
247
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
248
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
245
|
+
status: pulumi.Input[builtins.str],
|
|
246
|
+
type: pulumi.Input[builtins.str],
|
|
247
|
+
last_transition_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
248
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
249
|
+
reason: Optional[pulumi.Input[builtins.str]] = None):
|
|
249
250
|
"""
|
|
250
251
|
DaemonSetCondition describes the state of a DaemonSet at a certain point.
|
|
251
|
-
:param pulumi.Input[str] status: Status of the condition, one of True, False, Unknown.
|
|
252
|
-
:param pulumi.Input[str] type: Type of DaemonSet condition.
|
|
253
|
-
:param pulumi.Input[str] last_transition_time: Last time the condition transitioned from one status to another.
|
|
254
|
-
:param pulumi.Input[str] message: A human readable message indicating details about the transition.
|
|
255
|
-
:param pulumi.Input[str] reason: The reason for the condition's last transition.
|
|
252
|
+
:param pulumi.Input[builtins.str] status: Status of the condition, one of True, False, Unknown.
|
|
253
|
+
:param pulumi.Input[builtins.str] type: Type of DaemonSet condition.
|
|
254
|
+
:param pulumi.Input[builtins.str] last_transition_time: Last time the condition transitioned from one status to another.
|
|
255
|
+
:param pulumi.Input[builtins.str] message: A human readable message indicating details about the transition.
|
|
256
|
+
:param pulumi.Input[builtins.str] reason: The reason for the condition's last transition.
|
|
256
257
|
"""
|
|
257
258
|
pulumi.set(__self__, "status", status)
|
|
258
259
|
pulumi.set(__self__, "type", type)
|
|
@@ -265,62 +266,62 @@ class DaemonSetConditionArgs:
|
|
|
265
266
|
|
|
266
267
|
@property
|
|
267
268
|
@pulumi.getter
|
|
268
|
-
def status(self) -> pulumi.Input[str]:
|
|
269
|
+
def status(self) -> pulumi.Input[builtins.str]:
|
|
269
270
|
"""
|
|
270
271
|
Status of the condition, one of True, False, Unknown.
|
|
271
272
|
"""
|
|
272
273
|
return pulumi.get(self, "status")
|
|
273
274
|
|
|
274
275
|
@status.setter
|
|
275
|
-
def status(self, value: pulumi.Input[str]):
|
|
276
|
+
def status(self, value: pulumi.Input[builtins.str]):
|
|
276
277
|
pulumi.set(self, "status", value)
|
|
277
278
|
|
|
278
279
|
@property
|
|
279
280
|
@pulumi.getter
|
|
280
|
-
def type(self) -> pulumi.Input[str]:
|
|
281
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
281
282
|
"""
|
|
282
283
|
Type of DaemonSet condition.
|
|
283
284
|
"""
|
|
284
285
|
return pulumi.get(self, "type")
|
|
285
286
|
|
|
286
287
|
@type.setter
|
|
287
|
-
def type(self, value: pulumi.Input[str]):
|
|
288
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
288
289
|
pulumi.set(self, "type", value)
|
|
289
290
|
|
|
290
291
|
@property
|
|
291
292
|
@pulumi.getter(name="lastTransitionTime")
|
|
292
|
-
def last_transition_time(self) -> Optional[pulumi.Input[str]]:
|
|
293
|
+
def last_transition_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
293
294
|
"""
|
|
294
295
|
Last time the condition transitioned from one status to another.
|
|
295
296
|
"""
|
|
296
297
|
return pulumi.get(self, "last_transition_time")
|
|
297
298
|
|
|
298
299
|
@last_transition_time.setter
|
|
299
|
-
def last_transition_time(self, value: Optional[pulumi.Input[str]]):
|
|
300
|
+
def last_transition_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
300
301
|
pulumi.set(self, "last_transition_time", value)
|
|
301
302
|
|
|
302
303
|
@property
|
|
303
304
|
@pulumi.getter
|
|
304
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
305
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
305
306
|
"""
|
|
306
307
|
A human readable message indicating details about the transition.
|
|
307
308
|
"""
|
|
308
309
|
return pulumi.get(self, "message")
|
|
309
310
|
|
|
310
311
|
@message.setter
|
|
311
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
312
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
312
313
|
pulumi.set(self, "message", value)
|
|
313
314
|
|
|
314
315
|
@property
|
|
315
316
|
@pulumi.getter
|
|
316
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
317
|
+
def reason(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
317
318
|
"""
|
|
318
319
|
The reason for the condition's last transition.
|
|
319
320
|
"""
|
|
320
321
|
return pulumi.get(self, "reason")
|
|
321
322
|
|
|
322
323
|
@reason.setter
|
|
323
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
324
|
+
def reason(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
324
325
|
pulumi.set(self, "reason", value)
|
|
325
326
|
|
|
326
327
|
|
|
@@ -329,11 +330,11 @@ if not MYPY:
|
|
|
329
330
|
"""
|
|
330
331
|
DaemonSetSpec is the specification of a daemon set.
|
|
331
332
|
"""
|
|
332
|
-
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
333
|
+
min_ready_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
333
334
|
"""
|
|
334
335
|
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).
|
|
335
336
|
"""
|
|
336
|
-
revision_history_limit: NotRequired[pulumi.Input[int]]
|
|
337
|
+
revision_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
337
338
|
"""
|
|
338
339
|
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.
|
|
339
340
|
"""
|
|
@@ -355,15 +356,15 @@ elif False:
|
|
|
355
356
|
@pulumi.input_type
|
|
356
357
|
class DaemonSetSpecPatchArgs:
|
|
357
358
|
def __init__(__self__, *,
|
|
358
|
-
min_ready_seconds: Optional[pulumi.Input[int]] = None,
|
|
359
|
-
revision_history_limit: Optional[pulumi.Input[int]] = None,
|
|
359
|
+
min_ready_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
360
|
+
revision_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
360
361
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
361
362
|
template: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']] = None,
|
|
362
363
|
update_strategy: Optional[pulumi.Input['DaemonSetUpdateStrategyPatchArgs']] = None):
|
|
363
364
|
"""
|
|
364
365
|
DaemonSetSpec is the specification of a daemon set.
|
|
365
|
-
:param pulumi.Input[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[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.
|
|
366
|
+
: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).
|
|
367
|
+
: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.
|
|
367
368
|
: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
|
|
368
369
|
: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
|
|
369
370
|
:param pulumi.Input['DaemonSetUpdateStrategyPatchArgs'] update_strategy: An update strategy to replace existing DaemonSet pods with new pods.
|
|
@@ -381,26 +382,26 @@ class DaemonSetSpecPatchArgs:
|
|
|
381
382
|
|
|
382
383
|
@property
|
|
383
384
|
@pulumi.getter(name="minReadySeconds")
|
|
384
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
385
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
385
386
|
"""
|
|
386
387
|
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).
|
|
387
388
|
"""
|
|
388
389
|
return pulumi.get(self, "min_ready_seconds")
|
|
389
390
|
|
|
390
391
|
@min_ready_seconds.setter
|
|
391
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
392
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
392
393
|
pulumi.set(self, "min_ready_seconds", value)
|
|
393
394
|
|
|
394
395
|
@property
|
|
395
396
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
396
|
-
def revision_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
397
|
+
def revision_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
397
398
|
"""
|
|
398
399
|
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.
|
|
399
400
|
"""
|
|
400
401
|
return pulumi.get(self, "revision_history_limit")
|
|
401
402
|
|
|
402
403
|
@revision_history_limit.setter
|
|
403
|
-
def revision_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
404
|
+
def revision_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
404
405
|
pulumi.set(self, "revision_history_limit", value)
|
|
405
406
|
|
|
406
407
|
@property
|
|
@@ -453,11 +454,11 @@ if not MYPY:
|
|
|
453
454
|
"""
|
|
454
455
|
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
|
|
455
456
|
"""
|
|
456
|
-
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
457
|
+
min_ready_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
457
458
|
"""
|
|
458
459
|
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).
|
|
459
460
|
"""
|
|
460
|
-
revision_history_limit: NotRequired[pulumi.Input[int]]
|
|
461
|
+
revision_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
461
462
|
"""
|
|
462
463
|
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.
|
|
463
464
|
"""
|
|
@@ -473,15 +474,15 @@ class DaemonSetSpecArgs:
|
|
|
473
474
|
def __init__(__self__, *,
|
|
474
475
|
selector: pulumi.Input['_meta.v1.LabelSelectorArgs'],
|
|
475
476
|
template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
|
|
476
|
-
min_ready_seconds: Optional[pulumi.Input[int]] = None,
|
|
477
|
-
revision_history_limit: Optional[pulumi.Input[int]] = None,
|
|
477
|
+
min_ready_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
478
|
+
revision_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
478
479
|
update_strategy: Optional[pulumi.Input['DaemonSetUpdateStrategyArgs']] = None):
|
|
479
480
|
"""
|
|
480
481
|
DaemonSetSpec is the specification of a daemon set.
|
|
481
482
|
: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
|
|
482
483
|
: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
|
|
483
|
-
:param pulumi.Input[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[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.
|
|
484
|
+
: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).
|
|
485
|
+
: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.
|
|
485
486
|
:param pulumi.Input['DaemonSetUpdateStrategyArgs'] update_strategy: An update strategy to replace existing DaemonSet pods with new pods.
|
|
486
487
|
"""
|
|
487
488
|
pulumi.set(__self__, "selector", selector)
|
|
@@ -519,26 +520,26 @@ class DaemonSetSpecArgs:
|
|
|
519
520
|
|
|
520
521
|
@property
|
|
521
522
|
@pulumi.getter(name="minReadySeconds")
|
|
522
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
523
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
523
524
|
"""
|
|
524
525
|
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).
|
|
525
526
|
"""
|
|
526
527
|
return pulumi.get(self, "min_ready_seconds")
|
|
527
528
|
|
|
528
529
|
@min_ready_seconds.setter
|
|
529
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
530
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
530
531
|
pulumi.set(self, "min_ready_seconds", value)
|
|
531
532
|
|
|
532
533
|
@property
|
|
533
534
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
534
|
-
def revision_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
535
|
+
def revision_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
535
536
|
"""
|
|
536
537
|
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.
|
|
537
538
|
"""
|
|
538
539
|
return pulumi.get(self, "revision_history_limit")
|
|
539
540
|
|
|
540
541
|
@revision_history_limit.setter
|
|
541
|
-
def revision_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
542
|
+
def revision_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
542
543
|
pulumi.set(self, "revision_history_limit", value)
|
|
543
544
|
|
|
544
545
|
@property
|
|
@@ -559,23 +560,23 @@ if not MYPY:
|
|
|
559
560
|
"""
|
|
560
561
|
DaemonSetStatus represents the current status of a daemon set.
|
|
561
562
|
"""
|
|
562
|
-
current_number_scheduled: pulumi.Input[int]
|
|
563
|
+
current_number_scheduled: pulumi.Input[builtins.int]
|
|
563
564
|
"""
|
|
564
565
|
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/
|
|
565
566
|
"""
|
|
566
|
-
desired_number_scheduled: pulumi.Input[int]
|
|
567
|
+
desired_number_scheduled: pulumi.Input[builtins.int]
|
|
567
568
|
"""
|
|
568
569
|
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/
|
|
569
570
|
"""
|
|
570
|
-
number_misscheduled: pulumi.Input[int]
|
|
571
|
+
number_misscheduled: pulumi.Input[builtins.int]
|
|
571
572
|
"""
|
|
572
573
|
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/
|
|
573
574
|
"""
|
|
574
|
-
number_ready: pulumi.Input[int]
|
|
575
|
+
number_ready: pulumi.Input[builtins.int]
|
|
575
576
|
"""
|
|
576
577
|
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.
|
|
577
578
|
"""
|
|
578
|
-
collision_count: NotRequired[pulumi.Input[int]]
|
|
579
|
+
collision_count: NotRequired[pulumi.Input[builtins.int]]
|
|
579
580
|
"""
|
|
580
581
|
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.
|
|
581
582
|
"""
|
|
@@ -583,19 +584,19 @@ if not MYPY:
|
|
|
583
584
|
"""
|
|
584
585
|
Represents the latest available observations of a DaemonSet's current state.
|
|
585
586
|
"""
|
|
586
|
-
number_available: NotRequired[pulumi.Input[int]]
|
|
587
|
+
number_available: NotRequired[pulumi.Input[builtins.int]]
|
|
587
588
|
"""
|
|
588
589
|
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)
|
|
589
590
|
"""
|
|
590
|
-
number_unavailable: NotRequired[pulumi.Input[int]]
|
|
591
|
+
number_unavailable: NotRequired[pulumi.Input[builtins.int]]
|
|
591
592
|
"""
|
|
592
593
|
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)
|
|
593
594
|
"""
|
|
594
|
-
observed_generation: NotRequired[pulumi.Input[int]]
|
|
595
|
+
observed_generation: NotRequired[pulumi.Input[builtins.int]]
|
|
595
596
|
"""
|
|
596
597
|
The most recent generation observed by the daemon set controller.
|
|
597
598
|
"""
|
|
598
|
-
updated_number_scheduled: NotRequired[pulumi.Input[int]]
|
|
599
|
+
updated_number_scheduled: NotRequired[pulumi.Input[builtins.int]]
|
|
599
600
|
"""
|
|
600
601
|
The total number of nodes that are running updated daemon pod
|
|
601
602
|
"""
|
|
@@ -605,28 +606,28 @@ elif False:
|
|
|
605
606
|
@pulumi.input_type
|
|
606
607
|
class DaemonSetStatusArgs:
|
|
607
608
|
def __init__(__self__, *,
|
|
608
|
-
current_number_scheduled: pulumi.Input[int],
|
|
609
|
-
desired_number_scheduled: pulumi.Input[int],
|
|
610
|
-
number_misscheduled: pulumi.Input[int],
|
|
611
|
-
number_ready: pulumi.Input[int],
|
|
612
|
-
collision_count: Optional[pulumi.Input[int]] = None,
|
|
609
|
+
current_number_scheduled: pulumi.Input[builtins.int],
|
|
610
|
+
desired_number_scheduled: pulumi.Input[builtins.int],
|
|
611
|
+
number_misscheduled: pulumi.Input[builtins.int],
|
|
612
|
+
number_ready: pulumi.Input[builtins.int],
|
|
613
|
+
collision_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
613
614
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['DaemonSetConditionArgs']]]] = None,
|
|
614
|
-
number_available: Optional[pulumi.Input[int]] = None,
|
|
615
|
-
number_unavailable: Optional[pulumi.Input[int]] = None,
|
|
616
|
-
observed_generation: Optional[pulumi.Input[int]] = None,
|
|
617
|
-
updated_number_scheduled: Optional[pulumi.Input[int]] = None):
|
|
615
|
+
number_available: Optional[pulumi.Input[builtins.int]] = None,
|
|
616
|
+
number_unavailable: Optional[pulumi.Input[builtins.int]] = None,
|
|
617
|
+
observed_generation: Optional[pulumi.Input[builtins.int]] = None,
|
|
618
|
+
updated_number_scheduled: Optional[pulumi.Input[builtins.int]] = None):
|
|
618
619
|
"""
|
|
619
620
|
DaemonSetStatus represents the current status of a daemon set.
|
|
620
|
-
:param pulumi.Input[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[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[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[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[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.
|
|
621
|
+
: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/
|
|
622
|
+
: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/
|
|
623
|
+
: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/
|
|
624
|
+
: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.
|
|
625
|
+
: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.
|
|
625
626
|
:param pulumi.Input[Sequence[pulumi.Input['DaemonSetConditionArgs']]] conditions: Represents the latest available observations of a DaemonSet's current state.
|
|
626
|
-
:param pulumi.Input[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[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[int] observed_generation: The most recent generation observed by the daemon set controller.
|
|
629
|
-
:param pulumi.Input[int] updated_number_scheduled: The total number of nodes that are running updated daemon pod
|
|
627
|
+
: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)
|
|
628
|
+
: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)
|
|
629
|
+
:param pulumi.Input[builtins.int] observed_generation: The most recent generation observed by the daemon set controller.
|
|
630
|
+
:param pulumi.Input[builtins.int] updated_number_scheduled: The total number of nodes that are running updated daemon pod
|
|
630
631
|
"""
|
|
631
632
|
pulumi.set(__self__, "current_number_scheduled", current_number_scheduled)
|
|
632
633
|
pulumi.set(__self__, "desired_number_scheduled", desired_number_scheduled)
|
|
@@ -647,62 +648,62 @@ class DaemonSetStatusArgs:
|
|
|
647
648
|
|
|
648
649
|
@property
|
|
649
650
|
@pulumi.getter(name="currentNumberScheduled")
|
|
650
|
-
def current_number_scheduled(self) -> pulumi.Input[int]:
|
|
651
|
+
def current_number_scheduled(self) -> pulumi.Input[builtins.int]:
|
|
651
652
|
"""
|
|
652
653
|
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/
|
|
653
654
|
"""
|
|
654
655
|
return pulumi.get(self, "current_number_scheduled")
|
|
655
656
|
|
|
656
657
|
@current_number_scheduled.setter
|
|
657
|
-
def current_number_scheduled(self, value: pulumi.Input[int]):
|
|
658
|
+
def current_number_scheduled(self, value: pulumi.Input[builtins.int]):
|
|
658
659
|
pulumi.set(self, "current_number_scheduled", value)
|
|
659
660
|
|
|
660
661
|
@property
|
|
661
662
|
@pulumi.getter(name="desiredNumberScheduled")
|
|
662
|
-
def desired_number_scheduled(self) -> pulumi.Input[int]:
|
|
663
|
+
def desired_number_scheduled(self) -> pulumi.Input[builtins.int]:
|
|
663
664
|
"""
|
|
664
665
|
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/
|
|
665
666
|
"""
|
|
666
667
|
return pulumi.get(self, "desired_number_scheduled")
|
|
667
668
|
|
|
668
669
|
@desired_number_scheduled.setter
|
|
669
|
-
def desired_number_scheduled(self, value: pulumi.Input[int]):
|
|
670
|
+
def desired_number_scheduled(self, value: pulumi.Input[builtins.int]):
|
|
670
671
|
pulumi.set(self, "desired_number_scheduled", value)
|
|
671
672
|
|
|
672
673
|
@property
|
|
673
674
|
@pulumi.getter(name="numberMisscheduled")
|
|
674
|
-
def number_misscheduled(self) -> pulumi.Input[int]:
|
|
675
|
+
def number_misscheduled(self) -> pulumi.Input[builtins.int]:
|
|
675
676
|
"""
|
|
676
677
|
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/
|
|
677
678
|
"""
|
|
678
679
|
return pulumi.get(self, "number_misscheduled")
|
|
679
680
|
|
|
680
681
|
@number_misscheduled.setter
|
|
681
|
-
def number_misscheduled(self, value: pulumi.Input[int]):
|
|
682
|
+
def number_misscheduled(self, value: pulumi.Input[builtins.int]):
|
|
682
683
|
pulumi.set(self, "number_misscheduled", value)
|
|
683
684
|
|
|
684
685
|
@property
|
|
685
686
|
@pulumi.getter(name="numberReady")
|
|
686
|
-
def number_ready(self) -> pulumi.Input[int]:
|
|
687
|
+
def number_ready(self) -> pulumi.Input[builtins.int]:
|
|
687
688
|
"""
|
|
688
689
|
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.
|
|
689
690
|
"""
|
|
690
691
|
return pulumi.get(self, "number_ready")
|
|
691
692
|
|
|
692
693
|
@number_ready.setter
|
|
693
|
-
def number_ready(self, value: pulumi.Input[int]):
|
|
694
|
+
def number_ready(self, value: pulumi.Input[builtins.int]):
|
|
694
695
|
pulumi.set(self, "number_ready", value)
|
|
695
696
|
|
|
696
697
|
@property
|
|
697
698
|
@pulumi.getter(name="collisionCount")
|
|
698
|
-
def collision_count(self) -> Optional[pulumi.Input[int]]:
|
|
699
|
+
def collision_count(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
699
700
|
"""
|
|
700
701
|
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.
|
|
701
702
|
"""
|
|
702
703
|
return pulumi.get(self, "collision_count")
|
|
703
704
|
|
|
704
705
|
@collision_count.setter
|
|
705
|
-
def collision_count(self, value: Optional[pulumi.Input[int]]):
|
|
706
|
+
def collision_count(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
706
707
|
pulumi.set(self, "collision_count", value)
|
|
707
708
|
|
|
708
709
|
@property
|
|
@@ -719,50 +720,50 @@ class DaemonSetStatusArgs:
|
|
|
719
720
|
|
|
720
721
|
@property
|
|
721
722
|
@pulumi.getter(name="numberAvailable")
|
|
722
|
-
def number_available(self) -> Optional[pulumi.Input[int]]:
|
|
723
|
+
def number_available(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
723
724
|
"""
|
|
724
725
|
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)
|
|
725
726
|
"""
|
|
726
727
|
return pulumi.get(self, "number_available")
|
|
727
728
|
|
|
728
729
|
@number_available.setter
|
|
729
|
-
def number_available(self, value: Optional[pulumi.Input[int]]):
|
|
730
|
+
def number_available(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
730
731
|
pulumi.set(self, "number_available", value)
|
|
731
732
|
|
|
732
733
|
@property
|
|
733
734
|
@pulumi.getter(name="numberUnavailable")
|
|
734
|
-
def number_unavailable(self) -> Optional[pulumi.Input[int]]:
|
|
735
|
+
def number_unavailable(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
735
736
|
"""
|
|
736
737
|
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)
|
|
737
738
|
"""
|
|
738
739
|
return pulumi.get(self, "number_unavailable")
|
|
739
740
|
|
|
740
741
|
@number_unavailable.setter
|
|
741
|
-
def number_unavailable(self, value: Optional[pulumi.Input[int]]):
|
|
742
|
+
def number_unavailable(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
742
743
|
pulumi.set(self, "number_unavailable", value)
|
|
743
744
|
|
|
744
745
|
@property
|
|
745
746
|
@pulumi.getter(name="observedGeneration")
|
|
746
|
-
def observed_generation(self) -> Optional[pulumi.Input[int]]:
|
|
747
|
+
def observed_generation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
747
748
|
"""
|
|
748
749
|
The most recent generation observed by the daemon set controller.
|
|
749
750
|
"""
|
|
750
751
|
return pulumi.get(self, "observed_generation")
|
|
751
752
|
|
|
752
753
|
@observed_generation.setter
|
|
753
|
-
def observed_generation(self, value: Optional[pulumi.Input[int]]):
|
|
754
|
+
def observed_generation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
754
755
|
pulumi.set(self, "observed_generation", value)
|
|
755
756
|
|
|
756
757
|
@property
|
|
757
758
|
@pulumi.getter(name="updatedNumberScheduled")
|
|
758
|
-
def updated_number_scheduled(self) -> Optional[pulumi.Input[int]]:
|
|
759
|
+
def updated_number_scheduled(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
759
760
|
"""
|
|
760
761
|
The total number of nodes that are running updated daemon pod
|
|
761
762
|
"""
|
|
762
763
|
return pulumi.get(self, "updated_number_scheduled")
|
|
763
764
|
|
|
764
765
|
@updated_number_scheduled.setter
|
|
765
|
-
def updated_number_scheduled(self, value: Optional[pulumi.Input[int]]):
|
|
766
|
+
def updated_number_scheduled(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
766
767
|
pulumi.set(self, "updated_number_scheduled", value)
|
|
767
768
|
|
|
768
769
|
|
|
@@ -775,7 +776,7 @@ if not MYPY:
|
|
|
775
776
|
"""
|
|
776
777
|
Rolling update config params. Present only if type = "RollingUpdate".
|
|
777
778
|
"""
|
|
778
|
-
type: NotRequired[pulumi.Input[str]]
|
|
779
|
+
type: NotRequired[pulumi.Input[builtins.str]]
|
|
779
780
|
"""
|
|
780
781
|
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
781
782
|
"""
|
|
@@ -786,11 +787,11 @@ elif False:
|
|
|
786
787
|
class DaemonSetUpdateStrategyPatchArgs:
|
|
787
788
|
def __init__(__self__, *,
|
|
788
789
|
rolling_update: Optional[pulumi.Input['RollingUpdateDaemonSetPatchArgs']] = None,
|
|
789
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
790
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
790
791
|
"""
|
|
791
792
|
DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
|
|
792
793
|
:param pulumi.Input['RollingUpdateDaemonSetPatchArgs'] rolling_update: Rolling update config params. Present only if type = "RollingUpdate".
|
|
793
|
-
:param pulumi.Input[str] type: Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
794
|
+
:param pulumi.Input[builtins.str] type: Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
794
795
|
"""
|
|
795
796
|
if rolling_update is not None:
|
|
796
797
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
@@ -811,14 +812,14 @@ class DaemonSetUpdateStrategyPatchArgs:
|
|
|
811
812
|
|
|
812
813
|
@property
|
|
813
814
|
@pulumi.getter
|
|
814
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
815
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
815
816
|
"""
|
|
816
817
|
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
817
818
|
"""
|
|
818
819
|
return pulumi.get(self, "type")
|
|
819
820
|
|
|
820
821
|
@type.setter
|
|
821
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
822
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
822
823
|
pulumi.set(self, "type", value)
|
|
823
824
|
|
|
824
825
|
|
|
@@ -831,7 +832,7 @@ if not MYPY:
|
|
|
831
832
|
"""
|
|
832
833
|
Rolling update config params. Present only if type = "RollingUpdate".
|
|
833
834
|
"""
|
|
834
|
-
type: NotRequired[pulumi.Input[str]]
|
|
835
|
+
type: NotRequired[pulumi.Input[builtins.str]]
|
|
835
836
|
"""
|
|
836
837
|
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
837
838
|
"""
|
|
@@ -842,11 +843,11 @@ elif False:
|
|
|
842
843
|
class DaemonSetUpdateStrategyArgs:
|
|
843
844
|
def __init__(__self__, *,
|
|
844
845
|
rolling_update: Optional[pulumi.Input['RollingUpdateDaemonSetArgs']] = None,
|
|
845
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
846
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
846
847
|
"""
|
|
847
848
|
DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
|
|
848
849
|
:param pulumi.Input['RollingUpdateDaemonSetArgs'] rolling_update: Rolling update config params. Present only if type = "RollingUpdate".
|
|
849
|
-
:param pulumi.Input[str] type: Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
850
|
+
:param pulumi.Input[builtins.str] type: Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
850
851
|
"""
|
|
851
852
|
if rolling_update is not None:
|
|
852
853
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
@@ -867,14 +868,14 @@ class DaemonSetUpdateStrategyArgs:
|
|
|
867
868
|
|
|
868
869
|
@property
|
|
869
870
|
@pulumi.getter
|
|
870
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
871
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
871
872
|
"""
|
|
872
873
|
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
873
874
|
"""
|
|
874
875
|
return pulumi.get(self, "type")
|
|
875
876
|
|
|
876
877
|
@type.setter
|
|
877
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
878
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
878
879
|
pulumi.set(self, "type", value)
|
|
879
880
|
|
|
880
881
|
|
|
@@ -883,11 +884,11 @@ if not MYPY:
|
|
|
883
884
|
"""
|
|
884
885
|
DaemonSet represents the configuration of a daemon set.
|
|
885
886
|
"""
|
|
886
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
887
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
887
888
|
"""
|
|
888
889
|
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
|
|
889
890
|
"""
|
|
890
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
891
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
891
892
|
"""
|
|
892
893
|
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
|
|
893
894
|
"""
|
|
@@ -909,15 +910,15 @@ elif False:
|
|
|
909
910
|
@pulumi.input_type
|
|
910
911
|
class DaemonSetArgs:
|
|
911
912
|
def __init__(__self__, *,
|
|
912
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
913
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
913
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
914
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
914
915
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
915
916
|
spec: Optional[pulumi.Input['DaemonSetSpecArgs']] = None,
|
|
916
917
|
status: Optional[pulumi.Input['DaemonSetStatusArgs']] = None):
|
|
917
918
|
"""
|
|
918
919
|
DaemonSet represents the configuration of a daemon set.
|
|
919
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
920
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
920
|
+
: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
|
|
921
|
+
: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
|
|
921
922
|
: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
|
|
922
923
|
: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
|
|
923
924
|
: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
|
|
@@ -935,26 +936,26 @@ class DaemonSetArgs:
|
|
|
935
936
|
|
|
936
937
|
@property
|
|
937
938
|
@pulumi.getter(name="apiVersion")
|
|
938
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
939
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
939
940
|
"""
|
|
940
941
|
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
|
|
941
942
|
"""
|
|
942
943
|
return pulumi.get(self, "api_version")
|
|
943
944
|
|
|
944
945
|
@api_version.setter
|
|
945
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
946
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
946
947
|
pulumi.set(self, "api_version", value)
|
|
947
948
|
|
|
948
949
|
@property
|
|
949
950
|
@pulumi.getter
|
|
950
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
951
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
951
952
|
"""
|
|
952
953
|
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
|
|
953
954
|
"""
|
|
954
955
|
return pulumi.get(self, "kind")
|
|
955
956
|
|
|
956
957
|
@kind.setter
|
|
957
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
958
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
958
959
|
pulumi.set(self, "kind", value)
|
|
959
960
|
|
|
960
961
|
@property
|
|
@@ -999,27 +1000,27 @@ if not MYPY:
|
|
|
999
1000
|
"""
|
|
1000
1001
|
DeploymentCondition describes the state of a deployment at a certain point.
|
|
1001
1002
|
"""
|
|
1002
|
-
status: pulumi.Input[str]
|
|
1003
|
+
status: pulumi.Input[builtins.str]
|
|
1003
1004
|
"""
|
|
1004
1005
|
Status of the condition, one of True, False, Unknown.
|
|
1005
1006
|
"""
|
|
1006
|
-
type: pulumi.Input[str]
|
|
1007
|
+
type: pulumi.Input[builtins.str]
|
|
1007
1008
|
"""
|
|
1008
1009
|
Type of deployment condition.
|
|
1009
1010
|
"""
|
|
1010
|
-
last_transition_time: NotRequired[pulumi.Input[str]]
|
|
1011
|
+
last_transition_time: NotRequired[pulumi.Input[builtins.str]]
|
|
1011
1012
|
"""
|
|
1012
1013
|
Last time the condition transitioned from one status to another.
|
|
1013
1014
|
"""
|
|
1014
|
-
last_update_time: NotRequired[pulumi.Input[str]]
|
|
1015
|
+
last_update_time: NotRequired[pulumi.Input[builtins.str]]
|
|
1015
1016
|
"""
|
|
1016
1017
|
The last time this condition was updated.
|
|
1017
1018
|
"""
|
|
1018
|
-
message: NotRequired[pulumi.Input[str]]
|
|
1019
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
1019
1020
|
"""
|
|
1020
1021
|
A human readable message indicating details about the transition.
|
|
1021
1022
|
"""
|
|
1022
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
1023
|
+
reason: NotRequired[pulumi.Input[builtins.str]]
|
|
1023
1024
|
"""
|
|
1024
1025
|
The reason for the condition's last transition.
|
|
1025
1026
|
"""
|
|
@@ -1029,20 +1030,20 @@ elif False:
|
|
|
1029
1030
|
@pulumi.input_type
|
|
1030
1031
|
class DeploymentConditionArgs:
|
|
1031
1032
|
def __init__(__self__, *,
|
|
1032
|
-
status: pulumi.Input[str],
|
|
1033
|
-
type: pulumi.Input[str],
|
|
1034
|
-
last_transition_time: Optional[pulumi.Input[str]] = None,
|
|
1035
|
-
last_update_time: Optional[pulumi.Input[str]] = None,
|
|
1036
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
1037
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
1033
|
+
status: pulumi.Input[builtins.str],
|
|
1034
|
+
type: pulumi.Input[builtins.str],
|
|
1035
|
+
last_transition_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1036
|
+
last_update_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1037
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
1038
|
+
reason: Optional[pulumi.Input[builtins.str]] = None):
|
|
1038
1039
|
"""
|
|
1039
1040
|
DeploymentCondition describes the state of a deployment at a certain point.
|
|
1040
|
-
:param pulumi.Input[str] status: Status of the condition, one of True, False, Unknown.
|
|
1041
|
-
:param pulumi.Input[str] type: Type of deployment condition.
|
|
1042
|
-
:param pulumi.Input[str] last_transition_time: Last time the condition transitioned from one status to another.
|
|
1043
|
-
:param pulumi.Input[str] last_update_time: The last time this condition was updated.
|
|
1044
|
-
:param pulumi.Input[str] message: A human readable message indicating details about the transition.
|
|
1045
|
-
:param pulumi.Input[str] reason: The reason for the condition's last transition.
|
|
1041
|
+
:param pulumi.Input[builtins.str] status: Status of the condition, one of True, False, Unknown.
|
|
1042
|
+
:param pulumi.Input[builtins.str] type: Type of deployment condition.
|
|
1043
|
+
:param pulumi.Input[builtins.str] last_transition_time: Last time the condition transitioned from one status to another.
|
|
1044
|
+
:param pulumi.Input[builtins.str] last_update_time: The last time this condition was updated.
|
|
1045
|
+
:param pulumi.Input[builtins.str] message: A human readable message indicating details about the transition.
|
|
1046
|
+
:param pulumi.Input[builtins.str] reason: The reason for the condition's last transition.
|
|
1046
1047
|
"""
|
|
1047
1048
|
pulumi.set(__self__, "status", status)
|
|
1048
1049
|
pulumi.set(__self__, "type", type)
|
|
@@ -1057,74 +1058,74 @@ class DeploymentConditionArgs:
|
|
|
1057
1058
|
|
|
1058
1059
|
@property
|
|
1059
1060
|
@pulumi.getter
|
|
1060
|
-
def status(self) -> pulumi.Input[str]:
|
|
1061
|
+
def status(self) -> pulumi.Input[builtins.str]:
|
|
1061
1062
|
"""
|
|
1062
1063
|
Status of the condition, one of True, False, Unknown.
|
|
1063
1064
|
"""
|
|
1064
1065
|
return pulumi.get(self, "status")
|
|
1065
1066
|
|
|
1066
1067
|
@status.setter
|
|
1067
|
-
def status(self, value: pulumi.Input[str]):
|
|
1068
|
+
def status(self, value: pulumi.Input[builtins.str]):
|
|
1068
1069
|
pulumi.set(self, "status", value)
|
|
1069
1070
|
|
|
1070
1071
|
@property
|
|
1071
1072
|
@pulumi.getter
|
|
1072
|
-
def type(self) -> pulumi.Input[str]:
|
|
1073
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
1073
1074
|
"""
|
|
1074
1075
|
Type of deployment condition.
|
|
1075
1076
|
"""
|
|
1076
1077
|
return pulumi.get(self, "type")
|
|
1077
1078
|
|
|
1078
1079
|
@type.setter
|
|
1079
|
-
def type(self, value: pulumi.Input[str]):
|
|
1080
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
1080
1081
|
pulumi.set(self, "type", value)
|
|
1081
1082
|
|
|
1082
1083
|
@property
|
|
1083
1084
|
@pulumi.getter(name="lastTransitionTime")
|
|
1084
|
-
def last_transition_time(self) -> Optional[pulumi.Input[str]]:
|
|
1085
|
+
def last_transition_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1085
1086
|
"""
|
|
1086
1087
|
Last time the condition transitioned from one status to another.
|
|
1087
1088
|
"""
|
|
1088
1089
|
return pulumi.get(self, "last_transition_time")
|
|
1089
1090
|
|
|
1090
1091
|
@last_transition_time.setter
|
|
1091
|
-
def last_transition_time(self, value: Optional[pulumi.Input[str]]):
|
|
1092
|
+
def last_transition_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1092
1093
|
pulumi.set(self, "last_transition_time", value)
|
|
1093
1094
|
|
|
1094
1095
|
@property
|
|
1095
1096
|
@pulumi.getter(name="lastUpdateTime")
|
|
1096
|
-
def last_update_time(self) -> Optional[pulumi.Input[str]]:
|
|
1097
|
+
def last_update_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1097
1098
|
"""
|
|
1098
1099
|
The last time this condition was updated.
|
|
1099
1100
|
"""
|
|
1100
1101
|
return pulumi.get(self, "last_update_time")
|
|
1101
1102
|
|
|
1102
1103
|
@last_update_time.setter
|
|
1103
|
-
def last_update_time(self, value: Optional[pulumi.Input[str]]):
|
|
1104
|
+
def last_update_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1104
1105
|
pulumi.set(self, "last_update_time", value)
|
|
1105
1106
|
|
|
1106
1107
|
@property
|
|
1107
1108
|
@pulumi.getter
|
|
1108
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
1109
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1109
1110
|
"""
|
|
1110
1111
|
A human readable message indicating details about the transition.
|
|
1111
1112
|
"""
|
|
1112
1113
|
return pulumi.get(self, "message")
|
|
1113
1114
|
|
|
1114
1115
|
@message.setter
|
|
1115
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
1116
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1116
1117
|
pulumi.set(self, "message", value)
|
|
1117
1118
|
|
|
1118
1119
|
@property
|
|
1119
1120
|
@pulumi.getter
|
|
1120
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
1121
|
+
def reason(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1121
1122
|
"""
|
|
1122
1123
|
The reason for the condition's last transition.
|
|
1123
1124
|
"""
|
|
1124
1125
|
return pulumi.get(self, "reason")
|
|
1125
1126
|
|
|
1126
1127
|
@reason.setter
|
|
1127
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
1128
|
+
def reason(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1128
1129
|
pulumi.set(self, "reason", value)
|
|
1129
1130
|
|
|
1130
1131
|
|
|
@@ -1133,23 +1134,23 @@ if not MYPY:
|
|
|
1133
1134
|
"""
|
|
1134
1135
|
DeploymentSpec is the specification of the desired behavior of the Deployment.
|
|
1135
1136
|
"""
|
|
1136
|
-
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
1137
|
+
min_ready_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
1137
1138
|
"""
|
|
1138
1139
|
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)
|
|
1139
1140
|
"""
|
|
1140
|
-
paused: NotRequired[pulumi.Input[bool]]
|
|
1141
|
+
paused: NotRequired[pulumi.Input[builtins.bool]]
|
|
1141
1142
|
"""
|
|
1142
1143
|
Indicates that the deployment is paused.
|
|
1143
1144
|
"""
|
|
1144
|
-
progress_deadline_seconds: NotRequired[pulumi.Input[int]]
|
|
1145
|
+
progress_deadline_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
1145
1146
|
"""
|
|
1146
1147
|
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.
|
|
1147
1148
|
"""
|
|
1148
|
-
replicas: NotRequired[pulumi.Input[int]]
|
|
1149
|
+
replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1149
1150
|
"""
|
|
1150
1151
|
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1151
1152
|
"""
|
|
1152
|
-
revision_history_limit: NotRequired[pulumi.Input[int]]
|
|
1153
|
+
revision_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
1153
1154
|
"""
|
|
1154
1155
|
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.
|
|
1155
1156
|
"""
|
|
@@ -1171,21 +1172,21 @@ elif False:
|
|
|
1171
1172
|
@pulumi.input_type
|
|
1172
1173
|
class DeploymentSpecPatchArgs:
|
|
1173
1174
|
def __init__(__self__, *,
|
|
1174
|
-
min_ready_seconds: Optional[pulumi.Input[int]] = None,
|
|
1175
|
-
paused: Optional[pulumi.Input[bool]] = None,
|
|
1176
|
-
progress_deadline_seconds: Optional[pulumi.Input[int]] = None,
|
|
1177
|
-
replicas: Optional[pulumi.Input[int]] = None,
|
|
1178
|
-
revision_history_limit: Optional[pulumi.Input[int]] = None,
|
|
1175
|
+
min_ready_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
1176
|
+
paused: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1177
|
+
progress_deadline_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
1178
|
+
replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1179
|
+
revision_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
1179
1180
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
1180
1181
|
strategy: Optional[pulumi.Input['DeploymentStrategyPatchArgs']] = None,
|
|
1181
1182
|
template: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']] = None):
|
|
1182
1183
|
"""
|
|
1183
1184
|
DeploymentSpec is the specification of the desired behavior of the Deployment.
|
|
1184
|
-
:param pulumi.Input[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[bool] paused: Indicates that the deployment is paused.
|
|
1186
|
-
:param pulumi.Input[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[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[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.
|
|
1185
|
+
: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)
|
|
1186
|
+
:param pulumi.Input[builtins.bool] paused: Indicates that the deployment is paused.
|
|
1187
|
+
: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.
|
|
1188
|
+
: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.
|
|
1189
|
+
: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.
|
|
1189
1190
|
: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.
|
|
1190
1191
|
:param pulumi.Input['DeploymentStrategyPatchArgs'] strategy: The deployment strategy to use to replace existing pods with new ones.
|
|
1191
1192
|
:param pulumi.Input['_core.v1.PodTemplateSpecPatchArgs'] template: Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is "Always".
|
|
@@ -1209,62 +1210,62 @@ class DeploymentSpecPatchArgs:
|
|
|
1209
1210
|
|
|
1210
1211
|
@property
|
|
1211
1212
|
@pulumi.getter(name="minReadySeconds")
|
|
1212
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1213
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1213
1214
|
"""
|
|
1214
1215
|
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)
|
|
1215
1216
|
"""
|
|
1216
1217
|
return pulumi.get(self, "min_ready_seconds")
|
|
1217
1218
|
|
|
1218
1219
|
@min_ready_seconds.setter
|
|
1219
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1220
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1220
1221
|
pulumi.set(self, "min_ready_seconds", value)
|
|
1221
1222
|
|
|
1222
1223
|
@property
|
|
1223
1224
|
@pulumi.getter
|
|
1224
|
-
def paused(self) -> Optional[pulumi.Input[bool]]:
|
|
1225
|
+
def paused(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1225
1226
|
"""
|
|
1226
1227
|
Indicates that the deployment is paused.
|
|
1227
1228
|
"""
|
|
1228
1229
|
return pulumi.get(self, "paused")
|
|
1229
1230
|
|
|
1230
1231
|
@paused.setter
|
|
1231
|
-
def paused(self, value: Optional[pulumi.Input[bool]]):
|
|
1232
|
+
def paused(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1232
1233
|
pulumi.set(self, "paused", value)
|
|
1233
1234
|
|
|
1234
1235
|
@property
|
|
1235
1236
|
@pulumi.getter(name="progressDeadlineSeconds")
|
|
1236
|
-
def progress_deadline_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1237
|
+
def progress_deadline_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1237
1238
|
"""
|
|
1238
1239
|
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.
|
|
1239
1240
|
"""
|
|
1240
1241
|
return pulumi.get(self, "progress_deadline_seconds")
|
|
1241
1242
|
|
|
1242
1243
|
@progress_deadline_seconds.setter
|
|
1243
|
-
def progress_deadline_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1244
|
+
def progress_deadline_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1244
1245
|
pulumi.set(self, "progress_deadline_seconds", value)
|
|
1245
1246
|
|
|
1246
1247
|
@property
|
|
1247
1248
|
@pulumi.getter
|
|
1248
|
-
def replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1249
|
+
def replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1249
1250
|
"""
|
|
1250
1251
|
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1251
1252
|
"""
|
|
1252
1253
|
return pulumi.get(self, "replicas")
|
|
1253
1254
|
|
|
1254
1255
|
@replicas.setter
|
|
1255
|
-
def replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1256
|
+
def replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1256
1257
|
pulumi.set(self, "replicas", value)
|
|
1257
1258
|
|
|
1258
1259
|
@property
|
|
1259
1260
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
1260
|
-
def revision_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1261
|
+
def revision_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1261
1262
|
"""
|
|
1262
1263
|
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.
|
|
1263
1264
|
"""
|
|
1264
1265
|
return pulumi.get(self, "revision_history_limit")
|
|
1265
1266
|
|
|
1266
1267
|
@revision_history_limit.setter
|
|
1267
|
-
def revision_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
1268
|
+
def revision_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1268
1269
|
pulumi.set(self, "revision_history_limit", value)
|
|
1269
1270
|
|
|
1270
1271
|
@property
|
|
@@ -1317,23 +1318,23 @@ if not MYPY:
|
|
|
1317
1318
|
"""
|
|
1318
1319
|
Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is "Always".
|
|
1319
1320
|
"""
|
|
1320
|
-
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
1321
|
+
min_ready_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
1321
1322
|
"""
|
|
1322
1323
|
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)
|
|
1323
1324
|
"""
|
|
1324
|
-
paused: NotRequired[pulumi.Input[bool]]
|
|
1325
|
+
paused: NotRequired[pulumi.Input[builtins.bool]]
|
|
1325
1326
|
"""
|
|
1326
1327
|
Indicates that the deployment is paused.
|
|
1327
1328
|
"""
|
|
1328
|
-
progress_deadline_seconds: NotRequired[pulumi.Input[int]]
|
|
1329
|
+
progress_deadline_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
1329
1330
|
"""
|
|
1330
1331
|
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.
|
|
1331
1332
|
"""
|
|
1332
|
-
replicas: NotRequired[pulumi.Input[int]]
|
|
1333
|
+
replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1333
1334
|
"""
|
|
1334
1335
|
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1335
1336
|
"""
|
|
1336
|
-
revision_history_limit: NotRequired[pulumi.Input[int]]
|
|
1337
|
+
revision_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
1337
1338
|
"""
|
|
1338
1339
|
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.
|
|
1339
1340
|
"""
|
|
@@ -1349,21 +1350,21 @@ class DeploymentSpecArgs:
|
|
|
1349
1350
|
def __init__(__self__, *,
|
|
1350
1351
|
selector: pulumi.Input['_meta.v1.LabelSelectorArgs'],
|
|
1351
1352
|
template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
|
|
1352
|
-
min_ready_seconds: Optional[pulumi.Input[int]] = None,
|
|
1353
|
-
paused: Optional[pulumi.Input[bool]] = None,
|
|
1354
|
-
progress_deadline_seconds: Optional[pulumi.Input[int]] = None,
|
|
1355
|
-
replicas: Optional[pulumi.Input[int]] = None,
|
|
1356
|
-
revision_history_limit: Optional[pulumi.Input[int]] = None,
|
|
1353
|
+
min_ready_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
1354
|
+
paused: Optional[pulumi.Input[builtins.bool]] = None,
|
|
1355
|
+
progress_deadline_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
1356
|
+
replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1357
|
+
revision_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
1357
1358
|
strategy: Optional[pulumi.Input['DeploymentStrategyArgs']] = None):
|
|
1358
1359
|
"""
|
|
1359
1360
|
DeploymentSpec is the specification of the desired behavior of the Deployment.
|
|
1360
1361
|
: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.
|
|
1361
1362
|
:param pulumi.Input['_core.v1.PodTemplateSpecArgs'] template: Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is "Always".
|
|
1362
|
-
:param pulumi.Input[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[bool] paused: Indicates that the deployment is paused.
|
|
1364
|
-
:param pulumi.Input[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[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[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.
|
|
1363
|
+
: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)
|
|
1364
|
+
:param pulumi.Input[builtins.bool] paused: Indicates that the deployment is paused.
|
|
1365
|
+
: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.
|
|
1366
|
+
: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.
|
|
1367
|
+
: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.
|
|
1367
1368
|
:param pulumi.Input['DeploymentStrategyArgs'] strategy: The deployment strategy to use to replace existing pods with new ones.
|
|
1368
1369
|
"""
|
|
1369
1370
|
pulumi.set(__self__, "selector", selector)
|
|
@@ -1407,62 +1408,62 @@ class DeploymentSpecArgs:
|
|
|
1407
1408
|
|
|
1408
1409
|
@property
|
|
1409
1410
|
@pulumi.getter(name="minReadySeconds")
|
|
1410
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1411
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1411
1412
|
"""
|
|
1412
1413
|
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)
|
|
1413
1414
|
"""
|
|
1414
1415
|
return pulumi.get(self, "min_ready_seconds")
|
|
1415
1416
|
|
|
1416
1417
|
@min_ready_seconds.setter
|
|
1417
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1418
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1418
1419
|
pulumi.set(self, "min_ready_seconds", value)
|
|
1419
1420
|
|
|
1420
1421
|
@property
|
|
1421
1422
|
@pulumi.getter
|
|
1422
|
-
def paused(self) -> Optional[pulumi.Input[bool]]:
|
|
1423
|
+
def paused(self) -> Optional[pulumi.Input[builtins.bool]]:
|
|
1423
1424
|
"""
|
|
1424
1425
|
Indicates that the deployment is paused.
|
|
1425
1426
|
"""
|
|
1426
1427
|
return pulumi.get(self, "paused")
|
|
1427
1428
|
|
|
1428
1429
|
@paused.setter
|
|
1429
|
-
def paused(self, value: Optional[pulumi.Input[bool]]):
|
|
1430
|
+
def paused(self, value: Optional[pulumi.Input[builtins.bool]]):
|
|
1430
1431
|
pulumi.set(self, "paused", value)
|
|
1431
1432
|
|
|
1432
1433
|
@property
|
|
1433
1434
|
@pulumi.getter(name="progressDeadlineSeconds")
|
|
1434
|
-
def progress_deadline_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
1435
|
+
def progress_deadline_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1435
1436
|
"""
|
|
1436
1437
|
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.
|
|
1437
1438
|
"""
|
|
1438
1439
|
return pulumi.get(self, "progress_deadline_seconds")
|
|
1439
1440
|
|
|
1440
1441
|
@progress_deadline_seconds.setter
|
|
1441
|
-
def progress_deadline_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
1442
|
+
def progress_deadline_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1442
1443
|
pulumi.set(self, "progress_deadline_seconds", value)
|
|
1443
1444
|
|
|
1444
1445
|
@property
|
|
1445
1446
|
@pulumi.getter
|
|
1446
|
-
def replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1447
|
+
def replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1447
1448
|
"""
|
|
1448
1449
|
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1449
1450
|
"""
|
|
1450
1451
|
return pulumi.get(self, "replicas")
|
|
1451
1452
|
|
|
1452
1453
|
@replicas.setter
|
|
1453
|
-
def replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1454
|
+
def replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1454
1455
|
pulumi.set(self, "replicas", value)
|
|
1455
1456
|
|
|
1456
1457
|
@property
|
|
1457
1458
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
1458
|
-
def revision_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
1459
|
+
def revision_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1459
1460
|
"""
|
|
1460
1461
|
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.
|
|
1461
1462
|
"""
|
|
1462
1463
|
return pulumi.get(self, "revision_history_limit")
|
|
1463
1464
|
|
|
1464
1465
|
@revision_history_limit.setter
|
|
1465
|
-
def revision_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
1466
|
+
def revision_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1466
1467
|
pulumi.set(self, "revision_history_limit", value)
|
|
1467
1468
|
|
|
1468
1469
|
@property
|
|
@@ -1483,11 +1484,11 @@ if not MYPY:
|
|
|
1483
1484
|
"""
|
|
1484
1485
|
DeploymentStatus is the most recently observed status of the Deployment.
|
|
1485
1486
|
"""
|
|
1486
|
-
available_replicas: NotRequired[pulumi.Input[int]]
|
|
1487
|
+
available_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1487
1488
|
"""
|
|
1488
|
-
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1489
|
+
Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1489
1490
|
"""
|
|
1490
|
-
collision_count: NotRequired[pulumi.Input[int]]
|
|
1491
|
+
collision_count: NotRequired[pulumi.Input[builtins.int]]
|
|
1491
1492
|
"""
|
|
1492
1493
|
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.
|
|
1493
1494
|
"""
|
|
@@ -1495,25 +1496,31 @@ if not MYPY:
|
|
|
1495
1496
|
"""
|
|
1496
1497
|
Represents the latest available observations of a deployment's current state.
|
|
1497
1498
|
"""
|
|
1498
|
-
observed_generation: NotRequired[pulumi.Input[int]]
|
|
1499
|
+
observed_generation: NotRequired[pulumi.Input[builtins.int]]
|
|
1499
1500
|
"""
|
|
1500
1501
|
The generation observed by the deployment controller.
|
|
1501
1502
|
"""
|
|
1502
|
-
ready_replicas: NotRequired[pulumi.Input[int]]
|
|
1503
|
+
ready_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1503
1504
|
"""
|
|
1504
|
-
|
|
1505
|
+
Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
|
|
1505
1506
|
"""
|
|
1506
|
-
replicas: NotRequired[pulumi.Input[int]]
|
|
1507
|
+
replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1507
1508
|
"""
|
|
1508
|
-
Total number of non-
|
|
1509
|
+
Total number of non-terminating pods targeted by this deployment (their labels match the selector).
|
|
1509
1510
|
"""
|
|
1510
|
-
|
|
1511
|
+
terminating_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1512
|
+
"""
|
|
1513
|
+
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
|
+
|
|
1515
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
1516
|
+
"""
|
|
1517
|
+
unavailable_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1511
1518
|
"""
|
|
1512
1519
|
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.
|
|
1513
1520
|
"""
|
|
1514
|
-
updated_replicas: NotRequired[pulumi.Input[int]]
|
|
1521
|
+
updated_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1515
1522
|
"""
|
|
1516
|
-
Total number of non-
|
|
1523
|
+
Total number of non-terminating pods targeted by this deployment that have the desired template spec.
|
|
1517
1524
|
"""
|
|
1518
1525
|
elif False:
|
|
1519
1526
|
DeploymentStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1521,24 +1528,28 @@ elif False:
|
|
|
1521
1528
|
@pulumi.input_type
|
|
1522
1529
|
class DeploymentStatusArgs:
|
|
1523
1530
|
def __init__(__self__, *,
|
|
1524
|
-
available_replicas: Optional[pulumi.Input[int]] = None,
|
|
1525
|
-
collision_count: Optional[pulumi.Input[int]] = None,
|
|
1531
|
+
available_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1532
|
+
collision_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
1526
1533
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['DeploymentConditionArgs']]]] = None,
|
|
1527
|
-
observed_generation: Optional[pulumi.Input[int]] = None,
|
|
1528
|
-
ready_replicas: Optional[pulumi.Input[int]] = None,
|
|
1529
|
-
replicas: Optional[pulumi.Input[int]] = None,
|
|
1530
|
-
|
|
1531
|
-
|
|
1534
|
+
observed_generation: Optional[pulumi.Input[builtins.int]] = None,
|
|
1535
|
+
ready_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1536
|
+
replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1537
|
+
terminating_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1538
|
+
unavailable_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1539
|
+
updated_replicas: Optional[pulumi.Input[builtins.int]] = None):
|
|
1532
1540
|
"""
|
|
1533
1541
|
DeploymentStatus is the most recently observed status of the Deployment.
|
|
1534
|
-
:param pulumi.Input[int] available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1535
|
-
:param pulumi.Input[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.
|
|
1542
|
+
:param pulumi.Input[builtins.int] available_replicas: Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1543
|
+
: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.
|
|
1536
1544
|
:param pulumi.Input[Sequence[pulumi.Input['DeploymentConditionArgs']]] conditions: Represents the latest available observations of a deployment's current state.
|
|
1537
|
-
:param pulumi.Input[int] observed_generation: The generation observed by the deployment controller.
|
|
1538
|
-
:param pulumi.Input[int] ready_replicas:
|
|
1539
|
-
:param pulumi.Input[int] replicas: Total number of non-
|
|
1540
|
-
:param pulumi.Input[int]
|
|
1541
|
-
|
|
1545
|
+
:param pulumi.Input[builtins.int] observed_generation: The generation observed by the deployment controller.
|
|
1546
|
+
:param pulumi.Input[builtins.int] ready_replicas: Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
|
|
1547
|
+
:param pulumi.Input[builtins.int] replicas: Total number of non-terminating pods targeted by this deployment (their labels match the selector).
|
|
1548
|
+
: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
|
+
|
|
1550
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
1551
|
+
: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.
|
|
1552
|
+
:param pulumi.Input[builtins.int] updated_replicas: Total number of non-terminating pods targeted by this deployment that have the desired template spec.
|
|
1542
1553
|
"""
|
|
1543
1554
|
if available_replicas is not None:
|
|
1544
1555
|
pulumi.set(__self__, "available_replicas", available_replicas)
|
|
@@ -1552,6 +1563,8 @@ class DeploymentStatusArgs:
|
|
|
1552
1563
|
pulumi.set(__self__, "ready_replicas", ready_replicas)
|
|
1553
1564
|
if replicas is not None:
|
|
1554
1565
|
pulumi.set(__self__, "replicas", replicas)
|
|
1566
|
+
if terminating_replicas is not None:
|
|
1567
|
+
pulumi.set(__self__, "terminating_replicas", terminating_replicas)
|
|
1555
1568
|
if unavailable_replicas is not None:
|
|
1556
1569
|
pulumi.set(__self__, "unavailable_replicas", unavailable_replicas)
|
|
1557
1570
|
if updated_replicas is not None:
|
|
@@ -1559,26 +1572,26 @@ class DeploymentStatusArgs:
|
|
|
1559
1572
|
|
|
1560
1573
|
@property
|
|
1561
1574
|
@pulumi.getter(name="availableReplicas")
|
|
1562
|
-
def available_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1575
|
+
def available_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1563
1576
|
"""
|
|
1564
|
-
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1577
|
+
Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1565
1578
|
"""
|
|
1566
1579
|
return pulumi.get(self, "available_replicas")
|
|
1567
1580
|
|
|
1568
1581
|
@available_replicas.setter
|
|
1569
|
-
def available_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1582
|
+
def available_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1570
1583
|
pulumi.set(self, "available_replicas", value)
|
|
1571
1584
|
|
|
1572
1585
|
@property
|
|
1573
1586
|
@pulumi.getter(name="collisionCount")
|
|
1574
|
-
def collision_count(self) -> Optional[pulumi.Input[int]]:
|
|
1587
|
+
def collision_count(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1575
1588
|
"""
|
|
1576
1589
|
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.
|
|
1577
1590
|
"""
|
|
1578
1591
|
return pulumi.get(self, "collision_count")
|
|
1579
1592
|
|
|
1580
1593
|
@collision_count.setter
|
|
1581
|
-
def collision_count(self, value: Optional[pulumi.Input[int]]):
|
|
1594
|
+
def collision_count(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1582
1595
|
pulumi.set(self, "collision_count", value)
|
|
1583
1596
|
|
|
1584
1597
|
@property
|
|
@@ -1595,62 +1608,76 @@ class DeploymentStatusArgs:
|
|
|
1595
1608
|
|
|
1596
1609
|
@property
|
|
1597
1610
|
@pulumi.getter(name="observedGeneration")
|
|
1598
|
-
def observed_generation(self) -> Optional[pulumi.Input[int]]:
|
|
1611
|
+
def observed_generation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1599
1612
|
"""
|
|
1600
1613
|
The generation observed by the deployment controller.
|
|
1601
1614
|
"""
|
|
1602
1615
|
return pulumi.get(self, "observed_generation")
|
|
1603
1616
|
|
|
1604
1617
|
@observed_generation.setter
|
|
1605
|
-
def observed_generation(self, value: Optional[pulumi.Input[int]]):
|
|
1618
|
+
def observed_generation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1606
1619
|
pulumi.set(self, "observed_generation", value)
|
|
1607
1620
|
|
|
1608
1621
|
@property
|
|
1609
1622
|
@pulumi.getter(name="readyReplicas")
|
|
1610
|
-
def ready_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1623
|
+
def ready_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1611
1624
|
"""
|
|
1612
|
-
|
|
1625
|
+
Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
|
|
1613
1626
|
"""
|
|
1614
1627
|
return pulumi.get(self, "ready_replicas")
|
|
1615
1628
|
|
|
1616
1629
|
@ready_replicas.setter
|
|
1617
|
-
def ready_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1630
|
+
def ready_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1618
1631
|
pulumi.set(self, "ready_replicas", value)
|
|
1619
1632
|
|
|
1620
1633
|
@property
|
|
1621
1634
|
@pulumi.getter
|
|
1622
|
-
def replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1635
|
+
def replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1623
1636
|
"""
|
|
1624
|
-
Total number of non-
|
|
1637
|
+
Total number of non-terminating pods targeted by this deployment (their labels match the selector).
|
|
1625
1638
|
"""
|
|
1626
1639
|
return pulumi.get(self, "replicas")
|
|
1627
1640
|
|
|
1628
1641
|
@replicas.setter
|
|
1629
|
-
def replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1642
|
+
def replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1630
1643
|
pulumi.set(self, "replicas", value)
|
|
1631
1644
|
|
|
1645
|
+
@property
|
|
1646
|
+
@pulumi.getter(name="terminatingReplicas")
|
|
1647
|
+
def terminating_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1648
|
+
"""
|
|
1649
|
+
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
|
+
|
|
1651
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
1652
|
+
"""
|
|
1653
|
+
return pulumi.get(self, "terminating_replicas")
|
|
1654
|
+
|
|
1655
|
+
@terminating_replicas.setter
|
|
1656
|
+
def terminating_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1657
|
+
pulumi.set(self, "terminating_replicas", value)
|
|
1658
|
+
|
|
1632
1659
|
@property
|
|
1633
1660
|
@pulumi.getter(name="unavailableReplicas")
|
|
1634
|
-
def unavailable_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1661
|
+
def unavailable_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1635
1662
|
"""
|
|
1636
1663
|
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.
|
|
1637
1664
|
"""
|
|
1638
1665
|
return pulumi.get(self, "unavailable_replicas")
|
|
1639
1666
|
|
|
1640
1667
|
@unavailable_replicas.setter
|
|
1641
|
-
def unavailable_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1668
|
+
def unavailable_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1642
1669
|
pulumi.set(self, "unavailable_replicas", value)
|
|
1643
1670
|
|
|
1644
1671
|
@property
|
|
1645
1672
|
@pulumi.getter(name="updatedReplicas")
|
|
1646
|
-
def updated_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1673
|
+
def updated_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1647
1674
|
"""
|
|
1648
|
-
Total number of non-
|
|
1675
|
+
Total number of non-terminating pods targeted by this deployment that have the desired template spec.
|
|
1649
1676
|
"""
|
|
1650
1677
|
return pulumi.get(self, "updated_replicas")
|
|
1651
1678
|
|
|
1652
1679
|
@updated_replicas.setter
|
|
1653
|
-
def updated_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1680
|
+
def updated_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1654
1681
|
pulumi.set(self, "updated_replicas", value)
|
|
1655
1682
|
|
|
1656
1683
|
|
|
@@ -1663,7 +1690,7 @@ if not MYPY:
|
|
|
1663
1690
|
"""
|
|
1664
1691
|
Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
|
|
1665
1692
|
"""
|
|
1666
|
-
type: NotRequired[pulumi.Input[str]]
|
|
1693
|
+
type: NotRequired[pulumi.Input[builtins.str]]
|
|
1667
1694
|
"""
|
|
1668
1695
|
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1669
1696
|
"""
|
|
@@ -1674,11 +1701,11 @@ elif False:
|
|
|
1674
1701
|
class DeploymentStrategyPatchArgs:
|
|
1675
1702
|
def __init__(__self__, *,
|
|
1676
1703
|
rolling_update: Optional[pulumi.Input['RollingUpdateDeploymentPatchArgs']] = None,
|
|
1677
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
1704
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
1678
1705
|
"""
|
|
1679
1706
|
DeploymentStrategy describes how to replace existing pods with new ones.
|
|
1680
1707
|
:param pulumi.Input['RollingUpdateDeploymentPatchArgs'] rolling_update: Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
|
|
1681
|
-
:param pulumi.Input[str] type: Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1708
|
+
:param pulumi.Input[builtins.str] type: Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1682
1709
|
"""
|
|
1683
1710
|
if rolling_update is not None:
|
|
1684
1711
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
@@ -1699,14 +1726,14 @@ class DeploymentStrategyPatchArgs:
|
|
|
1699
1726
|
|
|
1700
1727
|
@property
|
|
1701
1728
|
@pulumi.getter
|
|
1702
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
1729
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1703
1730
|
"""
|
|
1704
1731
|
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1705
1732
|
"""
|
|
1706
1733
|
return pulumi.get(self, "type")
|
|
1707
1734
|
|
|
1708
1735
|
@type.setter
|
|
1709
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
1736
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1710
1737
|
pulumi.set(self, "type", value)
|
|
1711
1738
|
|
|
1712
1739
|
|
|
@@ -1719,7 +1746,7 @@ if not MYPY:
|
|
|
1719
1746
|
"""
|
|
1720
1747
|
Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
|
|
1721
1748
|
"""
|
|
1722
|
-
type: NotRequired[pulumi.Input[str]]
|
|
1749
|
+
type: NotRequired[pulumi.Input[builtins.str]]
|
|
1723
1750
|
"""
|
|
1724
1751
|
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1725
1752
|
"""
|
|
@@ -1730,11 +1757,11 @@ elif False:
|
|
|
1730
1757
|
class DeploymentStrategyArgs:
|
|
1731
1758
|
def __init__(__self__, *,
|
|
1732
1759
|
rolling_update: Optional[pulumi.Input['RollingUpdateDeploymentArgs']] = None,
|
|
1733
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
1760
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
1734
1761
|
"""
|
|
1735
1762
|
DeploymentStrategy describes how to replace existing pods with new ones.
|
|
1736
1763
|
:param pulumi.Input['RollingUpdateDeploymentArgs'] rolling_update: Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
|
|
1737
|
-
:param pulumi.Input[str] type: Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1764
|
+
:param pulumi.Input[builtins.str] type: Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1738
1765
|
"""
|
|
1739
1766
|
if rolling_update is not None:
|
|
1740
1767
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
@@ -1755,14 +1782,14 @@ class DeploymentStrategyArgs:
|
|
|
1755
1782
|
|
|
1756
1783
|
@property
|
|
1757
1784
|
@pulumi.getter
|
|
1758
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
1785
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1759
1786
|
"""
|
|
1760
1787
|
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1761
1788
|
"""
|
|
1762
1789
|
return pulumi.get(self, "type")
|
|
1763
1790
|
|
|
1764
1791
|
@type.setter
|
|
1765
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
1792
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1766
1793
|
pulumi.set(self, "type", value)
|
|
1767
1794
|
|
|
1768
1795
|
|
|
@@ -1793,11 +1820,11 @@ if not MYPY:
|
|
|
1793
1820
|
time out and mark the resource update as Failed. You can override the default timeout value
|
|
1794
1821
|
by setting the 'customTimeouts' option on the resource.
|
|
1795
1822
|
"""
|
|
1796
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1823
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
1797
1824
|
"""
|
|
1798
1825
|
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
|
|
1799
1826
|
"""
|
|
1800
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1827
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
1801
1828
|
"""
|
|
1802
1829
|
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
|
|
1803
1830
|
"""
|
|
@@ -1819,8 +1846,8 @@ elif False:
|
|
|
1819
1846
|
@pulumi.input_type
|
|
1820
1847
|
class DeploymentArgs:
|
|
1821
1848
|
def __init__(__self__, *,
|
|
1822
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1823
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1849
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
1850
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
1824
1851
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1825
1852
|
spec: Optional[pulumi.Input['DeploymentSpecArgs']] = None,
|
|
1826
1853
|
status: Optional[pulumi.Input['DeploymentStatusArgs']] = None):
|
|
@@ -1848,8 +1875,8 @@ class DeploymentArgs:
|
|
|
1848
1875
|
If the Deployment has not reached a Ready state after 10 minutes, it will
|
|
1849
1876
|
time out and mark the resource update as Failed. You can override the default timeout value
|
|
1850
1877
|
by setting the 'customTimeouts' option on the resource.
|
|
1851
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1852
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1878
|
+
: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
|
|
1879
|
+
: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
|
|
1853
1880
|
: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
|
|
1854
1881
|
:param pulumi.Input['DeploymentSpecArgs'] spec: Specification of the desired behavior of the Deployment.
|
|
1855
1882
|
:param pulumi.Input['DeploymentStatusArgs'] status: Most recently observed status of the Deployment.
|
|
@@ -1867,26 +1894,26 @@ class DeploymentArgs:
|
|
|
1867
1894
|
|
|
1868
1895
|
@property
|
|
1869
1896
|
@pulumi.getter(name="apiVersion")
|
|
1870
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1897
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1871
1898
|
"""
|
|
1872
1899
|
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
|
|
1873
1900
|
"""
|
|
1874
1901
|
return pulumi.get(self, "api_version")
|
|
1875
1902
|
|
|
1876
1903
|
@api_version.setter
|
|
1877
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1904
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1878
1905
|
pulumi.set(self, "api_version", value)
|
|
1879
1906
|
|
|
1880
1907
|
@property
|
|
1881
1908
|
@pulumi.getter
|
|
1882
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1909
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1883
1910
|
"""
|
|
1884
1911
|
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
|
|
1885
1912
|
"""
|
|
1886
1913
|
return pulumi.get(self, "kind")
|
|
1887
1914
|
|
|
1888
1915
|
@kind.setter
|
|
1889
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1916
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1890
1917
|
pulumi.set(self, "kind", value)
|
|
1891
1918
|
|
|
1892
1919
|
@property
|
|
@@ -1931,23 +1958,23 @@ if not MYPY:
|
|
|
1931
1958
|
"""
|
|
1932
1959
|
ReplicaSetCondition describes the state of a replica set at a certain point.
|
|
1933
1960
|
"""
|
|
1934
|
-
status: pulumi.Input[str]
|
|
1961
|
+
status: pulumi.Input[builtins.str]
|
|
1935
1962
|
"""
|
|
1936
1963
|
Status of the condition, one of True, False, Unknown.
|
|
1937
1964
|
"""
|
|
1938
|
-
type: pulumi.Input[str]
|
|
1965
|
+
type: pulumi.Input[builtins.str]
|
|
1939
1966
|
"""
|
|
1940
1967
|
Type of replica set condition.
|
|
1941
1968
|
"""
|
|
1942
|
-
last_transition_time: NotRequired[pulumi.Input[str]]
|
|
1969
|
+
last_transition_time: NotRequired[pulumi.Input[builtins.str]]
|
|
1943
1970
|
"""
|
|
1944
1971
|
The last time the condition transitioned from one status to another.
|
|
1945
1972
|
"""
|
|
1946
|
-
message: NotRequired[pulumi.Input[str]]
|
|
1973
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
1947
1974
|
"""
|
|
1948
1975
|
A human readable message indicating details about the transition.
|
|
1949
1976
|
"""
|
|
1950
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
1977
|
+
reason: NotRequired[pulumi.Input[builtins.str]]
|
|
1951
1978
|
"""
|
|
1952
1979
|
The reason for the condition's last transition.
|
|
1953
1980
|
"""
|
|
@@ -1957,18 +1984,18 @@ elif False:
|
|
|
1957
1984
|
@pulumi.input_type
|
|
1958
1985
|
class ReplicaSetConditionArgs:
|
|
1959
1986
|
def __init__(__self__, *,
|
|
1960
|
-
status: pulumi.Input[str],
|
|
1961
|
-
type: pulumi.Input[str],
|
|
1962
|
-
last_transition_time: Optional[pulumi.Input[str]] = None,
|
|
1963
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
1964
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
1987
|
+
status: pulumi.Input[builtins.str],
|
|
1988
|
+
type: pulumi.Input[builtins.str],
|
|
1989
|
+
last_transition_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1990
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
1991
|
+
reason: Optional[pulumi.Input[builtins.str]] = None):
|
|
1965
1992
|
"""
|
|
1966
1993
|
ReplicaSetCondition describes the state of a replica set at a certain point.
|
|
1967
|
-
:param pulumi.Input[str] status: Status of the condition, one of True, False, Unknown.
|
|
1968
|
-
:param pulumi.Input[str] type: Type of replica set condition.
|
|
1969
|
-
:param pulumi.Input[str] last_transition_time: The last time the condition transitioned from one status to another.
|
|
1970
|
-
:param pulumi.Input[str] message: A human readable message indicating details about the transition.
|
|
1971
|
-
:param pulumi.Input[str] reason: The reason for the condition's last transition.
|
|
1994
|
+
:param pulumi.Input[builtins.str] status: Status of the condition, one of True, False, Unknown.
|
|
1995
|
+
:param pulumi.Input[builtins.str] type: Type of replica set condition.
|
|
1996
|
+
:param pulumi.Input[builtins.str] last_transition_time: The last time the condition transitioned from one status to another.
|
|
1997
|
+
:param pulumi.Input[builtins.str] message: A human readable message indicating details about the transition.
|
|
1998
|
+
:param pulumi.Input[builtins.str] reason: The reason for the condition's last transition.
|
|
1972
1999
|
"""
|
|
1973
2000
|
pulumi.set(__self__, "status", status)
|
|
1974
2001
|
pulumi.set(__self__, "type", type)
|
|
@@ -1981,62 +2008,62 @@ class ReplicaSetConditionArgs:
|
|
|
1981
2008
|
|
|
1982
2009
|
@property
|
|
1983
2010
|
@pulumi.getter
|
|
1984
|
-
def status(self) -> pulumi.Input[str]:
|
|
2011
|
+
def status(self) -> pulumi.Input[builtins.str]:
|
|
1985
2012
|
"""
|
|
1986
2013
|
Status of the condition, one of True, False, Unknown.
|
|
1987
2014
|
"""
|
|
1988
2015
|
return pulumi.get(self, "status")
|
|
1989
2016
|
|
|
1990
2017
|
@status.setter
|
|
1991
|
-
def status(self, value: pulumi.Input[str]):
|
|
2018
|
+
def status(self, value: pulumi.Input[builtins.str]):
|
|
1992
2019
|
pulumi.set(self, "status", value)
|
|
1993
2020
|
|
|
1994
2021
|
@property
|
|
1995
2022
|
@pulumi.getter
|
|
1996
|
-
def type(self) -> pulumi.Input[str]:
|
|
2023
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
1997
2024
|
"""
|
|
1998
2025
|
Type of replica set condition.
|
|
1999
2026
|
"""
|
|
2000
2027
|
return pulumi.get(self, "type")
|
|
2001
2028
|
|
|
2002
2029
|
@type.setter
|
|
2003
|
-
def type(self, value: pulumi.Input[str]):
|
|
2030
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
2004
2031
|
pulumi.set(self, "type", value)
|
|
2005
2032
|
|
|
2006
2033
|
@property
|
|
2007
2034
|
@pulumi.getter(name="lastTransitionTime")
|
|
2008
|
-
def last_transition_time(self) -> Optional[pulumi.Input[str]]:
|
|
2035
|
+
def last_transition_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2009
2036
|
"""
|
|
2010
2037
|
The last time the condition transitioned from one status to another.
|
|
2011
2038
|
"""
|
|
2012
2039
|
return pulumi.get(self, "last_transition_time")
|
|
2013
2040
|
|
|
2014
2041
|
@last_transition_time.setter
|
|
2015
|
-
def last_transition_time(self, value: Optional[pulumi.Input[str]]):
|
|
2042
|
+
def last_transition_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2016
2043
|
pulumi.set(self, "last_transition_time", value)
|
|
2017
2044
|
|
|
2018
2045
|
@property
|
|
2019
2046
|
@pulumi.getter
|
|
2020
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
2047
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2021
2048
|
"""
|
|
2022
2049
|
A human readable message indicating details about the transition.
|
|
2023
2050
|
"""
|
|
2024
2051
|
return pulumi.get(self, "message")
|
|
2025
2052
|
|
|
2026
2053
|
@message.setter
|
|
2027
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
2054
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2028
2055
|
pulumi.set(self, "message", value)
|
|
2029
2056
|
|
|
2030
2057
|
@property
|
|
2031
2058
|
@pulumi.getter
|
|
2032
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
2059
|
+
def reason(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2033
2060
|
"""
|
|
2034
2061
|
The reason for the condition's last transition.
|
|
2035
2062
|
"""
|
|
2036
2063
|
return pulumi.get(self, "reason")
|
|
2037
2064
|
|
|
2038
2065
|
@reason.setter
|
|
2039
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
2066
|
+
def reason(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2040
2067
|
pulumi.set(self, "reason", value)
|
|
2041
2068
|
|
|
2042
2069
|
|
|
@@ -2045,13 +2072,13 @@ if not MYPY:
|
|
|
2045
2072
|
"""
|
|
2046
2073
|
ReplicaSetSpec is the specification of a ReplicaSet.
|
|
2047
2074
|
"""
|
|
2048
|
-
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
2075
|
+
min_ready_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
2049
2076
|
"""
|
|
2050
2077
|
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)
|
|
2051
2078
|
"""
|
|
2052
|
-
replicas: NotRequired[pulumi.Input[int]]
|
|
2079
|
+
replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
2053
2080
|
"""
|
|
2054
|
-
Replicas is the number of desired
|
|
2081
|
+
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
|
|
2055
2082
|
"""
|
|
2056
2083
|
selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
|
|
2057
2084
|
"""
|
|
@@ -2059,7 +2086,7 @@ if not MYPY:
|
|
|
2059
2086
|
"""
|
|
2060
2087
|
template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecPatchArgsDict']]
|
|
2061
2088
|
"""
|
|
2062
|
-
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/
|
|
2089
|
+
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
|
|
2063
2090
|
"""
|
|
2064
2091
|
elif False:
|
|
2065
2092
|
ReplicaSetSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -2067,16 +2094,16 @@ elif False:
|
|
|
2067
2094
|
@pulumi.input_type
|
|
2068
2095
|
class ReplicaSetSpecPatchArgs:
|
|
2069
2096
|
def __init__(__self__, *,
|
|
2070
|
-
min_ready_seconds: Optional[pulumi.Input[int]] = None,
|
|
2071
|
-
replicas: Optional[pulumi.Input[int]] = None,
|
|
2097
|
+
min_ready_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
2098
|
+
replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
2072
2099
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
2073
2100
|
template: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']] = None):
|
|
2074
2101
|
"""
|
|
2075
2102
|
ReplicaSetSpec is the specification of a ReplicaSet.
|
|
2076
|
-
:param pulumi.Input[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)
|
|
2077
|
-
:param pulumi.Input[int] replicas: Replicas is the number of desired
|
|
2103
|
+
: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)
|
|
2104
|
+
: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
|
|
2078
2105
|
: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
|
|
2079
|
-
: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/
|
|
2106
|
+
: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
|
|
2080
2107
|
"""
|
|
2081
2108
|
if min_ready_seconds is not None:
|
|
2082
2109
|
pulumi.set(__self__, "min_ready_seconds", min_ready_seconds)
|
|
@@ -2089,26 +2116,26 @@ class ReplicaSetSpecPatchArgs:
|
|
|
2089
2116
|
|
|
2090
2117
|
@property
|
|
2091
2118
|
@pulumi.getter(name="minReadySeconds")
|
|
2092
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
2119
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2093
2120
|
"""
|
|
2094
2121
|
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)
|
|
2095
2122
|
"""
|
|
2096
2123
|
return pulumi.get(self, "min_ready_seconds")
|
|
2097
2124
|
|
|
2098
2125
|
@min_ready_seconds.setter
|
|
2099
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
2126
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2100
2127
|
pulumi.set(self, "min_ready_seconds", value)
|
|
2101
2128
|
|
|
2102
2129
|
@property
|
|
2103
2130
|
@pulumi.getter
|
|
2104
|
-
def replicas(self) -> Optional[pulumi.Input[int]]:
|
|
2131
|
+
def replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2105
2132
|
"""
|
|
2106
|
-
Replicas is the number of desired
|
|
2133
|
+
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
|
|
2107
2134
|
"""
|
|
2108
2135
|
return pulumi.get(self, "replicas")
|
|
2109
2136
|
|
|
2110
2137
|
@replicas.setter
|
|
2111
|
-
def replicas(self, value: Optional[pulumi.Input[int]]):
|
|
2138
|
+
def replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2112
2139
|
pulumi.set(self, "replicas", value)
|
|
2113
2140
|
|
|
2114
2141
|
@property
|
|
@@ -2127,7 +2154,7 @@ class ReplicaSetSpecPatchArgs:
|
|
|
2127
2154
|
@pulumi.getter
|
|
2128
2155
|
def template(self) -> Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']]:
|
|
2129
2156
|
"""
|
|
2130
|
-
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/
|
|
2157
|
+
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
|
|
2131
2158
|
"""
|
|
2132
2159
|
return pulumi.get(self, "template")
|
|
2133
2160
|
|
|
@@ -2145,17 +2172,17 @@ if not MYPY:
|
|
|
2145
2172
|
"""
|
|
2146
2173
|
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
|
|
2147
2174
|
"""
|
|
2148
|
-
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
2175
|
+
min_ready_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
2149
2176
|
"""
|
|
2150
2177
|
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)
|
|
2151
2178
|
"""
|
|
2152
|
-
replicas: NotRequired[pulumi.Input[int]]
|
|
2179
|
+
replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
2153
2180
|
"""
|
|
2154
|
-
Replicas is the number of desired
|
|
2181
|
+
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
|
|
2155
2182
|
"""
|
|
2156
2183
|
template: NotRequired[pulumi.Input['_core.v1.PodTemplateSpecArgsDict']]
|
|
2157
2184
|
"""
|
|
2158
|
-
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/
|
|
2185
|
+
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
|
|
2159
2186
|
"""
|
|
2160
2187
|
elif False:
|
|
2161
2188
|
ReplicaSetSpecArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -2164,15 +2191,15 @@ elif False:
|
|
|
2164
2191
|
class ReplicaSetSpecArgs:
|
|
2165
2192
|
def __init__(__self__, *,
|
|
2166
2193
|
selector: pulumi.Input['_meta.v1.LabelSelectorArgs'],
|
|
2167
|
-
min_ready_seconds: Optional[pulumi.Input[int]] = None,
|
|
2168
|
-
replicas: Optional[pulumi.Input[int]] = None,
|
|
2194
|
+
min_ready_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
2195
|
+
replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
2169
2196
|
template: Optional[pulumi.Input['_core.v1.PodTemplateSpecArgs']] = None):
|
|
2170
2197
|
"""
|
|
2171
2198
|
ReplicaSetSpec is the specification of a ReplicaSet.
|
|
2172
2199
|
: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
|
|
2173
|
-
:param pulumi.Input[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)
|
|
2174
|
-
:param pulumi.Input[int] replicas: Replicas is the number of desired
|
|
2175
|
-
: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/
|
|
2200
|
+
: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)
|
|
2201
|
+
: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
|
+
: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
|
|
2176
2203
|
"""
|
|
2177
2204
|
pulumi.set(__self__, "selector", selector)
|
|
2178
2205
|
if min_ready_seconds is not None:
|
|
@@ -2196,33 +2223,33 @@ class ReplicaSetSpecArgs:
|
|
|
2196
2223
|
|
|
2197
2224
|
@property
|
|
2198
2225
|
@pulumi.getter(name="minReadySeconds")
|
|
2199
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
2226
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2200
2227
|
"""
|
|
2201
2228
|
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)
|
|
2202
2229
|
"""
|
|
2203
2230
|
return pulumi.get(self, "min_ready_seconds")
|
|
2204
2231
|
|
|
2205
2232
|
@min_ready_seconds.setter
|
|
2206
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
2233
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2207
2234
|
pulumi.set(self, "min_ready_seconds", value)
|
|
2208
2235
|
|
|
2209
2236
|
@property
|
|
2210
2237
|
@pulumi.getter
|
|
2211
|
-
def replicas(self) -> Optional[pulumi.Input[int]]:
|
|
2238
|
+
def replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2212
2239
|
"""
|
|
2213
|
-
Replicas is the number of desired
|
|
2240
|
+
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
|
|
2214
2241
|
"""
|
|
2215
2242
|
return pulumi.get(self, "replicas")
|
|
2216
2243
|
|
|
2217
2244
|
@replicas.setter
|
|
2218
|
-
def replicas(self, value: Optional[pulumi.Input[int]]):
|
|
2245
|
+
def replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2219
2246
|
pulumi.set(self, "replicas", value)
|
|
2220
2247
|
|
|
2221
2248
|
@property
|
|
2222
2249
|
@pulumi.getter
|
|
2223
2250
|
def template(self) -> Optional[pulumi.Input['_core.v1.PodTemplateSpecArgs']]:
|
|
2224
2251
|
"""
|
|
2225
|
-
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/
|
|
2252
|
+
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
|
|
2226
2253
|
"""
|
|
2227
2254
|
return pulumi.get(self, "template")
|
|
2228
2255
|
|
|
@@ -2236,29 +2263,35 @@ if not MYPY:
|
|
|
2236
2263
|
"""
|
|
2237
2264
|
ReplicaSetStatus represents the current status of a ReplicaSet.
|
|
2238
2265
|
"""
|
|
2239
|
-
replicas: pulumi.Input[int]
|
|
2266
|
+
replicas: pulumi.Input[builtins.int]
|
|
2240
2267
|
"""
|
|
2241
|
-
Replicas is the most recently observed number of
|
|
2268
|
+
Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2242
2269
|
"""
|
|
2243
|
-
available_replicas: NotRequired[pulumi.Input[int]]
|
|
2270
|
+
available_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
2244
2271
|
"""
|
|
2245
|
-
The number of available
|
|
2272
|
+
The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
|
|
2246
2273
|
"""
|
|
2247
2274
|
conditions: NotRequired[pulumi.Input[Sequence[pulumi.Input['ReplicaSetConditionArgsDict']]]]
|
|
2248
2275
|
"""
|
|
2249
2276
|
Represents the latest available observations of a replica set's current state.
|
|
2250
2277
|
"""
|
|
2251
|
-
fully_labeled_replicas: NotRequired[pulumi.Input[int]]
|
|
2278
|
+
fully_labeled_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
2252
2279
|
"""
|
|
2253
|
-
The number of pods that have labels matching the labels of the pod template of the replicaset.
|
|
2280
|
+
The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
|
|
2254
2281
|
"""
|
|
2255
|
-
observed_generation: NotRequired[pulumi.Input[int]]
|
|
2282
|
+
observed_generation: NotRequired[pulumi.Input[builtins.int]]
|
|
2256
2283
|
"""
|
|
2257
2284
|
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2258
2285
|
"""
|
|
2259
|
-
ready_replicas: NotRequired[pulumi.Input[int]]
|
|
2286
|
+
ready_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
2260
2287
|
"""
|
|
2261
|
-
|
|
2288
|
+
The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
|
|
2289
|
+
"""
|
|
2290
|
+
terminating_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
2291
|
+
"""
|
|
2292
|
+
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
|
+
|
|
2294
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
2262
2295
|
"""
|
|
2263
2296
|
elif False:
|
|
2264
2297
|
ReplicaSetStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -2266,20 +2299,24 @@ elif False:
|
|
|
2266
2299
|
@pulumi.input_type
|
|
2267
2300
|
class ReplicaSetStatusArgs:
|
|
2268
2301
|
def __init__(__self__, *,
|
|
2269
|
-
replicas: pulumi.Input[int],
|
|
2270
|
-
available_replicas: Optional[pulumi.Input[int]] = None,
|
|
2302
|
+
replicas: pulumi.Input[builtins.int],
|
|
2303
|
+
available_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
2271
2304
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['ReplicaSetConditionArgs']]]] = None,
|
|
2272
|
-
fully_labeled_replicas: Optional[pulumi.Input[int]] = None,
|
|
2273
|
-
observed_generation: Optional[pulumi.Input[int]] = None,
|
|
2274
|
-
ready_replicas: Optional[pulumi.Input[int]] = None
|
|
2305
|
+
fully_labeled_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
2306
|
+
observed_generation: Optional[pulumi.Input[builtins.int]] = None,
|
|
2307
|
+
ready_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
2308
|
+
terminating_replicas: Optional[pulumi.Input[builtins.int]] = None):
|
|
2275
2309
|
"""
|
|
2276
2310
|
ReplicaSetStatus represents the current status of a ReplicaSet.
|
|
2277
|
-
:param pulumi.Input[int] replicas: Replicas is the most recently observed number of
|
|
2278
|
-
:param pulumi.Input[int] available_replicas: The number of available
|
|
2311
|
+
: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
|
|
2312
|
+
:param pulumi.Input[builtins.int] available_replicas: The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
|
|
2279
2313
|
:param pulumi.Input[Sequence[pulumi.Input['ReplicaSetConditionArgs']]] conditions: Represents the latest available observations of a replica set's current state.
|
|
2280
|
-
:param pulumi.Input[int] fully_labeled_replicas: The number of pods that have labels matching the labels of the pod template of the replicaset.
|
|
2281
|
-
:param pulumi.Input[int] observed_generation: ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2282
|
-
:param pulumi.Input[int] ready_replicas:
|
|
2314
|
+
: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.
|
|
2315
|
+
:param pulumi.Input[builtins.int] observed_generation: ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2316
|
+
:param pulumi.Input[builtins.int] ready_replicas: The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
|
|
2317
|
+
: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
|
+
|
|
2319
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
2283
2320
|
"""
|
|
2284
2321
|
pulumi.set(__self__, "replicas", replicas)
|
|
2285
2322
|
if available_replicas is not None:
|
|
@@ -2292,29 +2329,31 @@ class ReplicaSetStatusArgs:
|
|
|
2292
2329
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
2293
2330
|
if ready_replicas is not None:
|
|
2294
2331
|
pulumi.set(__self__, "ready_replicas", ready_replicas)
|
|
2332
|
+
if terminating_replicas is not None:
|
|
2333
|
+
pulumi.set(__self__, "terminating_replicas", terminating_replicas)
|
|
2295
2334
|
|
|
2296
2335
|
@property
|
|
2297
2336
|
@pulumi.getter
|
|
2298
|
-
def replicas(self) -> pulumi.Input[int]:
|
|
2337
|
+
def replicas(self) -> pulumi.Input[builtins.int]:
|
|
2299
2338
|
"""
|
|
2300
|
-
Replicas is the most recently observed number of
|
|
2339
|
+
Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2301
2340
|
"""
|
|
2302
2341
|
return pulumi.get(self, "replicas")
|
|
2303
2342
|
|
|
2304
2343
|
@replicas.setter
|
|
2305
|
-
def replicas(self, value: pulumi.Input[int]):
|
|
2344
|
+
def replicas(self, value: pulumi.Input[builtins.int]):
|
|
2306
2345
|
pulumi.set(self, "replicas", value)
|
|
2307
2346
|
|
|
2308
2347
|
@property
|
|
2309
2348
|
@pulumi.getter(name="availableReplicas")
|
|
2310
|
-
def available_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
2349
|
+
def available_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2311
2350
|
"""
|
|
2312
|
-
The number of available
|
|
2351
|
+
The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
|
|
2313
2352
|
"""
|
|
2314
2353
|
return pulumi.get(self, "available_replicas")
|
|
2315
2354
|
|
|
2316
2355
|
@available_replicas.setter
|
|
2317
|
-
def available_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
2356
|
+
def available_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2318
2357
|
pulumi.set(self, "available_replicas", value)
|
|
2319
2358
|
|
|
2320
2359
|
@property
|
|
@@ -2331,51 +2370,65 @@ class ReplicaSetStatusArgs:
|
|
|
2331
2370
|
|
|
2332
2371
|
@property
|
|
2333
2372
|
@pulumi.getter(name="fullyLabeledReplicas")
|
|
2334
|
-
def fully_labeled_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
2373
|
+
def fully_labeled_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2335
2374
|
"""
|
|
2336
|
-
The number of pods that have labels matching the labels of the pod template of the replicaset.
|
|
2375
|
+
The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
|
|
2337
2376
|
"""
|
|
2338
2377
|
return pulumi.get(self, "fully_labeled_replicas")
|
|
2339
2378
|
|
|
2340
2379
|
@fully_labeled_replicas.setter
|
|
2341
|
-
def fully_labeled_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
2380
|
+
def fully_labeled_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2342
2381
|
pulumi.set(self, "fully_labeled_replicas", value)
|
|
2343
2382
|
|
|
2344
2383
|
@property
|
|
2345
2384
|
@pulumi.getter(name="observedGeneration")
|
|
2346
|
-
def observed_generation(self) -> Optional[pulumi.Input[int]]:
|
|
2385
|
+
def observed_generation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2347
2386
|
"""
|
|
2348
2387
|
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2349
2388
|
"""
|
|
2350
2389
|
return pulumi.get(self, "observed_generation")
|
|
2351
2390
|
|
|
2352
2391
|
@observed_generation.setter
|
|
2353
|
-
def observed_generation(self, value: Optional[pulumi.Input[int]]):
|
|
2392
|
+
def observed_generation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2354
2393
|
pulumi.set(self, "observed_generation", value)
|
|
2355
2394
|
|
|
2356
2395
|
@property
|
|
2357
2396
|
@pulumi.getter(name="readyReplicas")
|
|
2358
|
-
def ready_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
2397
|
+
def ready_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2359
2398
|
"""
|
|
2360
|
-
|
|
2399
|
+
The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
|
|
2361
2400
|
"""
|
|
2362
2401
|
return pulumi.get(self, "ready_replicas")
|
|
2363
2402
|
|
|
2364
2403
|
@ready_replicas.setter
|
|
2365
|
-
def ready_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
2404
|
+
def ready_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2366
2405
|
pulumi.set(self, "ready_replicas", value)
|
|
2367
2406
|
|
|
2407
|
+
@property
|
|
2408
|
+
@pulumi.getter(name="terminatingReplicas")
|
|
2409
|
+
def terminating_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2410
|
+
"""
|
|
2411
|
+
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
|
+
|
|
2413
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
2414
|
+
"""
|
|
2415
|
+
return pulumi.get(self, "terminating_replicas")
|
|
2416
|
+
|
|
2417
|
+
@terminating_replicas.setter
|
|
2418
|
+
def terminating_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2419
|
+
pulumi.set(self, "terminating_replicas", value)
|
|
2420
|
+
|
|
2368
2421
|
|
|
2369
2422
|
if not MYPY:
|
|
2370
2423
|
class ReplicaSetArgsDict(TypedDict):
|
|
2371
2424
|
"""
|
|
2372
2425
|
ReplicaSet ensures that a specified number of pod replicas are running at any given time.
|
|
2373
2426
|
"""
|
|
2374
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
2427
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
2375
2428
|
"""
|
|
2376
2429
|
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
|
|
2377
2430
|
"""
|
|
2378
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
2431
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
2379
2432
|
"""
|
|
2380
2433
|
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
|
|
2381
2434
|
"""
|
|
@@ -2397,15 +2450,15 @@ elif False:
|
|
|
2397
2450
|
@pulumi.input_type
|
|
2398
2451
|
class ReplicaSetArgs:
|
|
2399
2452
|
def __init__(__self__, *,
|
|
2400
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
2401
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
2453
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
2454
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
2402
2455
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
2403
2456
|
spec: Optional[pulumi.Input['ReplicaSetSpecArgs']] = None,
|
|
2404
2457
|
status: Optional[pulumi.Input['ReplicaSetStatusArgs']] = None):
|
|
2405
2458
|
"""
|
|
2406
2459
|
ReplicaSet ensures that a specified number of pod replicas are running at any given time.
|
|
2407
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2408
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2460
|
+
: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
|
|
2461
|
+
: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
|
|
2409
2462
|
: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
|
|
2410
2463
|
: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
|
|
2411
2464
|
: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
|
|
@@ -2423,26 +2476,26 @@ class ReplicaSetArgs:
|
|
|
2423
2476
|
|
|
2424
2477
|
@property
|
|
2425
2478
|
@pulumi.getter(name="apiVersion")
|
|
2426
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
2479
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2427
2480
|
"""
|
|
2428
2481
|
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
|
|
2429
2482
|
"""
|
|
2430
2483
|
return pulumi.get(self, "api_version")
|
|
2431
2484
|
|
|
2432
2485
|
@api_version.setter
|
|
2433
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
2486
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2434
2487
|
pulumi.set(self, "api_version", value)
|
|
2435
2488
|
|
|
2436
2489
|
@property
|
|
2437
2490
|
@pulumi.getter
|
|
2438
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
2491
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2439
2492
|
"""
|
|
2440
2493
|
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
|
|
2441
2494
|
"""
|
|
2442
2495
|
return pulumi.get(self, "kind")
|
|
2443
2496
|
|
|
2444
2497
|
@kind.setter
|
|
2445
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
2498
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2446
2499
|
pulumi.set(self, "kind", value)
|
|
2447
2500
|
|
|
2448
2501
|
@property
|
|
@@ -2487,11 +2540,11 @@ if not MYPY:
|
|
|
2487
2540
|
"""
|
|
2488
2541
|
Spec to control the desired behavior of daemon set rolling update.
|
|
2489
2542
|
"""
|
|
2490
|
-
max_surge: NotRequired[pulumi.Input[Union[int, str]]]
|
|
2543
|
+
max_surge: NotRequired[pulumi.Input[Union[builtins.int, builtins.str]]]
|
|
2491
2544
|
"""
|
|
2492
2545
|
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.
|
|
2493
2546
|
"""
|
|
2494
|
-
max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
|
|
2547
|
+
max_unavailable: NotRequired[pulumi.Input[Union[builtins.int, builtins.str]]]
|
|
2495
2548
|
"""
|
|
2496
2549
|
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.
|
|
2497
2550
|
"""
|
|
@@ -2501,12 +2554,12 @@ elif False:
|
|
|
2501
2554
|
@pulumi.input_type
|
|
2502
2555
|
class RollingUpdateDaemonSetPatchArgs:
|
|
2503
2556
|
def __init__(__self__, *,
|
|
2504
|
-
max_surge: Optional[pulumi.Input[Union[int, str]]] = None,
|
|
2505
|
-
max_unavailable: Optional[pulumi.Input[Union[int, str]]] = None):
|
|
2557
|
+
max_surge: Optional[pulumi.Input[Union[builtins.int, builtins.str]]] = None,
|
|
2558
|
+
max_unavailable: Optional[pulumi.Input[Union[builtins.int, builtins.str]]] = None):
|
|
2506
2559
|
"""
|
|
2507
2560
|
Spec to control the desired behavior of daemon set rolling update.
|
|
2508
|
-
:param pulumi.Input[Union[int, 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.
|
|
2509
|
-
:param pulumi.Input[Union[int, 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.
|
|
2561
|
+
: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.
|
|
2562
|
+
: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.
|
|
2510
2563
|
"""
|
|
2511
2564
|
if max_surge is not None:
|
|
2512
2565
|
pulumi.set(__self__, "max_surge", max_surge)
|
|
@@ -2515,26 +2568,26 @@ class RollingUpdateDaemonSetPatchArgs:
|
|
|
2515
2568
|
|
|
2516
2569
|
@property
|
|
2517
2570
|
@pulumi.getter(name="maxSurge")
|
|
2518
|
-
def max_surge(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
2571
|
+
def max_surge(self) -> Optional[pulumi.Input[Union[builtins.int, builtins.str]]]:
|
|
2519
2572
|
"""
|
|
2520
2573
|
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.
|
|
2521
2574
|
"""
|
|
2522
2575
|
return pulumi.get(self, "max_surge")
|
|
2523
2576
|
|
|
2524
2577
|
@max_surge.setter
|
|
2525
|
-
def max_surge(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
2578
|
+
def max_surge(self, value: Optional[pulumi.Input[Union[builtins.int, builtins.str]]]):
|
|
2526
2579
|
pulumi.set(self, "max_surge", value)
|
|
2527
2580
|
|
|
2528
2581
|
@property
|
|
2529
2582
|
@pulumi.getter(name="maxUnavailable")
|
|
2530
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
2583
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[builtins.int, builtins.str]]]:
|
|
2531
2584
|
"""
|
|
2532
2585
|
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.
|
|
2533
2586
|
"""
|
|
2534
2587
|
return pulumi.get(self, "max_unavailable")
|
|
2535
2588
|
|
|
2536
2589
|
@max_unavailable.setter
|
|
2537
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
2590
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[builtins.int, builtins.str]]]):
|
|
2538
2591
|
pulumi.set(self, "max_unavailable", value)
|
|
2539
2592
|
|
|
2540
2593
|
|
|
@@ -2543,11 +2596,11 @@ if not MYPY:
|
|
|
2543
2596
|
"""
|
|
2544
2597
|
Spec to control the desired behavior of daemon set rolling update.
|
|
2545
2598
|
"""
|
|
2546
|
-
max_surge: NotRequired[pulumi.Input[Union[int, str]]]
|
|
2599
|
+
max_surge: NotRequired[pulumi.Input[Union[builtins.int, builtins.str]]]
|
|
2547
2600
|
"""
|
|
2548
2601
|
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.
|
|
2549
2602
|
"""
|
|
2550
|
-
max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
|
|
2603
|
+
max_unavailable: NotRequired[pulumi.Input[Union[builtins.int, builtins.str]]]
|
|
2551
2604
|
"""
|
|
2552
2605
|
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.
|
|
2553
2606
|
"""
|
|
@@ -2557,12 +2610,12 @@ elif False:
|
|
|
2557
2610
|
@pulumi.input_type
|
|
2558
2611
|
class RollingUpdateDaemonSetArgs:
|
|
2559
2612
|
def __init__(__self__, *,
|
|
2560
|
-
max_surge: Optional[pulumi.Input[Union[int, str]]] = None,
|
|
2561
|
-
max_unavailable: Optional[pulumi.Input[Union[int, str]]] = None):
|
|
2613
|
+
max_surge: Optional[pulumi.Input[Union[builtins.int, builtins.str]]] = None,
|
|
2614
|
+
max_unavailable: Optional[pulumi.Input[Union[builtins.int, builtins.str]]] = None):
|
|
2562
2615
|
"""
|
|
2563
2616
|
Spec to control the desired behavior of daemon set rolling update.
|
|
2564
|
-
:param pulumi.Input[Union[int, 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.
|
|
2565
|
-
:param pulumi.Input[Union[int, 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.
|
|
2617
|
+
: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.
|
|
2618
|
+
: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.
|
|
2566
2619
|
"""
|
|
2567
2620
|
if max_surge is not None:
|
|
2568
2621
|
pulumi.set(__self__, "max_surge", max_surge)
|
|
@@ -2571,26 +2624,26 @@ class RollingUpdateDaemonSetArgs:
|
|
|
2571
2624
|
|
|
2572
2625
|
@property
|
|
2573
2626
|
@pulumi.getter(name="maxSurge")
|
|
2574
|
-
def max_surge(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
2627
|
+
def max_surge(self) -> Optional[pulumi.Input[Union[builtins.int, builtins.str]]]:
|
|
2575
2628
|
"""
|
|
2576
2629
|
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.
|
|
2577
2630
|
"""
|
|
2578
2631
|
return pulumi.get(self, "max_surge")
|
|
2579
2632
|
|
|
2580
2633
|
@max_surge.setter
|
|
2581
|
-
def max_surge(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
2634
|
+
def max_surge(self, value: Optional[pulumi.Input[Union[builtins.int, builtins.str]]]):
|
|
2582
2635
|
pulumi.set(self, "max_surge", value)
|
|
2583
2636
|
|
|
2584
2637
|
@property
|
|
2585
2638
|
@pulumi.getter(name="maxUnavailable")
|
|
2586
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
2639
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[builtins.int, builtins.str]]]:
|
|
2587
2640
|
"""
|
|
2588
2641
|
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.
|
|
2589
2642
|
"""
|
|
2590
2643
|
return pulumi.get(self, "max_unavailable")
|
|
2591
2644
|
|
|
2592
2645
|
@max_unavailable.setter
|
|
2593
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
2646
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[builtins.int, builtins.str]]]):
|
|
2594
2647
|
pulumi.set(self, "max_unavailable", value)
|
|
2595
2648
|
|
|
2596
2649
|
|
|
@@ -2599,11 +2652,11 @@ if not MYPY:
|
|
|
2599
2652
|
"""
|
|
2600
2653
|
Spec to control the desired behavior of rolling update.
|
|
2601
2654
|
"""
|
|
2602
|
-
max_surge: NotRequired[pulumi.Input[Union[int, str]]]
|
|
2655
|
+
max_surge: NotRequired[pulumi.Input[Union[builtins.int, builtins.str]]]
|
|
2603
2656
|
"""
|
|
2604
2657
|
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.
|
|
2605
2658
|
"""
|
|
2606
|
-
max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
|
|
2659
|
+
max_unavailable: NotRequired[pulumi.Input[Union[builtins.int, builtins.str]]]
|
|
2607
2660
|
"""
|
|
2608
2661
|
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.
|
|
2609
2662
|
"""
|
|
@@ -2613,12 +2666,12 @@ elif False:
|
|
|
2613
2666
|
@pulumi.input_type
|
|
2614
2667
|
class RollingUpdateDeploymentPatchArgs:
|
|
2615
2668
|
def __init__(__self__, *,
|
|
2616
|
-
max_surge: Optional[pulumi.Input[Union[int, str]]] = None,
|
|
2617
|
-
max_unavailable: Optional[pulumi.Input[Union[int, str]]] = None):
|
|
2669
|
+
max_surge: Optional[pulumi.Input[Union[builtins.int, builtins.str]]] = None,
|
|
2670
|
+
max_unavailable: Optional[pulumi.Input[Union[builtins.int, builtins.str]]] = None):
|
|
2618
2671
|
"""
|
|
2619
2672
|
Spec to control the desired behavior of rolling update.
|
|
2620
|
-
:param pulumi.Input[Union[int, 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.
|
|
2621
|
-
:param pulumi.Input[Union[int, 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.
|
|
2673
|
+
: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.
|
|
2674
|
+
: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.
|
|
2622
2675
|
"""
|
|
2623
2676
|
if max_surge is not None:
|
|
2624
2677
|
pulumi.set(__self__, "max_surge", max_surge)
|
|
@@ -2627,26 +2680,26 @@ class RollingUpdateDeploymentPatchArgs:
|
|
|
2627
2680
|
|
|
2628
2681
|
@property
|
|
2629
2682
|
@pulumi.getter(name="maxSurge")
|
|
2630
|
-
def max_surge(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
2683
|
+
def max_surge(self) -> Optional[pulumi.Input[Union[builtins.int, builtins.str]]]:
|
|
2631
2684
|
"""
|
|
2632
2685
|
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.
|
|
2633
2686
|
"""
|
|
2634
2687
|
return pulumi.get(self, "max_surge")
|
|
2635
2688
|
|
|
2636
2689
|
@max_surge.setter
|
|
2637
|
-
def max_surge(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
2690
|
+
def max_surge(self, value: Optional[pulumi.Input[Union[builtins.int, builtins.str]]]):
|
|
2638
2691
|
pulumi.set(self, "max_surge", value)
|
|
2639
2692
|
|
|
2640
2693
|
@property
|
|
2641
2694
|
@pulumi.getter(name="maxUnavailable")
|
|
2642
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
2695
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[builtins.int, builtins.str]]]:
|
|
2643
2696
|
"""
|
|
2644
2697
|
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.
|
|
2645
2698
|
"""
|
|
2646
2699
|
return pulumi.get(self, "max_unavailable")
|
|
2647
2700
|
|
|
2648
2701
|
@max_unavailable.setter
|
|
2649
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
2702
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[builtins.int, builtins.str]]]):
|
|
2650
2703
|
pulumi.set(self, "max_unavailable", value)
|
|
2651
2704
|
|
|
2652
2705
|
|
|
@@ -2655,11 +2708,11 @@ if not MYPY:
|
|
|
2655
2708
|
"""
|
|
2656
2709
|
Spec to control the desired behavior of rolling update.
|
|
2657
2710
|
"""
|
|
2658
|
-
max_surge: NotRequired[pulumi.Input[Union[int, str]]]
|
|
2711
|
+
max_surge: NotRequired[pulumi.Input[Union[builtins.int, builtins.str]]]
|
|
2659
2712
|
"""
|
|
2660
2713
|
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.
|
|
2661
2714
|
"""
|
|
2662
|
-
max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
|
|
2715
|
+
max_unavailable: NotRequired[pulumi.Input[Union[builtins.int, builtins.str]]]
|
|
2663
2716
|
"""
|
|
2664
2717
|
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.
|
|
2665
2718
|
"""
|
|
@@ -2669,12 +2722,12 @@ elif False:
|
|
|
2669
2722
|
@pulumi.input_type
|
|
2670
2723
|
class RollingUpdateDeploymentArgs:
|
|
2671
2724
|
def __init__(__self__, *,
|
|
2672
|
-
max_surge: Optional[pulumi.Input[Union[int, str]]] = None,
|
|
2673
|
-
max_unavailable: Optional[pulumi.Input[Union[int, str]]] = None):
|
|
2725
|
+
max_surge: Optional[pulumi.Input[Union[builtins.int, builtins.str]]] = None,
|
|
2726
|
+
max_unavailable: Optional[pulumi.Input[Union[builtins.int, builtins.str]]] = None):
|
|
2674
2727
|
"""
|
|
2675
2728
|
Spec to control the desired behavior of rolling update.
|
|
2676
|
-
:param pulumi.Input[Union[int, 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.
|
|
2677
|
-
:param pulumi.Input[Union[int, 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.
|
|
2729
|
+
: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.
|
|
2730
|
+
: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.
|
|
2678
2731
|
"""
|
|
2679
2732
|
if max_surge is not None:
|
|
2680
2733
|
pulumi.set(__self__, "max_surge", max_surge)
|
|
@@ -2683,26 +2736,26 @@ class RollingUpdateDeploymentArgs:
|
|
|
2683
2736
|
|
|
2684
2737
|
@property
|
|
2685
2738
|
@pulumi.getter(name="maxSurge")
|
|
2686
|
-
def max_surge(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
2739
|
+
def max_surge(self) -> Optional[pulumi.Input[Union[builtins.int, builtins.str]]]:
|
|
2687
2740
|
"""
|
|
2688
2741
|
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.
|
|
2689
2742
|
"""
|
|
2690
2743
|
return pulumi.get(self, "max_surge")
|
|
2691
2744
|
|
|
2692
2745
|
@max_surge.setter
|
|
2693
|
-
def max_surge(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
2746
|
+
def max_surge(self, value: Optional[pulumi.Input[Union[builtins.int, builtins.str]]]):
|
|
2694
2747
|
pulumi.set(self, "max_surge", value)
|
|
2695
2748
|
|
|
2696
2749
|
@property
|
|
2697
2750
|
@pulumi.getter(name="maxUnavailable")
|
|
2698
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
2751
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[builtins.int, builtins.str]]]:
|
|
2699
2752
|
"""
|
|
2700
2753
|
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.
|
|
2701
2754
|
"""
|
|
2702
2755
|
return pulumi.get(self, "max_unavailable")
|
|
2703
2756
|
|
|
2704
2757
|
@max_unavailable.setter
|
|
2705
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
2758
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[builtins.int, builtins.str]]]):
|
|
2706
2759
|
pulumi.set(self, "max_unavailable", value)
|
|
2707
2760
|
|
|
2708
2761
|
|
|
@@ -2711,11 +2764,11 @@ if not MYPY:
|
|
|
2711
2764
|
"""
|
|
2712
2765
|
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
|
|
2713
2766
|
"""
|
|
2714
|
-
max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
|
|
2767
|
+
max_unavailable: NotRequired[pulumi.Input[Union[builtins.int, builtins.str]]]
|
|
2715
2768
|
"""
|
|
2716
2769
|
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.
|
|
2717
2770
|
"""
|
|
2718
|
-
partition: NotRequired[pulumi.Input[int]]
|
|
2771
|
+
partition: NotRequired[pulumi.Input[builtins.int]]
|
|
2719
2772
|
"""
|
|
2720
2773
|
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.
|
|
2721
2774
|
"""
|
|
@@ -2725,12 +2778,12 @@ elif False:
|
|
|
2725
2778
|
@pulumi.input_type
|
|
2726
2779
|
class RollingUpdateStatefulSetStrategyPatchArgs:
|
|
2727
2780
|
def __init__(__self__, *,
|
|
2728
|
-
max_unavailable: Optional[pulumi.Input[Union[int, str]]] = None,
|
|
2729
|
-
partition: Optional[pulumi.Input[int]] = None):
|
|
2781
|
+
max_unavailable: Optional[pulumi.Input[Union[builtins.int, builtins.str]]] = None,
|
|
2782
|
+
partition: Optional[pulumi.Input[builtins.int]] = None):
|
|
2730
2783
|
"""
|
|
2731
2784
|
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
|
|
2732
|
-
:param pulumi.Input[Union[int, 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.
|
|
2733
|
-
:param pulumi.Input[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.
|
|
2785
|
+
: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.
|
|
2786
|
+
: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.
|
|
2734
2787
|
"""
|
|
2735
2788
|
if max_unavailable is not None:
|
|
2736
2789
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
@@ -2739,26 +2792,26 @@ class RollingUpdateStatefulSetStrategyPatchArgs:
|
|
|
2739
2792
|
|
|
2740
2793
|
@property
|
|
2741
2794
|
@pulumi.getter(name="maxUnavailable")
|
|
2742
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
2795
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[builtins.int, builtins.str]]]:
|
|
2743
2796
|
"""
|
|
2744
2797
|
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.
|
|
2745
2798
|
"""
|
|
2746
2799
|
return pulumi.get(self, "max_unavailable")
|
|
2747
2800
|
|
|
2748
2801
|
@max_unavailable.setter
|
|
2749
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
2802
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[builtins.int, builtins.str]]]):
|
|
2750
2803
|
pulumi.set(self, "max_unavailable", value)
|
|
2751
2804
|
|
|
2752
2805
|
@property
|
|
2753
2806
|
@pulumi.getter
|
|
2754
|
-
def partition(self) -> Optional[pulumi.Input[int]]:
|
|
2807
|
+
def partition(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2755
2808
|
"""
|
|
2756
2809
|
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.
|
|
2757
2810
|
"""
|
|
2758
2811
|
return pulumi.get(self, "partition")
|
|
2759
2812
|
|
|
2760
2813
|
@partition.setter
|
|
2761
|
-
def partition(self, value: Optional[pulumi.Input[int]]):
|
|
2814
|
+
def partition(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2762
2815
|
pulumi.set(self, "partition", value)
|
|
2763
2816
|
|
|
2764
2817
|
|
|
@@ -2767,11 +2820,11 @@ if not MYPY:
|
|
|
2767
2820
|
"""
|
|
2768
2821
|
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
|
|
2769
2822
|
"""
|
|
2770
|
-
max_unavailable: NotRequired[pulumi.Input[Union[int, str]]]
|
|
2823
|
+
max_unavailable: NotRequired[pulumi.Input[Union[builtins.int, builtins.str]]]
|
|
2771
2824
|
"""
|
|
2772
2825
|
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.
|
|
2773
2826
|
"""
|
|
2774
|
-
partition: NotRequired[pulumi.Input[int]]
|
|
2827
|
+
partition: NotRequired[pulumi.Input[builtins.int]]
|
|
2775
2828
|
"""
|
|
2776
2829
|
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.
|
|
2777
2830
|
"""
|
|
@@ -2781,12 +2834,12 @@ elif False:
|
|
|
2781
2834
|
@pulumi.input_type
|
|
2782
2835
|
class RollingUpdateStatefulSetStrategyArgs:
|
|
2783
2836
|
def __init__(__self__, *,
|
|
2784
|
-
max_unavailable: Optional[pulumi.Input[Union[int, str]]] = None,
|
|
2785
|
-
partition: Optional[pulumi.Input[int]] = None):
|
|
2837
|
+
max_unavailable: Optional[pulumi.Input[Union[builtins.int, builtins.str]]] = None,
|
|
2838
|
+
partition: Optional[pulumi.Input[builtins.int]] = None):
|
|
2786
2839
|
"""
|
|
2787
2840
|
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
|
|
2788
|
-
:param pulumi.Input[Union[int, 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.
|
|
2789
|
-
:param pulumi.Input[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.
|
|
2841
|
+
: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.
|
|
2842
|
+
: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.
|
|
2790
2843
|
"""
|
|
2791
2844
|
if max_unavailable is not None:
|
|
2792
2845
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
@@ -2795,26 +2848,26 @@ class RollingUpdateStatefulSetStrategyArgs:
|
|
|
2795
2848
|
|
|
2796
2849
|
@property
|
|
2797
2850
|
@pulumi.getter(name="maxUnavailable")
|
|
2798
|
-
def max_unavailable(self) -> Optional[pulumi.Input[Union[int, str]]]:
|
|
2851
|
+
def max_unavailable(self) -> Optional[pulumi.Input[Union[builtins.int, builtins.str]]]:
|
|
2799
2852
|
"""
|
|
2800
2853
|
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.
|
|
2801
2854
|
"""
|
|
2802
2855
|
return pulumi.get(self, "max_unavailable")
|
|
2803
2856
|
|
|
2804
2857
|
@max_unavailable.setter
|
|
2805
|
-
def max_unavailable(self, value: Optional[pulumi.Input[Union[int, str]]]):
|
|
2858
|
+
def max_unavailable(self, value: Optional[pulumi.Input[Union[builtins.int, builtins.str]]]):
|
|
2806
2859
|
pulumi.set(self, "max_unavailable", value)
|
|
2807
2860
|
|
|
2808
2861
|
@property
|
|
2809
2862
|
@pulumi.getter
|
|
2810
|
-
def partition(self) -> Optional[pulumi.Input[int]]:
|
|
2863
|
+
def partition(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2811
2864
|
"""
|
|
2812
2865
|
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.
|
|
2813
2866
|
"""
|
|
2814
2867
|
return pulumi.get(self, "partition")
|
|
2815
2868
|
|
|
2816
2869
|
@partition.setter
|
|
2817
|
-
def partition(self, value: Optional[pulumi.Input[int]]):
|
|
2870
|
+
def partition(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2818
2871
|
pulumi.set(self, "partition", value)
|
|
2819
2872
|
|
|
2820
2873
|
|
|
@@ -2823,23 +2876,23 @@ if not MYPY:
|
|
|
2823
2876
|
"""
|
|
2824
2877
|
StatefulSetCondition describes the state of a statefulset at a certain point.
|
|
2825
2878
|
"""
|
|
2826
|
-
status: pulumi.Input[str]
|
|
2879
|
+
status: pulumi.Input[builtins.str]
|
|
2827
2880
|
"""
|
|
2828
2881
|
Status of the condition, one of True, False, Unknown.
|
|
2829
2882
|
"""
|
|
2830
|
-
type: pulumi.Input[str]
|
|
2883
|
+
type: pulumi.Input[builtins.str]
|
|
2831
2884
|
"""
|
|
2832
2885
|
Type of statefulset condition.
|
|
2833
2886
|
"""
|
|
2834
|
-
last_transition_time: NotRequired[pulumi.Input[str]]
|
|
2887
|
+
last_transition_time: NotRequired[pulumi.Input[builtins.str]]
|
|
2835
2888
|
"""
|
|
2836
2889
|
Last time the condition transitioned from one status to another.
|
|
2837
2890
|
"""
|
|
2838
|
-
message: NotRequired[pulumi.Input[str]]
|
|
2891
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
2839
2892
|
"""
|
|
2840
2893
|
A human readable message indicating details about the transition.
|
|
2841
2894
|
"""
|
|
2842
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
2895
|
+
reason: NotRequired[pulumi.Input[builtins.str]]
|
|
2843
2896
|
"""
|
|
2844
2897
|
The reason for the condition's last transition.
|
|
2845
2898
|
"""
|
|
@@ -2849,18 +2902,18 @@ elif False:
|
|
|
2849
2902
|
@pulumi.input_type
|
|
2850
2903
|
class StatefulSetConditionArgs:
|
|
2851
2904
|
def __init__(__self__, *,
|
|
2852
|
-
status: pulumi.Input[str],
|
|
2853
|
-
type: pulumi.Input[str],
|
|
2854
|
-
last_transition_time: Optional[pulumi.Input[str]] = None,
|
|
2855
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
2856
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
2905
|
+
status: pulumi.Input[builtins.str],
|
|
2906
|
+
type: pulumi.Input[builtins.str],
|
|
2907
|
+
last_transition_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
2908
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
2909
|
+
reason: Optional[pulumi.Input[builtins.str]] = None):
|
|
2857
2910
|
"""
|
|
2858
2911
|
StatefulSetCondition describes the state of a statefulset at a certain point.
|
|
2859
|
-
:param pulumi.Input[str] status: Status of the condition, one of True, False, Unknown.
|
|
2860
|
-
:param pulumi.Input[str] type: Type of statefulset condition.
|
|
2861
|
-
:param pulumi.Input[str] last_transition_time: Last time the condition transitioned from one status to another.
|
|
2862
|
-
:param pulumi.Input[str] message: A human readable message indicating details about the transition.
|
|
2863
|
-
:param pulumi.Input[str] reason: The reason for the condition's last transition.
|
|
2912
|
+
:param pulumi.Input[builtins.str] status: Status of the condition, one of True, False, Unknown.
|
|
2913
|
+
:param pulumi.Input[builtins.str] type: Type of statefulset condition.
|
|
2914
|
+
:param pulumi.Input[builtins.str] last_transition_time: Last time the condition transitioned from one status to another.
|
|
2915
|
+
:param pulumi.Input[builtins.str] message: A human readable message indicating details about the transition.
|
|
2916
|
+
:param pulumi.Input[builtins.str] reason: The reason for the condition's last transition.
|
|
2864
2917
|
"""
|
|
2865
2918
|
pulumi.set(__self__, "status", status)
|
|
2866
2919
|
pulumi.set(__self__, "type", type)
|
|
@@ -2873,62 +2926,62 @@ class StatefulSetConditionArgs:
|
|
|
2873
2926
|
|
|
2874
2927
|
@property
|
|
2875
2928
|
@pulumi.getter
|
|
2876
|
-
def status(self) -> pulumi.Input[str]:
|
|
2929
|
+
def status(self) -> pulumi.Input[builtins.str]:
|
|
2877
2930
|
"""
|
|
2878
2931
|
Status of the condition, one of True, False, Unknown.
|
|
2879
2932
|
"""
|
|
2880
2933
|
return pulumi.get(self, "status")
|
|
2881
2934
|
|
|
2882
2935
|
@status.setter
|
|
2883
|
-
def status(self, value: pulumi.Input[str]):
|
|
2936
|
+
def status(self, value: pulumi.Input[builtins.str]):
|
|
2884
2937
|
pulumi.set(self, "status", value)
|
|
2885
2938
|
|
|
2886
2939
|
@property
|
|
2887
2940
|
@pulumi.getter
|
|
2888
|
-
def type(self) -> pulumi.Input[str]:
|
|
2941
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
2889
2942
|
"""
|
|
2890
2943
|
Type of statefulset condition.
|
|
2891
2944
|
"""
|
|
2892
2945
|
return pulumi.get(self, "type")
|
|
2893
2946
|
|
|
2894
2947
|
@type.setter
|
|
2895
|
-
def type(self, value: pulumi.Input[str]):
|
|
2948
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
2896
2949
|
pulumi.set(self, "type", value)
|
|
2897
2950
|
|
|
2898
2951
|
@property
|
|
2899
2952
|
@pulumi.getter(name="lastTransitionTime")
|
|
2900
|
-
def last_transition_time(self) -> Optional[pulumi.Input[str]]:
|
|
2953
|
+
def last_transition_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2901
2954
|
"""
|
|
2902
2955
|
Last time the condition transitioned from one status to another.
|
|
2903
2956
|
"""
|
|
2904
2957
|
return pulumi.get(self, "last_transition_time")
|
|
2905
2958
|
|
|
2906
2959
|
@last_transition_time.setter
|
|
2907
|
-
def last_transition_time(self, value: Optional[pulumi.Input[str]]):
|
|
2960
|
+
def last_transition_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2908
2961
|
pulumi.set(self, "last_transition_time", value)
|
|
2909
2962
|
|
|
2910
2963
|
@property
|
|
2911
2964
|
@pulumi.getter
|
|
2912
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
2965
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2913
2966
|
"""
|
|
2914
2967
|
A human readable message indicating details about the transition.
|
|
2915
2968
|
"""
|
|
2916
2969
|
return pulumi.get(self, "message")
|
|
2917
2970
|
|
|
2918
2971
|
@message.setter
|
|
2919
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
2972
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2920
2973
|
pulumi.set(self, "message", value)
|
|
2921
2974
|
|
|
2922
2975
|
@property
|
|
2923
2976
|
@pulumi.getter
|
|
2924
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
2977
|
+
def reason(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2925
2978
|
"""
|
|
2926
2979
|
The reason for the condition's last transition.
|
|
2927
2980
|
"""
|
|
2928
2981
|
return pulumi.get(self, "reason")
|
|
2929
2982
|
|
|
2930
2983
|
@reason.setter
|
|
2931
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
2984
|
+
def reason(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2932
2985
|
pulumi.set(self, "reason", value)
|
|
2933
2986
|
|
|
2934
2987
|
|
|
@@ -2937,7 +2990,7 @@ if not MYPY:
|
|
|
2937
2990
|
"""
|
|
2938
2991
|
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
|
|
2939
2992
|
"""
|
|
2940
|
-
start: NotRequired[pulumi.Input[int]]
|
|
2993
|
+
start: NotRequired[pulumi.Input[builtins.int]]
|
|
2941
2994
|
"""
|
|
2942
2995
|
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:
|
|
2943
2996
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
@@ -2950,10 +3003,10 @@ elif False:
|
|
|
2950
3003
|
@pulumi.input_type
|
|
2951
3004
|
class StatefulSetOrdinalsPatchArgs:
|
|
2952
3005
|
def __init__(__self__, *,
|
|
2953
|
-
start: Optional[pulumi.Input[int]] = None):
|
|
3006
|
+
start: Optional[pulumi.Input[builtins.int]] = None):
|
|
2954
3007
|
"""
|
|
2955
3008
|
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
|
|
2956
|
-
:param pulumi.Input[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:
|
|
3009
|
+
: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:
|
|
2957
3010
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
2958
3011
|
If unset, defaults to 0. Replica indices will be in the range:
|
|
2959
3012
|
[0, .spec.replicas).
|
|
@@ -2963,7 +3016,7 @@ class StatefulSetOrdinalsPatchArgs:
|
|
|
2963
3016
|
|
|
2964
3017
|
@property
|
|
2965
3018
|
@pulumi.getter
|
|
2966
|
-
def start(self) -> Optional[pulumi.Input[int]]:
|
|
3019
|
+
def start(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2967
3020
|
"""
|
|
2968
3021
|
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:
|
|
2969
3022
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
@@ -2973,7 +3026,7 @@ class StatefulSetOrdinalsPatchArgs:
|
|
|
2973
3026
|
return pulumi.get(self, "start")
|
|
2974
3027
|
|
|
2975
3028
|
@start.setter
|
|
2976
|
-
def start(self, value: Optional[pulumi.Input[int]]):
|
|
3029
|
+
def start(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2977
3030
|
pulumi.set(self, "start", value)
|
|
2978
3031
|
|
|
2979
3032
|
|
|
@@ -2982,7 +3035,7 @@ if not MYPY:
|
|
|
2982
3035
|
"""
|
|
2983
3036
|
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
|
|
2984
3037
|
"""
|
|
2985
|
-
start: NotRequired[pulumi.Input[int]]
|
|
3038
|
+
start: NotRequired[pulumi.Input[builtins.int]]
|
|
2986
3039
|
"""
|
|
2987
3040
|
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:
|
|
2988
3041
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
@@ -2995,10 +3048,10 @@ elif False:
|
|
|
2995
3048
|
@pulumi.input_type
|
|
2996
3049
|
class StatefulSetOrdinalsArgs:
|
|
2997
3050
|
def __init__(__self__, *,
|
|
2998
|
-
start: Optional[pulumi.Input[int]] = None):
|
|
3051
|
+
start: Optional[pulumi.Input[builtins.int]] = None):
|
|
2999
3052
|
"""
|
|
3000
3053
|
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
|
|
3001
|
-
:param pulumi.Input[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:
|
|
3054
|
+
: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:
|
|
3002
3055
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
3003
3056
|
If unset, defaults to 0. Replica indices will be in the range:
|
|
3004
3057
|
[0, .spec.replicas).
|
|
@@ -3008,7 +3061,7 @@ class StatefulSetOrdinalsArgs:
|
|
|
3008
3061
|
|
|
3009
3062
|
@property
|
|
3010
3063
|
@pulumi.getter
|
|
3011
|
-
def start(self) -> Optional[pulumi.Input[int]]:
|
|
3064
|
+
def start(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3012
3065
|
"""
|
|
3013
3066
|
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:
|
|
3014
3067
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
@@ -3018,7 +3071,7 @@ class StatefulSetOrdinalsArgs:
|
|
|
3018
3071
|
return pulumi.get(self, "start")
|
|
3019
3072
|
|
|
3020
3073
|
@start.setter
|
|
3021
|
-
def start(self, value: Optional[pulumi.Input[int]]):
|
|
3074
|
+
def start(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3022
3075
|
pulumi.set(self, "start", value)
|
|
3023
3076
|
|
|
3024
3077
|
|
|
@@ -3027,11 +3080,11 @@ if not MYPY:
|
|
|
3027
3080
|
"""
|
|
3028
3081
|
StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
|
|
3029
3082
|
"""
|
|
3030
|
-
when_deleted: NotRequired[pulumi.Input[str]]
|
|
3083
|
+
when_deleted: NotRequired[pulumi.Input[builtins.str]]
|
|
3031
3084
|
"""
|
|
3032
3085
|
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.
|
|
3033
3086
|
"""
|
|
3034
|
-
when_scaled: NotRequired[pulumi.Input[str]]
|
|
3087
|
+
when_scaled: NotRequired[pulumi.Input[builtins.str]]
|
|
3035
3088
|
"""
|
|
3036
3089
|
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.
|
|
3037
3090
|
"""
|
|
@@ -3041,12 +3094,12 @@ elif False:
|
|
|
3041
3094
|
@pulumi.input_type
|
|
3042
3095
|
class StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs:
|
|
3043
3096
|
def __init__(__self__, *,
|
|
3044
|
-
when_deleted: Optional[pulumi.Input[str]] = None,
|
|
3045
|
-
when_scaled: Optional[pulumi.Input[str]] = None):
|
|
3097
|
+
when_deleted: Optional[pulumi.Input[builtins.str]] = None,
|
|
3098
|
+
when_scaled: Optional[pulumi.Input[builtins.str]] = None):
|
|
3046
3099
|
"""
|
|
3047
3100
|
StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
|
|
3048
|
-
:param pulumi.Input[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.
|
|
3049
|
-
:param pulumi.Input[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.
|
|
3101
|
+
: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.
|
|
3102
|
+
: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.
|
|
3050
3103
|
"""
|
|
3051
3104
|
if when_deleted is not None:
|
|
3052
3105
|
pulumi.set(__self__, "when_deleted", when_deleted)
|
|
@@ -3055,26 +3108,26 @@ class StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs:
|
|
|
3055
3108
|
|
|
3056
3109
|
@property
|
|
3057
3110
|
@pulumi.getter(name="whenDeleted")
|
|
3058
|
-
def when_deleted(self) -> Optional[pulumi.Input[str]]:
|
|
3111
|
+
def when_deleted(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3059
3112
|
"""
|
|
3060
3113
|
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.
|
|
3061
3114
|
"""
|
|
3062
3115
|
return pulumi.get(self, "when_deleted")
|
|
3063
3116
|
|
|
3064
3117
|
@when_deleted.setter
|
|
3065
|
-
def when_deleted(self, value: Optional[pulumi.Input[str]]):
|
|
3118
|
+
def when_deleted(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3066
3119
|
pulumi.set(self, "when_deleted", value)
|
|
3067
3120
|
|
|
3068
3121
|
@property
|
|
3069
3122
|
@pulumi.getter(name="whenScaled")
|
|
3070
|
-
def when_scaled(self) -> Optional[pulumi.Input[str]]:
|
|
3123
|
+
def when_scaled(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3071
3124
|
"""
|
|
3072
3125
|
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.
|
|
3073
3126
|
"""
|
|
3074
3127
|
return pulumi.get(self, "when_scaled")
|
|
3075
3128
|
|
|
3076
3129
|
@when_scaled.setter
|
|
3077
|
-
def when_scaled(self, value: Optional[pulumi.Input[str]]):
|
|
3130
|
+
def when_scaled(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3078
3131
|
pulumi.set(self, "when_scaled", value)
|
|
3079
3132
|
|
|
3080
3133
|
|
|
@@ -3083,11 +3136,11 @@ if not MYPY:
|
|
|
3083
3136
|
"""
|
|
3084
3137
|
StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
|
|
3085
3138
|
"""
|
|
3086
|
-
when_deleted: NotRequired[pulumi.Input[str]]
|
|
3139
|
+
when_deleted: NotRequired[pulumi.Input[builtins.str]]
|
|
3087
3140
|
"""
|
|
3088
3141
|
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.
|
|
3089
3142
|
"""
|
|
3090
|
-
when_scaled: NotRequired[pulumi.Input[str]]
|
|
3143
|
+
when_scaled: NotRequired[pulumi.Input[builtins.str]]
|
|
3091
3144
|
"""
|
|
3092
3145
|
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.
|
|
3093
3146
|
"""
|
|
@@ -3097,12 +3150,12 @@ elif False:
|
|
|
3097
3150
|
@pulumi.input_type
|
|
3098
3151
|
class StatefulSetPersistentVolumeClaimRetentionPolicyArgs:
|
|
3099
3152
|
def __init__(__self__, *,
|
|
3100
|
-
when_deleted: Optional[pulumi.Input[str]] = None,
|
|
3101
|
-
when_scaled: Optional[pulumi.Input[str]] = None):
|
|
3153
|
+
when_deleted: Optional[pulumi.Input[builtins.str]] = None,
|
|
3154
|
+
when_scaled: Optional[pulumi.Input[builtins.str]] = None):
|
|
3102
3155
|
"""
|
|
3103
3156
|
StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
|
|
3104
|
-
:param pulumi.Input[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.
|
|
3105
|
-
:param pulumi.Input[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.
|
|
3157
|
+
: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.
|
|
3158
|
+
: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.
|
|
3106
3159
|
"""
|
|
3107
3160
|
if when_deleted is not None:
|
|
3108
3161
|
pulumi.set(__self__, "when_deleted", when_deleted)
|
|
@@ -3111,26 +3164,26 @@ class StatefulSetPersistentVolumeClaimRetentionPolicyArgs:
|
|
|
3111
3164
|
|
|
3112
3165
|
@property
|
|
3113
3166
|
@pulumi.getter(name="whenDeleted")
|
|
3114
|
-
def when_deleted(self) -> Optional[pulumi.Input[str]]:
|
|
3167
|
+
def when_deleted(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3115
3168
|
"""
|
|
3116
3169
|
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.
|
|
3117
3170
|
"""
|
|
3118
3171
|
return pulumi.get(self, "when_deleted")
|
|
3119
3172
|
|
|
3120
3173
|
@when_deleted.setter
|
|
3121
|
-
def when_deleted(self, value: Optional[pulumi.Input[str]]):
|
|
3174
|
+
def when_deleted(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3122
3175
|
pulumi.set(self, "when_deleted", value)
|
|
3123
3176
|
|
|
3124
3177
|
@property
|
|
3125
3178
|
@pulumi.getter(name="whenScaled")
|
|
3126
|
-
def when_scaled(self) -> Optional[pulumi.Input[str]]:
|
|
3179
|
+
def when_scaled(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3127
3180
|
"""
|
|
3128
3181
|
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.
|
|
3129
3182
|
"""
|
|
3130
3183
|
return pulumi.get(self, "when_scaled")
|
|
3131
3184
|
|
|
3132
3185
|
@when_scaled.setter
|
|
3133
|
-
def when_scaled(self, value: Optional[pulumi.Input[str]]):
|
|
3186
|
+
def when_scaled(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3134
3187
|
pulumi.set(self, "when_scaled", value)
|
|
3135
3188
|
|
|
3136
3189
|
|
|
@@ -3139,7 +3192,7 @@ if not MYPY:
|
|
|
3139
3192
|
"""
|
|
3140
3193
|
A StatefulSetSpec is the specification of a StatefulSet.
|
|
3141
3194
|
"""
|
|
3142
|
-
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
3195
|
+
min_ready_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
3143
3196
|
"""
|
|
3144
3197
|
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)
|
|
3145
3198
|
"""
|
|
@@ -3151,15 +3204,15 @@ if not MYPY:
|
|
|
3151
3204
|
"""
|
|
3152
3205
|
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.
|
|
3153
3206
|
"""
|
|
3154
|
-
pod_management_policy: NotRequired[pulumi.Input[str]]
|
|
3207
|
+
pod_management_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
3155
3208
|
"""
|
|
3156
3209
|
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.
|
|
3157
3210
|
"""
|
|
3158
|
-
replicas: NotRequired[pulumi.Input[int]]
|
|
3211
|
+
replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
3159
3212
|
"""
|
|
3160
3213
|
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.
|
|
3161
3214
|
"""
|
|
3162
|
-
revision_history_limit: NotRequired[pulumi.Input[int]]
|
|
3215
|
+
revision_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
3163
3216
|
"""
|
|
3164
3217
|
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.
|
|
3165
3218
|
"""
|
|
@@ -3167,7 +3220,7 @@ if not MYPY:
|
|
|
3167
3220
|
"""
|
|
3168
3221
|
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
|
|
3169
3222
|
"""
|
|
3170
|
-
service_name: NotRequired[pulumi.Input[str]]
|
|
3223
|
+
service_name: NotRequired[pulumi.Input[builtins.str]]
|
|
3171
3224
|
"""
|
|
3172
3225
|
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.
|
|
3173
3226
|
"""
|
|
@@ -3189,27 +3242,27 @@ elif False:
|
|
|
3189
3242
|
@pulumi.input_type
|
|
3190
3243
|
class StatefulSetSpecPatchArgs:
|
|
3191
3244
|
def __init__(__self__, *,
|
|
3192
|
-
min_ready_seconds: Optional[pulumi.Input[int]] = None,
|
|
3245
|
+
min_ready_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
3193
3246
|
ordinals: Optional[pulumi.Input['StatefulSetOrdinalsPatchArgs']] = None,
|
|
3194
3247
|
persistent_volume_claim_retention_policy: Optional[pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyPatchArgs']] = None,
|
|
3195
|
-
pod_management_policy: Optional[pulumi.Input[str]] = None,
|
|
3196
|
-
replicas: Optional[pulumi.Input[int]] = None,
|
|
3197
|
-
revision_history_limit: Optional[pulumi.Input[int]] = None,
|
|
3248
|
+
pod_management_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
3249
|
+
replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
3250
|
+
revision_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
3198
3251
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
3199
|
-
service_name: Optional[pulumi.Input[str]] = None,
|
|
3252
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
3200
3253
|
template: Optional[pulumi.Input['_core.v1.PodTemplateSpecPatchArgs']] = None,
|
|
3201
3254
|
update_strategy: Optional[pulumi.Input['StatefulSetUpdateStrategyPatchArgs']] = None,
|
|
3202
3255
|
volume_claim_templates: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.PersistentVolumeClaimPatchArgs']]]] = None):
|
|
3203
3256
|
"""
|
|
3204
3257
|
A StatefulSetSpec is the specification of a StatefulSet.
|
|
3205
|
-
:param pulumi.Input[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)
|
|
3258
|
+
: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)
|
|
3206
3259
|
: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.
|
|
3207
3260
|
: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.
|
|
3208
|
-
:param pulumi.Input[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.
|
|
3209
|
-
:param pulumi.Input[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.
|
|
3210
|
-
:param pulumi.Input[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.
|
|
3261
|
+
: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.
|
|
3262
|
+
: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.
|
|
3263
|
+
: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.
|
|
3211
3264
|
: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
|
|
3212
|
-
:param pulumi.Input[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.
|
|
3265
|
+
: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.
|
|
3213
3266
|
: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".
|
|
3214
3267
|
: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.
|
|
3215
3268
|
: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.
|
|
@@ -3239,14 +3292,14 @@ class StatefulSetSpecPatchArgs:
|
|
|
3239
3292
|
|
|
3240
3293
|
@property
|
|
3241
3294
|
@pulumi.getter(name="minReadySeconds")
|
|
3242
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
3295
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3243
3296
|
"""
|
|
3244
3297
|
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)
|
|
3245
3298
|
"""
|
|
3246
3299
|
return pulumi.get(self, "min_ready_seconds")
|
|
3247
3300
|
|
|
3248
3301
|
@min_ready_seconds.setter
|
|
3249
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
3302
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3250
3303
|
pulumi.set(self, "min_ready_seconds", value)
|
|
3251
3304
|
|
|
3252
3305
|
@property
|
|
@@ -3275,38 +3328,38 @@ class StatefulSetSpecPatchArgs:
|
|
|
3275
3328
|
|
|
3276
3329
|
@property
|
|
3277
3330
|
@pulumi.getter(name="podManagementPolicy")
|
|
3278
|
-
def pod_management_policy(self) -> Optional[pulumi.Input[str]]:
|
|
3331
|
+
def pod_management_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3279
3332
|
"""
|
|
3280
3333
|
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.
|
|
3281
3334
|
"""
|
|
3282
3335
|
return pulumi.get(self, "pod_management_policy")
|
|
3283
3336
|
|
|
3284
3337
|
@pod_management_policy.setter
|
|
3285
|
-
def pod_management_policy(self, value: Optional[pulumi.Input[str]]):
|
|
3338
|
+
def pod_management_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3286
3339
|
pulumi.set(self, "pod_management_policy", value)
|
|
3287
3340
|
|
|
3288
3341
|
@property
|
|
3289
3342
|
@pulumi.getter
|
|
3290
|
-
def replicas(self) -> Optional[pulumi.Input[int]]:
|
|
3343
|
+
def replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3291
3344
|
"""
|
|
3292
3345
|
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.
|
|
3293
3346
|
"""
|
|
3294
3347
|
return pulumi.get(self, "replicas")
|
|
3295
3348
|
|
|
3296
3349
|
@replicas.setter
|
|
3297
|
-
def replicas(self, value: Optional[pulumi.Input[int]]):
|
|
3350
|
+
def replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3298
3351
|
pulumi.set(self, "replicas", value)
|
|
3299
3352
|
|
|
3300
3353
|
@property
|
|
3301
3354
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
3302
|
-
def revision_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
3355
|
+
def revision_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3303
3356
|
"""
|
|
3304
3357
|
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.
|
|
3305
3358
|
"""
|
|
3306
3359
|
return pulumi.get(self, "revision_history_limit")
|
|
3307
3360
|
|
|
3308
3361
|
@revision_history_limit.setter
|
|
3309
|
-
def revision_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
3362
|
+
def revision_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3310
3363
|
pulumi.set(self, "revision_history_limit", value)
|
|
3311
3364
|
|
|
3312
3365
|
@property
|
|
@@ -3323,14 +3376,14 @@ class StatefulSetSpecPatchArgs:
|
|
|
3323
3376
|
|
|
3324
3377
|
@property
|
|
3325
3378
|
@pulumi.getter(name="serviceName")
|
|
3326
|
-
def service_name(self) -> Optional[pulumi.Input[str]]:
|
|
3379
|
+
def service_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3327
3380
|
"""
|
|
3328
3381
|
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.
|
|
3329
3382
|
"""
|
|
3330
3383
|
return pulumi.get(self, "service_name")
|
|
3331
3384
|
|
|
3332
3385
|
@service_name.setter
|
|
3333
|
-
def service_name(self, value: Optional[pulumi.Input[str]]):
|
|
3386
|
+
def service_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3334
3387
|
pulumi.set(self, "service_name", value)
|
|
3335
3388
|
|
|
3336
3389
|
@property
|
|
@@ -3379,15 +3432,11 @@ if not MYPY:
|
|
|
3379
3432
|
"""
|
|
3380
3433
|
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
|
|
3381
3434
|
"""
|
|
3382
|
-
service_name: pulumi.Input[str]
|
|
3383
|
-
"""
|
|
3384
|
-
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.
|
|
3385
|
-
"""
|
|
3386
3435
|
template: pulumi.Input['_core.v1.PodTemplateSpecArgsDict']
|
|
3387
3436
|
"""
|
|
3388
3437
|
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".
|
|
3389
3438
|
"""
|
|
3390
|
-
min_ready_seconds: NotRequired[pulumi.Input[int]]
|
|
3439
|
+
min_ready_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
3391
3440
|
"""
|
|
3392
3441
|
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)
|
|
3393
3442
|
"""
|
|
@@ -3399,18 +3448,22 @@ if not MYPY:
|
|
|
3399
3448
|
"""
|
|
3400
3449
|
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.
|
|
3401
3450
|
"""
|
|
3402
|
-
pod_management_policy: NotRequired[pulumi.Input[str]]
|
|
3451
|
+
pod_management_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
3403
3452
|
"""
|
|
3404
3453
|
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.
|
|
3405
3454
|
"""
|
|
3406
|
-
replicas: NotRequired[pulumi.Input[int]]
|
|
3455
|
+
replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
3407
3456
|
"""
|
|
3408
3457
|
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.
|
|
3409
3458
|
"""
|
|
3410
|
-
revision_history_limit: NotRequired[pulumi.Input[int]]
|
|
3459
|
+
revision_history_limit: NotRequired[pulumi.Input[builtins.int]]
|
|
3411
3460
|
"""
|
|
3412
3461
|
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.
|
|
3413
3462
|
"""
|
|
3463
|
+
service_name: NotRequired[pulumi.Input[builtins.str]]
|
|
3464
|
+
"""
|
|
3465
|
+
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
|
+
"""
|
|
3414
3467
|
update_strategy: NotRequired[pulumi.Input['StatefulSetUpdateStrategyArgsDict']]
|
|
3415
3468
|
"""
|
|
3416
3469
|
updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
|
|
@@ -3426,32 +3479,31 @@ elif False:
|
|
|
3426
3479
|
class StatefulSetSpecArgs:
|
|
3427
3480
|
def __init__(__self__, *,
|
|
3428
3481
|
selector: pulumi.Input['_meta.v1.LabelSelectorArgs'],
|
|
3429
|
-
service_name: pulumi.Input[str],
|
|
3430
3482
|
template: pulumi.Input['_core.v1.PodTemplateSpecArgs'],
|
|
3431
|
-
min_ready_seconds: Optional[pulumi.Input[int]] = None,
|
|
3483
|
+
min_ready_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
3432
3484
|
ordinals: Optional[pulumi.Input['StatefulSetOrdinalsArgs']] = None,
|
|
3433
3485
|
persistent_volume_claim_retention_policy: Optional[pulumi.Input['StatefulSetPersistentVolumeClaimRetentionPolicyArgs']] = None,
|
|
3434
|
-
pod_management_policy: Optional[pulumi.Input[str]] = None,
|
|
3435
|
-
replicas: Optional[pulumi.Input[int]] = None,
|
|
3436
|
-
revision_history_limit: Optional[pulumi.Input[int]] = None,
|
|
3486
|
+
pod_management_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
3487
|
+
replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
3488
|
+
revision_history_limit: Optional[pulumi.Input[builtins.int]] = None,
|
|
3489
|
+
service_name: Optional[pulumi.Input[builtins.str]] = None,
|
|
3437
3490
|
update_strategy: Optional[pulumi.Input['StatefulSetUpdateStrategyArgs']] = None,
|
|
3438
3491
|
volume_claim_templates: Optional[pulumi.Input[Sequence[pulumi.Input['_core.v1.PersistentVolumeClaimArgs']]]] = None):
|
|
3439
3492
|
"""
|
|
3440
3493
|
A StatefulSetSpec is the specification of a StatefulSet.
|
|
3441
3494
|
: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
|
|
3442
|
-
:param pulumi.Input[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.
|
|
3443
3495
|
: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".
|
|
3444
|
-
:param pulumi.Input[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)
|
|
3496
|
+
: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)
|
|
3445
3497
|
: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.
|
|
3446
3498
|
: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.
|
|
3447
|
-
:param pulumi.Input[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.
|
|
3448
|
-
:param pulumi.Input[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.
|
|
3449
|
-
:param pulumi.Input[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.
|
|
3499
|
+
: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.
|
|
3500
|
+
: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.
|
|
3501
|
+
: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.
|
|
3502
|
+
: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.
|
|
3450
3503
|
: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.
|
|
3451
3504
|
: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.
|
|
3452
3505
|
"""
|
|
3453
3506
|
pulumi.set(__self__, "selector", selector)
|
|
3454
|
-
pulumi.set(__self__, "service_name", service_name)
|
|
3455
3507
|
pulumi.set(__self__, "template", template)
|
|
3456
3508
|
if min_ready_seconds is not None:
|
|
3457
3509
|
pulumi.set(__self__, "min_ready_seconds", min_ready_seconds)
|
|
@@ -3465,6 +3517,8 @@ class StatefulSetSpecArgs:
|
|
|
3465
3517
|
pulumi.set(__self__, "replicas", replicas)
|
|
3466
3518
|
if revision_history_limit is not None:
|
|
3467
3519
|
pulumi.set(__self__, "revision_history_limit", revision_history_limit)
|
|
3520
|
+
if service_name is not None:
|
|
3521
|
+
pulumi.set(__self__, "service_name", service_name)
|
|
3468
3522
|
if update_strategy is not None:
|
|
3469
3523
|
pulumi.set(__self__, "update_strategy", update_strategy)
|
|
3470
3524
|
if volume_claim_templates is not None:
|
|
@@ -3482,18 +3536,6 @@ class StatefulSetSpecArgs:
|
|
|
3482
3536
|
def selector(self, value: pulumi.Input['_meta.v1.LabelSelectorArgs']):
|
|
3483
3537
|
pulumi.set(self, "selector", value)
|
|
3484
3538
|
|
|
3485
|
-
@property
|
|
3486
|
-
@pulumi.getter(name="serviceName")
|
|
3487
|
-
def service_name(self) -> pulumi.Input[str]:
|
|
3488
|
-
"""
|
|
3489
|
-
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.
|
|
3490
|
-
"""
|
|
3491
|
-
return pulumi.get(self, "service_name")
|
|
3492
|
-
|
|
3493
|
-
@service_name.setter
|
|
3494
|
-
def service_name(self, value: pulumi.Input[str]):
|
|
3495
|
-
pulumi.set(self, "service_name", value)
|
|
3496
|
-
|
|
3497
3539
|
@property
|
|
3498
3540
|
@pulumi.getter
|
|
3499
3541
|
def template(self) -> pulumi.Input['_core.v1.PodTemplateSpecArgs']:
|
|
@@ -3508,14 +3550,14 @@ class StatefulSetSpecArgs:
|
|
|
3508
3550
|
|
|
3509
3551
|
@property
|
|
3510
3552
|
@pulumi.getter(name="minReadySeconds")
|
|
3511
|
-
def min_ready_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
3553
|
+
def min_ready_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3512
3554
|
"""
|
|
3513
3555
|
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)
|
|
3514
3556
|
"""
|
|
3515
3557
|
return pulumi.get(self, "min_ready_seconds")
|
|
3516
3558
|
|
|
3517
3559
|
@min_ready_seconds.setter
|
|
3518
|
-
def min_ready_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
3560
|
+
def min_ready_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3519
3561
|
pulumi.set(self, "min_ready_seconds", value)
|
|
3520
3562
|
|
|
3521
3563
|
@property
|
|
@@ -3544,40 +3586,52 @@ class StatefulSetSpecArgs:
|
|
|
3544
3586
|
|
|
3545
3587
|
@property
|
|
3546
3588
|
@pulumi.getter(name="podManagementPolicy")
|
|
3547
|
-
def pod_management_policy(self) -> Optional[pulumi.Input[str]]:
|
|
3589
|
+
def pod_management_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3548
3590
|
"""
|
|
3549
3591
|
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.
|
|
3550
3592
|
"""
|
|
3551
3593
|
return pulumi.get(self, "pod_management_policy")
|
|
3552
3594
|
|
|
3553
3595
|
@pod_management_policy.setter
|
|
3554
|
-
def pod_management_policy(self, value: Optional[pulumi.Input[str]]):
|
|
3596
|
+
def pod_management_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3555
3597
|
pulumi.set(self, "pod_management_policy", value)
|
|
3556
3598
|
|
|
3557
3599
|
@property
|
|
3558
3600
|
@pulumi.getter
|
|
3559
|
-
def replicas(self) -> Optional[pulumi.Input[int]]:
|
|
3601
|
+
def replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3560
3602
|
"""
|
|
3561
3603
|
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.
|
|
3562
3604
|
"""
|
|
3563
3605
|
return pulumi.get(self, "replicas")
|
|
3564
3606
|
|
|
3565
3607
|
@replicas.setter
|
|
3566
|
-
def replicas(self, value: Optional[pulumi.Input[int]]):
|
|
3608
|
+
def replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3567
3609
|
pulumi.set(self, "replicas", value)
|
|
3568
3610
|
|
|
3569
3611
|
@property
|
|
3570
3612
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
3571
|
-
def revision_history_limit(self) -> Optional[pulumi.Input[int]]:
|
|
3613
|
+
def revision_history_limit(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3572
3614
|
"""
|
|
3573
3615
|
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.
|
|
3574
3616
|
"""
|
|
3575
3617
|
return pulumi.get(self, "revision_history_limit")
|
|
3576
3618
|
|
|
3577
3619
|
@revision_history_limit.setter
|
|
3578
|
-
def revision_history_limit(self, value: Optional[pulumi.Input[int]]):
|
|
3620
|
+
def revision_history_limit(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3579
3621
|
pulumi.set(self, "revision_history_limit", value)
|
|
3580
3622
|
|
|
3623
|
+
@property
|
|
3624
|
+
@pulumi.getter(name="serviceName")
|
|
3625
|
+
def service_name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3626
|
+
"""
|
|
3627
|
+
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
|
+
"""
|
|
3629
|
+
return pulumi.get(self, "service_name")
|
|
3630
|
+
|
|
3631
|
+
@service_name.setter
|
|
3632
|
+
def service_name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3633
|
+
pulumi.set(self, "service_name", value)
|
|
3634
|
+
|
|
3581
3635
|
@property
|
|
3582
3636
|
@pulumi.getter(name="updateStrategy")
|
|
3583
3637
|
def update_strategy(self) -> Optional[pulumi.Input['StatefulSetUpdateStrategyArgs']]:
|
|
@@ -3608,15 +3662,15 @@ if not MYPY:
|
|
|
3608
3662
|
"""
|
|
3609
3663
|
StatefulSetStatus represents the current state of a StatefulSet.
|
|
3610
3664
|
"""
|
|
3611
|
-
replicas: pulumi.Input[int]
|
|
3665
|
+
replicas: pulumi.Input[builtins.int]
|
|
3612
3666
|
"""
|
|
3613
3667
|
replicas is the number of Pods created by the StatefulSet controller.
|
|
3614
3668
|
"""
|
|
3615
|
-
available_replicas: NotRequired[pulumi.Input[int]]
|
|
3669
|
+
available_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
3616
3670
|
"""
|
|
3617
3671
|
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
|
3618
3672
|
"""
|
|
3619
|
-
collision_count: NotRequired[pulumi.Input[int]]
|
|
3673
|
+
collision_count: NotRequired[pulumi.Input[builtins.int]]
|
|
3620
3674
|
"""
|
|
3621
3675
|
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.
|
|
3622
3676
|
"""
|
|
@@ -3624,27 +3678,27 @@ if not MYPY:
|
|
|
3624
3678
|
"""
|
|
3625
3679
|
Represents the latest available observations of a statefulset's current state.
|
|
3626
3680
|
"""
|
|
3627
|
-
current_replicas: NotRequired[pulumi.Input[int]]
|
|
3681
|
+
current_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
3628
3682
|
"""
|
|
3629
3683
|
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
|
|
3630
3684
|
"""
|
|
3631
|
-
current_revision: NotRequired[pulumi.Input[str]]
|
|
3685
|
+
current_revision: NotRequired[pulumi.Input[builtins.str]]
|
|
3632
3686
|
"""
|
|
3633
3687
|
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
|
|
3634
3688
|
"""
|
|
3635
|
-
observed_generation: NotRequired[pulumi.Input[int]]
|
|
3689
|
+
observed_generation: NotRequired[pulumi.Input[builtins.int]]
|
|
3636
3690
|
"""
|
|
3637
3691
|
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.
|
|
3638
3692
|
"""
|
|
3639
|
-
ready_replicas: NotRequired[pulumi.Input[int]]
|
|
3693
|
+
ready_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
3640
3694
|
"""
|
|
3641
3695
|
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
|
|
3642
3696
|
"""
|
|
3643
|
-
update_revision: NotRequired[pulumi.Input[str]]
|
|
3697
|
+
update_revision: NotRequired[pulumi.Input[builtins.str]]
|
|
3644
3698
|
"""
|
|
3645
3699
|
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
|
|
3646
3700
|
"""
|
|
3647
|
-
updated_replicas: NotRequired[pulumi.Input[int]]
|
|
3701
|
+
updated_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
3648
3702
|
"""
|
|
3649
3703
|
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
|
|
3650
3704
|
"""
|
|
@@ -3654,28 +3708,28 @@ elif False:
|
|
|
3654
3708
|
@pulumi.input_type
|
|
3655
3709
|
class StatefulSetStatusArgs:
|
|
3656
3710
|
def __init__(__self__, *,
|
|
3657
|
-
replicas: pulumi.Input[int],
|
|
3658
|
-
available_replicas: Optional[pulumi.Input[int]] = None,
|
|
3659
|
-
collision_count: Optional[pulumi.Input[int]] = None,
|
|
3711
|
+
replicas: pulumi.Input[builtins.int],
|
|
3712
|
+
available_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
3713
|
+
collision_count: Optional[pulumi.Input[builtins.int]] = None,
|
|
3660
3714
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['StatefulSetConditionArgs']]]] = None,
|
|
3661
|
-
current_replicas: Optional[pulumi.Input[int]] = None,
|
|
3662
|
-
current_revision: Optional[pulumi.Input[str]] = None,
|
|
3663
|
-
observed_generation: Optional[pulumi.Input[int]] = None,
|
|
3664
|
-
ready_replicas: Optional[pulumi.Input[int]] = None,
|
|
3665
|
-
update_revision: Optional[pulumi.Input[str]] = None,
|
|
3666
|
-
updated_replicas: Optional[pulumi.Input[int]] = None):
|
|
3715
|
+
current_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
3716
|
+
current_revision: Optional[pulumi.Input[builtins.str]] = None,
|
|
3717
|
+
observed_generation: Optional[pulumi.Input[builtins.int]] = None,
|
|
3718
|
+
ready_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
3719
|
+
update_revision: Optional[pulumi.Input[builtins.str]] = None,
|
|
3720
|
+
updated_replicas: Optional[pulumi.Input[builtins.int]] = None):
|
|
3667
3721
|
"""
|
|
3668
3722
|
StatefulSetStatus represents the current state of a StatefulSet.
|
|
3669
|
-
:param pulumi.Input[int] replicas: replicas is the number of Pods created by the StatefulSet controller.
|
|
3670
|
-
:param pulumi.Input[int] available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
|
3671
|
-
:param pulumi.Input[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.
|
|
3723
|
+
:param pulumi.Input[builtins.int] replicas: replicas is the number of Pods created by the StatefulSet controller.
|
|
3724
|
+
:param pulumi.Input[builtins.int] available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
|
3725
|
+
: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.
|
|
3672
3726
|
:param pulumi.Input[Sequence[pulumi.Input['StatefulSetConditionArgs']]] conditions: Represents the latest available observations of a statefulset's current state.
|
|
3673
|
-
:param pulumi.Input[int] current_replicas: currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
|
|
3674
|
-
:param pulumi.Input[str] current_revision: currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
|
|
3675
|
-
:param pulumi.Input[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.
|
|
3676
|
-
:param pulumi.Input[int] ready_replicas: readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
|
|
3677
|
-
:param pulumi.Input[str] update_revision: updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
|
|
3678
|
-
:param pulumi.Input[int] updated_replicas: updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
|
|
3727
|
+
: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.
|
|
3728
|
+
: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).
|
|
3729
|
+
: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.
|
|
3730
|
+
:param pulumi.Input[builtins.int] ready_replicas: readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
|
|
3731
|
+
: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)
|
|
3732
|
+
: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.
|
|
3679
3733
|
"""
|
|
3680
3734
|
pulumi.set(__self__, "replicas", replicas)
|
|
3681
3735
|
if available_replicas is not None:
|
|
@@ -3699,38 +3753,38 @@ class StatefulSetStatusArgs:
|
|
|
3699
3753
|
|
|
3700
3754
|
@property
|
|
3701
3755
|
@pulumi.getter
|
|
3702
|
-
def replicas(self) -> pulumi.Input[int]:
|
|
3756
|
+
def replicas(self) -> pulumi.Input[builtins.int]:
|
|
3703
3757
|
"""
|
|
3704
3758
|
replicas is the number of Pods created by the StatefulSet controller.
|
|
3705
3759
|
"""
|
|
3706
3760
|
return pulumi.get(self, "replicas")
|
|
3707
3761
|
|
|
3708
3762
|
@replicas.setter
|
|
3709
|
-
def replicas(self, value: pulumi.Input[int]):
|
|
3763
|
+
def replicas(self, value: pulumi.Input[builtins.int]):
|
|
3710
3764
|
pulumi.set(self, "replicas", value)
|
|
3711
3765
|
|
|
3712
3766
|
@property
|
|
3713
3767
|
@pulumi.getter(name="availableReplicas")
|
|
3714
|
-
def available_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
3768
|
+
def available_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3715
3769
|
"""
|
|
3716
3770
|
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
|
3717
3771
|
"""
|
|
3718
3772
|
return pulumi.get(self, "available_replicas")
|
|
3719
3773
|
|
|
3720
3774
|
@available_replicas.setter
|
|
3721
|
-
def available_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
3775
|
+
def available_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3722
3776
|
pulumi.set(self, "available_replicas", value)
|
|
3723
3777
|
|
|
3724
3778
|
@property
|
|
3725
3779
|
@pulumi.getter(name="collisionCount")
|
|
3726
|
-
def collision_count(self) -> Optional[pulumi.Input[int]]:
|
|
3780
|
+
def collision_count(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3727
3781
|
"""
|
|
3728
3782
|
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.
|
|
3729
3783
|
"""
|
|
3730
3784
|
return pulumi.get(self, "collision_count")
|
|
3731
3785
|
|
|
3732
3786
|
@collision_count.setter
|
|
3733
|
-
def collision_count(self, value: Optional[pulumi.Input[int]]):
|
|
3787
|
+
def collision_count(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3734
3788
|
pulumi.set(self, "collision_count", value)
|
|
3735
3789
|
|
|
3736
3790
|
@property
|
|
@@ -3747,74 +3801,74 @@ class StatefulSetStatusArgs:
|
|
|
3747
3801
|
|
|
3748
3802
|
@property
|
|
3749
3803
|
@pulumi.getter(name="currentReplicas")
|
|
3750
|
-
def current_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
3804
|
+
def current_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3751
3805
|
"""
|
|
3752
3806
|
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
|
|
3753
3807
|
"""
|
|
3754
3808
|
return pulumi.get(self, "current_replicas")
|
|
3755
3809
|
|
|
3756
3810
|
@current_replicas.setter
|
|
3757
|
-
def current_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
3811
|
+
def current_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3758
3812
|
pulumi.set(self, "current_replicas", value)
|
|
3759
3813
|
|
|
3760
3814
|
@property
|
|
3761
3815
|
@pulumi.getter(name="currentRevision")
|
|
3762
|
-
def current_revision(self) -> Optional[pulumi.Input[str]]:
|
|
3816
|
+
def current_revision(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3763
3817
|
"""
|
|
3764
3818
|
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
|
|
3765
3819
|
"""
|
|
3766
3820
|
return pulumi.get(self, "current_revision")
|
|
3767
3821
|
|
|
3768
3822
|
@current_revision.setter
|
|
3769
|
-
def current_revision(self, value: Optional[pulumi.Input[str]]):
|
|
3823
|
+
def current_revision(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3770
3824
|
pulumi.set(self, "current_revision", value)
|
|
3771
3825
|
|
|
3772
3826
|
@property
|
|
3773
3827
|
@pulumi.getter(name="observedGeneration")
|
|
3774
|
-
def observed_generation(self) -> Optional[pulumi.Input[int]]:
|
|
3828
|
+
def observed_generation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3775
3829
|
"""
|
|
3776
3830
|
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.
|
|
3777
3831
|
"""
|
|
3778
3832
|
return pulumi.get(self, "observed_generation")
|
|
3779
3833
|
|
|
3780
3834
|
@observed_generation.setter
|
|
3781
|
-
def observed_generation(self, value: Optional[pulumi.Input[int]]):
|
|
3835
|
+
def observed_generation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3782
3836
|
pulumi.set(self, "observed_generation", value)
|
|
3783
3837
|
|
|
3784
3838
|
@property
|
|
3785
3839
|
@pulumi.getter(name="readyReplicas")
|
|
3786
|
-
def ready_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
3840
|
+
def ready_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3787
3841
|
"""
|
|
3788
3842
|
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
|
|
3789
3843
|
"""
|
|
3790
3844
|
return pulumi.get(self, "ready_replicas")
|
|
3791
3845
|
|
|
3792
3846
|
@ready_replicas.setter
|
|
3793
|
-
def ready_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
3847
|
+
def ready_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3794
3848
|
pulumi.set(self, "ready_replicas", value)
|
|
3795
3849
|
|
|
3796
3850
|
@property
|
|
3797
3851
|
@pulumi.getter(name="updateRevision")
|
|
3798
|
-
def update_revision(self) -> Optional[pulumi.Input[str]]:
|
|
3852
|
+
def update_revision(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3799
3853
|
"""
|
|
3800
3854
|
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
|
|
3801
3855
|
"""
|
|
3802
3856
|
return pulumi.get(self, "update_revision")
|
|
3803
3857
|
|
|
3804
3858
|
@update_revision.setter
|
|
3805
|
-
def update_revision(self, value: Optional[pulumi.Input[str]]):
|
|
3859
|
+
def update_revision(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3806
3860
|
pulumi.set(self, "update_revision", value)
|
|
3807
3861
|
|
|
3808
3862
|
@property
|
|
3809
3863
|
@pulumi.getter(name="updatedReplicas")
|
|
3810
|
-
def updated_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
3864
|
+
def updated_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
3811
3865
|
"""
|
|
3812
3866
|
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
|
|
3813
3867
|
"""
|
|
3814
3868
|
return pulumi.get(self, "updated_replicas")
|
|
3815
3869
|
|
|
3816
3870
|
@updated_replicas.setter
|
|
3817
|
-
def updated_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
3871
|
+
def updated_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
3818
3872
|
pulumi.set(self, "updated_replicas", value)
|
|
3819
3873
|
|
|
3820
3874
|
|
|
@@ -3827,7 +3881,7 @@ if not MYPY:
|
|
|
3827
3881
|
"""
|
|
3828
3882
|
RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
|
|
3829
3883
|
"""
|
|
3830
|
-
type: NotRequired[pulumi.Input[str]]
|
|
3884
|
+
type: NotRequired[pulumi.Input[builtins.str]]
|
|
3831
3885
|
"""
|
|
3832
3886
|
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3833
3887
|
"""
|
|
@@ -3838,11 +3892,11 @@ elif False:
|
|
|
3838
3892
|
class StatefulSetUpdateStrategyPatchArgs:
|
|
3839
3893
|
def __init__(__self__, *,
|
|
3840
3894
|
rolling_update: Optional[pulumi.Input['RollingUpdateStatefulSetStrategyPatchArgs']] = None,
|
|
3841
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
3895
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
3842
3896
|
"""
|
|
3843
3897
|
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.
|
|
3844
3898
|
:param pulumi.Input['RollingUpdateStatefulSetStrategyPatchArgs'] rolling_update: RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
|
|
3845
|
-
:param pulumi.Input[str] type: Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3899
|
+
:param pulumi.Input[builtins.str] type: Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3846
3900
|
"""
|
|
3847
3901
|
if rolling_update is not None:
|
|
3848
3902
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
@@ -3863,14 +3917,14 @@ class StatefulSetUpdateStrategyPatchArgs:
|
|
|
3863
3917
|
|
|
3864
3918
|
@property
|
|
3865
3919
|
@pulumi.getter
|
|
3866
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
3920
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3867
3921
|
"""
|
|
3868
3922
|
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3869
3923
|
"""
|
|
3870
3924
|
return pulumi.get(self, "type")
|
|
3871
3925
|
|
|
3872
3926
|
@type.setter
|
|
3873
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
3927
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3874
3928
|
pulumi.set(self, "type", value)
|
|
3875
3929
|
|
|
3876
3930
|
|
|
@@ -3883,7 +3937,7 @@ if not MYPY:
|
|
|
3883
3937
|
"""
|
|
3884
3938
|
RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
|
|
3885
3939
|
"""
|
|
3886
|
-
type: NotRequired[pulumi.Input[str]]
|
|
3940
|
+
type: NotRequired[pulumi.Input[builtins.str]]
|
|
3887
3941
|
"""
|
|
3888
3942
|
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3889
3943
|
"""
|
|
@@ -3894,11 +3948,11 @@ elif False:
|
|
|
3894
3948
|
class StatefulSetUpdateStrategyArgs:
|
|
3895
3949
|
def __init__(__self__, *,
|
|
3896
3950
|
rolling_update: Optional[pulumi.Input['RollingUpdateStatefulSetStrategyArgs']] = None,
|
|
3897
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
3951
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
3898
3952
|
"""
|
|
3899
3953
|
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.
|
|
3900
3954
|
:param pulumi.Input['RollingUpdateStatefulSetStrategyArgs'] rolling_update: RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
|
|
3901
|
-
:param pulumi.Input[str] type: Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3955
|
+
:param pulumi.Input[builtins.str] type: Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3902
3956
|
"""
|
|
3903
3957
|
if rolling_update is not None:
|
|
3904
3958
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
@@ -3919,14 +3973,14 @@ class StatefulSetUpdateStrategyArgs:
|
|
|
3919
3973
|
|
|
3920
3974
|
@property
|
|
3921
3975
|
@pulumi.getter
|
|
3922
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
3976
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
3923
3977
|
"""
|
|
3924
3978
|
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
3925
3979
|
"""
|
|
3926
3980
|
return pulumi.get(self, "type")
|
|
3927
3981
|
|
|
3928
3982
|
@type.setter
|
|
3929
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
3983
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
3930
3984
|
pulumi.set(self, "type", value)
|
|
3931
3985
|
|
|
3932
3986
|
|
|
@@ -3952,11 +4006,11 @@ if not MYPY:
|
|
|
3952
4006
|
time out and mark the resource update as Failed. You can override the default timeout value
|
|
3953
4007
|
by setting the 'customTimeouts' option on the resource.
|
|
3954
4008
|
"""
|
|
3955
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
4009
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
3956
4010
|
"""
|
|
3957
4011
|
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
|
|
3958
4012
|
"""
|
|
3959
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
4013
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
3960
4014
|
"""
|
|
3961
4015
|
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
|
|
3962
4016
|
"""
|
|
@@ -3978,8 +4032,8 @@ elif False:
|
|
|
3978
4032
|
@pulumi.input_type
|
|
3979
4033
|
class StatefulSetArgs:
|
|
3980
4034
|
def __init__(__self__, *,
|
|
3981
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
3982
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
4035
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
4036
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
3983
4037
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
3984
4038
|
spec: Optional[pulumi.Input['StatefulSetSpecArgs']] = None,
|
|
3985
4039
|
status: Optional[pulumi.Input['StatefulSetStatusArgs']] = None):
|
|
@@ -4002,8 +4056,8 @@ class StatefulSetArgs:
|
|
|
4002
4056
|
If the StatefulSet has not reached a Ready state after 10 minutes, it will
|
|
4003
4057
|
time out and mark the resource update as Failed. You can override the default timeout value
|
|
4004
4058
|
by setting the 'customTimeouts' option on the resource.
|
|
4005
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
4006
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
4059
|
+
: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
|
|
4060
|
+
: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
|
|
4007
4061
|
: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
|
|
4008
4062
|
:param pulumi.Input['StatefulSetSpecArgs'] spec: Spec defines the desired identities of pods in this set.
|
|
4009
4063
|
: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.
|
|
@@ -4021,26 +4075,26 @@ class StatefulSetArgs:
|
|
|
4021
4075
|
|
|
4022
4076
|
@property
|
|
4023
4077
|
@pulumi.getter(name="apiVersion")
|
|
4024
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
4078
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4025
4079
|
"""
|
|
4026
4080
|
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
|
|
4027
4081
|
"""
|
|
4028
4082
|
return pulumi.get(self, "api_version")
|
|
4029
4083
|
|
|
4030
4084
|
@api_version.setter
|
|
4031
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
4085
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4032
4086
|
pulumi.set(self, "api_version", value)
|
|
4033
4087
|
|
|
4034
4088
|
@property
|
|
4035
4089
|
@pulumi.getter
|
|
4036
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
4090
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
4037
4091
|
"""
|
|
4038
4092
|
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
|
|
4039
4093
|
"""
|
|
4040
4094
|
return pulumi.get(self, "kind")
|
|
4041
4095
|
|
|
4042
4096
|
@kind.setter
|
|
4043
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
4097
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
4044
4098
|
pulumi.set(self, "kind", value)
|
|
4045
4099
|
|
|
4046
4100
|
@property
|