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
|
|
@@ -88,17 +88,17 @@ class ControllerRevision(dict):
|
|
|
88
88
|
return super().get(key, default)
|
|
89
89
|
|
|
90
90
|
def __init__(__self__, *,
|
|
91
|
-
revision: int,
|
|
92
|
-
api_version: Optional[str] = None,
|
|
91
|
+
revision: _builtins.int,
|
|
92
|
+
api_version: Optional[_builtins.str] = None,
|
|
93
93
|
data: Optional[Any] = None,
|
|
94
|
-
kind: Optional[str] = None,
|
|
94
|
+
kind: Optional[_builtins.str] = None,
|
|
95
95
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None):
|
|
96
96
|
"""
|
|
97
97
|
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.
|
|
98
|
-
:param int revision: Revision indicates the revision of the state represented by Data.
|
|
99
|
-
:param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
98
|
+
:param _builtins.int revision: Revision indicates the revision of the state represented by Data.
|
|
99
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
100
100
|
:param Any data: Data is the serialized representation of the state.
|
|
101
|
-
:param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
101
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
102
102
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
103
103
|
"""
|
|
104
104
|
pulumi.set(__self__, "revision", revision)
|
|
@@ -111,23 +111,23 @@ class ControllerRevision(dict):
|
|
|
111
111
|
if metadata is not None:
|
|
112
112
|
pulumi.set(__self__, "metadata", metadata)
|
|
113
113
|
|
|
114
|
-
@property
|
|
114
|
+
@_builtins.property
|
|
115
115
|
@pulumi.getter
|
|
116
|
-
def revision(self) -> int:
|
|
116
|
+
def revision(self) -> _builtins.int:
|
|
117
117
|
"""
|
|
118
118
|
Revision indicates the revision of the state represented by Data.
|
|
119
119
|
"""
|
|
120
120
|
return pulumi.get(self, "revision")
|
|
121
121
|
|
|
122
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
123
123
|
@pulumi.getter(name="apiVersion")
|
|
124
|
-
def api_version(self) -> Optional[str]:
|
|
124
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
125
125
|
"""
|
|
126
126
|
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
|
|
127
127
|
"""
|
|
128
128
|
return pulumi.get(self, "api_version")
|
|
129
129
|
|
|
130
|
-
@property
|
|
130
|
+
@_builtins.property
|
|
131
131
|
@pulumi.getter
|
|
132
132
|
def data(self) -> Optional[Any]:
|
|
133
133
|
"""
|
|
@@ -135,15 +135,15 @@ class ControllerRevision(dict):
|
|
|
135
135
|
"""
|
|
136
136
|
return pulumi.get(self, "data")
|
|
137
137
|
|
|
138
|
-
@property
|
|
138
|
+
@_builtins.property
|
|
139
139
|
@pulumi.getter
|
|
140
|
-
def kind(self) -> Optional[str]:
|
|
140
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
141
141
|
"""
|
|
142
142
|
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
|
|
143
143
|
"""
|
|
144
144
|
return pulumi.get(self, "kind")
|
|
145
145
|
|
|
146
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
147
147
|
@pulumi.getter
|
|
148
148
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
149
149
|
"""
|
|
@@ -175,15 +175,15 @@ class DaemonSet(dict):
|
|
|
175
175
|
return super().get(key, default)
|
|
176
176
|
|
|
177
177
|
def __init__(__self__, *,
|
|
178
|
-
api_version: Optional[str] = None,
|
|
179
|
-
kind: Optional[str] = None,
|
|
178
|
+
api_version: Optional[_builtins.str] = None,
|
|
179
|
+
kind: Optional[_builtins.str] = None,
|
|
180
180
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
181
181
|
spec: Optional['outputs.DaemonSetSpec'] = None,
|
|
182
182
|
status: Optional['outputs.DaemonSetStatus'] = None):
|
|
183
183
|
"""
|
|
184
184
|
DaemonSet represents the configuration of a daemon set.
|
|
185
|
-
:param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
186
|
-
:param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
185
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
186
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
187
187
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
188
188
|
:param '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
|
|
189
189
|
:param '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
|
|
@@ -199,23 +199,23 @@ class DaemonSet(dict):
|
|
|
199
199
|
if status is not None:
|
|
200
200
|
pulumi.set(__self__, "status", status)
|
|
201
201
|
|
|
202
|
-
@property
|
|
202
|
+
@_builtins.property
|
|
203
203
|
@pulumi.getter(name="apiVersion")
|
|
204
|
-
def api_version(self) -> Optional[str]:
|
|
204
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
205
205
|
"""
|
|
206
206
|
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
|
|
207
207
|
"""
|
|
208
208
|
return pulumi.get(self, "api_version")
|
|
209
209
|
|
|
210
|
-
@property
|
|
210
|
+
@_builtins.property
|
|
211
211
|
@pulumi.getter
|
|
212
|
-
def kind(self) -> Optional[str]:
|
|
212
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
213
213
|
"""
|
|
214
214
|
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
|
|
215
215
|
"""
|
|
216
216
|
return pulumi.get(self, "kind")
|
|
217
217
|
|
|
218
|
-
@property
|
|
218
|
+
@_builtins.property
|
|
219
219
|
@pulumi.getter
|
|
220
220
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
221
221
|
"""
|
|
@@ -223,7 +223,7 @@ class DaemonSet(dict):
|
|
|
223
223
|
"""
|
|
224
224
|
return pulumi.get(self, "metadata")
|
|
225
225
|
|
|
226
|
-
@property
|
|
226
|
+
@_builtins.property
|
|
227
227
|
@pulumi.getter
|
|
228
228
|
def spec(self) -> Optional['outputs.DaemonSetSpec']:
|
|
229
229
|
"""
|
|
@@ -231,7 +231,7 @@ class DaemonSet(dict):
|
|
|
231
231
|
"""
|
|
232
232
|
return pulumi.get(self, "spec")
|
|
233
233
|
|
|
234
|
-
@property
|
|
234
|
+
@_builtins.property
|
|
235
235
|
@pulumi.getter
|
|
236
236
|
def status(self) -> Optional['outputs.DaemonSetStatus']:
|
|
237
237
|
"""
|
|
@@ -263,18 +263,18 @@ class DaemonSetCondition(dict):
|
|
|
263
263
|
return super().get(key, default)
|
|
264
264
|
|
|
265
265
|
def __init__(__self__, *,
|
|
266
|
-
status: str,
|
|
267
|
-
type: str,
|
|
268
|
-
last_transition_time: Optional[str] = None,
|
|
269
|
-
message: Optional[str] = None,
|
|
270
|
-
reason: Optional[str] = None):
|
|
266
|
+
status: _builtins.str,
|
|
267
|
+
type: _builtins.str,
|
|
268
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
269
|
+
message: Optional[_builtins.str] = None,
|
|
270
|
+
reason: Optional[_builtins.str] = None):
|
|
271
271
|
"""
|
|
272
272
|
DaemonSetCondition describes the state of a DaemonSet at a certain point.
|
|
273
|
-
:param str status: Status of the condition, one of True, False, Unknown.
|
|
274
|
-
:param str type: Type of DaemonSet condition.
|
|
275
|
-
:param str last_transition_time: Last time the condition transitioned from one status to another.
|
|
276
|
-
:param str message: A human readable message indicating details about the transition.
|
|
277
|
-
:param str reason: The reason for the condition's last transition.
|
|
273
|
+
:param _builtins.str status: Status of the condition, one of True, False, Unknown.
|
|
274
|
+
:param _builtins.str type: Type of DaemonSet condition.
|
|
275
|
+
:param _builtins.str last_transition_time: Last time the condition transitioned from one status to another.
|
|
276
|
+
:param _builtins.str message: A human readable message indicating details about the transition.
|
|
277
|
+
:param _builtins.str reason: The reason for the condition's last transition.
|
|
278
278
|
"""
|
|
279
279
|
pulumi.set(__self__, "status", status)
|
|
280
280
|
pulumi.set(__self__, "type", type)
|
|
@@ -285,41 +285,41 @@ class DaemonSetCondition(dict):
|
|
|
285
285
|
if reason is not None:
|
|
286
286
|
pulumi.set(__self__, "reason", reason)
|
|
287
287
|
|
|
288
|
-
@property
|
|
288
|
+
@_builtins.property
|
|
289
289
|
@pulumi.getter
|
|
290
|
-
def status(self) -> str:
|
|
290
|
+
def status(self) -> _builtins.str:
|
|
291
291
|
"""
|
|
292
292
|
Status of the condition, one of True, False, Unknown.
|
|
293
293
|
"""
|
|
294
294
|
return pulumi.get(self, "status")
|
|
295
295
|
|
|
296
|
-
@property
|
|
296
|
+
@_builtins.property
|
|
297
297
|
@pulumi.getter
|
|
298
|
-
def type(self) -> str:
|
|
298
|
+
def type(self) -> _builtins.str:
|
|
299
299
|
"""
|
|
300
300
|
Type of DaemonSet condition.
|
|
301
301
|
"""
|
|
302
302
|
return pulumi.get(self, "type")
|
|
303
303
|
|
|
304
|
-
@property
|
|
304
|
+
@_builtins.property
|
|
305
305
|
@pulumi.getter(name="lastTransitionTime")
|
|
306
|
-
def last_transition_time(self) -> Optional[str]:
|
|
306
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
307
307
|
"""
|
|
308
308
|
Last time the condition transitioned from one status to another.
|
|
309
309
|
"""
|
|
310
310
|
return pulumi.get(self, "last_transition_time")
|
|
311
311
|
|
|
312
|
-
@property
|
|
312
|
+
@_builtins.property
|
|
313
313
|
@pulumi.getter
|
|
314
|
-
def message(self) -> Optional[str]:
|
|
314
|
+
def message(self) -> Optional[_builtins.str]:
|
|
315
315
|
"""
|
|
316
316
|
A human readable message indicating details about the transition.
|
|
317
317
|
"""
|
|
318
318
|
return pulumi.get(self, "message")
|
|
319
319
|
|
|
320
|
-
@property
|
|
320
|
+
@_builtins.property
|
|
321
321
|
@pulumi.getter
|
|
322
|
-
def reason(self) -> Optional[str]:
|
|
322
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
323
323
|
"""
|
|
324
324
|
The reason for the condition's last transition.
|
|
325
325
|
"""
|
|
@@ -349,18 +349,18 @@ class DaemonSetConditionPatch(dict):
|
|
|
349
349
|
return super().get(key, default)
|
|
350
350
|
|
|
351
351
|
def __init__(__self__, *,
|
|
352
|
-
last_transition_time: Optional[str] = None,
|
|
353
|
-
message: Optional[str] = None,
|
|
354
|
-
reason: Optional[str] = None,
|
|
355
|
-
status: Optional[str] = None,
|
|
356
|
-
type: Optional[str] = None):
|
|
352
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
353
|
+
message: Optional[_builtins.str] = None,
|
|
354
|
+
reason: Optional[_builtins.str] = None,
|
|
355
|
+
status: Optional[_builtins.str] = None,
|
|
356
|
+
type: Optional[_builtins.str] = None):
|
|
357
357
|
"""
|
|
358
358
|
DaemonSetCondition describes the state of a DaemonSet at a certain point.
|
|
359
|
-
:param str last_transition_time: Last time the condition transitioned from one status to another.
|
|
360
|
-
:param str message: A human readable message indicating details about the transition.
|
|
361
|
-
:param str reason: The reason for the condition's last transition.
|
|
362
|
-
:param str status: Status of the condition, one of True, False, Unknown.
|
|
363
|
-
:param str type: Type of DaemonSet condition.
|
|
359
|
+
:param _builtins.str last_transition_time: Last time the condition transitioned from one status to another.
|
|
360
|
+
:param _builtins.str message: A human readable message indicating details about the transition.
|
|
361
|
+
:param _builtins.str reason: The reason for the condition's last transition.
|
|
362
|
+
:param _builtins.str status: Status of the condition, one of True, False, Unknown.
|
|
363
|
+
:param _builtins.str type: Type of DaemonSet condition.
|
|
364
364
|
"""
|
|
365
365
|
if last_transition_time is not None:
|
|
366
366
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
|
@@ -373,41 +373,41 @@ class DaemonSetConditionPatch(dict):
|
|
|
373
373
|
if type is not None:
|
|
374
374
|
pulumi.set(__self__, "type", type)
|
|
375
375
|
|
|
376
|
-
@property
|
|
376
|
+
@_builtins.property
|
|
377
377
|
@pulumi.getter(name="lastTransitionTime")
|
|
378
|
-
def last_transition_time(self) -> Optional[str]:
|
|
378
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
379
379
|
"""
|
|
380
380
|
Last time the condition transitioned from one status to another.
|
|
381
381
|
"""
|
|
382
382
|
return pulumi.get(self, "last_transition_time")
|
|
383
383
|
|
|
384
|
-
@property
|
|
384
|
+
@_builtins.property
|
|
385
385
|
@pulumi.getter
|
|
386
|
-
def message(self) -> Optional[str]:
|
|
386
|
+
def message(self) -> Optional[_builtins.str]:
|
|
387
387
|
"""
|
|
388
388
|
A human readable message indicating details about the transition.
|
|
389
389
|
"""
|
|
390
390
|
return pulumi.get(self, "message")
|
|
391
391
|
|
|
392
|
-
@property
|
|
392
|
+
@_builtins.property
|
|
393
393
|
@pulumi.getter
|
|
394
|
-
def reason(self) -> Optional[str]:
|
|
394
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
395
395
|
"""
|
|
396
396
|
The reason for the condition's last transition.
|
|
397
397
|
"""
|
|
398
398
|
return pulumi.get(self, "reason")
|
|
399
399
|
|
|
400
|
-
@property
|
|
400
|
+
@_builtins.property
|
|
401
401
|
@pulumi.getter
|
|
402
|
-
def status(self) -> Optional[str]:
|
|
402
|
+
def status(self) -> Optional[_builtins.str]:
|
|
403
403
|
"""
|
|
404
404
|
Status of the condition, one of True, False, Unknown.
|
|
405
405
|
"""
|
|
406
406
|
return pulumi.get(self, "status")
|
|
407
407
|
|
|
408
|
-
@property
|
|
408
|
+
@_builtins.property
|
|
409
409
|
@pulumi.getter
|
|
410
|
-
def type(self) -> Optional[str]:
|
|
410
|
+
def type(self) -> Optional[_builtins.str]:
|
|
411
411
|
"""
|
|
412
412
|
Type of DaemonSet condition.
|
|
413
413
|
"""
|
|
@@ -443,15 +443,15 @@ class DaemonSetSpec(dict):
|
|
|
443
443
|
def __init__(__self__, *,
|
|
444
444
|
selector: '_meta.v1.outputs.LabelSelector',
|
|
445
445
|
template: '_core.v1.outputs.PodTemplateSpec',
|
|
446
|
-
min_ready_seconds: Optional[int] = None,
|
|
447
|
-
revision_history_limit: Optional[int] = None,
|
|
446
|
+
min_ready_seconds: Optional[_builtins.int] = None,
|
|
447
|
+
revision_history_limit: Optional[_builtins.int] = None,
|
|
448
448
|
update_strategy: Optional['outputs.DaemonSetUpdateStrategy'] = None):
|
|
449
449
|
"""
|
|
450
450
|
DaemonSetSpec is the specification of a daemon set.
|
|
451
451
|
:param '_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
|
|
452
452
|
:param '_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
|
|
453
|
-
:param 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).
|
|
454
|
-
:param 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.
|
|
453
|
+
:param _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).
|
|
454
|
+
:param _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.
|
|
455
455
|
:param 'DaemonSetUpdateStrategyArgs' update_strategy: An update strategy to replace existing DaemonSet pods with new pods.
|
|
456
456
|
"""
|
|
457
457
|
pulumi.set(__self__, "selector", selector)
|
|
@@ -463,7 +463,7 @@ class DaemonSetSpec(dict):
|
|
|
463
463
|
if update_strategy is not None:
|
|
464
464
|
pulumi.set(__self__, "update_strategy", update_strategy)
|
|
465
465
|
|
|
466
|
-
@property
|
|
466
|
+
@_builtins.property
|
|
467
467
|
@pulumi.getter
|
|
468
468
|
def selector(self) -> '_meta.v1.outputs.LabelSelector':
|
|
469
469
|
"""
|
|
@@ -471,7 +471,7 @@ class DaemonSetSpec(dict):
|
|
|
471
471
|
"""
|
|
472
472
|
return pulumi.get(self, "selector")
|
|
473
473
|
|
|
474
|
-
@property
|
|
474
|
+
@_builtins.property
|
|
475
475
|
@pulumi.getter
|
|
476
476
|
def template(self) -> '_core.v1.outputs.PodTemplateSpec':
|
|
477
477
|
"""
|
|
@@ -479,23 +479,23 @@ class DaemonSetSpec(dict):
|
|
|
479
479
|
"""
|
|
480
480
|
return pulumi.get(self, "template")
|
|
481
481
|
|
|
482
|
-
@property
|
|
482
|
+
@_builtins.property
|
|
483
483
|
@pulumi.getter(name="minReadySeconds")
|
|
484
|
-
def min_ready_seconds(self) -> Optional[int]:
|
|
484
|
+
def min_ready_seconds(self) -> Optional[_builtins.int]:
|
|
485
485
|
"""
|
|
486
486
|
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).
|
|
487
487
|
"""
|
|
488
488
|
return pulumi.get(self, "min_ready_seconds")
|
|
489
489
|
|
|
490
|
-
@property
|
|
490
|
+
@_builtins.property
|
|
491
491
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
492
|
-
def revision_history_limit(self) -> Optional[int]:
|
|
492
|
+
def revision_history_limit(self) -> Optional[_builtins.int]:
|
|
493
493
|
"""
|
|
494
494
|
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.
|
|
495
495
|
"""
|
|
496
496
|
return pulumi.get(self, "revision_history_limit")
|
|
497
497
|
|
|
498
|
-
@property
|
|
498
|
+
@_builtins.property
|
|
499
499
|
@pulumi.getter(name="updateStrategy")
|
|
500
500
|
def update_strategy(self) -> Optional['outputs.DaemonSetUpdateStrategy']:
|
|
501
501
|
"""
|
|
@@ -531,15 +531,15 @@ class DaemonSetSpecPatch(dict):
|
|
|
531
531
|
return super().get(key, default)
|
|
532
532
|
|
|
533
533
|
def __init__(__self__, *,
|
|
534
|
-
min_ready_seconds: Optional[int] = None,
|
|
535
|
-
revision_history_limit: Optional[int] = None,
|
|
534
|
+
min_ready_seconds: Optional[_builtins.int] = None,
|
|
535
|
+
revision_history_limit: Optional[_builtins.int] = None,
|
|
536
536
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
537
537
|
template: Optional['_core.v1.outputs.PodTemplateSpecPatch'] = None,
|
|
538
538
|
update_strategy: Optional['outputs.DaemonSetUpdateStrategyPatch'] = None):
|
|
539
539
|
"""
|
|
540
540
|
DaemonSetSpec is the specification of a daemon set.
|
|
541
|
-
:param 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).
|
|
542
|
-
:param 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.
|
|
541
|
+
:param _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).
|
|
542
|
+
:param _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.
|
|
543
543
|
:param '_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
|
|
544
544
|
:param '_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
|
|
545
545
|
:param 'DaemonSetUpdateStrategyPatchArgs' update_strategy: An update strategy to replace existing DaemonSet pods with new pods.
|
|
@@ -555,23 +555,23 @@ class DaemonSetSpecPatch(dict):
|
|
|
555
555
|
if update_strategy is not None:
|
|
556
556
|
pulumi.set(__self__, "update_strategy", update_strategy)
|
|
557
557
|
|
|
558
|
-
@property
|
|
558
|
+
@_builtins.property
|
|
559
559
|
@pulumi.getter(name="minReadySeconds")
|
|
560
|
-
def min_ready_seconds(self) -> Optional[int]:
|
|
560
|
+
def min_ready_seconds(self) -> Optional[_builtins.int]:
|
|
561
561
|
"""
|
|
562
562
|
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).
|
|
563
563
|
"""
|
|
564
564
|
return pulumi.get(self, "min_ready_seconds")
|
|
565
565
|
|
|
566
|
-
@property
|
|
566
|
+
@_builtins.property
|
|
567
567
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
568
|
-
def revision_history_limit(self) -> Optional[int]:
|
|
568
|
+
def revision_history_limit(self) -> Optional[_builtins.int]:
|
|
569
569
|
"""
|
|
570
570
|
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.
|
|
571
571
|
"""
|
|
572
572
|
return pulumi.get(self, "revision_history_limit")
|
|
573
573
|
|
|
574
|
-
@property
|
|
574
|
+
@_builtins.property
|
|
575
575
|
@pulumi.getter
|
|
576
576
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
577
577
|
"""
|
|
@@ -579,7 +579,7 @@ class DaemonSetSpecPatch(dict):
|
|
|
579
579
|
"""
|
|
580
580
|
return pulumi.get(self, "selector")
|
|
581
581
|
|
|
582
|
-
@property
|
|
582
|
+
@_builtins.property
|
|
583
583
|
@pulumi.getter
|
|
584
584
|
def template(self) -> Optional['_core.v1.outputs.PodTemplateSpecPatch']:
|
|
585
585
|
"""
|
|
@@ -587,7 +587,7 @@ class DaemonSetSpecPatch(dict):
|
|
|
587
587
|
"""
|
|
588
588
|
return pulumi.get(self, "template")
|
|
589
589
|
|
|
590
|
-
@property
|
|
590
|
+
@_builtins.property
|
|
591
591
|
@pulumi.getter(name="updateStrategy")
|
|
592
592
|
def update_strategy(self) -> Optional['outputs.DaemonSetUpdateStrategyPatch']:
|
|
593
593
|
"""
|
|
@@ -635,28 +635,28 @@ class DaemonSetStatus(dict):
|
|
|
635
635
|
return super().get(key, default)
|
|
636
636
|
|
|
637
637
|
def __init__(__self__, *,
|
|
638
|
-
current_number_scheduled: int,
|
|
639
|
-
desired_number_scheduled: int,
|
|
640
|
-
number_misscheduled: int,
|
|
641
|
-
number_ready: int,
|
|
642
|
-
collision_count: Optional[int] = None,
|
|
638
|
+
current_number_scheduled: _builtins.int,
|
|
639
|
+
desired_number_scheduled: _builtins.int,
|
|
640
|
+
number_misscheduled: _builtins.int,
|
|
641
|
+
number_ready: _builtins.int,
|
|
642
|
+
collision_count: Optional[_builtins.int] = None,
|
|
643
643
|
conditions: Optional[Sequence['outputs.DaemonSetCondition']] = None,
|
|
644
|
-
number_available: Optional[int] = None,
|
|
645
|
-
number_unavailable: Optional[int] = None,
|
|
646
|
-
observed_generation: Optional[int] = None,
|
|
647
|
-
updated_number_scheduled: Optional[int] = None):
|
|
644
|
+
number_available: Optional[_builtins.int] = None,
|
|
645
|
+
number_unavailable: Optional[_builtins.int] = None,
|
|
646
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
647
|
+
updated_number_scheduled: Optional[_builtins.int] = None):
|
|
648
648
|
"""
|
|
649
649
|
DaemonSetStatus represents the current status of a daemon set.
|
|
650
|
-
:param 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/
|
|
651
|
-
:param 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/
|
|
652
|
-
:param 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/
|
|
653
|
-
:param 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.
|
|
654
|
-
:param 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.
|
|
650
|
+
:param _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/
|
|
651
|
+
:param _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/
|
|
652
|
+
:param _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/
|
|
653
|
+
:param _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.
|
|
654
|
+
:param _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.
|
|
655
655
|
:param Sequence['DaemonSetConditionArgs'] conditions: Represents the latest available observations of a DaemonSet's current state.
|
|
656
|
-
:param 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)
|
|
657
|
-
:param 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)
|
|
658
|
-
:param int observed_generation: The most recent generation observed by the daemon set controller.
|
|
659
|
-
:param int updated_number_scheduled: The total number of nodes that are running updated daemon pod
|
|
656
|
+
:param _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)
|
|
657
|
+
:param _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)
|
|
658
|
+
:param _builtins.int observed_generation: The most recent generation observed by the daemon set controller.
|
|
659
|
+
:param _builtins.int updated_number_scheduled: The total number of nodes that are running updated daemon pod
|
|
660
660
|
"""
|
|
661
661
|
pulumi.set(__self__, "current_number_scheduled", current_number_scheduled)
|
|
662
662
|
pulumi.set(__self__, "desired_number_scheduled", desired_number_scheduled)
|
|
@@ -675,47 +675,47 @@ class DaemonSetStatus(dict):
|
|
|
675
675
|
if updated_number_scheduled is not None:
|
|
676
676
|
pulumi.set(__self__, "updated_number_scheduled", updated_number_scheduled)
|
|
677
677
|
|
|
678
|
-
@property
|
|
678
|
+
@_builtins.property
|
|
679
679
|
@pulumi.getter(name="currentNumberScheduled")
|
|
680
|
-
def current_number_scheduled(self) -> int:
|
|
680
|
+
def current_number_scheduled(self) -> _builtins.int:
|
|
681
681
|
"""
|
|
682
682
|
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/
|
|
683
683
|
"""
|
|
684
684
|
return pulumi.get(self, "current_number_scheduled")
|
|
685
685
|
|
|
686
|
-
@property
|
|
686
|
+
@_builtins.property
|
|
687
687
|
@pulumi.getter(name="desiredNumberScheduled")
|
|
688
|
-
def desired_number_scheduled(self) -> int:
|
|
688
|
+
def desired_number_scheduled(self) -> _builtins.int:
|
|
689
689
|
"""
|
|
690
690
|
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/
|
|
691
691
|
"""
|
|
692
692
|
return pulumi.get(self, "desired_number_scheduled")
|
|
693
693
|
|
|
694
|
-
@property
|
|
694
|
+
@_builtins.property
|
|
695
695
|
@pulumi.getter(name="numberMisscheduled")
|
|
696
|
-
def number_misscheduled(self) -> int:
|
|
696
|
+
def number_misscheduled(self) -> _builtins.int:
|
|
697
697
|
"""
|
|
698
698
|
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/
|
|
699
699
|
"""
|
|
700
700
|
return pulumi.get(self, "number_misscheduled")
|
|
701
701
|
|
|
702
|
-
@property
|
|
702
|
+
@_builtins.property
|
|
703
703
|
@pulumi.getter(name="numberReady")
|
|
704
|
-
def number_ready(self) -> int:
|
|
704
|
+
def number_ready(self) -> _builtins.int:
|
|
705
705
|
"""
|
|
706
706
|
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.
|
|
707
707
|
"""
|
|
708
708
|
return pulumi.get(self, "number_ready")
|
|
709
709
|
|
|
710
|
-
@property
|
|
710
|
+
@_builtins.property
|
|
711
711
|
@pulumi.getter(name="collisionCount")
|
|
712
|
-
def collision_count(self) -> Optional[int]:
|
|
712
|
+
def collision_count(self) -> Optional[_builtins.int]:
|
|
713
713
|
"""
|
|
714
714
|
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.
|
|
715
715
|
"""
|
|
716
716
|
return pulumi.get(self, "collision_count")
|
|
717
717
|
|
|
718
|
-
@property
|
|
718
|
+
@_builtins.property
|
|
719
719
|
@pulumi.getter
|
|
720
720
|
def conditions(self) -> Optional[Sequence['outputs.DaemonSetCondition']]:
|
|
721
721
|
"""
|
|
@@ -723,33 +723,33 @@ class DaemonSetStatus(dict):
|
|
|
723
723
|
"""
|
|
724
724
|
return pulumi.get(self, "conditions")
|
|
725
725
|
|
|
726
|
-
@property
|
|
726
|
+
@_builtins.property
|
|
727
727
|
@pulumi.getter(name="numberAvailable")
|
|
728
|
-
def number_available(self) -> Optional[int]:
|
|
728
|
+
def number_available(self) -> Optional[_builtins.int]:
|
|
729
729
|
"""
|
|
730
730
|
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)
|
|
731
731
|
"""
|
|
732
732
|
return pulumi.get(self, "number_available")
|
|
733
733
|
|
|
734
|
-
@property
|
|
734
|
+
@_builtins.property
|
|
735
735
|
@pulumi.getter(name="numberUnavailable")
|
|
736
|
-
def number_unavailable(self) -> Optional[int]:
|
|
736
|
+
def number_unavailable(self) -> Optional[_builtins.int]:
|
|
737
737
|
"""
|
|
738
738
|
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)
|
|
739
739
|
"""
|
|
740
740
|
return pulumi.get(self, "number_unavailable")
|
|
741
741
|
|
|
742
|
-
@property
|
|
742
|
+
@_builtins.property
|
|
743
743
|
@pulumi.getter(name="observedGeneration")
|
|
744
|
-
def observed_generation(self) -> Optional[int]:
|
|
744
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
745
745
|
"""
|
|
746
746
|
The most recent generation observed by the daemon set controller.
|
|
747
747
|
"""
|
|
748
748
|
return pulumi.get(self, "observed_generation")
|
|
749
749
|
|
|
750
|
-
@property
|
|
750
|
+
@_builtins.property
|
|
751
751
|
@pulumi.getter(name="updatedNumberScheduled")
|
|
752
|
-
def updated_number_scheduled(self) -> Optional[int]:
|
|
752
|
+
def updated_number_scheduled(self) -> Optional[_builtins.int]:
|
|
753
753
|
"""
|
|
754
754
|
The total number of nodes that are running updated daemon pod
|
|
755
755
|
"""
|
|
@@ -795,28 +795,28 @@ class DaemonSetStatusPatch(dict):
|
|
|
795
795
|
return super().get(key, default)
|
|
796
796
|
|
|
797
797
|
def __init__(__self__, *,
|
|
798
|
-
collision_count: Optional[int] = None,
|
|
798
|
+
collision_count: Optional[_builtins.int] = None,
|
|
799
799
|
conditions: Optional[Sequence['outputs.DaemonSetConditionPatch']] = None,
|
|
800
|
-
current_number_scheduled: Optional[int] = None,
|
|
801
|
-
desired_number_scheduled: Optional[int] = None,
|
|
802
|
-
number_available: Optional[int] = None,
|
|
803
|
-
number_misscheduled: Optional[int] = None,
|
|
804
|
-
number_ready: Optional[int] = None,
|
|
805
|
-
number_unavailable: Optional[int] = None,
|
|
806
|
-
observed_generation: Optional[int] = None,
|
|
807
|
-
updated_number_scheduled: Optional[int] = None):
|
|
800
|
+
current_number_scheduled: Optional[_builtins.int] = None,
|
|
801
|
+
desired_number_scheduled: Optional[_builtins.int] = None,
|
|
802
|
+
number_available: Optional[_builtins.int] = None,
|
|
803
|
+
number_misscheduled: Optional[_builtins.int] = None,
|
|
804
|
+
number_ready: Optional[_builtins.int] = None,
|
|
805
|
+
number_unavailable: Optional[_builtins.int] = None,
|
|
806
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
807
|
+
updated_number_scheduled: Optional[_builtins.int] = None):
|
|
808
808
|
"""
|
|
809
809
|
DaemonSetStatus represents the current status of a daemon set.
|
|
810
|
-
:param 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.
|
|
810
|
+
:param _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.
|
|
811
811
|
:param Sequence['DaemonSetConditionPatchArgs'] conditions: Represents the latest available observations of a DaemonSet's current state.
|
|
812
|
-
:param 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/
|
|
813
|
-
:param 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/
|
|
814
|
-
:param 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)
|
|
815
|
-
:param 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/
|
|
816
|
-
:param 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.
|
|
817
|
-
:param 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)
|
|
818
|
-
:param int observed_generation: The most recent generation observed by the daemon set controller.
|
|
819
|
-
:param int updated_number_scheduled: The total number of nodes that are running updated daemon pod
|
|
812
|
+
:param _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/
|
|
813
|
+
:param _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/
|
|
814
|
+
:param _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)
|
|
815
|
+
:param _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/
|
|
816
|
+
:param _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.
|
|
817
|
+
:param _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)
|
|
818
|
+
:param _builtins.int observed_generation: The most recent generation observed by the daemon set controller.
|
|
819
|
+
:param _builtins.int updated_number_scheduled: The total number of nodes that are running updated daemon pod
|
|
820
820
|
"""
|
|
821
821
|
if collision_count is not None:
|
|
822
822
|
pulumi.set(__self__, "collision_count", collision_count)
|
|
@@ -839,15 +839,15 @@ class DaemonSetStatusPatch(dict):
|
|
|
839
839
|
if updated_number_scheduled is not None:
|
|
840
840
|
pulumi.set(__self__, "updated_number_scheduled", updated_number_scheduled)
|
|
841
841
|
|
|
842
|
-
@property
|
|
842
|
+
@_builtins.property
|
|
843
843
|
@pulumi.getter(name="collisionCount")
|
|
844
|
-
def collision_count(self) -> Optional[int]:
|
|
844
|
+
def collision_count(self) -> Optional[_builtins.int]:
|
|
845
845
|
"""
|
|
846
846
|
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.
|
|
847
847
|
"""
|
|
848
848
|
return pulumi.get(self, "collision_count")
|
|
849
849
|
|
|
850
|
-
@property
|
|
850
|
+
@_builtins.property
|
|
851
851
|
@pulumi.getter
|
|
852
852
|
def conditions(self) -> Optional[Sequence['outputs.DaemonSetConditionPatch']]:
|
|
853
853
|
"""
|
|
@@ -855,65 +855,65 @@ class DaemonSetStatusPatch(dict):
|
|
|
855
855
|
"""
|
|
856
856
|
return pulumi.get(self, "conditions")
|
|
857
857
|
|
|
858
|
-
@property
|
|
858
|
+
@_builtins.property
|
|
859
859
|
@pulumi.getter(name="currentNumberScheduled")
|
|
860
|
-
def current_number_scheduled(self) -> Optional[int]:
|
|
860
|
+
def current_number_scheduled(self) -> Optional[_builtins.int]:
|
|
861
861
|
"""
|
|
862
862
|
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/
|
|
863
863
|
"""
|
|
864
864
|
return pulumi.get(self, "current_number_scheduled")
|
|
865
865
|
|
|
866
|
-
@property
|
|
866
|
+
@_builtins.property
|
|
867
867
|
@pulumi.getter(name="desiredNumberScheduled")
|
|
868
|
-
def desired_number_scheduled(self) -> Optional[int]:
|
|
868
|
+
def desired_number_scheduled(self) -> Optional[_builtins.int]:
|
|
869
869
|
"""
|
|
870
870
|
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/
|
|
871
871
|
"""
|
|
872
872
|
return pulumi.get(self, "desired_number_scheduled")
|
|
873
873
|
|
|
874
|
-
@property
|
|
874
|
+
@_builtins.property
|
|
875
875
|
@pulumi.getter(name="numberAvailable")
|
|
876
|
-
def number_available(self) -> Optional[int]:
|
|
876
|
+
def number_available(self) -> Optional[_builtins.int]:
|
|
877
877
|
"""
|
|
878
878
|
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)
|
|
879
879
|
"""
|
|
880
880
|
return pulumi.get(self, "number_available")
|
|
881
881
|
|
|
882
|
-
@property
|
|
882
|
+
@_builtins.property
|
|
883
883
|
@pulumi.getter(name="numberMisscheduled")
|
|
884
|
-
def number_misscheduled(self) -> Optional[int]:
|
|
884
|
+
def number_misscheduled(self) -> Optional[_builtins.int]:
|
|
885
885
|
"""
|
|
886
886
|
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/
|
|
887
887
|
"""
|
|
888
888
|
return pulumi.get(self, "number_misscheduled")
|
|
889
889
|
|
|
890
|
-
@property
|
|
890
|
+
@_builtins.property
|
|
891
891
|
@pulumi.getter(name="numberReady")
|
|
892
|
-
def number_ready(self) -> Optional[int]:
|
|
892
|
+
def number_ready(self) -> Optional[_builtins.int]:
|
|
893
893
|
"""
|
|
894
894
|
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.
|
|
895
895
|
"""
|
|
896
896
|
return pulumi.get(self, "number_ready")
|
|
897
897
|
|
|
898
|
-
@property
|
|
898
|
+
@_builtins.property
|
|
899
899
|
@pulumi.getter(name="numberUnavailable")
|
|
900
|
-
def number_unavailable(self) -> Optional[int]:
|
|
900
|
+
def number_unavailable(self) -> Optional[_builtins.int]:
|
|
901
901
|
"""
|
|
902
902
|
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)
|
|
903
903
|
"""
|
|
904
904
|
return pulumi.get(self, "number_unavailable")
|
|
905
905
|
|
|
906
|
-
@property
|
|
906
|
+
@_builtins.property
|
|
907
907
|
@pulumi.getter(name="observedGeneration")
|
|
908
|
-
def observed_generation(self) -> Optional[int]:
|
|
908
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
909
909
|
"""
|
|
910
910
|
The most recent generation observed by the daemon set controller.
|
|
911
911
|
"""
|
|
912
912
|
return pulumi.get(self, "observed_generation")
|
|
913
913
|
|
|
914
|
-
@property
|
|
914
|
+
@_builtins.property
|
|
915
915
|
@pulumi.getter(name="updatedNumberScheduled")
|
|
916
|
-
def updated_number_scheduled(self) -> Optional[int]:
|
|
916
|
+
def updated_number_scheduled(self) -> Optional[_builtins.int]:
|
|
917
917
|
"""
|
|
918
918
|
The total number of nodes that are running updated daemon pod
|
|
919
919
|
"""
|
|
@@ -944,18 +944,18 @@ class DaemonSetUpdateStrategy(dict):
|
|
|
944
944
|
|
|
945
945
|
def __init__(__self__, *,
|
|
946
946
|
rolling_update: Optional['outputs.RollingUpdateDaemonSet'] = None,
|
|
947
|
-
type: Optional[str] = None):
|
|
947
|
+
type: Optional[_builtins.str] = None):
|
|
948
948
|
"""
|
|
949
949
|
DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
|
|
950
950
|
:param 'RollingUpdateDaemonSetArgs' rolling_update: Rolling update config params. Present only if type = "RollingUpdate".
|
|
951
|
-
:param str type: Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
951
|
+
:param _builtins.str type: Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
952
952
|
"""
|
|
953
953
|
if rolling_update is not None:
|
|
954
954
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
955
955
|
if type is not None:
|
|
956
956
|
pulumi.set(__self__, "type", type)
|
|
957
957
|
|
|
958
|
-
@property
|
|
958
|
+
@_builtins.property
|
|
959
959
|
@pulumi.getter(name="rollingUpdate")
|
|
960
960
|
def rolling_update(self) -> Optional['outputs.RollingUpdateDaemonSet']:
|
|
961
961
|
"""
|
|
@@ -963,9 +963,9 @@ class DaemonSetUpdateStrategy(dict):
|
|
|
963
963
|
"""
|
|
964
964
|
return pulumi.get(self, "rolling_update")
|
|
965
965
|
|
|
966
|
-
@property
|
|
966
|
+
@_builtins.property
|
|
967
967
|
@pulumi.getter
|
|
968
|
-
def type(self) -> Optional[str]:
|
|
968
|
+
def type(self) -> Optional[_builtins.str]:
|
|
969
969
|
"""
|
|
970
970
|
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
971
971
|
"""
|
|
@@ -996,18 +996,18 @@ class DaemonSetUpdateStrategyPatch(dict):
|
|
|
996
996
|
|
|
997
997
|
def __init__(__self__, *,
|
|
998
998
|
rolling_update: Optional['outputs.RollingUpdateDaemonSetPatch'] = None,
|
|
999
|
-
type: Optional[str] = None):
|
|
999
|
+
type: Optional[_builtins.str] = None):
|
|
1000
1000
|
"""
|
|
1001
1001
|
DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.
|
|
1002
1002
|
:param 'RollingUpdateDaemonSetPatchArgs' rolling_update: Rolling update config params. Present only if type = "RollingUpdate".
|
|
1003
|
-
:param str type: Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
1003
|
+
:param _builtins.str type: Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
1004
1004
|
"""
|
|
1005
1005
|
if rolling_update is not None:
|
|
1006
1006
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
1007
1007
|
if type is not None:
|
|
1008
1008
|
pulumi.set(__self__, "type", type)
|
|
1009
1009
|
|
|
1010
|
-
@property
|
|
1010
|
+
@_builtins.property
|
|
1011
1011
|
@pulumi.getter(name="rollingUpdate")
|
|
1012
1012
|
def rolling_update(self) -> Optional['outputs.RollingUpdateDaemonSetPatch']:
|
|
1013
1013
|
"""
|
|
@@ -1015,9 +1015,9 @@ class DaemonSetUpdateStrategyPatch(dict):
|
|
|
1015
1015
|
"""
|
|
1016
1016
|
return pulumi.get(self, "rolling_update")
|
|
1017
1017
|
|
|
1018
|
-
@property
|
|
1018
|
+
@_builtins.property
|
|
1019
1019
|
@pulumi.getter
|
|
1020
|
-
def type(self) -> Optional[str]:
|
|
1020
|
+
def type(self) -> Optional[_builtins.str]:
|
|
1021
1021
|
"""
|
|
1022
1022
|
Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
|
|
1023
1023
|
"""
|
|
@@ -1069,8 +1069,8 @@ class Deployment(dict):
|
|
|
1069
1069
|
return super().get(key, default)
|
|
1070
1070
|
|
|
1071
1071
|
def __init__(__self__, *,
|
|
1072
|
-
api_version: Optional[str] = None,
|
|
1073
|
-
kind: Optional[str] = None,
|
|
1072
|
+
api_version: Optional[_builtins.str] = None,
|
|
1073
|
+
kind: Optional[_builtins.str] = None,
|
|
1074
1074
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
1075
1075
|
spec: Optional['outputs.DeploymentSpec'] = None,
|
|
1076
1076
|
status: Optional['outputs.DeploymentStatus'] = None):
|
|
@@ -1098,8 +1098,8 @@ class Deployment(dict):
|
|
|
1098
1098
|
If the Deployment has not reached a Ready state after 10 minutes, it will
|
|
1099
1099
|
time out and mark the resource update as Failed. You can override the default timeout value
|
|
1100
1100
|
by setting the 'customTimeouts' option on the resource.
|
|
1101
|
-
:param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1102
|
-
:param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1101
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1102
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1103
1103
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1104
1104
|
:param 'DeploymentSpecArgs' spec: Specification of the desired behavior of the Deployment.
|
|
1105
1105
|
:param 'DeploymentStatusArgs' status: Most recently observed status of the Deployment.
|
|
@@ -1115,23 +1115,23 @@ class Deployment(dict):
|
|
|
1115
1115
|
if status is not None:
|
|
1116
1116
|
pulumi.set(__self__, "status", status)
|
|
1117
1117
|
|
|
1118
|
-
@property
|
|
1118
|
+
@_builtins.property
|
|
1119
1119
|
@pulumi.getter(name="apiVersion")
|
|
1120
|
-
def api_version(self) -> Optional[str]:
|
|
1120
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
1121
1121
|
"""
|
|
1122
1122
|
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
|
|
1123
1123
|
"""
|
|
1124
1124
|
return pulumi.get(self, "api_version")
|
|
1125
1125
|
|
|
1126
|
-
@property
|
|
1126
|
+
@_builtins.property
|
|
1127
1127
|
@pulumi.getter
|
|
1128
|
-
def kind(self) -> Optional[str]:
|
|
1128
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
1129
1129
|
"""
|
|
1130
1130
|
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
|
|
1131
1131
|
"""
|
|
1132
1132
|
return pulumi.get(self, "kind")
|
|
1133
1133
|
|
|
1134
|
-
@property
|
|
1134
|
+
@_builtins.property
|
|
1135
1135
|
@pulumi.getter
|
|
1136
1136
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
1137
1137
|
"""
|
|
@@ -1139,7 +1139,7 @@ class Deployment(dict):
|
|
|
1139
1139
|
"""
|
|
1140
1140
|
return pulumi.get(self, "metadata")
|
|
1141
1141
|
|
|
1142
|
-
@property
|
|
1142
|
+
@_builtins.property
|
|
1143
1143
|
@pulumi.getter
|
|
1144
1144
|
def spec(self) -> Optional['outputs.DeploymentSpec']:
|
|
1145
1145
|
"""
|
|
@@ -1147,7 +1147,7 @@ class Deployment(dict):
|
|
|
1147
1147
|
"""
|
|
1148
1148
|
return pulumi.get(self, "spec")
|
|
1149
1149
|
|
|
1150
|
-
@property
|
|
1150
|
+
@_builtins.property
|
|
1151
1151
|
@pulumi.getter
|
|
1152
1152
|
def status(self) -> Optional['outputs.DeploymentStatus']:
|
|
1153
1153
|
"""
|
|
@@ -1181,20 +1181,20 @@ class DeploymentCondition(dict):
|
|
|
1181
1181
|
return super().get(key, default)
|
|
1182
1182
|
|
|
1183
1183
|
def __init__(__self__, *,
|
|
1184
|
-
status: str,
|
|
1185
|
-
type: str,
|
|
1186
|
-
last_transition_time: Optional[str] = None,
|
|
1187
|
-
last_update_time: Optional[str] = None,
|
|
1188
|
-
message: Optional[str] = None,
|
|
1189
|
-
reason: Optional[str] = None):
|
|
1184
|
+
status: _builtins.str,
|
|
1185
|
+
type: _builtins.str,
|
|
1186
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
1187
|
+
last_update_time: Optional[_builtins.str] = None,
|
|
1188
|
+
message: Optional[_builtins.str] = None,
|
|
1189
|
+
reason: Optional[_builtins.str] = None):
|
|
1190
1190
|
"""
|
|
1191
1191
|
DeploymentCondition describes the state of a deployment at a certain point.
|
|
1192
|
-
:param str status: Status of the condition, one of True, False, Unknown.
|
|
1193
|
-
:param str type: Type of deployment condition.
|
|
1194
|
-
:param str last_transition_time: Last time the condition transitioned from one status to another.
|
|
1195
|
-
:param str last_update_time: The last time this condition was updated.
|
|
1196
|
-
:param str message: A human readable message indicating details about the transition.
|
|
1197
|
-
:param str reason: The reason for the condition's last transition.
|
|
1192
|
+
:param _builtins.str status: Status of the condition, one of True, False, Unknown.
|
|
1193
|
+
:param _builtins.str type: Type of deployment condition.
|
|
1194
|
+
:param _builtins.str last_transition_time: Last time the condition transitioned from one status to another.
|
|
1195
|
+
:param _builtins.str last_update_time: The last time this condition was updated.
|
|
1196
|
+
:param _builtins.str message: A human readable message indicating details about the transition.
|
|
1197
|
+
:param _builtins.str reason: The reason for the condition's last transition.
|
|
1198
1198
|
"""
|
|
1199
1199
|
pulumi.set(__self__, "status", status)
|
|
1200
1200
|
pulumi.set(__self__, "type", type)
|
|
@@ -1207,49 +1207,49 @@ class DeploymentCondition(dict):
|
|
|
1207
1207
|
if reason is not None:
|
|
1208
1208
|
pulumi.set(__self__, "reason", reason)
|
|
1209
1209
|
|
|
1210
|
-
@property
|
|
1210
|
+
@_builtins.property
|
|
1211
1211
|
@pulumi.getter
|
|
1212
|
-
def status(self) -> str:
|
|
1212
|
+
def status(self) -> _builtins.str:
|
|
1213
1213
|
"""
|
|
1214
1214
|
Status of the condition, one of True, False, Unknown.
|
|
1215
1215
|
"""
|
|
1216
1216
|
return pulumi.get(self, "status")
|
|
1217
1217
|
|
|
1218
|
-
@property
|
|
1218
|
+
@_builtins.property
|
|
1219
1219
|
@pulumi.getter
|
|
1220
|
-
def type(self) -> str:
|
|
1220
|
+
def type(self) -> _builtins.str:
|
|
1221
1221
|
"""
|
|
1222
1222
|
Type of deployment condition.
|
|
1223
1223
|
"""
|
|
1224
1224
|
return pulumi.get(self, "type")
|
|
1225
1225
|
|
|
1226
|
-
@property
|
|
1226
|
+
@_builtins.property
|
|
1227
1227
|
@pulumi.getter(name="lastTransitionTime")
|
|
1228
|
-
def last_transition_time(self) -> Optional[str]:
|
|
1228
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
1229
1229
|
"""
|
|
1230
1230
|
Last time the condition transitioned from one status to another.
|
|
1231
1231
|
"""
|
|
1232
1232
|
return pulumi.get(self, "last_transition_time")
|
|
1233
1233
|
|
|
1234
|
-
@property
|
|
1234
|
+
@_builtins.property
|
|
1235
1235
|
@pulumi.getter(name="lastUpdateTime")
|
|
1236
|
-
def last_update_time(self) -> Optional[str]:
|
|
1236
|
+
def last_update_time(self) -> Optional[_builtins.str]:
|
|
1237
1237
|
"""
|
|
1238
1238
|
The last time this condition was updated.
|
|
1239
1239
|
"""
|
|
1240
1240
|
return pulumi.get(self, "last_update_time")
|
|
1241
1241
|
|
|
1242
|
-
@property
|
|
1242
|
+
@_builtins.property
|
|
1243
1243
|
@pulumi.getter
|
|
1244
|
-
def message(self) -> Optional[str]:
|
|
1244
|
+
def message(self) -> Optional[_builtins.str]:
|
|
1245
1245
|
"""
|
|
1246
1246
|
A human readable message indicating details about the transition.
|
|
1247
1247
|
"""
|
|
1248
1248
|
return pulumi.get(self, "message")
|
|
1249
1249
|
|
|
1250
|
-
@property
|
|
1250
|
+
@_builtins.property
|
|
1251
1251
|
@pulumi.getter
|
|
1252
|
-
def reason(self) -> Optional[str]:
|
|
1252
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
1253
1253
|
"""
|
|
1254
1254
|
The reason for the condition's last transition.
|
|
1255
1255
|
"""
|
|
@@ -1281,20 +1281,20 @@ class DeploymentConditionPatch(dict):
|
|
|
1281
1281
|
return super().get(key, default)
|
|
1282
1282
|
|
|
1283
1283
|
def __init__(__self__, *,
|
|
1284
|
-
last_transition_time: Optional[str] = None,
|
|
1285
|
-
last_update_time: Optional[str] = None,
|
|
1286
|
-
message: Optional[str] = None,
|
|
1287
|
-
reason: Optional[str] = None,
|
|
1288
|
-
status: Optional[str] = None,
|
|
1289
|
-
type: Optional[str] = None):
|
|
1284
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
1285
|
+
last_update_time: Optional[_builtins.str] = None,
|
|
1286
|
+
message: Optional[_builtins.str] = None,
|
|
1287
|
+
reason: Optional[_builtins.str] = None,
|
|
1288
|
+
status: Optional[_builtins.str] = None,
|
|
1289
|
+
type: Optional[_builtins.str] = None):
|
|
1290
1290
|
"""
|
|
1291
1291
|
DeploymentCondition describes the state of a deployment at a certain point.
|
|
1292
|
-
:param str last_transition_time: Last time the condition transitioned from one status to another.
|
|
1293
|
-
:param str last_update_time: The last time this condition was updated.
|
|
1294
|
-
:param str message: A human readable message indicating details about the transition.
|
|
1295
|
-
:param str reason: The reason for the condition's last transition.
|
|
1296
|
-
:param str status: Status of the condition, one of True, False, Unknown.
|
|
1297
|
-
:param str type: Type of deployment condition.
|
|
1292
|
+
:param _builtins.str last_transition_time: Last time the condition transitioned from one status to another.
|
|
1293
|
+
:param _builtins.str last_update_time: The last time this condition was updated.
|
|
1294
|
+
:param _builtins.str message: A human readable message indicating details about the transition.
|
|
1295
|
+
:param _builtins.str reason: The reason for the condition's last transition.
|
|
1296
|
+
:param _builtins.str status: Status of the condition, one of True, False, Unknown.
|
|
1297
|
+
:param _builtins.str type: Type of deployment condition.
|
|
1298
1298
|
"""
|
|
1299
1299
|
if last_transition_time is not None:
|
|
1300
1300
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
|
@@ -1309,49 +1309,49 @@ class DeploymentConditionPatch(dict):
|
|
|
1309
1309
|
if type is not None:
|
|
1310
1310
|
pulumi.set(__self__, "type", type)
|
|
1311
1311
|
|
|
1312
|
-
@property
|
|
1312
|
+
@_builtins.property
|
|
1313
1313
|
@pulumi.getter(name="lastTransitionTime")
|
|
1314
|
-
def last_transition_time(self) -> Optional[str]:
|
|
1314
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
1315
1315
|
"""
|
|
1316
1316
|
Last time the condition transitioned from one status to another.
|
|
1317
1317
|
"""
|
|
1318
1318
|
return pulumi.get(self, "last_transition_time")
|
|
1319
1319
|
|
|
1320
|
-
@property
|
|
1320
|
+
@_builtins.property
|
|
1321
1321
|
@pulumi.getter(name="lastUpdateTime")
|
|
1322
|
-
def last_update_time(self) -> Optional[str]:
|
|
1322
|
+
def last_update_time(self) -> Optional[_builtins.str]:
|
|
1323
1323
|
"""
|
|
1324
1324
|
The last time this condition was updated.
|
|
1325
1325
|
"""
|
|
1326
1326
|
return pulumi.get(self, "last_update_time")
|
|
1327
1327
|
|
|
1328
|
-
@property
|
|
1328
|
+
@_builtins.property
|
|
1329
1329
|
@pulumi.getter
|
|
1330
|
-
def message(self) -> Optional[str]:
|
|
1330
|
+
def message(self) -> Optional[_builtins.str]:
|
|
1331
1331
|
"""
|
|
1332
1332
|
A human readable message indicating details about the transition.
|
|
1333
1333
|
"""
|
|
1334
1334
|
return pulumi.get(self, "message")
|
|
1335
1335
|
|
|
1336
|
-
@property
|
|
1336
|
+
@_builtins.property
|
|
1337
1337
|
@pulumi.getter
|
|
1338
|
-
def reason(self) -> Optional[str]:
|
|
1338
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
1339
1339
|
"""
|
|
1340
1340
|
The reason for the condition's last transition.
|
|
1341
1341
|
"""
|
|
1342
1342
|
return pulumi.get(self, "reason")
|
|
1343
1343
|
|
|
1344
|
-
@property
|
|
1344
|
+
@_builtins.property
|
|
1345
1345
|
@pulumi.getter
|
|
1346
|
-
def status(self) -> Optional[str]:
|
|
1346
|
+
def status(self) -> Optional[_builtins.str]:
|
|
1347
1347
|
"""
|
|
1348
1348
|
Status of the condition, one of True, False, Unknown.
|
|
1349
1349
|
"""
|
|
1350
1350
|
return pulumi.get(self, "status")
|
|
1351
1351
|
|
|
1352
|
-
@property
|
|
1352
|
+
@_builtins.property
|
|
1353
1353
|
@pulumi.getter
|
|
1354
|
-
def type(self) -> Optional[str]:
|
|
1354
|
+
def type(self) -> Optional[_builtins.str]:
|
|
1355
1355
|
"""
|
|
1356
1356
|
Type of deployment condition.
|
|
1357
1357
|
"""
|
|
@@ -1387,21 +1387,21 @@ class DeploymentSpec(dict):
|
|
|
1387
1387
|
def __init__(__self__, *,
|
|
1388
1388
|
selector: '_meta.v1.outputs.LabelSelector',
|
|
1389
1389
|
template: '_core.v1.outputs.PodTemplateSpec',
|
|
1390
|
-
min_ready_seconds: Optional[int] = None,
|
|
1391
|
-
paused: Optional[bool] = None,
|
|
1392
|
-
progress_deadline_seconds: Optional[int] = None,
|
|
1393
|
-
replicas: Optional[int] = None,
|
|
1394
|
-
revision_history_limit: Optional[int] = None,
|
|
1390
|
+
min_ready_seconds: Optional[_builtins.int] = None,
|
|
1391
|
+
paused: Optional[_builtins.bool] = None,
|
|
1392
|
+
progress_deadline_seconds: Optional[_builtins.int] = None,
|
|
1393
|
+
replicas: Optional[_builtins.int] = None,
|
|
1394
|
+
revision_history_limit: Optional[_builtins.int] = None,
|
|
1395
1395
|
strategy: Optional['outputs.DeploymentStrategy'] = None):
|
|
1396
1396
|
"""
|
|
1397
1397
|
DeploymentSpec is the specification of the desired behavior of the Deployment.
|
|
1398
1398
|
:param '_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.
|
|
1399
1399
|
:param '_core.v1.PodTemplateSpecArgs' template: Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is "Always".
|
|
1400
|
-
:param 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)
|
|
1401
|
-
:param bool paused: Indicates that the deployment is paused.
|
|
1402
|
-
:param 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.
|
|
1403
|
-
:param int replicas: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1404
|
-
:param 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.
|
|
1400
|
+
:param _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)
|
|
1401
|
+
:param _builtins.bool paused: Indicates that the deployment is paused.
|
|
1402
|
+
:param _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.
|
|
1403
|
+
:param _builtins.int replicas: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1404
|
+
:param _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.
|
|
1405
1405
|
:param 'DeploymentStrategyArgs' strategy: The deployment strategy to use to replace existing pods with new ones.
|
|
1406
1406
|
"""
|
|
1407
1407
|
pulumi.set(__self__, "selector", selector)
|
|
@@ -1419,7 +1419,7 @@ class DeploymentSpec(dict):
|
|
|
1419
1419
|
if strategy is not None:
|
|
1420
1420
|
pulumi.set(__self__, "strategy", strategy)
|
|
1421
1421
|
|
|
1422
|
-
@property
|
|
1422
|
+
@_builtins.property
|
|
1423
1423
|
@pulumi.getter
|
|
1424
1424
|
def selector(self) -> '_meta.v1.outputs.LabelSelector':
|
|
1425
1425
|
"""
|
|
@@ -1427,7 +1427,7 @@ class DeploymentSpec(dict):
|
|
|
1427
1427
|
"""
|
|
1428
1428
|
return pulumi.get(self, "selector")
|
|
1429
1429
|
|
|
1430
|
-
@property
|
|
1430
|
+
@_builtins.property
|
|
1431
1431
|
@pulumi.getter
|
|
1432
1432
|
def template(self) -> '_core.v1.outputs.PodTemplateSpec':
|
|
1433
1433
|
"""
|
|
@@ -1435,47 +1435,47 @@ class DeploymentSpec(dict):
|
|
|
1435
1435
|
"""
|
|
1436
1436
|
return pulumi.get(self, "template")
|
|
1437
1437
|
|
|
1438
|
-
@property
|
|
1438
|
+
@_builtins.property
|
|
1439
1439
|
@pulumi.getter(name="minReadySeconds")
|
|
1440
|
-
def min_ready_seconds(self) -> Optional[int]:
|
|
1440
|
+
def min_ready_seconds(self) -> Optional[_builtins.int]:
|
|
1441
1441
|
"""
|
|
1442
1442
|
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)
|
|
1443
1443
|
"""
|
|
1444
1444
|
return pulumi.get(self, "min_ready_seconds")
|
|
1445
1445
|
|
|
1446
|
-
@property
|
|
1446
|
+
@_builtins.property
|
|
1447
1447
|
@pulumi.getter
|
|
1448
|
-
def paused(self) -> Optional[bool]:
|
|
1448
|
+
def paused(self) -> Optional[_builtins.bool]:
|
|
1449
1449
|
"""
|
|
1450
1450
|
Indicates that the deployment is paused.
|
|
1451
1451
|
"""
|
|
1452
1452
|
return pulumi.get(self, "paused")
|
|
1453
1453
|
|
|
1454
|
-
@property
|
|
1454
|
+
@_builtins.property
|
|
1455
1455
|
@pulumi.getter(name="progressDeadlineSeconds")
|
|
1456
|
-
def progress_deadline_seconds(self) -> Optional[int]:
|
|
1456
|
+
def progress_deadline_seconds(self) -> Optional[_builtins.int]:
|
|
1457
1457
|
"""
|
|
1458
1458
|
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.
|
|
1459
1459
|
"""
|
|
1460
1460
|
return pulumi.get(self, "progress_deadline_seconds")
|
|
1461
1461
|
|
|
1462
|
-
@property
|
|
1462
|
+
@_builtins.property
|
|
1463
1463
|
@pulumi.getter
|
|
1464
|
-
def replicas(self) -> Optional[int]:
|
|
1464
|
+
def replicas(self) -> Optional[_builtins.int]:
|
|
1465
1465
|
"""
|
|
1466
1466
|
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1467
1467
|
"""
|
|
1468
1468
|
return pulumi.get(self, "replicas")
|
|
1469
1469
|
|
|
1470
|
-
@property
|
|
1470
|
+
@_builtins.property
|
|
1471
1471
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
1472
|
-
def revision_history_limit(self) -> Optional[int]:
|
|
1472
|
+
def revision_history_limit(self) -> Optional[_builtins.int]:
|
|
1473
1473
|
"""
|
|
1474
1474
|
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.
|
|
1475
1475
|
"""
|
|
1476
1476
|
return pulumi.get(self, "revision_history_limit")
|
|
1477
1477
|
|
|
1478
|
-
@property
|
|
1478
|
+
@_builtins.property
|
|
1479
1479
|
@pulumi.getter
|
|
1480
1480
|
def strategy(self) -> Optional['outputs.DeploymentStrategy']:
|
|
1481
1481
|
"""
|
|
@@ -1511,21 +1511,21 @@ class DeploymentSpecPatch(dict):
|
|
|
1511
1511
|
return super().get(key, default)
|
|
1512
1512
|
|
|
1513
1513
|
def __init__(__self__, *,
|
|
1514
|
-
min_ready_seconds: Optional[int] = None,
|
|
1515
|
-
paused: Optional[bool] = None,
|
|
1516
|
-
progress_deadline_seconds: Optional[int] = None,
|
|
1517
|
-
replicas: Optional[int] = None,
|
|
1518
|
-
revision_history_limit: Optional[int] = None,
|
|
1514
|
+
min_ready_seconds: Optional[_builtins.int] = None,
|
|
1515
|
+
paused: Optional[_builtins.bool] = None,
|
|
1516
|
+
progress_deadline_seconds: Optional[_builtins.int] = None,
|
|
1517
|
+
replicas: Optional[_builtins.int] = None,
|
|
1518
|
+
revision_history_limit: Optional[_builtins.int] = None,
|
|
1519
1519
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1520
1520
|
strategy: Optional['outputs.DeploymentStrategyPatch'] = None,
|
|
1521
1521
|
template: Optional['_core.v1.outputs.PodTemplateSpecPatch'] = None):
|
|
1522
1522
|
"""
|
|
1523
1523
|
DeploymentSpec is the specification of the desired behavior of the Deployment.
|
|
1524
|
-
:param 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)
|
|
1525
|
-
:param bool paused: Indicates that the deployment is paused.
|
|
1526
|
-
:param 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.
|
|
1527
|
-
:param int replicas: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1528
|
-
:param 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.
|
|
1524
|
+
:param _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)
|
|
1525
|
+
:param _builtins.bool paused: Indicates that the deployment is paused.
|
|
1526
|
+
:param _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.
|
|
1527
|
+
:param _builtins.int replicas: Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1528
|
+
:param _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.
|
|
1529
1529
|
:param '_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.
|
|
1530
1530
|
:param 'DeploymentStrategyPatchArgs' strategy: The deployment strategy to use to replace existing pods with new ones.
|
|
1531
1531
|
:param '_core.v1.PodTemplateSpecPatchArgs' template: Template describes the pods that will be created. The only allowed template.spec.restartPolicy value is "Always".
|
|
@@ -1547,47 +1547,47 @@ class DeploymentSpecPatch(dict):
|
|
|
1547
1547
|
if template is not None:
|
|
1548
1548
|
pulumi.set(__self__, "template", template)
|
|
1549
1549
|
|
|
1550
|
-
@property
|
|
1550
|
+
@_builtins.property
|
|
1551
1551
|
@pulumi.getter(name="minReadySeconds")
|
|
1552
|
-
def min_ready_seconds(self) -> Optional[int]:
|
|
1552
|
+
def min_ready_seconds(self) -> Optional[_builtins.int]:
|
|
1553
1553
|
"""
|
|
1554
1554
|
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)
|
|
1555
1555
|
"""
|
|
1556
1556
|
return pulumi.get(self, "min_ready_seconds")
|
|
1557
1557
|
|
|
1558
|
-
@property
|
|
1558
|
+
@_builtins.property
|
|
1559
1559
|
@pulumi.getter
|
|
1560
|
-
def paused(self) -> Optional[bool]:
|
|
1560
|
+
def paused(self) -> Optional[_builtins.bool]:
|
|
1561
1561
|
"""
|
|
1562
1562
|
Indicates that the deployment is paused.
|
|
1563
1563
|
"""
|
|
1564
1564
|
return pulumi.get(self, "paused")
|
|
1565
1565
|
|
|
1566
|
-
@property
|
|
1566
|
+
@_builtins.property
|
|
1567
1567
|
@pulumi.getter(name="progressDeadlineSeconds")
|
|
1568
|
-
def progress_deadline_seconds(self) -> Optional[int]:
|
|
1568
|
+
def progress_deadline_seconds(self) -> Optional[_builtins.int]:
|
|
1569
1569
|
"""
|
|
1570
1570
|
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.
|
|
1571
1571
|
"""
|
|
1572
1572
|
return pulumi.get(self, "progress_deadline_seconds")
|
|
1573
1573
|
|
|
1574
|
-
@property
|
|
1574
|
+
@_builtins.property
|
|
1575
1575
|
@pulumi.getter
|
|
1576
|
-
def replicas(self) -> Optional[int]:
|
|
1576
|
+
def replicas(self) -> Optional[_builtins.int]:
|
|
1577
1577
|
"""
|
|
1578
1578
|
Number of desired pods. This is a pointer to distinguish between explicit zero and not specified. Defaults to 1.
|
|
1579
1579
|
"""
|
|
1580
1580
|
return pulumi.get(self, "replicas")
|
|
1581
1581
|
|
|
1582
|
-
@property
|
|
1582
|
+
@_builtins.property
|
|
1583
1583
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
1584
|
-
def revision_history_limit(self) -> Optional[int]:
|
|
1584
|
+
def revision_history_limit(self) -> Optional[_builtins.int]:
|
|
1585
1585
|
"""
|
|
1586
1586
|
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.
|
|
1587
1587
|
"""
|
|
1588
1588
|
return pulumi.get(self, "revision_history_limit")
|
|
1589
1589
|
|
|
1590
|
-
@property
|
|
1590
|
+
@_builtins.property
|
|
1591
1591
|
@pulumi.getter
|
|
1592
1592
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
1593
1593
|
"""
|
|
@@ -1595,7 +1595,7 @@ class DeploymentSpecPatch(dict):
|
|
|
1595
1595
|
"""
|
|
1596
1596
|
return pulumi.get(self, "selector")
|
|
1597
1597
|
|
|
1598
|
-
@property
|
|
1598
|
+
@_builtins.property
|
|
1599
1599
|
@pulumi.getter
|
|
1600
1600
|
def strategy(self) -> Optional['outputs.DeploymentStrategyPatch']:
|
|
1601
1601
|
"""
|
|
@@ -1603,7 +1603,7 @@ class DeploymentSpecPatch(dict):
|
|
|
1603
1603
|
"""
|
|
1604
1604
|
return pulumi.get(self, "strategy")
|
|
1605
1605
|
|
|
1606
|
-
@property
|
|
1606
|
+
@_builtins.property
|
|
1607
1607
|
@pulumi.getter
|
|
1608
1608
|
def template(self) -> Optional['_core.v1.outputs.PodTemplateSpecPatch']:
|
|
1609
1609
|
"""
|
|
@@ -1628,6 +1628,8 @@ class DeploymentStatus(dict):
|
|
|
1628
1628
|
suggest = "observed_generation"
|
|
1629
1629
|
elif key == "readyReplicas":
|
|
1630
1630
|
suggest = "ready_replicas"
|
|
1631
|
+
elif key == "terminatingReplicas":
|
|
1632
|
+
suggest = "terminating_replicas"
|
|
1631
1633
|
elif key == "unavailableReplicas":
|
|
1632
1634
|
suggest = "unavailable_replicas"
|
|
1633
1635
|
elif key == "updatedReplicas":
|
|
@@ -1645,24 +1647,28 @@ class DeploymentStatus(dict):
|
|
|
1645
1647
|
return super().get(key, default)
|
|
1646
1648
|
|
|
1647
1649
|
def __init__(__self__, *,
|
|
1648
|
-
available_replicas: Optional[int] = None,
|
|
1649
|
-
collision_count: Optional[int] = None,
|
|
1650
|
+
available_replicas: Optional[_builtins.int] = None,
|
|
1651
|
+
collision_count: Optional[_builtins.int] = None,
|
|
1650
1652
|
conditions: Optional[Sequence['outputs.DeploymentCondition']] = None,
|
|
1651
|
-
observed_generation: Optional[int] = None,
|
|
1652
|
-
ready_replicas: Optional[int] = None,
|
|
1653
|
-
replicas: Optional[int] = None,
|
|
1654
|
-
|
|
1655
|
-
|
|
1653
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
1654
|
+
ready_replicas: Optional[_builtins.int] = None,
|
|
1655
|
+
replicas: Optional[_builtins.int] = None,
|
|
1656
|
+
terminating_replicas: Optional[_builtins.int] = None,
|
|
1657
|
+
unavailable_replicas: Optional[_builtins.int] = None,
|
|
1658
|
+
updated_replicas: Optional[_builtins.int] = None):
|
|
1656
1659
|
"""
|
|
1657
1660
|
DeploymentStatus is the most recently observed status of the Deployment.
|
|
1658
|
-
:param int available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1659
|
-
:param 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.
|
|
1661
|
+
:param _builtins.int available_replicas: Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1662
|
+
:param _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.
|
|
1660
1663
|
:param Sequence['DeploymentConditionArgs'] conditions: Represents the latest available observations of a deployment's current state.
|
|
1661
|
-
:param int observed_generation: The generation observed by the deployment controller.
|
|
1662
|
-
:param int ready_replicas:
|
|
1663
|
-
:param int replicas: Total number of non-
|
|
1664
|
-
:param int
|
|
1665
|
-
|
|
1664
|
+
:param _builtins.int observed_generation: The generation observed by the deployment controller.
|
|
1665
|
+
:param _builtins.int ready_replicas: Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
|
|
1666
|
+
:param _builtins.int replicas: Total number of non-terminating pods targeted by this deployment (their labels match the selector).
|
|
1667
|
+
:param _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.
|
|
1668
|
+
|
|
1669
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
1670
|
+
:param _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.
|
|
1671
|
+
:param _builtins.int updated_replicas: Total number of non-terminating pods targeted by this deployment that have the desired template spec.
|
|
1666
1672
|
"""
|
|
1667
1673
|
if available_replicas is not None:
|
|
1668
1674
|
pulumi.set(__self__, "available_replicas", available_replicas)
|
|
@@ -1676,28 +1682,30 @@ class DeploymentStatus(dict):
|
|
|
1676
1682
|
pulumi.set(__self__, "ready_replicas", ready_replicas)
|
|
1677
1683
|
if replicas is not None:
|
|
1678
1684
|
pulumi.set(__self__, "replicas", replicas)
|
|
1685
|
+
if terminating_replicas is not None:
|
|
1686
|
+
pulumi.set(__self__, "terminating_replicas", terminating_replicas)
|
|
1679
1687
|
if unavailable_replicas is not None:
|
|
1680
1688
|
pulumi.set(__self__, "unavailable_replicas", unavailable_replicas)
|
|
1681
1689
|
if updated_replicas is not None:
|
|
1682
1690
|
pulumi.set(__self__, "updated_replicas", updated_replicas)
|
|
1683
1691
|
|
|
1684
|
-
@property
|
|
1692
|
+
@_builtins.property
|
|
1685
1693
|
@pulumi.getter(name="availableReplicas")
|
|
1686
|
-
def available_replicas(self) -> Optional[int]:
|
|
1694
|
+
def available_replicas(self) -> Optional[_builtins.int]:
|
|
1687
1695
|
"""
|
|
1688
|
-
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1696
|
+
Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1689
1697
|
"""
|
|
1690
1698
|
return pulumi.get(self, "available_replicas")
|
|
1691
1699
|
|
|
1692
|
-
@property
|
|
1700
|
+
@_builtins.property
|
|
1693
1701
|
@pulumi.getter(name="collisionCount")
|
|
1694
|
-
def collision_count(self) -> Optional[int]:
|
|
1702
|
+
def collision_count(self) -> Optional[_builtins.int]:
|
|
1695
1703
|
"""
|
|
1696
1704
|
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.
|
|
1697
1705
|
"""
|
|
1698
1706
|
return pulumi.get(self, "collision_count")
|
|
1699
1707
|
|
|
1700
|
-
@property
|
|
1708
|
+
@_builtins.property
|
|
1701
1709
|
@pulumi.getter
|
|
1702
1710
|
def conditions(self) -> Optional[Sequence['outputs.DeploymentCondition']]:
|
|
1703
1711
|
"""
|
|
@@ -1705,43 +1713,53 @@ class DeploymentStatus(dict):
|
|
|
1705
1713
|
"""
|
|
1706
1714
|
return pulumi.get(self, "conditions")
|
|
1707
1715
|
|
|
1708
|
-
@property
|
|
1716
|
+
@_builtins.property
|
|
1709
1717
|
@pulumi.getter(name="observedGeneration")
|
|
1710
|
-
def observed_generation(self) -> Optional[int]:
|
|
1718
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
1711
1719
|
"""
|
|
1712
1720
|
The generation observed by the deployment controller.
|
|
1713
1721
|
"""
|
|
1714
1722
|
return pulumi.get(self, "observed_generation")
|
|
1715
1723
|
|
|
1716
|
-
@property
|
|
1724
|
+
@_builtins.property
|
|
1717
1725
|
@pulumi.getter(name="readyReplicas")
|
|
1718
|
-
def ready_replicas(self) -> Optional[int]:
|
|
1726
|
+
def ready_replicas(self) -> Optional[_builtins.int]:
|
|
1719
1727
|
"""
|
|
1720
|
-
|
|
1728
|
+
Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
|
|
1721
1729
|
"""
|
|
1722
1730
|
return pulumi.get(self, "ready_replicas")
|
|
1723
1731
|
|
|
1724
|
-
@property
|
|
1732
|
+
@_builtins.property
|
|
1725
1733
|
@pulumi.getter
|
|
1726
|
-
def replicas(self) -> Optional[int]:
|
|
1734
|
+
def replicas(self) -> Optional[_builtins.int]:
|
|
1727
1735
|
"""
|
|
1728
|
-
Total number of non-
|
|
1736
|
+
Total number of non-terminating pods targeted by this deployment (their labels match the selector).
|
|
1729
1737
|
"""
|
|
1730
1738
|
return pulumi.get(self, "replicas")
|
|
1731
1739
|
|
|
1732
|
-
@property
|
|
1740
|
+
@_builtins.property
|
|
1741
|
+
@pulumi.getter(name="terminatingReplicas")
|
|
1742
|
+
def terminating_replicas(self) -> Optional[_builtins.int]:
|
|
1743
|
+
"""
|
|
1744
|
+
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.
|
|
1745
|
+
|
|
1746
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
1747
|
+
"""
|
|
1748
|
+
return pulumi.get(self, "terminating_replicas")
|
|
1749
|
+
|
|
1750
|
+
@_builtins.property
|
|
1733
1751
|
@pulumi.getter(name="unavailableReplicas")
|
|
1734
|
-
def unavailable_replicas(self) -> Optional[int]:
|
|
1752
|
+
def unavailable_replicas(self) -> Optional[_builtins.int]:
|
|
1735
1753
|
"""
|
|
1736
1754
|
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.
|
|
1737
1755
|
"""
|
|
1738
1756
|
return pulumi.get(self, "unavailable_replicas")
|
|
1739
1757
|
|
|
1740
|
-
@property
|
|
1758
|
+
@_builtins.property
|
|
1741
1759
|
@pulumi.getter(name="updatedReplicas")
|
|
1742
|
-
def updated_replicas(self) -> Optional[int]:
|
|
1760
|
+
def updated_replicas(self) -> Optional[_builtins.int]:
|
|
1743
1761
|
"""
|
|
1744
|
-
Total number of non-
|
|
1762
|
+
Total number of non-terminating pods targeted by this deployment that have the desired template spec.
|
|
1745
1763
|
"""
|
|
1746
1764
|
return pulumi.get(self, "updated_replicas")
|
|
1747
1765
|
|
|
@@ -1762,6 +1780,8 @@ class DeploymentStatusPatch(dict):
|
|
|
1762
1780
|
suggest = "observed_generation"
|
|
1763
1781
|
elif key == "readyReplicas":
|
|
1764
1782
|
suggest = "ready_replicas"
|
|
1783
|
+
elif key == "terminatingReplicas":
|
|
1784
|
+
suggest = "terminating_replicas"
|
|
1765
1785
|
elif key == "unavailableReplicas":
|
|
1766
1786
|
suggest = "unavailable_replicas"
|
|
1767
1787
|
elif key == "updatedReplicas":
|
|
@@ -1779,24 +1799,28 @@ class DeploymentStatusPatch(dict):
|
|
|
1779
1799
|
return super().get(key, default)
|
|
1780
1800
|
|
|
1781
1801
|
def __init__(__self__, *,
|
|
1782
|
-
available_replicas: Optional[int] = None,
|
|
1783
|
-
collision_count: Optional[int] = None,
|
|
1802
|
+
available_replicas: Optional[_builtins.int] = None,
|
|
1803
|
+
collision_count: Optional[_builtins.int] = None,
|
|
1784
1804
|
conditions: Optional[Sequence['outputs.DeploymentConditionPatch']] = None,
|
|
1785
|
-
observed_generation: Optional[int] = None,
|
|
1786
|
-
ready_replicas: Optional[int] = None,
|
|
1787
|
-
replicas: Optional[int] = None,
|
|
1788
|
-
|
|
1789
|
-
|
|
1805
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
1806
|
+
ready_replicas: Optional[_builtins.int] = None,
|
|
1807
|
+
replicas: Optional[_builtins.int] = None,
|
|
1808
|
+
terminating_replicas: Optional[_builtins.int] = None,
|
|
1809
|
+
unavailable_replicas: Optional[_builtins.int] = None,
|
|
1810
|
+
updated_replicas: Optional[_builtins.int] = None):
|
|
1790
1811
|
"""
|
|
1791
1812
|
DeploymentStatus is the most recently observed status of the Deployment.
|
|
1792
|
-
:param int available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1793
|
-
:param 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.
|
|
1813
|
+
:param _builtins.int available_replicas: Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1814
|
+
:param _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.
|
|
1794
1815
|
:param Sequence['DeploymentConditionPatchArgs'] conditions: Represents the latest available observations of a deployment's current state.
|
|
1795
|
-
:param int observed_generation: The generation observed by the deployment controller.
|
|
1796
|
-
:param int ready_replicas:
|
|
1797
|
-
:param int replicas: Total number of non-
|
|
1798
|
-
:param int
|
|
1799
|
-
|
|
1816
|
+
:param _builtins.int observed_generation: The generation observed by the deployment controller.
|
|
1817
|
+
:param _builtins.int ready_replicas: Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
|
|
1818
|
+
:param _builtins.int replicas: Total number of non-terminating pods targeted by this deployment (their labels match the selector).
|
|
1819
|
+
:param _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.
|
|
1820
|
+
|
|
1821
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
1822
|
+
:param _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.
|
|
1823
|
+
:param _builtins.int updated_replicas: Total number of non-terminating pods targeted by this deployment that have the desired template spec.
|
|
1800
1824
|
"""
|
|
1801
1825
|
if available_replicas is not None:
|
|
1802
1826
|
pulumi.set(__self__, "available_replicas", available_replicas)
|
|
@@ -1810,28 +1834,30 @@ class DeploymentStatusPatch(dict):
|
|
|
1810
1834
|
pulumi.set(__self__, "ready_replicas", ready_replicas)
|
|
1811
1835
|
if replicas is not None:
|
|
1812
1836
|
pulumi.set(__self__, "replicas", replicas)
|
|
1837
|
+
if terminating_replicas is not None:
|
|
1838
|
+
pulumi.set(__self__, "terminating_replicas", terminating_replicas)
|
|
1813
1839
|
if unavailable_replicas is not None:
|
|
1814
1840
|
pulumi.set(__self__, "unavailable_replicas", unavailable_replicas)
|
|
1815
1841
|
if updated_replicas is not None:
|
|
1816
1842
|
pulumi.set(__self__, "updated_replicas", updated_replicas)
|
|
1817
1843
|
|
|
1818
|
-
@property
|
|
1844
|
+
@_builtins.property
|
|
1819
1845
|
@pulumi.getter(name="availableReplicas")
|
|
1820
|
-
def available_replicas(self) -> Optional[int]:
|
|
1846
|
+
def available_replicas(self) -> Optional[_builtins.int]:
|
|
1821
1847
|
"""
|
|
1822
|
-
Total number of available pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1848
|
+
Total number of available non-terminating pods (ready for at least minReadySeconds) targeted by this deployment.
|
|
1823
1849
|
"""
|
|
1824
1850
|
return pulumi.get(self, "available_replicas")
|
|
1825
1851
|
|
|
1826
|
-
@property
|
|
1852
|
+
@_builtins.property
|
|
1827
1853
|
@pulumi.getter(name="collisionCount")
|
|
1828
|
-
def collision_count(self) -> Optional[int]:
|
|
1854
|
+
def collision_count(self) -> Optional[_builtins.int]:
|
|
1829
1855
|
"""
|
|
1830
1856
|
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.
|
|
1831
1857
|
"""
|
|
1832
1858
|
return pulumi.get(self, "collision_count")
|
|
1833
1859
|
|
|
1834
|
-
@property
|
|
1860
|
+
@_builtins.property
|
|
1835
1861
|
@pulumi.getter
|
|
1836
1862
|
def conditions(self) -> Optional[Sequence['outputs.DeploymentConditionPatch']]:
|
|
1837
1863
|
"""
|
|
@@ -1839,43 +1865,53 @@ class DeploymentStatusPatch(dict):
|
|
|
1839
1865
|
"""
|
|
1840
1866
|
return pulumi.get(self, "conditions")
|
|
1841
1867
|
|
|
1842
|
-
@property
|
|
1868
|
+
@_builtins.property
|
|
1843
1869
|
@pulumi.getter(name="observedGeneration")
|
|
1844
|
-
def observed_generation(self) -> Optional[int]:
|
|
1870
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
1845
1871
|
"""
|
|
1846
1872
|
The generation observed by the deployment controller.
|
|
1847
1873
|
"""
|
|
1848
1874
|
return pulumi.get(self, "observed_generation")
|
|
1849
1875
|
|
|
1850
|
-
@property
|
|
1876
|
+
@_builtins.property
|
|
1851
1877
|
@pulumi.getter(name="readyReplicas")
|
|
1852
|
-
def ready_replicas(self) -> Optional[int]:
|
|
1878
|
+
def ready_replicas(self) -> Optional[_builtins.int]:
|
|
1853
1879
|
"""
|
|
1854
|
-
|
|
1880
|
+
Total number of non-terminating pods targeted by this Deployment with a Ready Condition.
|
|
1855
1881
|
"""
|
|
1856
1882
|
return pulumi.get(self, "ready_replicas")
|
|
1857
1883
|
|
|
1858
|
-
@property
|
|
1884
|
+
@_builtins.property
|
|
1859
1885
|
@pulumi.getter
|
|
1860
|
-
def replicas(self) -> Optional[int]:
|
|
1886
|
+
def replicas(self) -> Optional[_builtins.int]:
|
|
1861
1887
|
"""
|
|
1862
|
-
Total number of non-
|
|
1888
|
+
Total number of non-terminating pods targeted by this deployment (their labels match the selector).
|
|
1863
1889
|
"""
|
|
1864
1890
|
return pulumi.get(self, "replicas")
|
|
1865
1891
|
|
|
1866
|
-
@property
|
|
1892
|
+
@_builtins.property
|
|
1893
|
+
@pulumi.getter(name="terminatingReplicas")
|
|
1894
|
+
def terminating_replicas(self) -> Optional[_builtins.int]:
|
|
1895
|
+
"""
|
|
1896
|
+
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.
|
|
1897
|
+
|
|
1898
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
1899
|
+
"""
|
|
1900
|
+
return pulumi.get(self, "terminating_replicas")
|
|
1901
|
+
|
|
1902
|
+
@_builtins.property
|
|
1867
1903
|
@pulumi.getter(name="unavailableReplicas")
|
|
1868
|
-
def unavailable_replicas(self) -> Optional[int]:
|
|
1904
|
+
def unavailable_replicas(self) -> Optional[_builtins.int]:
|
|
1869
1905
|
"""
|
|
1870
1906
|
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.
|
|
1871
1907
|
"""
|
|
1872
1908
|
return pulumi.get(self, "unavailable_replicas")
|
|
1873
1909
|
|
|
1874
|
-
@property
|
|
1910
|
+
@_builtins.property
|
|
1875
1911
|
@pulumi.getter(name="updatedReplicas")
|
|
1876
|
-
def updated_replicas(self) -> Optional[int]:
|
|
1912
|
+
def updated_replicas(self) -> Optional[_builtins.int]:
|
|
1877
1913
|
"""
|
|
1878
|
-
Total number of non-
|
|
1914
|
+
Total number of non-terminating pods targeted by this deployment that have the desired template spec.
|
|
1879
1915
|
"""
|
|
1880
1916
|
return pulumi.get(self, "updated_replicas")
|
|
1881
1917
|
|
|
@@ -1904,18 +1940,18 @@ class DeploymentStrategy(dict):
|
|
|
1904
1940
|
|
|
1905
1941
|
def __init__(__self__, *,
|
|
1906
1942
|
rolling_update: Optional['outputs.RollingUpdateDeployment'] = None,
|
|
1907
|
-
type: Optional[str] = None):
|
|
1943
|
+
type: Optional[_builtins.str] = None):
|
|
1908
1944
|
"""
|
|
1909
1945
|
DeploymentStrategy describes how to replace existing pods with new ones.
|
|
1910
1946
|
:param 'RollingUpdateDeploymentArgs' rolling_update: Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
|
|
1911
|
-
:param str type: Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1947
|
+
:param _builtins.str type: Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1912
1948
|
"""
|
|
1913
1949
|
if rolling_update is not None:
|
|
1914
1950
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
1915
1951
|
if type is not None:
|
|
1916
1952
|
pulumi.set(__self__, "type", type)
|
|
1917
1953
|
|
|
1918
|
-
@property
|
|
1954
|
+
@_builtins.property
|
|
1919
1955
|
@pulumi.getter(name="rollingUpdate")
|
|
1920
1956
|
def rolling_update(self) -> Optional['outputs.RollingUpdateDeployment']:
|
|
1921
1957
|
"""
|
|
@@ -1923,9 +1959,9 @@ class DeploymentStrategy(dict):
|
|
|
1923
1959
|
"""
|
|
1924
1960
|
return pulumi.get(self, "rolling_update")
|
|
1925
1961
|
|
|
1926
|
-
@property
|
|
1962
|
+
@_builtins.property
|
|
1927
1963
|
@pulumi.getter
|
|
1928
|
-
def type(self) -> Optional[str]:
|
|
1964
|
+
def type(self) -> Optional[_builtins.str]:
|
|
1929
1965
|
"""
|
|
1930
1966
|
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1931
1967
|
"""
|
|
@@ -1956,18 +1992,18 @@ class DeploymentStrategyPatch(dict):
|
|
|
1956
1992
|
|
|
1957
1993
|
def __init__(__self__, *,
|
|
1958
1994
|
rolling_update: Optional['outputs.RollingUpdateDeploymentPatch'] = None,
|
|
1959
|
-
type: Optional[str] = None):
|
|
1995
|
+
type: Optional[_builtins.str] = None):
|
|
1960
1996
|
"""
|
|
1961
1997
|
DeploymentStrategy describes how to replace existing pods with new ones.
|
|
1962
1998
|
:param 'RollingUpdateDeploymentPatchArgs' rolling_update: Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate.
|
|
1963
|
-
:param str type: Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1999
|
+
:param _builtins.str type: Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1964
2000
|
"""
|
|
1965
2001
|
if rolling_update is not None:
|
|
1966
2002
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
1967
2003
|
if type is not None:
|
|
1968
2004
|
pulumi.set(__self__, "type", type)
|
|
1969
2005
|
|
|
1970
|
-
@property
|
|
2006
|
+
@_builtins.property
|
|
1971
2007
|
@pulumi.getter(name="rollingUpdate")
|
|
1972
2008
|
def rolling_update(self) -> Optional['outputs.RollingUpdateDeploymentPatch']:
|
|
1973
2009
|
"""
|
|
@@ -1975,9 +2011,9 @@ class DeploymentStrategyPatch(dict):
|
|
|
1975
2011
|
"""
|
|
1976
2012
|
return pulumi.get(self, "rolling_update")
|
|
1977
2013
|
|
|
1978
|
-
@property
|
|
2014
|
+
@_builtins.property
|
|
1979
2015
|
@pulumi.getter
|
|
1980
|
-
def type(self) -> Optional[str]:
|
|
2016
|
+
def type(self) -> Optional[_builtins.str]:
|
|
1981
2017
|
"""
|
|
1982
2018
|
Type of deployment. Can be "Recreate" or "RollingUpdate". Default is RollingUpdate.
|
|
1983
2019
|
"""
|
|
@@ -2007,15 +2043,15 @@ class ReplicaSet(dict):
|
|
|
2007
2043
|
return super().get(key, default)
|
|
2008
2044
|
|
|
2009
2045
|
def __init__(__self__, *,
|
|
2010
|
-
api_version: Optional[str] = None,
|
|
2011
|
-
kind: Optional[str] = None,
|
|
2046
|
+
api_version: Optional[_builtins.str] = None,
|
|
2047
|
+
kind: Optional[_builtins.str] = None,
|
|
2012
2048
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
2013
2049
|
spec: Optional['outputs.ReplicaSetSpec'] = None,
|
|
2014
2050
|
status: Optional['outputs.ReplicaSetStatus'] = None):
|
|
2015
2051
|
"""
|
|
2016
2052
|
ReplicaSet ensures that a specified number of pod replicas are running at any given time.
|
|
2017
|
-
:param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2018
|
-
:param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2053
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2054
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2019
2055
|
:param '_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
|
|
2020
2056
|
:param '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
|
|
2021
2057
|
:param '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
|
|
@@ -2031,23 +2067,23 @@ class ReplicaSet(dict):
|
|
|
2031
2067
|
if status is not None:
|
|
2032
2068
|
pulumi.set(__self__, "status", status)
|
|
2033
2069
|
|
|
2034
|
-
@property
|
|
2070
|
+
@_builtins.property
|
|
2035
2071
|
@pulumi.getter(name="apiVersion")
|
|
2036
|
-
def api_version(self) -> Optional[str]:
|
|
2072
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
2037
2073
|
"""
|
|
2038
2074
|
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
|
|
2039
2075
|
"""
|
|
2040
2076
|
return pulumi.get(self, "api_version")
|
|
2041
2077
|
|
|
2042
|
-
@property
|
|
2078
|
+
@_builtins.property
|
|
2043
2079
|
@pulumi.getter
|
|
2044
|
-
def kind(self) -> Optional[str]:
|
|
2080
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
2045
2081
|
"""
|
|
2046
2082
|
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
|
|
2047
2083
|
"""
|
|
2048
2084
|
return pulumi.get(self, "kind")
|
|
2049
2085
|
|
|
2050
|
-
@property
|
|
2086
|
+
@_builtins.property
|
|
2051
2087
|
@pulumi.getter
|
|
2052
2088
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
2053
2089
|
"""
|
|
@@ -2055,7 +2091,7 @@ class ReplicaSet(dict):
|
|
|
2055
2091
|
"""
|
|
2056
2092
|
return pulumi.get(self, "metadata")
|
|
2057
2093
|
|
|
2058
|
-
@property
|
|
2094
|
+
@_builtins.property
|
|
2059
2095
|
@pulumi.getter
|
|
2060
2096
|
def spec(self) -> Optional['outputs.ReplicaSetSpec']:
|
|
2061
2097
|
"""
|
|
@@ -2063,7 +2099,7 @@ class ReplicaSet(dict):
|
|
|
2063
2099
|
"""
|
|
2064
2100
|
return pulumi.get(self, "spec")
|
|
2065
2101
|
|
|
2066
|
-
@property
|
|
2102
|
+
@_builtins.property
|
|
2067
2103
|
@pulumi.getter
|
|
2068
2104
|
def status(self) -> Optional['outputs.ReplicaSetStatus']:
|
|
2069
2105
|
"""
|
|
@@ -2095,18 +2131,18 @@ class ReplicaSetCondition(dict):
|
|
|
2095
2131
|
return super().get(key, default)
|
|
2096
2132
|
|
|
2097
2133
|
def __init__(__self__, *,
|
|
2098
|
-
status: str,
|
|
2099
|
-
type: str,
|
|
2100
|
-
last_transition_time: Optional[str] = None,
|
|
2101
|
-
message: Optional[str] = None,
|
|
2102
|
-
reason: Optional[str] = None):
|
|
2134
|
+
status: _builtins.str,
|
|
2135
|
+
type: _builtins.str,
|
|
2136
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
2137
|
+
message: Optional[_builtins.str] = None,
|
|
2138
|
+
reason: Optional[_builtins.str] = None):
|
|
2103
2139
|
"""
|
|
2104
2140
|
ReplicaSetCondition describes the state of a replica set at a certain point.
|
|
2105
|
-
:param str status: Status of the condition, one of True, False, Unknown.
|
|
2106
|
-
:param str type: Type of replica set condition.
|
|
2107
|
-
:param str last_transition_time: The last time the condition transitioned from one status to another.
|
|
2108
|
-
:param str message: A human readable message indicating details about the transition.
|
|
2109
|
-
:param str reason: The reason for the condition's last transition.
|
|
2141
|
+
:param _builtins.str status: Status of the condition, one of True, False, Unknown.
|
|
2142
|
+
:param _builtins.str type: Type of replica set condition.
|
|
2143
|
+
:param _builtins.str last_transition_time: The last time the condition transitioned from one status to another.
|
|
2144
|
+
:param _builtins.str message: A human readable message indicating details about the transition.
|
|
2145
|
+
:param _builtins.str reason: The reason for the condition's last transition.
|
|
2110
2146
|
"""
|
|
2111
2147
|
pulumi.set(__self__, "status", status)
|
|
2112
2148
|
pulumi.set(__self__, "type", type)
|
|
@@ -2117,41 +2153,41 @@ class ReplicaSetCondition(dict):
|
|
|
2117
2153
|
if reason is not None:
|
|
2118
2154
|
pulumi.set(__self__, "reason", reason)
|
|
2119
2155
|
|
|
2120
|
-
@property
|
|
2156
|
+
@_builtins.property
|
|
2121
2157
|
@pulumi.getter
|
|
2122
|
-
def status(self) -> str:
|
|
2158
|
+
def status(self) -> _builtins.str:
|
|
2123
2159
|
"""
|
|
2124
2160
|
Status of the condition, one of True, False, Unknown.
|
|
2125
2161
|
"""
|
|
2126
2162
|
return pulumi.get(self, "status")
|
|
2127
2163
|
|
|
2128
|
-
@property
|
|
2164
|
+
@_builtins.property
|
|
2129
2165
|
@pulumi.getter
|
|
2130
|
-
def type(self) -> str:
|
|
2166
|
+
def type(self) -> _builtins.str:
|
|
2131
2167
|
"""
|
|
2132
2168
|
Type of replica set condition.
|
|
2133
2169
|
"""
|
|
2134
2170
|
return pulumi.get(self, "type")
|
|
2135
2171
|
|
|
2136
|
-
@property
|
|
2172
|
+
@_builtins.property
|
|
2137
2173
|
@pulumi.getter(name="lastTransitionTime")
|
|
2138
|
-
def last_transition_time(self) -> Optional[str]:
|
|
2174
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
2139
2175
|
"""
|
|
2140
2176
|
The last time the condition transitioned from one status to another.
|
|
2141
2177
|
"""
|
|
2142
2178
|
return pulumi.get(self, "last_transition_time")
|
|
2143
2179
|
|
|
2144
|
-
@property
|
|
2180
|
+
@_builtins.property
|
|
2145
2181
|
@pulumi.getter
|
|
2146
|
-
def message(self) -> Optional[str]:
|
|
2182
|
+
def message(self) -> Optional[_builtins.str]:
|
|
2147
2183
|
"""
|
|
2148
2184
|
A human readable message indicating details about the transition.
|
|
2149
2185
|
"""
|
|
2150
2186
|
return pulumi.get(self, "message")
|
|
2151
2187
|
|
|
2152
|
-
@property
|
|
2188
|
+
@_builtins.property
|
|
2153
2189
|
@pulumi.getter
|
|
2154
|
-
def reason(self) -> Optional[str]:
|
|
2190
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
2155
2191
|
"""
|
|
2156
2192
|
The reason for the condition's last transition.
|
|
2157
2193
|
"""
|
|
@@ -2181,18 +2217,18 @@ class ReplicaSetConditionPatch(dict):
|
|
|
2181
2217
|
return super().get(key, default)
|
|
2182
2218
|
|
|
2183
2219
|
def __init__(__self__, *,
|
|
2184
|
-
last_transition_time: Optional[str] = None,
|
|
2185
|
-
message: Optional[str] = None,
|
|
2186
|
-
reason: Optional[str] = None,
|
|
2187
|
-
status: Optional[str] = None,
|
|
2188
|
-
type: Optional[str] = None):
|
|
2220
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
2221
|
+
message: Optional[_builtins.str] = None,
|
|
2222
|
+
reason: Optional[_builtins.str] = None,
|
|
2223
|
+
status: Optional[_builtins.str] = None,
|
|
2224
|
+
type: Optional[_builtins.str] = None):
|
|
2189
2225
|
"""
|
|
2190
2226
|
ReplicaSetCondition describes the state of a replica set at a certain point.
|
|
2191
|
-
:param str last_transition_time: The last time the condition transitioned from one status to another.
|
|
2192
|
-
:param str message: A human readable message indicating details about the transition.
|
|
2193
|
-
:param str reason: The reason for the condition's last transition.
|
|
2194
|
-
:param str status: Status of the condition, one of True, False, Unknown.
|
|
2195
|
-
:param str type: Type of replica set condition.
|
|
2227
|
+
:param _builtins.str last_transition_time: The last time the condition transitioned from one status to another.
|
|
2228
|
+
:param _builtins.str message: A human readable message indicating details about the transition.
|
|
2229
|
+
:param _builtins.str reason: The reason for the condition's last transition.
|
|
2230
|
+
:param _builtins.str status: Status of the condition, one of True, False, Unknown.
|
|
2231
|
+
:param _builtins.str type: Type of replica set condition.
|
|
2196
2232
|
"""
|
|
2197
2233
|
if last_transition_time is not None:
|
|
2198
2234
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
|
@@ -2205,41 +2241,41 @@ class ReplicaSetConditionPatch(dict):
|
|
|
2205
2241
|
if type is not None:
|
|
2206
2242
|
pulumi.set(__self__, "type", type)
|
|
2207
2243
|
|
|
2208
|
-
@property
|
|
2244
|
+
@_builtins.property
|
|
2209
2245
|
@pulumi.getter(name="lastTransitionTime")
|
|
2210
|
-
def last_transition_time(self) -> Optional[str]:
|
|
2246
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
2211
2247
|
"""
|
|
2212
2248
|
The last time the condition transitioned from one status to another.
|
|
2213
2249
|
"""
|
|
2214
2250
|
return pulumi.get(self, "last_transition_time")
|
|
2215
2251
|
|
|
2216
|
-
@property
|
|
2252
|
+
@_builtins.property
|
|
2217
2253
|
@pulumi.getter
|
|
2218
|
-
def message(self) -> Optional[str]:
|
|
2254
|
+
def message(self) -> Optional[_builtins.str]:
|
|
2219
2255
|
"""
|
|
2220
2256
|
A human readable message indicating details about the transition.
|
|
2221
2257
|
"""
|
|
2222
2258
|
return pulumi.get(self, "message")
|
|
2223
2259
|
|
|
2224
|
-
@property
|
|
2260
|
+
@_builtins.property
|
|
2225
2261
|
@pulumi.getter
|
|
2226
|
-
def reason(self) -> Optional[str]:
|
|
2262
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
2227
2263
|
"""
|
|
2228
2264
|
The reason for the condition's last transition.
|
|
2229
2265
|
"""
|
|
2230
2266
|
return pulumi.get(self, "reason")
|
|
2231
2267
|
|
|
2232
|
-
@property
|
|
2268
|
+
@_builtins.property
|
|
2233
2269
|
@pulumi.getter
|
|
2234
|
-
def status(self) -> Optional[str]:
|
|
2270
|
+
def status(self) -> Optional[_builtins.str]:
|
|
2235
2271
|
"""
|
|
2236
2272
|
Status of the condition, one of True, False, Unknown.
|
|
2237
2273
|
"""
|
|
2238
2274
|
return pulumi.get(self, "status")
|
|
2239
2275
|
|
|
2240
|
-
@property
|
|
2276
|
+
@_builtins.property
|
|
2241
2277
|
@pulumi.getter
|
|
2242
|
-
def type(self) -> Optional[str]:
|
|
2278
|
+
def type(self) -> Optional[_builtins.str]:
|
|
2243
2279
|
"""
|
|
2244
2280
|
Type of replica set condition.
|
|
2245
2281
|
"""
|
|
@@ -2270,15 +2306,15 @@ class ReplicaSetSpec(dict):
|
|
|
2270
2306
|
|
|
2271
2307
|
def __init__(__self__, *,
|
|
2272
2308
|
selector: '_meta.v1.outputs.LabelSelector',
|
|
2273
|
-
min_ready_seconds: Optional[int] = None,
|
|
2274
|
-
replicas: Optional[int] = None,
|
|
2309
|
+
min_ready_seconds: Optional[_builtins.int] = None,
|
|
2310
|
+
replicas: Optional[_builtins.int] = None,
|
|
2275
2311
|
template: Optional['_core.v1.outputs.PodTemplateSpec'] = None):
|
|
2276
2312
|
"""
|
|
2277
2313
|
ReplicaSetSpec is the specification of a ReplicaSet.
|
|
2278
2314
|
:param '_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
|
|
2279
|
-
:param 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)
|
|
2280
|
-
:param int replicas: Replicas is the number of desired
|
|
2281
|
-
:param '_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/
|
|
2315
|
+
:param _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)
|
|
2316
|
+
:param _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
|
|
2317
|
+
:param '_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
|
|
2282
2318
|
"""
|
|
2283
2319
|
pulumi.set(__self__, "selector", selector)
|
|
2284
2320
|
if min_ready_seconds is not None:
|
|
@@ -2288,7 +2324,7 @@ class ReplicaSetSpec(dict):
|
|
|
2288
2324
|
if template is not None:
|
|
2289
2325
|
pulumi.set(__self__, "template", template)
|
|
2290
2326
|
|
|
2291
|
-
@property
|
|
2327
|
+
@_builtins.property
|
|
2292
2328
|
@pulumi.getter
|
|
2293
2329
|
def selector(self) -> '_meta.v1.outputs.LabelSelector':
|
|
2294
2330
|
"""
|
|
@@ -2296,27 +2332,27 @@ class ReplicaSetSpec(dict):
|
|
|
2296
2332
|
"""
|
|
2297
2333
|
return pulumi.get(self, "selector")
|
|
2298
2334
|
|
|
2299
|
-
@property
|
|
2335
|
+
@_builtins.property
|
|
2300
2336
|
@pulumi.getter(name="minReadySeconds")
|
|
2301
|
-
def min_ready_seconds(self) -> Optional[int]:
|
|
2337
|
+
def min_ready_seconds(self) -> Optional[_builtins.int]:
|
|
2302
2338
|
"""
|
|
2303
2339
|
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)
|
|
2304
2340
|
"""
|
|
2305
2341
|
return pulumi.get(self, "min_ready_seconds")
|
|
2306
2342
|
|
|
2307
|
-
@property
|
|
2343
|
+
@_builtins.property
|
|
2308
2344
|
@pulumi.getter
|
|
2309
|
-
def replicas(self) -> Optional[int]:
|
|
2345
|
+
def replicas(self) -> Optional[_builtins.int]:
|
|
2310
2346
|
"""
|
|
2311
|
-
Replicas is the number of desired
|
|
2347
|
+
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
|
|
2312
2348
|
"""
|
|
2313
2349
|
return pulumi.get(self, "replicas")
|
|
2314
2350
|
|
|
2315
|
-
@property
|
|
2351
|
+
@_builtins.property
|
|
2316
2352
|
@pulumi.getter
|
|
2317
2353
|
def template(self) -> Optional['_core.v1.outputs.PodTemplateSpec']:
|
|
2318
2354
|
"""
|
|
2319
|
-
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/
|
|
2355
|
+
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
|
|
2320
2356
|
"""
|
|
2321
2357
|
return pulumi.get(self, "template")
|
|
2322
2358
|
|
|
@@ -2344,16 +2380,16 @@ class ReplicaSetSpecPatch(dict):
|
|
|
2344
2380
|
return super().get(key, default)
|
|
2345
2381
|
|
|
2346
2382
|
def __init__(__self__, *,
|
|
2347
|
-
min_ready_seconds: Optional[int] = None,
|
|
2348
|
-
replicas: Optional[int] = None,
|
|
2383
|
+
min_ready_seconds: Optional[_builtins.int] = None,
|
|
2384
|
+
replicas: Optional[_builtins.int] = None,
|
|
2349
2385
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
2350
2386
|
template: Optional['_core.v1.outputs.PodTemplateSpecPatch'] = None):
|
|
2351
2387
|
"""
|
|
2352
2388
|
ReplicaSetSpec is the specification of a ReplicaSet.
|
|
2353
|
-
:param 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)
|
|
2354
|
-
:param int replicas: Replicas is the number of desired
|
|
2389
|
+
:param _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)
|
|
2390
|
+
:param _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
|
|
2355
2391
|
:param '_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
|
|
2356
|
-
:param '_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/
|
|
2392
|
+
:param '_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
|
|
2357
2393
|
"""
|
|
2358
2394
|
if min_ready_seconds is not None:
|
|
2359
2395
|
pulumi.set(__self__, "min_ready_seconds", min_ready_seconds)
|
|
@@ -2364,23 +2400,23 @@ class ReplicaSetSpecPatch(dict):
|
|
|
2364
2400
|
if template is not None:
|
|
2365
2401
|
pulumi.set(__self__, "template", template)
|
|
2366
2402
|
|
|
2367
|
-
@property
|
|
2403
|
+
@_builtins.property
|
|
2368
2404
|
@pulumi.getter(name="minReadySeconds")
|
|
2369
|
-
def min_ready_seconds(self) -> Optional[int]:
|
|
2405
|
+
def min_ready_seconds(self) -> Optional[_builtins.int]:
|
|
2370
2406
|
"""
|
|
2371
2407
|
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)
|
|
2372
2408
|
"""
|
|
2373
2409
|
return pulumi.get(self, "min_ready_seconds")
|
|
2374
2410
|
|
|
2375
|
-
@property
|
|
2411
|
+
@_builtins.property
|
|
2376
2412
|
@pulumi.getter
|
|
2377
|
-
def replicas(self) -> Optional[int]:
|
|
2413
|
+
def replicas(self) -> Optional[_builtins.int]:
|
|
2378
2414
|
"""
|
|
2379
|
-
Replicas is the number of desired
|
|
2415
|
+
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
|
|
2380
2416
|
"""
|
|
2381
2417
|
return pulumi.get(self, "replicas")
|
|
2382
2418
|
|
|
2383
|
-
@property
|
|
2419
|
+
@_builtins.property
|
|
2384
2420
|
@pulumi.getter
|
|
2385
2421
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
2386
2422
|
"""
|
|
@@ -2388,11 +2424,11 @@ class ReplicaSetSpecPatch(dict):
|
|
|
2388
2424
|
"""
|
|
2389
2425
|
return pulumi.get(self, "selector")
|
|
2390
2426
|
|
|
2391
|
-
@property
|
|
2427
|
+
@_builtins.property
|
|
2392
2428
|
@pulumi.getter
|
|
2393
2429
|
def template(self) -> Optional['_core.v1.outputs.PodTemplateSpecPatch']:
|
|
2394
2430
|
"""
|
|
2395
|
-
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/
|
|
2431
|
+
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
|
|
2396
2432
|
"""
|
|
2397
2433
|
return pulumi.get(self, "template")
|
|
2398
2434
|
|
|
@@ -2413,6 +2449,8 @@ class ReplicaSetStatus(dict):
|
|
|
2413
2449
|
suggest = "observed_generation"
|
|
2414
2450
|
elif key == "readyReplicas":
|
|
2415
2451
|
suggest = "ready_replicas"
|
|
2452
|
+
elif key == "terminatingReplicas":
|
|
2453
|
+
suggest = "terminating_replicas"
|
|
2416
2454
|
|
|
2417
2455
|
if suggest:
|
|
2418
2456
|
pulumi.log.warn(f"Key '{key}' not found in ReplicaSetStatus. Access the value via the '{suggest}' property getter instead.")
|
|
@@ -2426,20 +2464,24 @@ class ReplicaSetStatus(dict):
|
|
|
2426
2464
|
return super().get(key, default)
|
|
2427
2465
|
|
|
2428
2466
|
def __init__(__self__, *,
|
|
2429
|
-
replicas: int,
|
|
2430
|
-
available_replicas: Optional[int] = None,
|
|
2467
|
+
replicas: _builtins.int,
|
|
2468
|
+
available_replicas: Optional[_builtins.int] = None,
|
|
2431
2469
|
conditions: Optional[Sequence['outputs.ReplicaSetCondition']] = None,
|
|
2432
|
-
fully_labeled_replicas: Optional[int] = None,
|
|
2433
|
-
observed_generation: Optional[int] = None,
|
|
2434
|
-
ready_replicas: Optional[int] = None
|
|
2470
|
+
fully_labeled_replicas: Optional[_builtins.int] = None,
|
|
2471
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
2472
|
+
ready_replicas: Optional[_builtins.int] = None,
|
|
2473
|
+
terminating_replicas: Optional[_builtins.int] = None):
|
|
2435
2474
|
"""
|
|
2436
2475
|
ReplicaSetStatus represents the current status of a ReplicaSet.
|
|
2437
|
-
:param int replicas: Replicas is the most recently observed number of
|
|
2438
|
-
:param int available_replicas: The number of available
|
|
2476
|
+
:param _builtins.int replicas: Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2477
|
+
:param _builtins.int available_replicas: The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
|
|
2439
2478
|
:param Sequence['ReplicaSetConditionArgs'] conditions: Represents the latest available observations of a replica set's current state.
|
|
2440
|
-
:param int fully_labeled_replicas: The number of pods that have labels matching the labels of the pod template of the replicaset.
|
|
2441
|
-
:param int observed_generation: ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2442
|
-
:param int ready_replicas:
|
|
2479
|
+
:param _builtins.int fully_labeled_replicas: The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
|
|
2480
|
+
:param _builtins.int observed_generation: ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2481
|
+
:param _builtins.int ready_replicas: The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
|
|
2482
|
+
:param _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.
|
|
2483
|
+
|
|
2484
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
2443
2485
|
"""
|
|
2444
2486
|
pulumi.set(__self__, "replicas", replicas)
|
|
2445
2487
|
if available_replicas is not None:
|
|
@@ -2452,24 +2494,26 @@ class ReplicaSetStatus(dict):
|
|
|
2452
2494
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
2453
2495
|
if ready_replicas is not None:
|
|
2454
2496
|
pulumi.set(__self__, "ready_replicas", ready_replicas)
|
|
2497
|
+
if terminating_replicas is not None:
|
|
2498
|
+
pulumi.set(__self__, "terminating_replicas", terminating_replicas)
|
|
2455
2499
|
|
|
2456
|
-
@property
|
|
2500
|
+
@_builtins.property
|
|
2457
2501
|
@pulumi.getter
|
|
2458
|
-
def replicas(self) -> int:
|
|
2502
|
+
def replicas(self) -> _builtins.int:
|
|
2459
2503
|
"""
|
|
2460
|
-
Replicas is the most recently observed number of
|
|
2504
|
+
Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2461
2505
|
"""
|
|
2462
2506
|
return pulumi.get(self, "replicas")
|
|
2463
2507
|
|
|
2464
|
-
@property
|
|
2508
|
+
@_builtins.property
|
|
2465
2509
|
@pulumi.getter(name="availableReplicas")
|
|
2466
|
-
def available_replicas(self) -> Optional[int]:
|
|
2510
|
+
def available_replicas(self) -> Optional[_builtins.int]:
|
|
2467
2511
|
"""
|
|
2468
|
-
The number of available
|
|
2512
|
+
The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
|
|
2469
2513
|
"""
|
|
2470
2514
|
return pulumi.get(self, "available_replicas")
|
|
2471
2515
|
|
|
2472
|
-
@property
|
|
2516
|
+
@_builtins.property
|
|
2473
2517
|
@pulumi.getter
|
|
2474
2518
|
def conditions(self) -> Optional[Sequence['outputs.ReplicaSetCondition']]:
|
|
2475
2519
|
"""
|
|
@@ -2477,30 +2521,40 @@ class ReplicaSetStatus(dict):
|
|
|
2477
2521
|
"""
|
|
2478
2522
|
return pulumi.get(self, "conditions")
|
|
2479
2523
|
|
|
2480
|
-
@property
|
|
2524
|
+
@_builtins.property
|
|
2481
2525
|
@pulumi.getter(name="fullyLabeledReplicas")
|
|
2482
|
-
def fully_labeled_replicas(self) -> Optional[int]:
|
|
2526
|
+
def fully_labeled_replicas(self) -> Optional[_builtins.int]:
|
|
2483
2527
|
"""
|
|
2484
|
-
The number of pods that have labels matching the labels of the pod template of the replicaset.
|
|
2528
|
+
The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
|
|
2485
2529
|
"""
|
|
2486
2530
|
return pulumi.get(self, "fully_labeled_replicas")
|
|
2487
2531
|
|
|
2488
|
-
@property
|
|
2532
|
+
@_builtins.property
|
|
2489
2533
|
@pulumi.getter(name="observedGeneration")
|
|
2490
|
-
def observed_generation(self) -> Optional[int]:
|
|
2534
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
2491
2535
|
"""
|
|
2492
2536
|
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2493
2537
|
"""
|
|
2494
2538
|
return pulumi.get(self, "observed_generation")
|
|
2495
2539
|
|
|
2496
|
-
@property
|
|
2540
|
+
@_builtins.property
|
|
2497
2541
|
@pulumi.getter(name="readyReplicas")
|
|
2498
|
-
def ready_replicas(self) -> Optional[int]:
|
|
2542
|
+
def ready_replicas(self) -> Optional[_builtins.int]:
|
|
2499
2543
|
"""
|
|
2500
|
-
|
|
2544
|
+
The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
|
|
2501
2545
|
"""
|
|
2502
2546
|
return pulumi.get(self, "ready_replicas")
|
|
2503
2547
|
|
|
2548
|
+
@_builtins.property
|
|
2549
|
+
@pulumi.getter(name="terminatingReplicas")
|
|
2550
|
+
def terminating_replicas(self) -> Optional[_builtins.int]:
|
|
2551
|
+
"""
|
|
2552
|
+
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.
|
|
2553
|
+
|
|
2554
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
2555
|
+
"""
|
|
2556
|
+
return pulumi.get(self, "terminating_replicas")
|
|
2557
|
+
|
|
2504
2558
|
|
|
2505
2559
|
@pulumi.output_type
|
|
2506
2560
|
class ReplicaSetStatusPatch(dict):
|
|
@@ -2518,6 +2572,8 @@ class ReplicaSetStatusPatch(dict):
|
|
|
2518
2572
|
suggest = "observed_generation"
|
|
2519
2573
|
elif key == "readyReplicas":
|
|
2520
2574
|
suggest = "ready_replicas"
|
|
2575
|
+
elif key == "terminatingReplicas":
|
|
2576
|
+
suggest = "terminating_replicas"
|
|
2521
2577
|
|
|
2522
2578
|
if suggest:
|
|
2523
2579
|
pulumi.log.warn(f"Key '{key}' not found in ReplicaSetStatusPatch. Access the value via the '{suggest}' property getter instead.")
|
|
@@ -2531,20 +2587,24 @@ class ReplicaSetStatusPatch(dict):
|
|
|
2531
2587
|
return super().get(key, default)
|
|
2532
2588
|
|
|
2533
2589
|
def __init__(__self__, *,
|
|
2534
|
-
available_replicas: Optional[int] = None,
|
|
2590
|
+
available_replicas: Optional[_builtins.int] = None,
|
|
2535
2591
|
conditions: Optional[Sequence['outputs.ReplicaSetConditionPatch']] = None,
|
|
2536
|
-
fully_labeled_replicas: Optional[int] = None,
|
|
2537
|
-
observed_generation: Optional[int] = None,
|
|
2538
|
-
ready_replicas: Optional[int] = None,
|
|
2539
|
-
replicas: Optional[int] = None
|
|
2592
|
+
fully_labeled_replicas: Optional[_builtins.int] = None,
|
|
2593
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
2594
|
+
ready_replicas: Optional[_builtins.int] = None,
|
|
2595
|
+
replicas: Optional[_builtins.int] = None,
|
|
2596
|
+
terminating_replicas: Optional[_builtins.int] = None):
|
|
2540
2597
|
"""
|
|
2541
2598
|
ReplicaSetStatus represents the current status of a ReplicaSet.
|
|
2542
|
-
:param int available_replicas: The number of available
|
|
2599
|
+
:param _builtins.int available_replicas: The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
|
|
2543
2600
|
:param Sequence['ReplicaSetConditionPatchArgs'] conditions: Represents the latest available observations of a replica set's current state.
|
|
2544
|
-
:param int fully_labeled_replicas: The number of pods that have labels matching the labels of the pod template of the replicaset.
|
|
2545
|
-
:param int observed_generation: ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2546
|
-
:param int ready_replicas:
|
|
2547
|
-
:param int replicas: Replicas is the most recently observed number of
|
|
2601
|
+
:param _builtins.int fully_labeled_replicas: The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
|
|
2602
|
+
:param _builtins.int observed_generation: ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2603
|
+
:param _builtins.int ready_replicas: The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
|
|
2604
|
+
:param _builtins.int replicas: Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2605
|
+
:param _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.
|
|
2606
|
+
|
|
2607
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
2548
2608
|
"""
|
|
2549
2609
|
if available_replicas is not None:
|
|
2550
2610
|
pulumi.set(__self__, "available_replicas", available_replicas)
|
|
@@ -2558,16 +2618,18 @@ class ReplicaSetStatusPatch(dict):
|
|
|
2558
2618
|
pulumi.set(__self__, "ready_replicas", ready_replicas)
|
|
2559
2619
|
if replicas is not None:
|
|
2560
2620
|
pulumi.set(__self__, "replicas", replicas)
|
|
2621
|
+
if terminating_replicas is not None:
|
|
2622
|
+
pulumi.set(__self__, "terminating_replicas", terminating_replicas)
|
|
2561
2623
|
|
|
2562
|
-
@property
|
|
2624
|
+
@_builtins.property
|
|
2563
2625
|
@pulumi.getter(name="availableReplicas")
|
|
2564
|
-
def available_replicas(self) -> Optional[int]:
|
|
2626
|
+
def available_replicas(self) -> Optional[_builtins.int]:
|
|
2565
2627
|
"""
|
|
2566
|
-
The number of available
|
|
2628
|
+
The number of available non-terminating pods (ready for at least minReadySeconds) for this replica set.
|
|
2567
2629
|
"""
|
|
2568
2630
|
return pulumi.get(self, "available_replicas")
|
|
2569
2631
|
|
|
2570
|
-
@property
|
|
2632
|
+
@_builtins.property
|
|
2571
2633
|
@pulumi.getter
|
|
2572
2634
|
def conditions(self) -> Optional[Sequence['outputs.ReplicaSetConditionPatch']]:
|
|
2573
2635
|
"""
|
|
@@ -2575,38 +2637,48 @@ class ReplicaSetStatusPatch(dict):
|
|
|
2575
2637
|
"""
|
|
2576
2638
|
return pulumi.get(self, "conditions")
|
|
2577
2639
|
|
|
2578
|
-
@property
|
|
2640
|
+
@_builtins.property
|
|
2579
2641
|
@pulumi.getter(name="fullyLabeledReplicas")
|
|
2580
|
-
def fully_labeled_replicas(self) -> Optional[int]:
|
|
2642
|
+
def fully_labeled_replicas(self) -> Optional[_builtins.int]:
|
|
2581
2643
|
"""
|
|
2582
|
-
The number of pods that have labels matching the labels of the pod template of the replicaset.
|
|
2644
|
+
The number of non-terminating pods that have labels matching the labels of the pod template of the replicaset.
|
|
2583
2645
|
"""
|
|
2584
2646
|
return pulumi.get(self, "fully_labeled_replicas")
|
|
2585
2647
|
|
|
2586
|
-
@property
|
|
2648
|
+
@_builtins.property
|
|
2587
2649
|
@pulumi.getter(name="observedGeneration")
|
|
2588
|
-
def observed_generation(self) -> Optional[int]:
|
|
2650
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
2589
2651
|
"""
|
|
2590
2652
|
ObservedGeneration reflects the generation of the most recently observed ReplicaSet.
|
|
2591
2653
|
"""
|
|
2592
2654
|
return pulumi.get(self, "observed_generation")
|
|
2593
2655
|
|
|
2594
|
-
@property
|
|
2656
|
+
@_builtins.property
|
|
2595
2657
|
@pulumi.getter(name="readyReplicas")
|
|
2596
|
-
def ready_replicas(self) -> Optional[int]:
|
|
2658
|
+
def ready_replicas(self) -> Optional[_builtins.int]:
|
|
2597
2659
|
"""
|
|
2598
|
-
|
|
2660
|
+
The number of non-terminating pods targeted by this ReplicaSet with a Ready Condition.
|
|
2599
2661
|
"""
|
|
2600
2662
|
return pulumi.get(self, "ready_replicas")
|
|
2601
2663
|
|
|
2602
|
-
@property
|
|
2664
|
+
@_builtins.property
|
|
2603
2665
|
@pulumi.getter
|
|
2604
|
-
def replicas(self) -> Optional[int]:
|
|
2666
|
+
def replicas(self) -> Optional[_builtins.int]:
|
|
2605
2667
|
"""
|
|
2606
|
-
Replicas is the most recently observed number of
|
|
2668
|
+
Replicas is the most recently observed number of non-terminating pods. More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset
|
|
2607
2669
|
"""
|
|
2608
2670
|
return pulumi.get(self, "replicas")
|
|
2609
2671
|
|
|
2672
|
+
@_builtins.property
|
|
2673
|
+
@pulumi.getter(name="terminatingReplicas")
|
|
2674
|
+
def terminating_replicas(self) -> Optional[_builtins.int]:
|
|
2675
|
+
"""
|
|
2676
|
+
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.
|
|
2677
|
+
|
|
2678
|
+
This is an alpha field. Enable DeploymentReplicaSetTerminatingReplicas to be able to use this field.
|
|
2679
|
+
"""
|
|
2680
|
+
return pulumi.get(self, "terminating_replicas")
|
|
2681
|
+
|
|
2610
2682
|
|
|
2611
2683
|
@pulumi.output_type
|
|
2612
2684
|
class RollingUpdateDaemonSet(dict):
|
|
@@ -2637,15 +2709,15 @@ class RollingUpdateDaemonSet(dict):
|
|
|
2637
2709
|
max_unavailable: Optional[Any] = None):
|
|
2638
2710
|
"""
|
|
2639
2711
|
Spec to control the desired behavior of daemon set rolling update.
|
|
2640
|
-
:param 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.
|
|
2641
|
-
:param 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.
|
|
2712
|
+
:param 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.
|
|
2713
|
+
:param 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.
|
|
2642
2714
|
"""
|
|
2643
2715
|
if max_surge is not None:
|
|
2644
2716
|
pulumi.set(__self__, "max_surge", max_surge)
|
|
2645
2717
|
if max_unavailable is not None:
|
|
2646
2718
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
2647
2719
|
|
|
2648
|
-
@property
|
|
2720
|
+
@_builtins.property
|
|
2649
2721
|
@pulumi.getter(name="maxSurge")
|
|
2650
2722
|
def max_surge(self) -> Optional[Any]:
|
|
2651
2723
|
"""
|
|
@@ -2653,7 +2725,7 @@ class RollingUpdateDaemonSet(dict):
|
|
|
2653
2725
|
"""
|
|
2654
2726
|
return pulumi.get(self, "max_surge")
|
|
2655
2727
|
|
|
2656
|
-
@property
|
|
2728
|
+
@_builtins.property
|
|
2657
2729
|
@pulumi.getter(name="maxUnavailable")
|
|
2658
2730
|
def max_unavailable(self) -> Optional[Any]:
|
|
2659
2731
|
"""
|
|
@@ -2691,15 +2763,15 @@ class RollingUpdateDaemonSetPatch(dict):
|
|
|
2691
2763
|
max_unavailable: Optional[Any] = None):
|
|
2692
2764
|
"""
|
|
2693
2765
|
Spec to control the desired behavior of daemon set rolling update.
|
|
2694
|
-
:param 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.
|
|
2695
|
-
:param 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.
|
|
2766
|
+
:param 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.
|
|
2767
|
+
:param 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.
|
|
2696
2768
|
"""
|
|
2697
2769
|
if max_surge is not None:
|
|
2698
2770
|
pulumi.set(__self__, "max_surge", max_surge)
|
|
2699
2771
|
if max_unavailable is not None:
|
|
2700
2772
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
2701
2773
|
|
|
2702
|
-
@property
|
|
2774
|
+
@_builtins.property
|
|
2703
2775
|
@pulumi.getter(name="maxSurge")
|
|
2704
2776
|
def max_surge(self) -> Optional[Any]:
|
|
2705
2777
|
"""
|
|
@@ -2707,7 +2779,7 @@ class RollingUpdateDaemonSetPatch(dict):
|
|
|
2707
2779
|
"""
|
|
2708
2780
|
return pulumi.get(self, "max_surge")
|
|
2709
2781
|
|
|
2710
|
-
@property
|
|
2782
|
+
@_builtins.property
|
|
2711
2783
|
@pulumi.getter(name="maxUnavailable")
|
|
2712
2784
|
def max_unavailable(self) -> Optional[Any]:
|
|
2713
2785
|
"""
|
|
@@ -2745,15 +2817,15 @@ class RollingUpdateDeployment(dict):
|
|
|
2745
2817
|
max_unavailable: Optional[Any] = None):
|
|
2746
2818
|
"""
|
|
2747
2819
|
Spec to control the desired behavior of rolling update.
|
|
2748
|
-
:param 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.
|
|
2749
|
-
:param 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.
|
|
2820
|
+
:param 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.
|
|
2821
|
+
:param 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.
|
|
2750
2822
|
"""
|
|
2751
2823
|
if max_surge is not None:
|
|
2752
2824
|
pulumi.set(__self__, "max_surge", max_surge)
|
|
2753
2825
|
if max_unavailable is not None:
|
|
2754
2826
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
2755
2827
|
|
|
2756
|
-
@property
|
|
2828
|
+
@_builtins.property
|
|
2757
2829
|
@pulumi.getter(name="maxSurge")
|
|
2758
2830
|
def max_surge(self) -> Optional[Any]:
|
|
2759
2831
|
"""
|
|
@@ -2761,7 +2833,7 @@ class RollingUpdateDeployment(dict):
|
|
|
2761
2833
|
"""
|
|
2762
2834
|
return pulumi.get(self, "max_surge")
|
|
2763
2835
|
|
|
2764
|
-
@property
|
|
2836
|
+
@_builtins.property
|
|
2765
2837
|
@pulumi.getter(name="maxUnavailable")
|
|
2766
2838
|
def max_unavailable(self) -> Optional[Any]:
|
|
2767
2839
|
"""
|
|
@@ -2799,15 +2871,15 @@ class RollingUpdateDeploymentPatch(dict):
|
|
|
2799
2871
|
max_unavailable: Optional[Any] = None):
|
|
2800
2872
|
"""
|
|
2801
2873
|
Spec to control the desired behavior of rolling update.
|
|
2802
|
-
:param 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.
|
|
2803
|
-
:param 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.
|
|
2874
|
+
:param 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.
|
|
2875
|
+
:param 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.
|
|
2804
2876
|
"""
|
|
2805
2877
|
if max_surge is not None:
|
|
2806
2878
|
pulumi.set(__self__, "max_surge", max_surge)
|
|
2807
2879
|
if max_unavailable is not None:
|
|
2808
2880
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
2809
2881
|
|
|
2810
|
-
@property
|
|
2882
|
+
@_builtins.property
|
|
2811
2883
|
@pulumi.getter(name="maxSurge")
|
|
2812
2884
|
def max_surge(self) -> Optional[Any]:
|
|
2813
2885
|
"""
|
|
@@ -2815,7 +2887,7 @@ class RollingUpdateDeploymentPatch(dict):
|
|
|
2815
2887
|
"""
|
|
2816
2888
|
return pulumi.get(self, "max_surge")
|
|
2817
2889
|
|
|
2818
|
-
@property
|
|
2890
|
+
@_builtins.property
|
|
2819
2891
|
@pulumi.getter(name="maxUnavailable")
|
|
2820
2892
|
def max_unavailable(self) -> Optional[Any]:
|
|
2821
2893
|
"""
|
|
@@ -2848,18 +2920,18 @@ class RollingUpdateStatefulSetStrategy(dict):
|
|
|
2848
2920
|
|
|
2849
2921
|
def __init__(__self__, *,
|
|
2850
2922
|
max_unavailable: Optional[Any] = None,
|
|
2851
|
-
partition: Optional[int] = None):
|
|
2923
|
+
partition: Optional[_builtins.int] = None):
|
|
2852
2924
|
"""
|
|
2853
2925
|
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
|
|
2854
|
-
:param 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.
|
|
2855
|
-
:param 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.
|
|
2926
|
+
:param 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.
|
|
2927
|
+
:param _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.
|
|
2856
2928
|
"""
|
|
2857
2929
|
if max_unavailable is not None:
|
|
2858
2930
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
2859
2931
|
if partition is not None:
|
|
2860
2932
|
pulumi.set(__self__, "partition", partition)
|
|
2861
2933
|
|
|
2862
|
-
@property
|
|
2934
|
+
@_builtins.property
|
|
2863
2935
|
@pulumi.getter(name="maxUnavailable")
|
|
2864
2936
|
def max_unavailable(self) -> Optional[Any]:
|
|
2865
2937
|
"""
|
|
@@ -2867,9 +2939,9 @@ class RollingUpdateStatefulSetStrategy(dict):
|
|
|
2867
2939
|
"""
|
|
2868
2940
|
return pulumi.get(self, "max_unavailable")
|
|
2869
2941
|
|
|
2870
|
-
@property
|
|
2942
|
+
@_builtins.property
|
|
2871
2943
|
@pulumi.getter
|
|
2872
|
-
def partition(self) -> Optional[int]:
|
|
2944
|
+
def partition(self) -> Optional[_builtins.int]:
|
|
2873
2945
|
"""
|
|
2874
2946
|
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.
|
|
2875
2947
|
"""
|
|
@@ -2900,18 +2972,18 @@ class RollingUpdateStatefulSetStrategyPatch(dict):
|
|
|
2900
2972
|
|
|
2901
2973
|
def __init__(__self__, *,
|
|
2902
2974
|
max_unavailable: Optional[Any] = None,
|
|
2903
|
-
partition: Optional[int] = None):
|
|
2975
|
+
partition: Optional[_builtins.int] = None):
|
|
2904
2976
|
"""
|
|
2905
2977
|
RollingUpdateStatefulSetStrategy is used to communicate parameter for RollingUpdateStatefulSetStrategyType.
|
|
2906
|
-
:param 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.
|
|
2907
|
-
:param 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.
|
|
2978
|
+
:param 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.
|
|
2979
|
+
:param _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.
|
|
2908
2980
|
"""
|
|
2909
2981
|
if max_unavailable is not None:
|
|
2910
2982
|
pulumi.set(__self__, "max_unavailable", max_unavailable)
|
|
2911
2983
|
if partition is not None:
|
|
2912
2984
|
pulumi.set(__self__, "partition", partition)
|
|
2913
2985
|
|
|
2914
|
-
@property
|
|
2986
|
+
@_builtins.property
|
|
2915
2987
|
@pulumi.getter(name="maxUnavailable")
|
|
2916
2988
|
def max_unavailable(self) -> Optional[Any]:
|
|
2917
2989
|
"""
|
|
@@ -2919,9 +2991,9 @@ class RollingUpdateStatefulSetStrategyPatch(dict):
|
|
|
2919
2991
|
"""
|
|
2920
2992
|
return pulumi.get(self, "max_unavailable")
|
|
2921
2993
|
|
|
2922
|
-
@property
|
|
2994
|
+
@_builtins.property
|
|
2923
2995
|
@pulumi.getter
|
|
2924
|
-
def partition(self) -> Optional[int]:
|
|
2996
|
+
def partition(self) -> Optional[_builtins.int]:
|
|
2925
2997
|
"""
|
|
2926
2998
|
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.
|
|
2927
2999
|
"""
|
|
@@ -2968,8 +3040,8 @@ class StatefulSet(dict):
|
|
|
2968
3040
|
return super().get(key, default)
|
|
2969
3041
|
|
|
2970
3042
|
def __init__(__self__, *,
|
|
2971
|
-
api_version: Optional[str] = None,
|
|
2972
|
-
kind: Optional[str] = None,
|
|
3043
|
+
api_version: Optional[_builtins.str] = None,
|
|
3044
|
+
kind: Optional[_builtins.str] = None,
|
|
2973
3045
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
2974
3046
|
spec: Optional['outputs.StatefulSetSpec'] = None,
|
|
2975
3047
|
status: Optional['outputs.StatefulSetStatus'] = None):
|
|
@@ -2992,8 +3064,8 @@ class StatefulSet(dict):
|
|
|
2992
3064
|
If the StatefulSet has not reached a Ready state after 10 minutes, it will
|
|
2993
3065
|
time out and mark the resource update as Failed. You can override the default timeout value
|
|
2994
3066
|
by setting the 'customTimeouts' option on the resource.
|
|
2995
|
-
:param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
2996
|
-
:param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
3067
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
3068
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
2997
3069
|
:param '_meta.v1.ObjectMetaArgs' metadata: Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
2998
3070
|
:param 'StatefulSetSpecArgs' spec: Spec defines the desired identities of pods in this set.
|
|
2999
3071
|
:param 'StatefulSetStatusArgs' status: Status is the current status of Pods in this StatefulSet. This data may be out of date by some window of time.
|
|
@@ -3009,23 +3081,23 @@ class StatefulSet(dict):
|
|
|
3009
3081
|
if status is not None:
|
|
3010
3082
|
pulumi.set(__self__, "status", status)
|
|
3011
3083
|
|
|
3012
|
-
@property
|
|
3084
|
+
@_builtins.property
|
|
3013
3085
|
@pulumi.getter(name="apiVersion")
|
|
3014
|
-
def api_version(self) -> Optional[str]:
|
|
3086
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
3015
3087
|
"""
|
|
3016
3088
|
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
|
|
3017
3089
|
"""
|
|
3018
3090
|
return pulumi.get(self, "api_version")
|
|
3019
3091
|
|
|
3020
|
-
@property
|
|
3092
|
+
@_builtins.property
|
|
3021
3093
|
@pulumi.getter
|
|
3022
|
-
def kind(self) -> Optional[str]:
|
|
3094
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
3023
3095
|
"""
|
|
3024
3096
|
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
|
|
3025
3097
|
"""
|
|
3026
3098
|
return pulumi.get(self, "kind")
|
|
3027
3099
|
|
|
3028
|
-
@property
|
|
3100
|
+
@_builtins.property
|
|
3029
3101
|
@pulumi.getter
|
|
3030
3102
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
3031
3103
|
"""
|
|
@@ -3033,7 +3105,7 @@ class StatefulSet(dict):
|
|
|
3033
3105
|
"""
|
|
3034
3106
|
return pulumi.get(self, "metadata")
|
|
3035
3107
|
|
|
3036
|
-
@property
|
|
3108
|
+
@_builtins.property
|
|
3037
3109
|
@pulumi.getter
|
|
3038
3110
|
def spec(self) -> Optional['outputs.StatefulSetSpec']:
|
|
3039
3111
|
"""
|
|
@@ -3041,7 +3113,7 @@ class StatefulSet(dict):
|
|
|
3041
3113
|
"""
|
|
3042
3114
|
return pulumi.get(self, "spec")
|
|
3043
3115
|
|
|
3044
|
-
@property
|
|
3116
|
+
@_builtins.property
|
|
3045
3117
|
@pulumi.getter
|
|
3046
3118
|
def status(self) -> Optional['outputs.StatefulSetStatus']:
|
|
3047
3119
|
"""
|
|
@@ -3073,18 +3145,18 @@ class StatefulSetCondition(dict):
|
|
|
3073
3145
|
return super().get(key, default)
|
|
3074
3146
|
|
|
3075
3147
|
def __init__(__self__, *,
|
|
3076
|
-
status: str,
|
|
3077
|
-
type: str,
|
|
3078
|
-
last_transition_time: Optional[str] = None,
|
|
3079
|
-
message: Optional[str] = None,
|
|
3080
|
-
reason: Optional[str] = None):
|
|
3148
|
+
status: _builtins.str,
|
|
3149
|
+
type: _builtins.str,
|
|
3150
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
3151
|
+
message: Optional[_builtins.str] = None,
|
|
3152
|
+
reason: Optional[_builtins.str] = None):
|
|
3081
3153
|
"""
|
|
3082
3154
|
StatefulSetCondition describes the state of a statefulset at a certain point.
|
|
3083
|
-
:param str status: Status of the condition, one of True, False, Unknown.
|
|
3084
|
-
:param str type: Type of statefulset condition.
|
|
3085
|
-
:param str last_transition_time: Last time the condition transitioned from one status to another.
|
|
3086
|
-
:param str message: A human readable message indicating details about the transition.
|
|
3087
|
-
:param str reason: The reason for the condition's last transition.
|
|
3155
|
+
:param _builtins.str status: Status of the condition, one of True, False, Unknown.
|
|
3156
|
+
:param _builtins.str type: Type of statefulset condition.
|
|
3157
|
+
:param _builtins.str last_transition_time: Last time the condition transitioned from one status to another.
|
|
3158
|
+
:param _builtins.str message: A human readable message indicating details about the transition.
|
|
3159
|
+
:param _builtins.str reason: The reason for the condition's last transition.
|
|
3088
3160
|
"""
|
|
3089
3161
|
pulumi.set(__self__, "status", status)
|
|
3090
3162
|
pulumi.set(__self__, "type", type)
|
|
@@ -3095,41 +3167,41 @@ class StatefulSetCondition(dict):
|
|
|
3095
3167
|
if reason is not None:
|
|
3096
3168
|
pulumi.set(__self__, "reason", reason)
|
|
3097
3169
|
|
|
3098
|
-
@property
|
|
3170
|
+
@_builtins.property
|
|
3099
3171
|
@pulumi.getter
|
|
3100
|
-
def status(self) -> str:
|
|
3172
|
+
def status(self) -> _builtins.str:
|
|
3101
3173
|
"""
|
|
3102
3174
|
Status of the condition, one of True, False, Unknown.
|
|
3103
3175
|
"""
|
|
3104
3176
|
return pulumi.get(self, "status")
|
|
3105
3177
|
|
|
3106
|
-
@property
|
|
3178
|
+
@_builtins.property
|
|
3107
3179
|
@pulumi.getter
|
|
3108
|
-
def type(self) -> str:
|
|
3180
|
+
def type(self) -> _builtins.str:
|
|
3109
3181
|
"""
|
|
3110
3182
|
Type of statefulset condition.
|
|
3111
3183
|
"""
|
|
3112
3184
|
return pulumi.get(self, "type")
|
|
3113
3185
|
|
|
3114
|
-
@property
|
|
3186
|
+
@_builtins.property
|
|
3115
3187
|
@pulumi.getter(name="lastTransitionTime")
|
|
3116
|
-
def last_transition_time(self) -> Optional[str]:
|
|
3188
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
3117
3189
|
"""
|
|
3118
3190
|
Last time the condition transitioned from one status to another.
|
|
3119
3191
|
"""
|
|
3120
3192
|
return pulumi.get(self, "last_transition_time")
|
|
3121
3193
|
|
|
3122
|
-
@property
|
|
3194
|
+
@_builtins.property
|
|
3123
3195
|
@pulumi.getter
|
|
3124
|
-
def message(self) -> Optional[str]:
|
|
3196
|
+
def message(self) -> Optional[_builtins.str]:
|
|
3125
3197
|
"""
|
|
3126
3198
|
A human readable message indicating details about the transition.
|
|
3127
3199
|
"""
|
|
3128
3200
|
return pulumi.get(self, "message")
|
|
3129
3201
|
|
|
3130
|
-
@property
|
|
3202
|
+
@_builtins.property
|
|
3131
3203
|
@pulumi.getter
|
|
3132
|
-
def reason(self) -> Optional[str]:
|
|
3204
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
3133
3205
|
"""
|
|
3134
3206
|
The reason for the condition's last transition.
|
|
3135
3207
|
"""
|
|
@@ -3159,18 +3231,18 @@ class StatefulSetConditionPatch(dict):
|
|
|
3159
3231
|
return super().get(key, default)
|
|
3160
3232
|
|
|
3161
3233
|
def __init__(__self__, *,
|
|
3162
|
-
last_transition_time: Optional[str] = None,
|
|
3163
|
-
message: Optional[str] = None,
|
|
3164
|
-
reason: Optional[str] = None,
|
|
3165
|
-
status: Optional[str] = None,
|
|
3166
|
-
type: Optional[str] = None):
|
|
3234
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
3235
|
+
message: Optional[_builtins.str] = None,
|
|
3236
|
+
reason: Optional[_builtins.str] = None,
|
|
3237
|
+
status: Optional[_builtins.str] = None,
|
|
3238
|
+
type: Optional[_builtins.str] = None):
|
|
3167
3239
|
"""
|
|
3168
3240
|
StatefulSetCondition describes the state of a statefulset at a certain point.
|
|
3169
|
-
:param str last_transition_time: Last time the condition transitioned from one status to another.
|
|
3170
|
-
:param str message: A human readable message indicating details about the transition.
|
|
3171
|
-
:param str reason: The reason for the condition's last transition.
|
|
3172
|
-
:param str status: Status of the condition, one of True, False, Unknown.
|
|
3173
|
-
:param str type: Type of statefulset condition.
|
|
3241
|
+
:param _builtins.str last_transition_time: Last time the condition transitioned from one status to another.
|
|
3242
|
+
:param _builtins.str message: A human readable message indicating details about the transition.
|
|
3243
|
+
:param _builtins.str reason: The reason for the condition's last transition.
|
|
3244
|
+
:param _builtins.str status: Status of the condition, one of True, False, Unknown.
|
|
3245
|
+
:param _builtins.str type: Type of statefulset condition.
|
|
3174
3246
|
"""
|
|
3175
3247
|
if last_transition_time is not None:
|
|
3176
3248
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
|
@@ -3183,41 +3255,41 @@ class StatefulSetConditionPatch(dict):
|
|
|
3183
3255
|
if type is not None:
|
|
3184
3256
|
pulumi.set(__self__, "type", type)
|
|
3185
3257
|
|
|
3186
|
-
@property
|
|
3258
|
+
@_builtins.property
|
|
3187
3259
|
@pulumi.getter(name="lastTransitionTime")
|
|
3188
|
-
def last_transition_time(self) -> Optional[str]:
|
|
3260
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
3189
3261
|
"""
|
|
3190
3262
|
Last time the condition transitioned from one status to another.
|
|
3191
3263
|
"""
|
|
3192
3264
|
return pulumi.get(self, "last_transition_time")
|
|
3193
3265
|
|
|
3194
|
-
@property
|
|
3266
|
+
@_builtins.property
|
|
3195
3267
|
@pulumi.getter
|
|
3196
|
-
def message(self) -> Optional[str]:
|
|
3268
|
+
def message(self) -> Optional[_builtins.str]:
|
|
3197
3269
|
"""
|
|
3198
3270
|
A human readable message indicating details about the transition.
|
|
3199
3271
|
"""
|
|
3200
3272
|
return pulumi.get(self, "message")
|
|
3201
3273
|
|
|
3202
|
-
@property
|
|
3274
|
+
@_builtins.property
|
|
3203
3275
|
@pulumi.getter
|
|
3204
|
-
def reason(self) -> Optional[str]:
|
|
3276
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
3205
3277
|
"""
|
|
3206
3278
|
The reason for the condition's last transition.
|
|
3207
3279
|
"""
|
|
3208
3280
|
return pulumi.get(self, "reason")
|
|
3209
3281
|
|
|
3210
|
-
@property
|
|
3282
|
+
@_builtins.property
|
|
3211
3283
|
@pulumi.getter
|
|
3212
|
-
def status(self) -> Optional[str]:
|
|
3284
|
+
def status(self) -> Optional[_builtins.str]:
|
|
3213
3285
|
"""
|
|
3214
3286
|
Status of the condition, one of True, False, Unknown.
|
|
3215
3287
|
"""
|
|
3216
3288
|
return pulumi.get(self, "status")
|
|
3217
3289
|
|
|
3218
|
-
@property
|
|
3290
|
+
@_builtins.property
|
|
3219
3291
|
@pulumi.getter
|
|
3220
|
-
def type(self) -> Optional[str]:
|
|
3292
|
+
def type(self) -> Optional[_builtins.str]:
|
|
3221
3293
|
"""
|
|
3222
3294
|
Type of statefulset condition.
|
|
3223
3295
|
"""
|
|
@@ -3230,10 +3302,10 @@ class StatefulSetOrdinals(dict):
|
|
|
3230
3302
|
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
|
|
3231
3303
|
"""
|
|
3232
3304
|
def __init__(__self__, *,
|
|
3233
|
-
start: Optional[int] = None):
|
|
3305
|
+
start: Optional[_builtins.int] = None):
|
|
3234
3306
|
"""
|
|
3235
3307
|
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
|
|
3236
|
-
:param 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:
|
|
3308
|
+
:param _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:
|
|
3237
3309
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
3238
3310
|
If unset, defaults to 0. Replica indices will be in the range:
|
|
3239
3311
|
[0, .spec.replicas).
|
|
@@ -3241,9 +3313,9 @@ class StatefulSetOrdinals(dict):
|
|
|
3241
3313
|
if start is not None:
|
|
3242
3314
|
pulumi.set(__self__, "start", start)
|
|
3243
3315
|
|
|
3244
|
-
@property
|
|
3316
|
+
@_builtins.property
|
|
3245
3317
|
@pulumi.getter
|
|
3246
|
-
def start(self) -> Optional[int]:
|
|
3318
|
+
def start(self) -> Optional[_builtins.int]:
|
|
3247
3319
|
"""
|
|
3248
3320
|
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:
|
|
3249
3321
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
@@ -3259,10 +3331,10 @@ class StatefulSetOrdinalsPatch(dict):
|
|
|
3259
3331
|
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
|
|
3260
3332
|
"""
|
|
3261
3333
|
def __init__(__self__, *,
|
|
3262
|
-
start: Optional[int] = None):
|
|
3334
|
+
start: Optional[_builtins.int] = None):
|
|
3263
3335
|
"""
|
|
3264
3336
|
StatefulSetOrdinals describes the policy used for replica ordinal assignment in this StatefulSet.
|
|
3265
|
-
:param 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:
|
|
3337
|
+
:param _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:
|
|
3266
3338
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
3267
3339
|
If unset, defaults to 0. Replica indices will be in the range:
|
|
3268
3340
|
[0, .spec.replicas).
|
|
@@ -3270,9 +3342,9 @@ class StatefulSetOrdinalsPatch(dict):
|
|
|
3270
3342
|
if start is not None:
|
|
3271
3343
|
pulumi.set(__self__, "start", start)
|
|
3272
3344
|
|
|
3273
|
-
@property
|
|
3345
|
+
@_builtins.property
|
|
3274
3346
|
@pulumi.getter
|
|
3275
|
-
def start(self) -> Optional[int]:
|
|
3347
|
+
def start(self) -> Optional[_builtins.int]:
|
|
3276
3348
|
"""
|
|
3277
3349
|
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:
|
|
3278
3350
|
[.spec.ordinals.start, .spec.ordinals.start + .spec.replicas).
|
|
@@ -3307,29 +3379,29 @@ class StatefulSetPersistentVolumeClaimRetentionPolicy(dict):
|
|
|
3307
3379
|
return super().get(key, default)
|
|
3308
3380
|
|
|
3309
3381
|
def __init__(__self__, *,
|
|
3310
|
-
when_deleted: Optional[str] = None,
|
|
3311
|
-
when_scaled: Optional[str] = None):
|
|
3382
|
+
when_deleted: Optional[_builtins.str] = None,
|
|
3383
|
+
when_scaled: Optional[_builtins.str] = None):
|
|
3312
3384
|
"""
|
|
3313
3385
|
StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
|
|
3314
|
-
:param 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.
|
|
3315
|
-
:param 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.
|
|
3386
|
+
:param _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.
|
|
3387
|
+
:param _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.
|
|
3316
3388
|
"""
|
|
3317
3389
|
if when_deleted is not None:
|
|
3318
3390
|
pulumi.set(__self__, "when_deleted", when_deleted)
|
|
3319
3391
|
if when_scaled is not None:
|
|
3320
3392
|
pulumi.set(__self__, "when_scaled", when_scaled)
|
|
3321
3393
|
|
|
3322
|
-
@property
|
|
3394
|
+
@_builtins.property
|
|
3323
3395
|
@pulumi.getter(name="whenDeleted")
|
|
3324
|
-
def when_deleted(self) -> Optional[str]:
|
|
3396
|
+
def when_deleted(self) -> Optional[_builtins.str]:
|
|
3325
3397
|
"""
|
|
3326
3398
|
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.
|
|
3327
3399
|
"""
|
|
3328
3400
|
return pulumi.get(self, "when_deleted")
|
|
3329
3401
|
|
|
3330
|
-
@property
|
|
3402
|
+
@_builtins.property
|
|
3331
3403
|
@pulumi.getter(name="whenScaled")
|
|
3332
|
-
def when_scaled(self) -> Optional[str]:
|
|
3404
|
+
def when_scaled(self) -> Optional[_builtins.str]:
|
|
3333
3405
|
"""
|
|
3334
3406
|
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.
|
|
3335
3407
|
"""
|
|
@@ -3361,29 +3433,29 @@ class StatefulSetPersistentVolumeClaimRetentionPolicyPatch(dict):
|
|
|
3361
3433
|
return super().get(key, default)
|
|
3362
3434
|
|
|
3363
3435
|
def __init__(__self__, *,
|
|
3364
|
-
when_deleted: Optional[str] = None,
|
|
3365
|
-
when_scaled: Optional[str] = None):
|
|
3436
|
+
when_deleted: Optional[_builtins.str] = None,
|
|
3437
|
+
when_scaled: Optional[_builtins.str] = None):
|
|
3366
3438
|
"""
|
|
3367
3439
|
StatefulSetPersistentVolumeClaimRetentionPolicy describes the policy used for PVCs created from the StatefulSet VolumeClaimTemplates.
|
|
3368
|
-
:param 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.
|
|
3369
|
-
:param 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.
|
|
3440
|
+
:param _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.
|
|
3441
|
+
:param _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.
|
|
3370
3442
|
"""
|
|
3371
3443
|
if when_deleted is not None:
|
|
3372
3444
|
pulumi.set(__self__, "when_deleted", when_deleted)
|
|
3373
3445
|
if when_scaled is not None:
|
|
3374
3446
|
pulumi.set(__self__, "when_scaled", when_scaled)
|
|
3375
3447
|
|
|
3376
|
-
@property
|
|
3448
|
+
@_builtins.property
|
|
3377
3449
|
@pulumi.getter(name="whenDeleted")
|
|
3378
|
-
def when_deleted(self) -> Optional[str]:
|
|
3450
|
+
def when_deleted(self) -> Optional[_builtins.str]:
|
|
3379
3451
|
"""
|
|
3380
3452
|
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.
|
|
3381
3453
|
"""
|
|
3382
3454
|
return pulumi.get(self, "when_deleted")
|
|
3383
3455
|
|
|
3384
|
-
@property
|
|
3456
|
+
@_builtins.property
|
|
3385
3457
|
@pulumi.getter(name="whenScaled")
|
|
3386
|
-
def when_scaled(self) -> Optional[str]:
|
|
3458
|
+
def when_scaled(self) -> Optional[_builtins.str]:
|
|
3387
3459
|
"""
|
|
3388
3460
|
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.
|
|
3389
3461
|
"""
|
|
@@ -3398,9 +3470,7 @@ class StatefulSetSpec(dict):
|
|
|
3398
3470
|
@staticmethod
|
|
3399
3471
|
def __key_warning(key: str):
|
|
3400
3472
|
suggest = None
|
|
3401
|
-
if key == "
|
|
3402
|
-
suggest = "service_name"
|
|
3403
|
-
elif key == "minReadySeconds":
|
|
3473
|
+
if key == "minReadySeconds":
|
|
3404
3474
|
suggest = "min_ready_seconds"
|
|
3405
3475
|
elif key == "persistentVolumeClaimRetentionPolicy":
|
|
3406
3476
|
suggest = "persistent_volume_claim_retention_policy"
|
|
@@ -3408,6 +3478,8 @@ class StatefulSetSpec(dict):
|
|
|
3408
3478
|
suggest = "pod_management_policy"
|
|
3409
3479
|
elif key == "revisionHistoryLimit":
|
|
3410
3480
|
suggest = "revision_history_limit"
|
|
3481
|
+
elif key == "serviceName":
|
|
3482
|
+
suggest = "service_name"
|
|
3411
3483
|
elif key == "updateStrategy":
|
|
3412
3484
|
suggest = "update_strategy"
|
|
3413
3485
|
elif key == "volumeClaimTemplates":
|
|
@@ -3426,32 +3498,31 @@ class StatefulSetSpec(dict):
|
|
|
3426
3498
|
|
|
3427
3499
|
def __init__(__self__, *,
|
|
3428
3500
|
selector: '_meta.v1.outputs.LabelSelector',
|
|
3429
|
-
service_name: str,
|
|
3430
3501
|
template: '_core.v1.outputs.PodTemplateSpec',
|
|
3431
|
-
min_ready_seconds: Optional[int] = None,
|
|
3502
|
+
min_ready_seconds: Optional[_builtins.int] = None,
|
|
3432
3503
|
ordinals: Optional['outputs.StatefulSetOrdinals'] = None,
|
|
3433
3504
|
persistent_volume_claim_retention_policy: Optional['outputs.StatefulSetPersistentVolumeClaimRetentionPolicy'] = None,
|
|
3434
|
-
pod_management_policy: Optional[str] = None,
|
|
3435
|
-
replicas: Optional[int] = None,
|
|
3436
|
-
revision_history_limit: Optional[int] = None,
|
|
3505
|
+
pod_management_policy: Optional[_builtins.str] = None,
|
|
3506
|
+
replicas: Optional[_builtins.int] = None,
|
|
3507
|
+
revision_history_limit: Optional[_builtins.int] = None,
|
|
3508
|
+
service_name: Optional[_builtins.str] = None,
|
|
3437
3509
|
update_strategy: Optional['outputs.StatefulSetUpdateStrategy'] = None,
|
|
3438
3510
|
volume_claim_templates: Optional[Sequence['_core.v1.outputs.PersistentVolumeClaim']] = None):
|
|
3439
3511
|
"""
|
|
3440
3512
|
A StatefulSetSpec is the specification of a StatefulSet.
|
|
3441
3513
|
:param '_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 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
3514
|
:param '_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 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)
|
|
3515
|
+
:param _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
3516
|
:param '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 '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 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 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 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.
|
|
3517
|
+
:param '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.
|
|
3518
|
+
:param _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.
|
|
3519
|
+
:param _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.
|
|
3520
|
+
:param _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.
|
|
3521
|
+
:param _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
3522
|
:param '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
3523
|
:param Sequence['_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
3524
|
"""
|
|
3453
3525
|
pulumi.set(__self__, "selector", selector)
|
|
3454
|
-
pulumi.set(__self__, "service_name", service_name)
|
|
3455
3526
|
pulumi.set(__self__, "template", template)
|
|
3456
3527
|
if min_ready_seconds is not None:
|
|
3457
3528
|
pulumi.set(__self__, "min_ready_seconds", min_ready_seconds)
|
|
@@ -3465,12 +3536,14 @@ class StatefulSetSpec(dict):
|
|
|
3465
3536
|
pulumi.set(__self__, "replicas", replicas)
|
|
3466
3537
|
if revision_history_limit is not None:
|
|
3467
3538
|
pulumi.set(__self__, "revision_history_limit", revision_history_limit)
|
|
3539
|
+
if service_name is not None:
|
|
3540
|
+
pulumi.set(__self__, "service_name", service_name)
|
|
3468
3541
|
if update_strategy is not None:
|
|
3469
3542
|
pulumi.set(__self__, "update_strategy", update_strategy)
|
|
3470
3543
|
if volume_claim_templates is not None:
|
|
3471
3544
|
pulumi.set(__self__, "volume_claim_templates", volume_claim_templates)
|
|
3472
3545
|
|
|
3473
|
-
@property
|
|
3546
|
+
@_builtins.property
|
|
3474
3547
|
@pulumi.getter
|
|
3475
3548
|
def selector(self) -> '_meta.v1.outputs.LabelSelector':
|
|
3476
3549
|
"""
|
|
@@ -3478,15 +3551,7 @@ class StatefulSetSpec(dict):
|
|
|
3478
3551
|
"""
|
|
3479
3552
|
return pulumi.get(self, "selector")
|
|
3480
3553
|
|
|
3481
|
-
@property
|
|
3482
|
-
@pulumi.getter(name="serviceName")
|
|
3483
|
-
def service_name(self) -> str:
|
|
3484
|
-
"""
|
|
3485
|
-
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.
|
|
3486
|
-
"""
|
|
3487
|
-
return pulumi.get(self, "service_name")
|
|
3488
|
-
|
|
3489
|
-
@property
|
|
3554
|
+
@_builtins.property
|
|
3490
3555
|
@pulumi.getter
|
|
3491
3556
|
def template(self) -> '_core.v1.outputs.PodTemplateSpec':
|
|
3492
3557
|
"""
|
|
@@ -3494,15 +3559,15 @@ class StatefulSetSpec(dict):
|
|
|
3494
3559
|
"""
|
|
3495
3560
|
return pulumi.get(self, "template")
|
|
3496
3561
|
|
|
3497
|
-
@property
|
|
3562
|
+
@_builtins.property
|
|
3498
3563
|
@pulumi.getter(name="minReadySeconds")
|
|
3499
|
-
def min_ready_seconds(self) -> Optional[int]:
|
|
3564
|
+
def min_ready_seconds(self) -> Optional[_builtins.int]:
|
|
3500
3565
|
"""
|
|
3501
3566
|
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)
|
|
3502
3567
|
"""
|
|
3503
3568
|
return pulumi.get(self, "min_ready_seconds")
|
|
3504
3569
|
|
|
3505
|
-
@property
|
|
3570
|
+
@_builtins.property
|
|
3506
3571
|
@pulumi.getter
|
|
3507
3572
|
def ordinals(self) -> Optional['outputs.StatefulSetOrdinals']:
|
|
3508
3573
|
"""
|
|
@@ -3510,39 +3575,47 @@ class StatefulSetSpec(dict):
|
|
|
3510
3575
|
"""
|
|
3511
3576
|
return pulumi.get(self, "ordinals")
|
|
3512
3577
|
|
|
3513
|
-
@property
|
|
3578
|
+
@_builtins.property
|
|
3514
3579
|
@pulumi.getter(name="persistentVolumeClaimRetentionPolicy")
|
|
3515
3580
|
def persistent_volume_claim_retention_policy(self) -> Optional['outputs.StatefulSetPersistentVolumeClaimRetentionPolicy']:
|
|
3516
3581
|
"""
|
|
3517
|
-
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.
|
|
3582
|
+
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.
|
|
3518
3583
|
"""
|
|
3519
3584
|
return pulumi.get(self, "persistent_volume_claim_retention_policy")
|
|
3520
3585
|
|
|
3521
|
-
@property
|
|
3586
|
+
@_builtins.property
|
|
3522
3587
|
@pulumi.getter(name="podManagementPolicy")
|
|
3523
|
-
def pod_management_policy(self) -> Optional[str]:
|
|
3588
|
+
def pod_management_policy(self) -> Optional[_builtins.str]:
|
|
3524
3589
|
"""
|
|
3525
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.
|
|
3526
3591
|
"""
|
|
3527
3592
|
return pulumi.get(self, "pod_management_policy")
|
|
3528
3593
|
|
|
3529
|
-
@property
|
|
3594
|
+
@_builtins.property
|
|
3530
3595
|
@pulumi.getter
|
|
3531
|
-
def replicas(self) -> Optional[int]:
|
|
3596
|
+
def replicas(self) -> Optional[_builtins.int]:
|
|
3532
3597
|
"""
|
|
3533
3598
|
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.
|
|
3534
3599
|
"""
|
|
3535
3600
|
return pulumi.get(self, "replicas")
|
|
3536
3601
|
|
|
3537
|
-
@property
|
|
3602
|
+
@_builtins.property
|
|
3538
3603
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
3539
|
-
def revision_history_limit(self) -> Optional[int]:
|
|
3604
|
+
def revision_history_limit(self) -> Optional[_builtins.int]:
|
|
3540
3605
|
"""
|
|
3541
3606
|
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.
|
|
3542
3607
|
"""
|
|
3543
3608
|
return pulumi.get(self, "revision_history_limit")
|
|
3544
3609
|
|
|
3545
|
-
@property
|
|
3610
|
+
@_builtins.property
|
|
3611
|
+
@pulumi.getter(name="serviceName")
|
|
3612
|
+
def service_name(self) -> Optional[_builtins.str]:
|
|
3613
|
+
"""
|
|
3614
|
+
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.
|
|
3615
|
+
"""
|
|
3616
|
+
return pulumi.get(self, "service_name")
|
|
3617
|
+
|
|
3618
|
+
@_builtins.property
|
|
3546
3619
|
@pulumi.getter(name="updateStrategy")
|
|
3547
3620
|
def update_strategy(self) -> Optional['outputs.StatefulSetUpdateStrategy']:
|
|
3548
3621
|
"""
|
|
@@ -3550,7 +3623,7 @@ class StatefulSetSpec(dict):
|
|
|
3550
3623
|
"""
|
|
3551
3624
|
return pulumi.get(self, "update_strategy")
|
|
3552
3625
|
|
|
3553
|
-
@property
|
|
3626
|
+
@_builtins.property
|
|
3554
3627
|
@pulumi.getter(name="volumeClaimTemplates")
|
|
3555
3628
|
def volume_claim_templates(self) -> Optional[Sequence['_core.v1.outputs.PersistentVolumeClaim']]:
|
|
3556
3629
|
"""
|
|
@@ -3594,27 +3667,27 @@ class StatefulSetSpecPatch(dict):
|
|
|
3594
3667
|
return super().get(key, default)
|
|
3595
3668
|
|
|
3596
3669
|
def __init__(__self__, *,
|
|
3597
|
-
min_ready_seconds: Optional[int] = None,
|
|
3670
|
+
min_ready_seconds: Optional[_builtins.int] = None,
|
|
3598
3671
|
ordinals: Optional['outputs.StatefulSetOrdinalsPatch'] = None,
|
|
3599
3672
|
persistent_volume_claim_retention_policy: Optional['outputs.StatefulSetPersistentVolumeClaimRetentionPolicyPatch'] = None,
|
|
3600
|
-
pod_management_policy: Optional[str] = None,
|
|
3601
|
-
replicas: Optional[int] = None,
|
|
3602
|
-
revision_history_limit: Optional[int] = None,
|
|
3673
|
+
pod_management_policy: Optional[_builtins.str] = None,
|
|
3674
|
+
replicas: Optional[_builtins.int] = None,
|
|
3675
|
+
revision_history_limit: Optional[_builtins.int] = None,
|
|
3603
3676
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
3604
|
-
service_name: Optional[str] = None,
|
|
3677
|
+
service_name: Optional[_builtins.str] = None,
|
|
3605
3678
|
template: Optional['_core.v1.outputs.PodTemplateSpecPatch'] = None,
|
|
3606
3679
|
update_strategy: Optional['outputs.StatefulSetUpdateStrategyPatch'] = None,
|
|
3607
3680
|
volume_claim_templates: Optional[Sequence['_core.v1.outputs.PersistentVolumeClaimPatch']] = None):
|
|
3608
3681
|
"""
|
|
3609
3682
|
A StatefulSetSpec is the specification of a StatefulSet.
|
|
3610
|
-
:param 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)
|
|
3683
|
+
:param _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)
|
|
3611
3684
|
:param '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.
|
|
3612
|
-
:param '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.
|
|
3613
|
-
:param 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.
|
|
3614
|
-
:param 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.
|
|
3615
|
-
:param 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.
|
|
3685
|
+
:param '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.
|
|
3686
|
+
:param _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.
|
|
3687
|
+
:param _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.
|
|
3688
|
+
:param _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.
|
|
3616
3689
|
:param '_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
|
|
3617
|
-
:param 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.
|
|
3690
|
+
:param _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.
|
|
3618
3691
|
:param '_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".
|
|
3619
3692
|
:param 'StatefulSetUpdateStrategyPatchArgs' update_strategy: updateStrategy indicates the StatefulSetUpdateStrategy that will be employed to update Pods in the StatefulSet when a revision is made to Template.
|
|
3620
3693
|
:param Sequence['_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.
|
|
@@ -3642,15 +3715,15 @@ class StatefulSetSpecPatch(dict):
|
|
|
3642
3715
|
if volume_claim_templates is not None:
|
|
3643
3716
|
pulumi.set(__self__, "volume_claim_templates", volume_claim_templates)
|
|
3644
3717
|
|
|
3645
|
-
@property
|
|
3718
|
+
@_builtins.property
|
|
3646
3719
|
@pulumi.getter(name="minReadySeconds")
|
|
3647
|
-
def min_ready_seconds(self) -> Optional[int]:
|
|
3720
|
+
def min_ready_seconds(self) -> Optional[_builtins.int]:
|
|
3648
3721
|
"""
|
|
3649
3722
|
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)
|
|
3650
3723
|
"""
|
|
3651
3724
|
return pulumi.get(self, "min_ready_seconds")
|
|
3652
3725
|
|
|
3653
|
-
@property
|
|
3726
|
+
@_builtins.property
|
|
3654
3727
|
@pulumi.getter
|
|
3655
3728
|
def ordinals(self) -> Optional['outputs.StatefulSetOrdinalsPatch']:
|
|
3656
3729
|
"""
|
|
@@ -3658,39 +3731,39 @@ class StatefulSetSpecPatch(dict):
|
|
|
3658
3731
|
"""
|
|
3659
3732
|
return pulumi.get(self, "ordinals")
|
|
3660
3733
|
|
|
3661
|
-
@property
|
|
3734
|
+
@_builtins.property
|
|
3662
3735
|
@pulumi.getter(name="persistentVolumeClaimRetentionPolicy")
|
|
3663
3736
|
def persistent_volume_claim_retention_policy(self) -> Optional['outputs.StatefulSetPersistentVolumeClaimRetentionPolicyPatch']:
|
|
3664
3737
|
"""
|
|
3665
|
-
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.
|
|
3738
|
+
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.
|
|
3666
3739
|
"""
|
|
3667
3740
|
return pulumi.get(self, "persistent_volume_claim_retention_policy")
|
|
3668
3741
|
|
|
3669
|
-
@property
|
|
3742
|
+
@_builtins.property
|
|
3670
3743
|
@pulumi.getter(name="podManagementPolicy")
|
|
3671
|
-
def pod_management_policy(self) -> Optional[str]:
|
|
3744
|
+
def pod_management_policy(self) -> Optional[_builtins.str]:
|
|
3672
3745
|
"""
|
|
3673
3746
|
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.
|
|
3674
3747
|
"""
|
|
3675
3748
|
return pulumi.get(self, "pod_management_policy")
|
|
3676
3749
|
|
|
3677
|
-
@property
|
|
3750
|
+
@_builtins.property
|
|
3678
3751
|
@pulumi.getter
|
|
3679
|
-
def replicas(self) -> Optional[int]:
|
|
3752
|
+
def replicas(self) -> Optional[_builtins.int]:
|
|
3680
3753
|
"""
|
|
3681
3754
|
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.
|
|
3682
3755
|
"""
|
|
3683
3756
|
return pulumi.get(self, "replicas")
|
|
3684
3757
|
|
|
3685
|
-
@property
|
|
3758
|
+
@_builtins.property
|
|
3686
3759
|
@pulumi.getter(name="revisionHistoryLimit")
|
|
3687
|
-
def revision_history_limit(self) -> Optional[int]:
|
|
3760
|
+
def revision_history_limit(self) -> Optional[_builtins.int]:
|
|
3688
3761
|
"""
|
|
3689
3762
|
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.
|
|
3690
3763
|
"""
|
|
3691
3764
|
return pulumi.get(self, "revision_history_limit")
|
|
3692
3765
|
|
|
3693
|
-
@property
|
|
3766
|
+
@_builtins.property
|
|
3694
3767
|
@pulumi.getter
|
|
3695
3768
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
3696
3769
|
"""
|
|
@@ -3698,15 +3771,15 @@ class StatefulSetSpecPatch(dict):
|
|
|
3698
3771
|
"""
|
|
3699
3772
|
return pulumi.get(self, "selector")
|
|
3700
3773
|
|
|
3701
|
-
@property
|
|
3774
|
+
@_builtins.property
|
|
3702
3775
|
@pulumi.getter(name="serviceName")
|
|
3703
|
-
def service_name(self) -> Optional[str]:
|
|
3776
|
+
def service_name(self) -> Optional[_builtins.str]:
|
|
3704
3777
|
"""
|
|
3705
3778
|
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.
|
|
3706
3779
|
"""
|
|
3707
3780
|
return pulumi.get(self, "service_name")
|
|
3708
3781
|
|
|
3709
|
-
@property
|
|
3782
|
+
@_builtins.property
|
|
3710
3783
|
@pulumi.getter
|
|
3711
3784
|
def template(self) -> Optional['_core.v1.outputs.PodTemplateSpecPatch']:
|
|
3712
3785
|
"""
|
|
@@ -3714,7 +3787,7 @@ class StatefulSetSpecPatch(dict):
|
|
|
3714
3787
|
"""
|
|
3715
3788
|
return pulumi.get(self, "template")
|
|
3716
3789
|
|
|
3717
|
-
@property
|
|
3790
|
+
@_builtins.property
|
|
3718
3791
|
@pulumi.getter(name="updateStrategy")
|
|
3719
3792
|
def update_strategy(self) -> Optional['outputs.StatefulSetUpdateStrategyPatch']:
|
|
3720
3793
|
"""
|
|
@@ -3722,7 +3795,7 @@ class StatefulSetSpecPatch(dict):
|
|
|
3722
3795
|
"""
|
|
3723
3796
|
return pulumi.get(self, "update_strategy")
|
|
3724
3797
|
|
|
3725
|
-
@property
|
|
3798
|
+
@_builtins.property
|
|
3726
3799
|
@pulumi.getter(name="volumeClaimTemplates")
|
|
3727
3800
|
def volume_claim_templates(self) -> Optional[Sequence['_core.v1.outputs.PersistentVolumeClaimPatch']]:
|
|
3728
3801
|
"""
|
|
@@ -3768,28 +3841,28 @@ class StatefulSetStatus(dict):
|
|
|
3768
3841
|
return super().get(key, default)
|
|
3769
3842
|
|
|
3770
3843
|
def __init__(__self__, *,
|
|
3771
|
-
replicas: int,
|
|
3772
|
-
available_replicas: Optional[int] = None,
|
|
3773
|
-
collision_count: Optional[int] = None,
|
|
3844
|
+
replicas: _builtins.int,
|
|
3845
|
+
available_replicas: Optional[_builtins.int] = None,
|
|
3846
|
+
collision_count: Optional[_builtins.int] = None,
|
|
3774
3847
|
conditions: Optional[Sequence['outputs.StatefulSetCondition']] = None,
|
|
3775
|
-
current_replicas: Optional[int] = None,
|
|
3776
|
-
current_revision: Optional[str] = None,
|
|
3777
|
-
observed_generation: Optional[int] = None,
|
|
3778
|
-
ready_replicas: Optional[int] = None,
|
|
3779
|
-
update_revision: Optional[str] = None,
|
|
3780
|
-
updated_replicas: Optional[int] = None):
|
|
3848
|
+
current_replicas: Optional[_builtins.int] = None,
|
|
3849
|
+
current_revision: Optional[_builtins.str] = None,
|
|
3850
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
3851
|
+
ready_replicas: Optional[_builtins.int] = None,
|
|
3852
|
+
update_revision: Optional[_builtins.str] = None,
|
|
3853
|
+
updated_replicas: Optional[_builtins.int] = None):
|
|
3781
3854
|
"""
|
|
3782
3855
|
StatefulSetStatus represents the current state of a StatefulSet.
|
|
3783
|
-
:param int replicas: replicas is the number of Pods created by the StatefulSet controller.
|
|
3784
|
-
:param int available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
|
3785
|
-
:param 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.
|
|
3856
|
+
:param _builtins.int replicas: replicas is the number of Pods created by the StatefulSet controller.
|
|
3857
|
+
:param _builtins.int available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
|
3858
|
+
:param _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.
|
|
3786
3859
|
:param Sequence['StatefulSetConditionArgs'] conditions: Represents the latest available observations of a statefulset's current state.
|
|
3787
|
-
:param int current_replicas: currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
|
|
3788
|
-
:param str current_revision: currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
|
|
3789
|
-
:param 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.
|
|
3790
|
-
:param int ready_replicas: readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
|
|
3791
|
-
:param str update_revision: updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
|
|
3792
|
-
:param int updated_replicas: updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
|
|
3860
|
+
:param _builtins.int current_replicas: currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
|
|
3861
|
+
:param _builtins.str current_revision: currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
|
|
3862
|
+
:param _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.
|
|
3863
|
+
:param _builtins.int ready_replicas: readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
|
|
3864
|
+
:param _builtins.str update_revision: updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
|
|
3865
|
+
:param _builtins.int updated_replicas: updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
|
|
3793
3866
|
"""
|
|
3794
3867
|
pulumi.set(__self__, "replicas", replicas)
|
|
3795
3868
|
if available_replicas is not None:
|
|
@@ -3811,31 +3884,31 @@ class StatefulSetStatus(dict):
|
|
|
3811
3884
|
if updated_replicas is not None:
|
|
3812
3885
|
pulumi.set(__self__, "updated_replicas", updated_replicas)
|
|
3813
3886
|
|
|
3814
|
-
@property
|
|
3887
|
+
@_builtins.property
|
|
3815
3888
|
@pulumi.getter
|
|
3816
|
-
def replicas(self) -> int:
|
|
3889
|
+
def replicas(self) -> _builtins.int:
|
|
3817
3890
|
"""
|
|
3818
3891
|
replicas is the number of Pods created by the StatefulSet controller.
|
|
3819
3892
|
"""
|
|
3820
3893
|
return pulumi.get(self, "replicas")
|
|
3821
3894
|
|
|
3822
|
-
@property
|
|
3895
|
+
@_builtins.property
|
|
3823
3896
|
@pulumi.getter(name="availableReplicas")
|
|
3824
|
-
def available_replicas(self) -> Optional[int]:
|
|
3897
|
+
def available_replicas(self) -> Optional[_builtins.int]:
|
|
3825
3898
|
"""
|
|
3826
3899
|
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
|
3827
3900
|
"""
|
|
3828
3901
|
return pulumi.get(self, "available_replicas")
|
|
3829
3902
|
|
|
3830
|
-
@property
|
|
3903
|
+
@_builtins.property
|
|
3831
3904
|
@pulumi.getter(name="collisionCount")
|
|
3832
|
-
def collision_count(self) -> Optional[int]:
|
|
3905
|
+
def collision_count(self) -> Optional[_builtins.int]:
|
|
3833
3906
|
"""
|
|
3834
3907
|
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.
|
|
3835
3908
|
"""
|
|
3836
3909
|
return pulumi.get(self, "collision_count")
|
|
3837
3910
|
|
|
3838
|
-
@property
|
|
3911
|
+
@_builtins.property
|
|
3839
3912
|
@pulumi.getter
|
|
3840
3913
|
def conditions(self) -> Optional[Sequence['outputs.StatefulSetCondition']]:
|
|
3841
3914
|
"""
|
|
@@ -3843,49 +3916,49 @@ class StatefulSetStatus(dict):
|
|
|
3843
3916
|
"""
|
|
3844
3917
|
return pulumi.get(self, "conditions")
|
|
3845
3918
|
|
|
3846
|
-
@property
|
|
3919
|
+
@_builtins.property
|
|
3847
3920
|
@pulumi.getter(name="currentReplicas")
|
|
3848
|
-
def current_replicas(self) -> Optional[int]:
|
|
3921
|
+
def current_replicas(self) -> Optional[_builtins.int]:
|
|
3849
3922
|
"""
|
|
3850
3923
|
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
|
|
3851
3924
|
"""
|
|
3852
3925
|
return pulumi.get(self, "current_replicas")
|
|
3853
3926
|
|
|
3854
|
-
@property
|
|
3927
|
+
@_builtins.property
|
|
3855
3928
|
@pulumi.getter(name="currentRevision")
|
|
3856
|
-
def current_revision(self) -> Optional[str]:
|
|
3929
|
+
def current_revision(self) -> Optional[_builtins.str]:
|
|
3857
3930
|
"""
|
|
3858
3931
|
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
|
|
3859
3932
|
"""
|
|
3860
3933
|
return pulumi.get(self, "current_revision")
|
|
3861
3934
|
|
|
3862
|
-
@property
|
|
3935
|
+
@_builtins.property
|
|
3863
3936
|
@pulumi.getter(name="observedGeneration")
|
|
3864
|
-
def observed_generation(self) -> Optional[int]:
|
|
3937
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
3865
3938
|
"""
|
|
3866
3939
|
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.
|
|
3867
3940
|
"""
|
|
3868
3941
|
return pulumi.get(self, "observed_generation")
|
|
3869
3942
|
|
|
3870
|
-
@property
|
|
3943
|
+
@_builtins.property
|
|
3871
3944
|
@pulumi.getter(name="readyReplicas")
|
|
3872
|
-
def ready_replicas(self) -> Optional[int]:
|
|
3945
|
+
def ready_replicas(self) -> Optional[_builtins.int]:
|
|
3873
3946
|
"""
|
|
3874
3947
|
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
|
|
3875
3948
|
"""
|
|
3876
3949
|
return pulumi.get(self, "ready_replicas")
|
|
3877
3950
|
|
|
3878
|
-
@property
|
|
3951
|
+
@_builtins.property
|
|
3879
3952
|
@pulumi.getter(name="updateRevision")
|
|
3880
|
-
def update_revision(self) -> Optional[str]:
|
|
3953
|
+
def update_revision(self) -> Optional[_builtins.str]:
|
|
3881
3954
|
"""
|
|
3882
3955
|
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
|
|
3883
3956
|
"""
|
|
3884
3957
|
return pulumi.get(self, "update_revision")
|
|
3885
3958
|
|
|
3886
|
-
@property
|
|
3959
|
+
@_builtins.property
|
|
3887
3960
|
@pulumi.getter(name="updatedReplicas")
|
|
3888
|
-
def updated_replicas(self) -> Optional[int]:
|
|
3961
|
+
def updated_replicas(self) -> Optional[_builtins.int]:
|
|
3889
3962
|
"""
|
|
3890
3963
|
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
|
|
3891
3964
|
"""
|
|
@@ -3929,28 +4002,28 @@ class StatefulSetStatusPatch(dict):
|
|
|
3929
4002
|
return super().get(key, default)
|
|
3930
4003
|
|
|
3931
4004
|
def __init__(__self__, *,
|
|
3932
|
-
available_replicas: Optional[int] = None,
|
|
3933
|
-
collision_count: Optional[int] = None,
|
|
4005
|
+
available_replicas: Optional[_builtins.int] = None,
|
|
4006
|
+
collision_count: Optional[_builtins.int] = None,
|
|
3934
4007
|
conditions: Optional[Sequence['outputs.StatefulSetConditionPatch']] = None,
|
|
3935
|
-
current_replicas: Optional[int] = None,
|
|
3936
|
-
current_revision: Optional[str] = None,
|
|
3937
|
-
observed_generation: Optional[int] = None,
|
|
3938
|
-
ready_replicas: Optional[int] = None,
|
|
3939
|
-
replicas: Optional[int] = None,
|
|
3940
|
-
update_revision: Optional[str] = None,
|
|
3941
|
-
updated_replicas: Optional[int] = None):
|
|
4008
|
+
current_replicas: Optional[_builtins.int] = None,
|
|
4009
|
+
current_revision: Optional[_builtins.str] = None,
|
|
4010
|
+
observed_generation: Optional[_builtins.int] = None,
|
|
4011
|
+
ready_replicas: Optional[_builtins.int] = None,
|
|
4012
|
+
replicas: Optional[_builtins.int] = None,
|
|
4013
|
+
update_revision: Optional[_builtins.str] = None,
|
|
4014
|
+
updated_replicas: Optional[_builtins.int] = None):
|
|
3942
4015
|
"""
|
|
3943
4016
|
StatefulSetStatus represents the current state of a StatefulSet.
|
|
3944
|
-
:param int available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
|
3945
|
-
:param 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.
|
|
4017
|
+
:param _builtins.int available_replicas: Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
|
4018
|
+
:param _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.
|
|
3946
4019
|
:param Sequence['StatefulSetConditionPatchArgs'] conditions: Represents the latest available observations of a statefulset's current state.
|
|
3947
|
-
:param int current_replicas: currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
|
|
3948
|
-
:param str current_revision: currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
|
|
3949
|
-
:param 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.
|
|
3950
|
-
:param int ready_replicas: readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
|
|
3951
|
-
:param int replicas: replicas is the number of Pods created by the StatefulSet controller.
|
|
3952
|
-
:param str update_revision: updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
|
|
3953
|
-
:param int updated_replicas: updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
|
|
4020
|
+
:param _builtins.int current_replicas: currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
|
|
4021
|
+
:param _builtins.str current_revision: currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
|
|
4022
|
+
:param _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.
|
|
4023
|
+
:param _builtins.int ready_replicas: readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
|
|
4024
|
+
:param _builtins.int replicas: replicas is the number of Pods created by the StatefulSet controller.
|
|
4025
|
+
:param _builtins.str update_revision: updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
|
|
4026
|
+
:param _builtins.int updated_replicas: updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
|
|
3954
4027
|
"""
|
|
3955
4028
|
if available_replicas is not None:
|
|
3956
4029
|
pulumi.set(__self__, "available_replicas", available_replicas)
|
|
@@ -3973,23 +4046,23 @@ class StatefulSetStatusPatch(dict):
|
|
|
3973
4046
|
if updated_replicas is not None:
|
|
3974
4047
|
pulumi.set(__self__, "updated_replicas", updated_replicas)
|
|
3975
4048
|
|
|
3976
|
-
@property
|
|
4049
|
+
@_builtins.property
|
|
3977
4050
|
@pulumi.getter(name="availableReplicas")
|
|
3978
|
-
def available_replicas(self) -> Optional[int]:
|
|
4051
|
+
def available_replicas(self) -> Optional[_builtins.int]:
|
|
3979
4052
|
"""
|
|
3980
4053
|
Total number of available pods (ready for at least minReadySeconds) targeted by this statefulset.
|
|
3981
4054
|
"""
|
|
3982
4055
|
return pulumi.get(self, "available_replicas")
|
|
3983
4056
|
|
|
3984
|
-
@property
|
|
4057
|
+
@_builtins.property
|
|
3985
4058
|
@pulumi.getter(name="collisionCount")
|
|
3986
|
-
def collision_count(self) -> Optional[int]:
|
|
4059
|
+
def collision_count(self) -> Optional[_builtins.int]:
|
|
3987
4060
|
"""
|
|
3988
4061
|
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.
|
|
3989
4062
|
"""
|
|
3990
4063
|
return pulumi.get(self, "collision_count")
|
|
3991
4064
|
|
|
3992
|
-
@property
|
|
4065
|
+
@_builtins.property
|
|
3993
4066
|
@pulumi.getter
|
|
3994
4067
|
def conditions(self) -> Optional[Sequence['outputs.StatefulSetConditionPatch']]:
|
|
3995
4068
|
"""
|
|
@@ -3997,57 +4070,57 @@ class StatefulSetStatusPatch(dict):
|
|
|
3997
4070
|
"""
|
|
3998
4071
|
return pulumi.get(self, "conditions")
|
|
3999
4072
|
|
|
4000
|
-
@property
|
|
4073
|
+
@_builtins.property
|
|
4001
4074
|
@pulumi.getter(name="currentReplicas")
|
|
4002
|
-
def current_replicas(self) -> Optional[int]:
|
|
4075
|
+
def current_replicas(self) -> Optional[_builtins.int]:
|
|
4003
4076
|
"""
|
|
4004
4077
|
currentReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by currentRevision.
|
|
4005
4078
|
"""
|
|
4006
4079
|
return pulumi.get(self, "current_replicas")
|
|
4007
4080
|
|
|
4008
|
-
@property
|
|
4081
|
+
@_builtins.property
|
|
4009
4082
|
@pulumi.getter(name="currentRevision")
|
|
4010
|
-
def current_revision(self) -> Optional[str]:
|
|
4083
|
+
def current_revision(self) -> Optional[_builtins.str]:
|
|
4011
4084
|
"""
|
|
4012
4085
|
currentRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [0,currentReplicas).
|
|
4013
4086
|
"""
|
|
4014
4087
|
return pulumi.get(self, "current_revision")
|
|
4015
4088
|
|
|
4016
|
-
@property
|
|
4089
|
+
@_builtins.property
|
|
4017
4090
|
@pulumi.getter(name="observedGeneration")
|
|
4018
|
-
def observed_generation(self) -> Optional[int]:
|
|
4091
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
4019
4092
|
"""
|
|
4020
4093
|
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.
|
|
4021
4094
|
"""
|
|
4022
4095
|
return pulumi.get(self, "observed_generation")
|
|
4023
4096
|
|
|
4024
|
-
@property
|
|
4097
|
+
@_builtins.property
|
|
4025
4098
|
@pulumi.getter(name="readyReplicas")
|
|
4026
|
-
def ready_replicas(self) -> Optional[int]:
|
|
4099
|
+
def ready_replicas(self) -> Optional[_builtins.int]:
|
|
4027
4100
|
"""
|
|
4028
4101
|
readyReplicas is the number of pods created for this StatefulSet with a Ready Condition.
|
|
4029
4102
|
"""
|
|
4030
4103
|
return pulumi.get(self, "ready_replicas")
|
|
4031
4104
|
|
|
4032
|
-
@property
|
|
4105
|
+
@_builtins.property
|
|
4033
4106
|
@pulumi.getter
|
|
4034
|
-
def replicas(self) -> Optional[int]:
|
|
4107
|
+
def replicas(self) -> Optional[_builtins.int]:
|
|
4035
4108
|
"""
|
|
4036
4109
|
replicas is the number of Pods created by the StatefulSet controller.
|
|
4037
4110
|
"""
|
|
4038
4111
|
return pulumi.get(self, "replicas")
|
|
4039
4112
|
|
|
4040
|
-
@property
|
|
4113
|
+
@_builtins.property
|
|
4041
4114
|
@pulumi.getter(name="updateRevision")
|
|
4042
|
-
def update_revision(self) -> Optional[str]:
|
|
4115
|
+
def update_revision(self) -> Optional[_builtins.str]:
|
|
4043
4116
|
"""
|
|
4044
4117
|
updateRevision, if not empty, indicates the version of the StatefulSet used to generate Pods in the sequence [replicas-updatedReplicas,replicas)
|
|
4045
4118
|
"""
|
|
4046
4119
|
return pulumi.get(self, "update_revision")
|
|
4047
4120
|
|
|
4048
|
-
@property
|
|
4121
|
+
@_builtins.property
|
|
4049
4122
|
@pulumi.getter(name="updatedReplicas")
|
|
4050
|
-
def updated_replicas(self) -> Optional[int]:
|
|
4123
|
+
def updated_replicas(self) -> Optional[_builtins.int]:
|
|
4051
4124
|
"""
|
|
4052
4125
|
updatedReplicas is the number of Pods created by the StatefulSet controller from the StatefulSet version indicated by updateRevision.
|
|
4053
4126
|
"""
|
|
@@ -4078,18 +4151,18 @@ class StatefulSetUpdateStrategy(dict):
|
|
|
4078
4151
|
|
|
4079
4152
|
def __init__(__self__, *,
|
|
4080
4153
|
rolling_update: Optional['outputs.RollingUpdateStatefulSetStrategy'] = None,
|
|
4081
|
-
type: Optional[str] = None):
|
|
4154
|
+
type: Optional[_builtins.str] = None):
|
|
4082
4155
|
"""
|
|
4083
4156
|
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.
|
|
4084
4157
|
:param 'RollingUpdateStatefulSetStrategyArgs' rolling_update: RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
|
|
4085
|
-
:param str type: Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
4158
|
+
:param _builtins.str type: Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
4086
4159
|
"""
|
|
4087
4160
|
if rolling_update is not None:
|
|
4088
4161
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
4089
4162
|
if type is not None:
|
|
4090
4163
|
pulumi.set(__self__, "type", type)
|
|
4091
4164
|
|
|
4092
|
-
@property
|
|
4165
|
+
@_builtins.property
|
|
4093
4166
|
@pulumi.getter(name="rollingUpdate")
|
|
4094
4167
|
def rolling_update(self) -> Optional['outputs.RollingUpdateStatefulSetStrategy']:
|
|
4095
4168
|
"""
|
|
@@ -4097,9 +4170,9 @@ class StatefulSetUpdateStrategy(dict):
|
|
|
4097
4170
|
"""
|
|
4098
4171
|
return pulumi.get(self, "rolling_update")
|
|
4099
4172
|
|
|
4100
|
-
@property
|
|
4173
|
+
@_builtins.property
|
|
4101
4174
|
@pulumi.getter
|
|
4102
|
-
def type(self) -> Optional[str]:
|
|
4175
|
+
def type(self) -> Optional[_builtins.str]:
|
|
4103
4176
|
"""
|
|
4104
4177
|
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
4105
4178
|
"""
|
|
@@ -4130,18 +4203,18 @@ class StatefulSetUpdateStrategyPatch(dict):
|
|
|
4130
4203
|
|
|
4131
4204
|
def __init__(__self__, *,
|
|
4132
4205
|
rolling_update: Optional['outputs.RollingUpdateStatefulSetStrategyPatch'] = None,
|
|
4133
|
-
type: Optional[str] = None):
|
|
4206
|
+
type: Optional[_builtins.str] = None):
|
|
4134
4207
|
"""
|
|
4135
4208
|
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.
|
|
4136
4209
|
:param 'RollingUpdateStatefulSetStrategyPatchArgs' rolling_update: RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
|
|
4137
|
-
:param str type: Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
4210
|
+
:param _builtins.str type: Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
4138
4211
|
"""
|
|
4139
4212
|
if rolling_update is not None:
|
|
4140
4213
|
pulumi.set(__self__, "rolling_update", rolling_update)
|
|
4141
4214
|
if type is not None:
|
|
4142
4215
|
pulumi.set(__self__, "type", type)
|
|
4143
4216
|
|
|
4144
|
-
@property
|
|
4217
|
+
@_builtins.property
|
|
4145
4218
|
@pulumi.getter(name="rollingUpdate")
|
|
4146
4219
|
def rolling_update(self) -> Optional['outputs.RollingUpdateStatefulSetStrategyPatch']:
|
|
4147
4220
|
"""
|
|
@@ -4149,9 +4222,9 @@ class StatefulSetUpdateStrategyPatch(dict):
|
|
|
4149
4222
|
"""
|
|
4150
4223
|
return pulumi.get(self, "rolling_update")
|
|
4151
4224
|
|
|
4152
|
-
@property
|
|
4225
|
+
@_builtins.property
|
|
4153
4226
|
@pulumi.getter
|
|
4154
|
-
def type(self) -> Optional[str]:
|
|
4227
|
+
def type(self) -> Optional[_builtins.str]:
|
|
4155
4228
|
"""
|
|
4156
4229
|
Type indicates the type of the StatefulSetUpdateStrategy. Default is RollingUpdate.
|
|
4157
4230
|
"""
|