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