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
|
|
@@ -70,36 +70,36 @@ class ContainerResourceMetricSource(dict):
|
|
|
70
70
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
71
71
|
"""
|
|
72
72
|
def __init__(__self__, *,
|
|
73
|
-
container: str,
|
|
74
|
-
name: str,
|
|
73
|
+
container: _builtins.str,
|
|
74
|
+
name: _builtins.str,
|
|
75
75
|
target: 'outputs.MetricTarget'):
|
|
76
76
|
"""
|
|
77
77
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
78
|
-
:param str container: container is the name of the container in the pods of the scaling target
|
|
79
|
-
:param str name: name is the name of the resource in question.
|
|
78
|
+
:param _builtins.str container: container is the name of the container in the pods of the scaling target
|
|
79
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
80
80
|
:param 'MetricTargetArgs' target: target specifies the target value for the given metric
|
|
81
81
|
"""
|
|
82
82
|
pulumi.set(__self__, "container", container)
|
|
83
83
|
pulumi.set(__self__, "name", name)
|
|
84
84
|
pulumi.set(__self__, "target", target)
|
|
85
85
|
|
|
86
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
87
87
|
@pulumi.getter
|
|
88
|
-
def container(self) -> str:
|
|
88
|
+
def container(self) -> _builtins.str:
|
|
89
89
|
"""
|
|
90
90
|
container is the name of the container in the pods of the scaling target
|
|
91
91
|
"""
|
|
92
92
|
return pulumi.get(self, "container")
|
|
93
93
|
|
|
94
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
95
95
|
@pulumi.getter
|
|
96
|
-
def name(self) -> str:
|
|
96
|
+
def name(self) -> _builtins.str:
|
|
97
97
|
"""
|
|
98
98
|
name is the name of the resource in question.
|
|
99
99
|
"""
|
|
100
100
|
return pulumi.get(self, "name")
|
|
101
101
|
|
|
102
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
103
103
|
@pulumi.getter
|
|
104
104
|
def target(self) -> 'outputs.MetricTarget':
|
|
105
105
|
"""
|
|
@@ -114,13 +114,13 @@ class ContainerResourceMetricSourcePatch(dict):
|
|
|
114
114
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
115
115
|
"""
|
|
116
116
|
def __init__(__self__, *,
|
|
117
|
-
container: Optional[str] = None,
|
|
118
|
-
name: Optional[str] = None,
|
|
117
|
+
container: Optional[_builtins.str] = None,
|
|
118
|
+
name: Optional[_builtins.str] = None,
|
|
119
119
|
target: Optional['outputs.MetricTargetPatch'] = None):
|
|
120
120
|
"""
|
|
121
121
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
122
|
-
:param str container: container is the name of the container in the pods of the scaling target
|
|
123
|
-
:param str name: name is the name of the resource in question.
|
|
122
|
+
:param _builtins.str container: container is the name of the container in the pods of the scaling target
|
|
123
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
124
124
|
:param 'MetricTargetPatchArgs' target: target specifies the target value for the given metric
|
|
125
125
|
"""
|
|
126
126
|
if container is not None:
|
|
@@ -130,23 +130,23 @@ class ContainerResourceMetricSourcePatch(dict):
|
|
|
130
130
|
if target is not None:
|
|
131
131
|
pulumi.set(__self__, "target", target)
|
|
132
132
|
|
|
133
|
-
@property
|
|
133
|
+
@_builtins.property
|
|
134
134
|
@pulumi.getter
|
|
135
|
-
def container(self) -> Optional[str]:
|
|
135
|
+
def container(self) -> Optional[_builtins.str]:
|
|
136
136
|
"""
|
|
137
137
|
container is the name of the container in the pods of the scaling target
|
|
138
138
|
"""
|
|
139
139
|
return pulumi.get(self, "container")
|
|
140
140
|
|
|
141
|
-
@property
|
|
141
|
+
@_builtins.property
|
|
142
142
|
@pulumi.getter
|
|
143
|
-
def name(self) -> Optional[str]:
|
|
143
|
+
def name(self) -> Optional[_builtins.str]:
|
|
144
144
|
"""
|
|
145
145
|
name is the name of the resource in question.
|
|
146
146
|
"""
|
|
147
147
|
return pulumi.get(self, "name")
|
|
148
148
|
|
|
149
|
-
@property
|
|
149
|
+
@_builtins.property
|
|
150
150
|
@pulumi.getter
|
|
151
151
|
def target(self) -> Optional['outputs.MetricTargetPatch']:
|
|
152
152
|
"""
|
|
@@ -161,28 +161,28 @@ class ContainerResourceMetricStatus(dict):
|
|
|
161
161
|
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
162
162
|
"""
|
|
163
163
|
def __init__(__self__, *,
|
|
164
|
-
container: str,
|
|
164
|
+
container: _builtins.str,
|
|
165
165
|
current: 'outputs.MetricValueStatus',
|
|
166
|
-
name: str):
|
|
166
|
+
name: _builtins.str):
|
|
167
167
|
"""
|
|
168
168
|
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
169
|
-
:param str container: container is the name of the container in the pods of the scaling target
|
|
169
|
+
:param _builtins.str container: container is the name of the container in the pods of the scaling target
|
|
170
170
|
:param 'MetricValueStatusArgs' current: current contains the current value for the given metric
|
|
171
|
-
:param str name: name is the name of the resource in question.
|
|
171
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
172
172
|
"""
|
|
173
173
|
pulumi.set(__self__, "container", container)
|
|
174
174
|
pulumi.set(__self__, "current", current)
|
|
175
175
|
pulumi.set(__self__, "name", name)
|
|
176
176
|
|
|
177
|
-
@property
|
|
177
|
+
@_builtins.property
|
|
178
178
|
@pulumi.getter
|
|
179
|
-
def container(self) -> str:
|
|
179
|
+
def container(self) -> _builtins.str:
|
|
180
180
|
"""
|
|
181
181
|
container is the name of the container in the pods of the scaling target
|
|
182
182
|
"""
|
|
183
183
|
return pulumi.get(self, "container")
|
|
184
184
|
|
|
185
|
-
@property
|
|
185
|
+
@_builtins.property
|
|
186
186
|
@pulumi.getter
|
|
187
187
|
def current(self) -> 'outputs.MetricValueStatus':
|
|
188
188
|
"""
|
|
@@ -190,9 +190,9 @@ class ContainerResourceMetricStatus(dict):
|
|
|
190
190
|
"""
|
|
191
191
|
return pulumi.get(self, "current")
|
|
192
192
|
|
|
193
|
-
@property
|
|
193
|
+
@_builtins.property
|
|
194
194
|
@pulumi.getter
|
|
195
|
-
def name(self) -> str:
|
|
195
|
+
def name(self) -> _builtins.str:
|
|
196
196
|
"""
|
|
197
197
|
name is the name of the resource in question.
|
|
198
198
|
"""
|
|
@@ -205,14 +205,14 @@ class ContainerResourceMetricStatusPatch(dict):
|
|
|
205
205
|
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
206
206
|
"""
|
|
207
207
|
def __init__(__self__, *,
|
|
208
|
-
container: Optional[str] = None,
|
|
208
|
+
container: Optional[_builtins.str] = None,
|
|
209
209
|
current: Optional['outputs.MetricValueStatusPatch'] = None,
|
|
210
|
-
name: Optional[str] = None):
|
|
210
|
+
name: Optional[_builtins.str] = None):
|
|
211
211
|
"""
|
|
212
212
|
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
213
|
-
:param str container: container is the name of the container in the pods of the scaling target
|
|
213
|
+
:param _builtins.str container: container is the name of the container in the pods of the scaling target
|
|
214
214
|
:param 'MetricValueStatusPatchArgs' current: current contains the current value for the given metric
|
|
215
|
-
:param str name: name is the name of the resource in question.
|
|
215
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
216
216
|
"""
|
|
217
217
|
if container is not None:
|
|
218
218
|
pulumi.set(__self__, "container", container)
|
|
@@ -221,15 +221,15 @@ class ContainerResourceMetricStatusPatch(dict):
|
|
|
221
221
|
if name is not None:
|
|
222
222
|
pulumi.set(__self__, "name", name)
|
|
223
223
|
|
|
224
|
-
@property
|
|
224
|
+
@_builtins.property
|
|
225
225
|
@pulumi.getter
|
|
226
|
-
def container(self) -> Optional[str]:
|
|
226
|
+
def container(self) -> Optional[_builtins.str]:
|
|
227
227
|
"""
|
|
228
228
|
container is the name of the container in the pods of the scaling target
|
|
229
229
|
"""
|
|
230
230
|
return pulumi.get(self, "container")
|
|
231
231
|
|
|
232
|
-
@property
|
|
232
|
+
@_builtins.property
|
|
233
233
|
@pulumi.getter
|
|
234
234
|
def current(self) -> Optional['outputs.MetricValueStatusPatch']:
|
|
235
235
|
"""
|
|
@@ -237,9 +237,9 @@ class ContainerResourceMetricStatusPatch(dict):
|
|
|
237
237
|
"""
|
|
238
238
|
return pulumi.get(self, "current")
|
|
239
239
|
|
|
240
|
-
@property
|
|
240
|
+
@_builtins.property
|
|
241
241
|
@pulumi.getter
|
|
242
|
-
def name(self) -> Optional[str]:
|
|
242
|
+
def name(self) -> Optional[_builtins.str]:
|
|
243
243
|
"""
|
|
244
244
|
name is the name of the resource in question.
|
|
245
245
|
"""
|
|
@@ -269,39 +269,39 @@ class CrossVersionObjectReference(dict):
|
|
|
269
269
|
return super().get(key, default)
|
|
270
270
|
|
|
271
271
|
def __init__(__self__, *,
|
|
272
|
-
kind: str,
|
|
273
|
-
name: str,
|
|
274
|
-
api_version: Optional[str] = None):
|
|
272
|
+
kind: _builtins.str,
|
|
273
|
+
name: _builtins.str,
|
|
274
|
+
api_version: Optional[_builtins.str] = None):
|
|
275
275
|
"""
|
|
276
276
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
277
|
-
:param str kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
278
|
-
:param str name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
279
|
-
:param str api_version: apiVersion is the API version of the referent
|
|
277
|
+
:param _builtins.str kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
278
|
+
:param _builtins.str name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
279
|
+
:param _builtins.str api_version: apiVersion is the API version of the referent
|
|
280
280
|
"""
|
|
281
281
|
pulumi.set(__self__, "kind", kind)
|
|
282
282
|
pulumi.set(__self__, "name", name)
|
|
283
283
|
if api_version is not None:
|
|
284
284
|
pulumi.set(__self__, "api_version", api_version)
|
|
285
285
|
|
|
286
|
-
@property
|
|
286
|
+
@_builtins.property
|
|
287
287
|
@pulumi.getter
|
|
288
|
-
def kind(self) -> str:
|
|
288
|
+
def kind(self) -> _builtins.str:
|
|
289
289
|
"""
|
|
290
290
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
291
291
|
"""
|
|
292
292
|
return pulumi.get(self, "kind")
|
|
293
293
|
|
|
294
|
-
@property
|
|
294
|
+
@_builtins.property
|
|
295
295
|
@pulumi.getter
|
|
296
|
-
def name(self) -> str:
|
|
296
|
+
def name(self) -> _builtins.str:
|
|
297
297
|
"""
|
|
298
298
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
299
299
|
"""
|
|
300
300
|
return pulumi.get(self, "name")
|
|
301
301
|
|
|
302
|
-
@property
|
|
302
|
+
@_builtins.property
|
|
303
303
|
@pulumi.getter(name="apiVersion")
|
|
304
|
-
def api_version(self) -> Optional[str]:
|
|
304
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
305
305
|
"""
|
|
306
306
|
apiVersion is the API version of the referent
|
|
307
307
|
"""
|
|
@@ -331,14 +331,14 @@ class CrossVersionObjectReferencePatch(dict):
|
|
|
331
331
|
return super().get(key, default)
|
|
332
332
|
|
|
333
333
|
def __init__(__self__, *,
|
|
334
|
-
api_version: Optional[str] = None,
|
|
335
|
-
kind: Optional[str] = None,
|
|
336
|
-
name: Optional[str] = None):
|
|
334
|
+
api_version: Optional[_builtins.str] = None,
|
|
335
|
+
kind: Optional[_builtins.str] = None,
|
|
336
|
+
name: Optional[_builtins.str] = None):
|
|
337
337
|
"""
|
|
338
338
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
339
|
-
:param str api_version: apiVersion is the API version of the referent
|
|
340
|
-
:param str kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
341
|
-
:param str name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
339
|
+
:param _builtins.str api_version: apiVersion is the API version of the referent
|
|
340
|
+
:param _builtins.str kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
341
|
+
:param _builtins.str name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
342
342
|
"""
|
|
343
343
|
if api_version is not None:
|
|
344
344
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -347,25 +347,25 @@ class CrossVersionObjectReferencePatch(dict):
|
|
|
347
347
|
if name is not None:
|
|
348
348
|
pulumi.set(__self__, "name", name)
|
|
349
349
|
|
|
350
|
-
@property
|
|
350
|
+
@_builtins.property
|
|
351
351
|
@pulumi.getter(name="apiVersion")
|
|
352
|
-
def api_version(self) -> Optional[str]:
|
|
352
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
353
353
|
"""
|
|
354
354
|
apiVersion is the API version of the referent
|
|
355
355
|
"""
|
|
356
356
|
return pulumi.get(self, "api_version")
|
|
357
357
|
|
|
358
|
-
@property
|
|
358
|
+
@_builtins.property
|
|
359
359
|
@pulumi.getter
|
|
360
|
-
def kind(self) -> Optional[str]:
|
|
360
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
361
361
|
"""
|
|
362
362
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
363
363
|
"""
|
|
364
364
|
return pulumi.get(self, "kind")
|
|
365
365
|
|
|
366
|
-
@property
|
|
366
|
+
@_builtins.property
|
|
367
367
|
@pulumi.getter
|
|
368
|
-
def name(self) -> Optional[str]:
|
|
368
|
+
def name(self) -> Optional[_builtins.str]:
|
|
369
369
|
"""
|
|
370
370
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
371
371
|
"""
|
|
@@ -388,7 +388,7 @@ class ExternalMetricSource(dict):
|
|
|
388
388
|
pulumi.set(__self__, "metric", metric)
|
|
389
389
|
pulumi.set(__self__, "target", target)
|
|
390
390
|
|
|
391
|
-
@property
|
|
391
|
+
@_builtins.property
|
|
392
392
|
@pulumi.getter
|
|
393
393
|
def metric(self) -> 'outputs.MetricIdentifier':
|
|
394
394
|
"""
|
|
@@ -396,7 +396,7 @@ class ExternalMetricSource(dict):
|
|
|
396
396
|
"""
|
|
397
397
|
return pulumi.get(self, "metric")
|
|
398
398
|
|
|
399
|
-
@property
|
|
399
|
+
@_builtins.property
|
|
400
400
|
@pulumi.getter
|
|
401
401
|
def target(self) -> 'outputs.MetricTarget':
|
|
402
402
|
"""
|
|
@@ -423,7 +423,7 @@ class ExternalMetricSourcePatch(dict):
|
|
|
423
423
|
if target is not None:
|
|
424
424
|
pulumi.set(__self__, "target", target)
|
|
425
425
|
|
|
426
|
-
@property
|
|
426
|
+
@_builtins.property
|
|
427
427
|
@pulumi.getter
|
|
428
428
|
def metric(self) -> Optional['outputs.MetricIdentifierPatch']:
|
|
429
429
|
"""
|
|
@@ -431,7 +431,7 @@ class ExternalMetricSourcePatch(dict):
|
|
|
431
431
|
"""
|
|
432
432
|
return pulumi.get(self, "metric")
|
|
433
433
|
|
|
434
|
-
@property
|
|
434
|
+
@_builtins.property
|
|
435
435
|
@pulumi.getter
|
|
436
436
|
def target(self) -> Optional['outputs.MetricTargetPatch']:
|
|
437
437
|
"""
|
|
@@ -456,7 +456,7 @@ class ExternalMetricStatus(dict):
|
|
|
456
456
|
pulumi.set(__self__, "current", current)
|
|
457
457
|
pulumi.set(__self__, "metric", metric)
|
|
458
458
|
|
|
459
|
-
@property
|
|
459
|
+
@_builtins.property
|
|
460
460
|
@pulumi.getter
|
|
461
461
|
def current(self) -> 'outputs.MetricValueStatus':
|
|
462
462
|
"""
|
|
@@ -464,7 +464,7 @@ class ExternalMetricStatus(dict):
|
|
|
464
464
|
"""
|
|
465
465
|
return pulumi.get(self, "current")
|
|
466
466
|
|
|
467
|
-
@property
|
|
467
|
+
@_builtins.property
|
|
468
468
|
@pulumi.getter
|
|
469
469
|
def metric(self) -> 'outputs.MetricIdentifier':
|
|
470
470
|
"""
|
|
@@ -491,7 +491,7 @@ class ExternalMetricStatusPatch(dict):
|
|
|
491
491
|
if metric is not None:
|
|
492
492
|
pulumi.set(__self__, "metric", metric)
|
|
493
493
|
|
|
494
|
-
@property
|
|
494
|
+
@_builtins.property
|
|
495
495
|
@pulumi.getter
|
|
496
496
|
def current(self) -> Optional['outputs.MetricValueStatusPatch']:
|
|
497
497
|
"""
|
|
@@ -499,7 +499,7 @@ class ExternalMetricStatusPatch(dict):
|
|
|
499
499
|
"""
|
|
500
500
|
return pulumi.get(self, "current")
|
|
501
501
|
|
|
502
|
-
@property
|
|
502
|
+
@_builtins.property
|
|
503
503
|
@pulumi.getter
|
|
504
504
|
def metric(self) -> Optional['outputs.MetricIdentifierPatch']:
|
|
505
505
|
"""
|
|
@@ -531,38 +531,38 @@ class HPAScalingPolicy(dict):
|
|
|
531
531
|
return super().get(key, default)
|
|
532
532
|
|
|
533
533
|
def __init__(__self__, *,
|
|
534
|
-
period_seconds: int,
|
|
535
|
-
type: str,
|
|
536
|
-
value: int):
|
|
534
|
+
period_seconds: _builtins.int,
|
|
535
|
+
type: _builtins.str,
|
|
536
|
+
value: _builtins.int):
|
|
537
537
|
"""
|
|
538
538
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
539
|
-
:param int period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
540
|
-
:param str type: type is used to specify the scaling policy.
|
|
541
|
-
:param int value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
539
|
+
:param _builtins.int period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
540
|
+
:param _builtins.str type: type is used to specify the scaling policy.
|
|
541
|
+
:param _builtins.int value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
542
542
|
"""
|
|
543
543
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
544
544
|
pulumi.set(__self__, "type", type)
|
|
545
545
|
pulumi.set(__self__, "value", value)
|
|
546
546
|
|
|
547
|
-
@property
|
|
547
|
+
@_builtins.property
|
|
548
548
|
@pulumi.getter(name="periodSeconds")
|
|
549
|
-
def period_seconds(self) -> int:
|
|
549
|
+
def period_seconds(self) -> _builtins.int:
|
|
550
550
|
"""
|
|
551
551
|
periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
552
552
|
"""
|
|
553
553
|
return pulumi.get(self, "period_seconds")
|
|
554
554
|
|
|
555
|
-
@property
|
|
555
|
+
@_builtins.property
|
|
556
556
|
@pulumi.getter
|
|
557
|
-
def type(self) -> str:
|
|
557
|
+
def type(self) -> _builtins.str:
|
|
558
558
|
"""
|
|
559
559
|
type is used to specify the scaling policy.
|
|
560
560
|
"""
|
|
561
561
|
return pulumi.get(self, "type")
|
|
562
562
|
|
|
563
|
-
@property
|
|
563
|
+
@_builtins.property
|
|
564
564
|
@pulumi.getter
|
|
565
|
-
def value(self) -> int:
|
|
565
|
+
def value(self) -> _builtins.int:
|
|
566
566
|
"""
|
|
567
567
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
568
568
|
"""
|
|
@@ -592,14 +592,14 @@ class HPAScalingPolicyPatch(dict):
|
|
|
592
592
|
return super().get(key, default)
|
|
593
593
|
|
|
594
594
|
def __init__(__self__, *,
|
|
595
|
-
period_seconds: Optional[int] = None,
|
|
596
|
-
type: Optional[str] = None,
|
|
597
|
-
value: Optional[int] = None):
|
|
595
|
+
period_seconds: Optional[_builtins.int] = None,
|
|
596
|
+
type: Optional[_builtins.str] = None,
|
|
597
|
+
value: Optional[_builtins.int] = None):
|
|
598
598
|
"""
|
|
599
599
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
600
|
-
:param int period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
601
|
-
:param str type: type is used to specify the scaling policy.
|
|
602
|
-
:param int value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
600
|
+
:param _builtins.int period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
601
|
+
:param _builtins.str type: type is used to specify the scaling policy.
|
|
602
|
+
:param _builtins.int value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
603
603
|
"""
|
|
604
604
|
if period_seconds is not None:
|
|
605
605
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
@@ -608,25 +608,25 @@ class HPAScalingPolicyPatch(dict):
|
|
|
608
608
|
if value is not None:
|
|
609
609
|
pulumi.set(__self__, "value", value)
|
|
610
610
|
|
|
611
|
-
@property
|
|
611
|
+
@_builtins.property
|
|
612
612
|
@pulumi.getter(name="periodSeconds")
|
|
613
|
-
def period_seconds(self) -> Optional[int]:
|
|
613
|
+
def period_seconds(self) -> Optional[_builtins.int]:
|
|
614
614
|
"""
|
|
615
615
|
periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
616
616
|
"""
|
|
617
617
|
return pulumi.get(self, "period_seconds")
|
|
618
618
|
|
|
619
|
-
@property
|
|
619
|
+
@_builtins.property
|
|
620
620
|
@pulumi.getter
|
|
621
|
-
def type(self) -> Optional[str]:
|
|
621
|
+
def type(self) -> Optional[_builtins.str]:
|
|
622
622
|
"""
|
|
623
623
|
type is used to specify the scaling policy.
|
|
624
624
|
"""
|
|
625
625
|
return pulumi.get(self, "type")
|
|
626
626
|
|
|
627
|
-
@property
|
|
627
|
+
@_builtins.property
|
|
628
628
|
@pulumi.getter
|
|
629
|
-
def value(self) -> Optional[int]:
|
|
629
|
+
def value(self) -> Optional[_builtins.int]:
|
|
630
630
|
"""
|
|
631
631
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
632
632
|
"""
|
|
@@ -636,7 +636,11 @@ class HPAScalingPolicyPatch(dict):
|
|
|
636
636
|
@pulumi.output_type
|
|
637
637
|
class HPAScalingRules(dict):
|
|
638
638
|
"""
|
|
639
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
639
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
640
|
+
|
|
641
|
+
Scaling Policy Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
|
|
642
|
+
|
|
643
|
+
The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
|
|
640
644
|
"""
|
|
641
645
|
@staticmethod
|
|
642
646
|
def __key_warning(key: str):
|
|
@@ -659,13 +663,23 @@ class HPAScalingRules(dict):
|
|
|
659
663
|
|
|
660
664
|
def __init__(__self__, *,
|
|
661
665
|
policies: Optional[Sequence['outputs.HPAScalingPolicy']] = None,
|
|
662
|
-
select_policy: Optional[str] = None,
|
|
663
|
-
stabilization_window_seconds: Optional[int] = None
|
|
666
|
+
select_policy: Optional[_builtins.str] = None,
|
|
667
|
+
stabilization_window_seconds: Optional[_builtins.int] = None,
|
|
668
|
+
tolerance: Optional[_builtins.str] = None):
|
|
664
669
|
"""
|
|
665
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
670
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
671
|
+
|
|
672
|
+
Scaling Policy Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
|
|
673
|
+
|
|
674
|
+
The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
|
|
675
|
+
:param Sequence['HPAScalingPolicyArgs'] policies: policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
676
|
+
:param _builtins.str select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
677
|
+
:param _builtins.int stabilization_window_seconds: stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
678
|
+
:param _builtins.str tolerance: tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
679
|
+
|
|
680
|
+
For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
|
|
681
|
+
|
|
682
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
669
683
|
"""
|
|
670
684
|
if policies is not None:
|
|
671
685
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -673,36 +687,54 @@ class HPAScalingRules(dict):
|
|
|
673
687
|
pulumi.set(__self__, "select_policy", select_policy)
|
|
674
688
|
if stabilization_window_seconds is not None:
|
|
675
689
|
pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
|
|
690
|
+
if tolerance is not None:
|
|
691
|
+
pulumi.set(__self__, "tolerance", tolerance)
|
|
676
692
|
|
|
677
|
-
@property
|
|
693
|
+
@_builtins.property
|
|
678
694
|
@pulumi.getter
|
|
679
695
|
def policies(self) -> Optional[Sequence['outputs.HPAScalingPolicy']]:
|
|
680
696
|
"""
|
|
681
|
-
policies is a list of potential scaling polices which can be used during scaling.
|
|
697
|
+
policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
682
698
|
"""
|
|
683
699
|
return pulumi.get(self, "policies")
|
|
684
700
|
|
|
685
|
-
@property
|
|
701
|
+
@_builtins.property
|
|
686
702
|
@pulumi.getter(name="selectPolicy")
|
|
687
|
-
def select_policy(self) -> Optional[str]:
|
|
703
|
+
def select_policy(self) -> Optional[_builtins.str]:
|
|
688
704
|
"""
|
|
689
705
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
690
706
|
"""
|
|
691
707
|
return pulumi.get(self, "select_policy")
|
|
692
708
|
|
|
693
|
-
@property
|
|
709
|
+
@_builtins.property
|
|
694
710
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
695
|
-
def stabilization_window_seconds(self) -> Optional[int]:
|
|
711
|
+
def stabilization_window_seconds(self) -> Optional[_builtins.int]:
|
|
696
712
|
"""
|
|
697
713
|
stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
698
714
|
"""
|
|
699
715
|
return pulumi.get(self, "stabilization_window_seconds")
|
|
700
716
|
|
|
717
|
+
@_builtins.property
|
|
718
|
+
@pulumi.getter
|
|
719
|
+
def tolerance(self) -> Optional[_builtins.str]:
|
|
720
|
+
"""
|
|
721
|
+
tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
722
|
+
|
|
723
|
+
For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
|
|
724
|
+
|
|
725
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
726
|
+
"""
|
|
727
|
+
return pulumi.get(self, "tolerance")
|
|
728
|
+
|
|
701
729
|
|
|
702
730
|
@pulumi.output_type
|
|
703
731
|
class HPAScalingRulesPatch(dict):
|
|
704
732
|
"""
|
|
705
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
733
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
734
|
+
|
|
735
|
+
Scaling Policy Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
|
|
736
|
+
|
|
737
|
+
The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
|
|
706
738
|
"""
|
|
707
739
|
@staticmethod
|
|
708
740
|
def __key_warning(key: str):
|
|
@@ -725,13 +757,23 @@ class HPAScalingRulesPatch(dict):
|
|
|
725
757
|
|
|
726
758
|
def __init__(__self__, *,
|
|
727
759
|
policies: Optional[Sequence['outputs.HPAScalingPolicyPatch']] = None,
|
|
728
|
-
select_policy: Optional[str] = None,
|
|
729
|
-
stabilization_window_seconds: Optional[int] = None
|
|
760
|
+
select_policy: Optional[_builtins.str] = None,
|
|
761
|
+
stabilization_window_seconds: Optional[_builtins.int] = None,
|
|
762
|
+
tolerance: Optional[_builtins.str] = None):
|
|
730
763
|
"""
|
|
731
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
764
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
765
|
+
|
|
766
|
+
Scaling Policy Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
|
|
767
|
+
|
|
768
|
+
The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
|
|
769
|
+
:param Sequence['HPAScalingPolicyPatchArgs'] policies: policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
770
|
+
:param _builtins.str select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
771
|
+
:param _builtins.int stabilization_window_seconds: stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
772
|
+
:param _builtins.str tolerance: tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
773
|
+
|
|
774
|
+
For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
|
|
775
|
+
|
|
776
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
735
777
|
"""
|
|
736
778
|
if policies is not None:
|
|
737
779
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -739,31 +781,45 @@ class HPAScalingRulesPatch(dict):
|
|
|
739
781
|
pulumi.set(__self__, "select_policy", select_policy)
|
|
740
782
|
if stabilization_window_seconds is not None:
|
|
741
783
|
pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
|
|
784
|
+
if tolerance is not None:
|
|
785
|
+
pulumi.set(__self__, "tolerance", tolerance)
|
|
742
786
|
|
|
743
|
-
@property
|
|
787
|
+
@_builtins.property
|
|
744
788
|
@pulumi.getter
|
|
745
789
|
def policies(self) -> Optional[Sequence['outputs.HPAScalingPolicyPatch']]:
|
|
746
790
|
"""
|
|
747
|
-
policies is a list of potential scaling polices which can be used during scaling.
|
|
791
|
+
policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
748
792
|
"""
|
|
749
793
|
return pulumi.get(self, "policies")
|
|
750
794
|
|
|
751
|
-
@property
|
|
795
|
+
@_builtins.property
|
|
752
796
|
@pulumi.getter(name="selectPolicy")
|
|
753
|
-
def select_policy(self) -> Optional[str]:
|
|
797
|
+
def select_policy(self) -> Optional[_builtins.str]:
|
|
754
798
|
"""
|
|
755
799
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
756
800
|
"""
|
|
757
801
|
return pulumi.get(self, "select_policy")
|
|
758
802
|
|
|
759
|
-
@property
|
|
803
|
+
@_builtins.property
|
|
760
804
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
761
|
-
def stabilization_window_seconds(self) -> Optional[int]:
|
|
805
|
+
def stabilization_window_seconds(self) -> Optional[_builtins.int]:
|
|
762
806
|
"""
|
|
763
807
|
stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
764
808
|
"""
|
|
765
809
|
return pulumi.get(self, "stabilization_window_seconds")
|
|
766
810
|
|
|
811
|
+
@_builtins.property
|
|
812
|
+
@pulumi.getter
|
|
813
|
+
def tolerance(self) -> Optional[_builtins.str]:
|
|
814
|
+
"""
|
|
815
|
+
tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
816
|
+
|
|
817
|
+
For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
|
|
818
|
+
|
|
819
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
820
|
+
"""
|
|
821
|
+
return pulumi.get(self, "tolerance")
|
|
822
|
+
|
|
767
823
|
|
|
768
824
|
@pulumi.output_type
|
|
769
825
|
class HorizontalPodAutoscaler(dict):
|
|
@@ -788,15 +844,15 @@ class HorizontalPodAutoscaler(dict):
|
|
|
788
844
|
return super().get(key, default)
|
|
789
845
|
|
|
790
846
|
def __init__(__self__, *,
|
|
791
|
-
api_version: Optional[str] = None,
|
|
792
|
-
kind: Optional[str] = None,
|
|
847
|
+
api_version: Optional[_builtins.str] = None,
|
|
848
|
+
kind: Optional[_builtins.str] = None,
|
|
793
849
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
794
850
|
spec: Optional['outputs.HorizontalPodAutoscalerSpec'] = None,
|
|
795
851
|
status: Optional['outputs.HorizontalPodAutoscalerStatus'] = None):
|
|
796
852
|
"""
|
|
797
853
|
HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.
|
|
798
|
-
: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
|
|
799
|
-
: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
|
|
854
|
+
: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
|
|
855
|
+
: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
|
|
800
856
|
:param '_meta.v1.ObjectMetaArgs' metadata: metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
801
857
|
:param 'HorizontalPodAutoscalerSpecArgs' spec: spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
|
|
802
858
|
:param 'HorizontalPodAutoscalerStatusArgs' status: status is the current information about the autoscaler.
|
|
@@ -812,23 +868,23 @@ class HorizontalPodAutoscaler(dict):
|
|
|
812
868
|
if status is not None:
|
|
813
869
|
pulumi.set(__self__, "status", status)
|
|
814
870
|
|
|
815
|
-
@property
|
|
871
|
+
@_builtins.property
|
|
816
872
|
@pulumi.getter(name="apiVersion")
|
|
817
|
-
def api_version(self) -> Optional[str]:
|
|
873
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
818
874
|
"""
|
|
819
875
|
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
|
|
820
876
|
"""
|
|
821
877
|
return pulumi.get(self, "api_version")
|
|
822
878
|
|
|
823
|
-
@property
|
|
879
|
+
@_builtins.property
|
|
824
880
|
@pulumi.getter
|
|
825
|
-
def kind(self) -> Optional[str]:
|
|
881
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
826
882
|
"""
|
|
827
883
|
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
|
|
828
884
|
"""
|
|
829
885
|
return pulumi.get(self, "kind")
|
|
830
886
|
|
|
831
|
-
@property
|
|
887
|
+
@_builtins.property
|
|
832
888
|
@pulumi.getter
|
|
833
889
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
834
890
|
"""
|
|
@@ -836,7 +892,7 @@ class HorizontalPodAutoscaler(dict):
|
|
|
836
892
|
"""
|
|
837
893
|
return pulumi.get(self, "metadata")
|
|
838
894
|
|
|
839
|
-
@property
|
|
895
|
+
@_builtins.property
|
|
840
896
|
@pulumi.getter
|
|
841
897
|
def spec(self) -> Optional['outputs.HorizontalPodAutoscalerSpec']:
|
|
842
898
|
"""
|
|
@@ -844,7 +900,7 @@ class HorizontalPodAutoscaler(dict):
|
|
|
844
900
|
"""
|
|
845
901
|
return pulumi.get(self, "spec")
|
|
846
902
|
|
|
847
|
-
@property
|
|
903
|
+
@_builtins.property
|
|
848
904
|
@pulumi.getter
|
|
849
905
|
def status(self) -> Optional['outputs.HorizontalPodAutoscalerStatus']:
|
|
850
906
|
"""
|
|
@@ -893,7 +949,7 @@ class HorizontalPodAutoscalerBehavior(dict):
|
|
|
893
949
|
if scale_up is not None:
|
|
894
950
|
pulumi.set(__self__, "scale_up", scale_up)
|
|
895
951
|
|
|
896
|
-
@property
|
|
952
|
+
@_builtins.property
|
|
897
953
|
@pulumi.getter(name="scaleDown")
|
|
898
954
|
def scale_down(self) -> Optional['outputs.HPAScalingRules']:
|
|
899
955
|
"""
|
|
@@ -901,7 +957,7 @@ class HorizontalPodAutoscalerBehavior(dict):
|
|
|
901
957
|
"""
|
|
902
958
|
return pulumi.get(self, "scale_down")
|
|
903
959
|
|
|
904
|
-
@property
|
|
960
|
+
@_builtins.property
|
|
905
961
|
@pulumi.getter(name="scaleUp")
|
|
906
962
|
def scale_up(self) -> Optional['outputs.HPAScalingRules']:
|
|
907
963
|
"""
|
|
@@ -953,7 +1009,7 @@ class HorizontalPodAutoscalerBehaviorPatch(dict):
|
|
|
953
1009
|
if scale_up is not None:
|
|
954
1010
|
pulumi.set(__self__, "scale_up", scale_up)
|
|
955
1011
|
|
|
956
|
-
@property
|
|
1012
|
+
@_builtins.property
|
|
957
1013
|
@pulumi.getter(name="scaleDown")
|
|
958
1014
|
def scale_down(self) -> Optional['outputs.HPAScalingRulesPatch']:
|
|
959
1015
|
"""
|
|
@@ -961,7 +1017,7 @@ class HorizontalPodAutoscalerBehaviorPatch(dict):
|
|
|
961
1017
|
"""
|
|
962
1018
|
return pulumi.get(self, "scale_down")
|
|
963
1019
|
|
|
964
|
-
@property
|
|
1020
|
+
@_builtins.property
|
|
965
1021
|
@pulumi.getter(name="scaleUp")
|
|
966
1022
|
def scale_up(self) -> Optional['outputs.HPAScalingRulesPatch']:
|
|
967
1023
|
"""
|
|
@@ -996,18 +1052,18 @@ class HorizontalPodAutoscalerCondition(dict):
|
|
|
996
1052
|
return super().get(key, default)
|
|
997
1053
|
|
|
998
1054
|
def __init__(__self__, *,
|
|
999
|
-
status: str,
|
|
1000
|
-
type: str,
|
|
1001
|
-
last_transition_time: Optional[str] = None,
|
|
1002
|
-
message: Optional[str] = None,
|
|
1003
|
-
reason: Optional[str] = None):
|
|
1055
|
+
status: _builtins.str,
|
|
1056
|
+
type: _builtins.str,
|
|
1057
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
1058
|
+
message: Optional[_builtins.str] = None,
|
|
1059
|
+
reason: Optional[_builtins.str] = None):
|
|
1004
1060
|
"""
|
|
1005
1061
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1006
|
-
:param str status: status is the status of the condition (True, False, Unknown)
|
|
1007
|
-
:param str type: type describes the current condition
|
|
1008
|
-
:param str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1009
|
-
:param str message: message is a human-readable explanation containing details about the transition
|
|
1010
|
-
:param str reason: reason is the reason for the condition's last transition.
|
|
1062
|
+
:param _builtins.str status: status is the status of the condition (True, False, Unknown)
|
|
1063
|
+
:param _builtins.str type: type describes the current condition
|
|
1064
|
+
:param _builtins.str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1065
|
+
:param _builtins.str message: message is a human-readable explanation containing details about the transition
|
|
1066
|
+
:param _builtins.str reason: reason is the reason for the condition's last transition.
|
|
1011
1067
|
"""
|
|
1012
1068
|
pulumi.set(__self__, "status", status)
|
|
1013
1069
|
pulumi.set(__self__, "type", type)
|
|
@@ -1018,41 +1074,41 @@ class HorizontalPodAutoscalerCondition(dict):
|
|
|
1018
1074
|
if reason is not None:
|
|
1019
1075
|
pulumi.set(__self__, "reason", reason)
|
|
1020
1076
|
|
|
1021
|
-
@property
|
|
1077
|
+
@_builtins.property
|
|
1022
1078
|
@pulumi.getter
|
|
1023
|
-
def status(self) -> str:
|
|
1079
|
+
def status(self) -> _builtins.str:
|
|
1024
1080
|
"""
|
|
1025
1081
|
status is the status of the condition (True, False, Unknown)
|
|
1026
1082
|
"""
|
|
1027
1083
|
return pulumi.get(self, "status")
|
|
1028
1084
|
|
|
1029
|
-
@property
|
|
1085
|
+
@_builtins.property
|
|
1030
1086
|
@pulumi.getter
|
|
1031
|
-
def type(self) -> str:
|
|
1087
|
+
def type(self) -> _builtins.str:
|
|
1032
1088
|
"""
|
|
1033
1089
|
type describes the current condition
|
|
1034
1090
|
"""
|
|
1035
1091
|
return pulumi.get(self, "type")
|
|
1036
1092
|
|
|
1037
|
-
@property
|
|
1093
|
+
@_builtins.property
|
|
1038
1094
|
@pulumi.getter(name="lastTransitionTime")
|
|
1039
|
-
def last_transition_time(self) -> Optional[str]:
|
|
1095
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
1040
1096
|
"""
|
|
1041
1097
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1042
1098
|
"""
|
|
1043
1099
|
return pulumi.get(self, "last_transition_time")
|
|
1044
1100
|
|
|
1045
|
-
@property
|
|
1101
|
+
@_builtins.property
|
|
1046
1102
|
@pulumi.getter
|
|
1047
|
-
def message(self) -> Optional[str]:
|
|
1103
|
+
def message(self) -> Optional[_builtins.str]:
|
|
1048
1104
|
"""
|
|
1049
1105
|
message is a human-readable explanation containing details about the transition
|
|
1050
1106
|
"""
|
|
1051
1107
|
return pulumi.get(self, "message")
|
|
1052
1108
|
|
|
1053
|
-
@property
|
|
1109
|
+
@_builtins.property
|
|
1054
1110
|
@pulumi.getter
|
|
1055
|
-
def reason(self) -> Optional[str]:
|
|
1111
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
1056
1112
|
"""
|
|
1057
1113
|
reason is the reason for the condition's last transition.
|
|
1058
1114
|
"""
|
|
@@ -1082,18 +1138,18 @@ class HorizontalPodAutoscalerConditionPatch(dict):
|
|
|
1082
1138
|
return super().get(key, default)
|
|
1083
1139
|
|
|
1084
1140
|
def __init__(__self__, *,
|
|
1085
|
-
last_transition_time: Optional[str] = None,
|
|
1086
|
-
message: Optional[str] = None,
|
|
1087
|
-
reason: Optional[str] = None,
|
|
1088
|
-
status: Optional[str] = None,
|
|
1089
|
-
type: Optional[str] = None):
|
|
1141
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
1142
|
+
message: Optional[_builtins.str] = None,
|
|
1143
|
+
reason: Optional[_builtins.str] = None,
|
|
1144
|
+
status: Optional[_builtins.str] = None,
|
|
1145
|
+
type: Optional[_builtins.str] = None):
|
|
1090
1146
|
"""
|
|
1091
1147
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1092
|
-
:param str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1093
|
-
:param str message: message is a human-readable explanation containing details about the transition
|
|
1094
|
-
:param str reason: reason is the reason for the condition's last transition.
|
|
1095
|
-
:param str status: status is the status of the condition (True, False, Unknown)
|
|
1096
|
-
:param str type: type describes the current condition
|
|
1148
|
+
:param _builtins.str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1149
|
+
:param _builtins.str message: message is a human-readable explanation containing details about the transition
|
|
1150
|
+
:param _builtins.str reason: reason is the reason for the condition's last transition.
|
|
1151
|
+
:param _builtins.str status: status is the status of the condition (True, False, Unknown)
|
|
1152
|
+
:param _builtins.str type: type describes the current condition
|
|
1097
1153
|
"""
|
|
1098
1154
|
if last_transition_time is not None:
|
|
1099
1155
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
|
@@ -1106,41 +1162,41 @@ class HorizontalPodAutoscalerConditionPatch(dict):
|
|
|
1106
1162
|
if type is not None:
|
|
1107
1163
|
pulumi.set(__self__, "type", type)
|
|
1108
1164
|
|
|
1109
|
-
@property
|
|
1165
|
+
@_builtins.property
|
|
1110
1166
|
@pulumi.getter(name="lastTransitionTime")
|
|
1111
|
-
def last_transition_time(self) -> Optional[str]:
|
|
1167
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
1112
1168
|
"""
|
|
1113
1169
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1114
1170
|
"""
|
|
1115
1171
|
return pulumi.get(self, "last_transition_time")
|
|
1116
1172
|
|
|
1117
|
-
@property
|
|
1173
|
+
@_builtins.property
|
|
1118
1174
|
@pulumi.getter
|
|
1119
|
-
def message(self) -> Optional[str]:
|
|
1175
|
+
def message(self) -> Optional[_builtins.str]:
|
|
1120
1176
|
"""
|
|
1121
1177
|
message is a human-readable explanation containing details about the transition
|
|
1122
1178
|
"""
|
|
1123
1179
|
return pulumi.get(self, "message")
|
|
1124
1180
|
|
|
1125
|
-
@property
|
|
1181
|
+
@_builtins.property
|
|
1126
1182
|
@pulumi.getter
|
|
1127
|
-
def reason(self) -> Optional[str]:
|
|
1183
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
1128
1184
|
"""
|
|
1129
1185
|
reason is the reason for the condition's last transition.
|
|
1130
1186
|
"""
|
|
1131
1187
|
return pulumi.get(self, "reason")
|
|
1132
1188
|
|
|
1133
|
-
@property
|
|
1189
|
+
@_builtins.property
|
|
1134
1190
|
@pulumi.getter
|
|
1135
|
-
def status(self) -> Optional[str]:
|
|
1191
|
+
def status(self) -> Optional[_builtins.str]:
|
|
1136
1192
|
"""
|
|
1137
1193
|
status is the status of the condition (True, False, Unknown)
|
|
1138
1194
|
"""
|
|
1139
1195
|
return pulumi.get(self, "status")
|
|
1140
1196
|
|
|
1141
|
-
@property
|
|
1197
|
+
@_builtins.property
|
|
1142
1198
|
@pulumi.getter
|
|
1143
|
-
def type(self) -> Optional[str]:
|
|
1199
|
+
def type(self) -> Optional[_builtins.str]:
|
|
1144
1200
|
"""
|
|
1145
1201
|
type describes the current condition
|
|
1146
1202
|
"""
|
|
@@ -1174,18 +1230,18 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1174
1230
|
return super().get(key, default)
|
|
1175
1231
|
|
|
1176
1232
|
def __init__(__self__, *,
|
|
1177
|
-
max_replicas: int,
|
|
1233
|
+
max_replicas: _builtins.int,
|
|
1178
1234
|
scale_target_ref: 'outputs.CrossVersionObjectReference',
|
|
1179
1235
|
behavior: Optional['outputs.HorizontalPodAutoscalerBehavior'] = None,
|
|
1180
1236
|
metrics: Optional[Sequence['outputs.MetricSpec']] = None,
|
|
1181
|
-
min_replicas: Optional[int] = None):
|
|
1237
|
+
min_replicas: Optional[_builtins.int] = None):
|
|
1182
1238
|
"""
|
|
1183
1239
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1184
|
-
:param int max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1240
|
+
:param _builtins.int max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1185
1241
|
:param 'CrossVersionObjectReferenceArgs' scale_target_ref: scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
|
|
1186
1242
|
:param 'HorizontalPodAutoscalerBehaviorArgs' behavior: behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1187
1243
|
:param Sequence['MetricSpecArgs'] metrics: metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1188
|
-
:param int min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1244
|
+
:param _builtins.int min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1189
1245
|
"""
|
|
1190
1246
|
pulumi.set(__self__, "max_replicas", max_replicas)
|
|
1191
1247
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
@@ -1196,15 +1252,15 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1196
1252
|
if min_replicas is not None:
|
|
1197
1253
|
pulumi.set(__self__, "min_replicas", min_replicas)
|
|
1198
1254
|
|
|
1199
|
-
@property
|
|
1255
|
+
@_builtins.property
|
|
1200
1256
|
@pulumi.getter(name="maxReplicas")
|
|
1201
|
-
def max_replicas(self) -> int:
|
|
1257
|
+
def max_replicas(self) -> _builtins.int:
|
|
1202
1258
|
"""
|
|
1203
1259
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1204
1260
|
"""
|
|
1205
1261
|
return pulumi.get(self, "max_replicas")
|
|
1206
1262
|
|
|
1207
|
-
@property
|
|
1263
|
+
@_builtins.property
|
|
1208
1264
|
@pulumi.getter(name="scaleTargetRef")
|
|
1209
1265
|
def scale_target_ref(self) -> 'outputs.CrossVersionObjectReference':
|
|
1210
1266
|
"""
|
|
@@ -1212,7 +1268,7 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1212
1268
|
"""
|
|
1213
1269
|
return pulumi.get(self, "scale_target_ref")
|
|
1214
1270
|
|
|
1215
|
-
@property
|
|
1271
|
+
@_builtins.property
|
|
1216
1272
|
@pulumi.getter
|
|
1217
1273
|
def behavior(self) -> Optional['outputs.HorizontalPodAutoscalerBehavior']:
|
|
1218
1274
|
"""
|
|
@@ -1220,7 +1276,7 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1220
1276
|
"""
|
|
1221
1277
|
return pulumi.get(self, "behavior")
|
|
1222
1278
|
|
|
1223
|
-
@property
|
|
1279
|
+
@_builtins.property
|
|
1224
1280
|
@pulumi.getter
|
|
1225
1281
|
def metrics(self) -> Optional[Sequence['outputs.MetricSpec']]:
|
|
1226
1282
|
"""
|
|
@@ -1228,9 +1284,9 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1228
1284
|
"""
|
|
1229
1285
|
return pulumi.get(self, "metrics")
|
|
1230
1286
|
|
|
1231
|
-
@property
|
|
1287
|
+
@_builtins.property
|
|
1232
1288
|
@pulumi.getter(name="minReplicas")
|
|
1233
|
-
def min_replicas(self) -> Optional[int]:
|
|
1289
|
+
def min_replicas(self) -> Optional[_builtins.int]:
|
|
1234
1290
|
"""
|
|
1235
1291
|
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1236
1292
|
"""
|
|
@@ -1265,16 +1321,16 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1265
1321
|
|
|
1266
1322
|
def __init__(__self__, *,
|
|
1267
1323
|
behavior: Optional['outputs.HorizontalPodAutoscalerBehaviorPatch'] = None,
|
|
1268
|
-
max_replicas: Optional[int] = None,
|
|
1324
|
+
max_replicas: Optional[_builtins.int] = None,
|
|
1269
1325
|
metrics: Optional[Sequence['outputs.MetricSpecPatch']] = None,
|
|
1270
|
-
min_replicas: Optional[int] = None,
|
|
1326
|
+
min_replicas: Optional[_builtins.int] = None,
|
|
1271
1327
|
scale_target_ref: Optional['outputs.CrossVersionObjectReferencePatch'] = None):
|
|
1272
1328
|
"""
|
|
1273
1329
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1274
1330
|
:param 'HorizontalPodAutoscalerBehaviorPatchArgs' behavior: behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1275
|
-
:param int max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1331
|
+
:param _builtins.int max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1276
1332
|
:param Sequence['MetricSpecPatchArgs'] metrics: metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1277
|
-
:param int min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1333
|
+
:param _builtins.int min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1278
1334
|
:param 'CrossVersionObjectReferencePatchArgs' scale_target_ref: scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
|
|
1279
1335
|
"""
|
|
1280
1336
|
if behavior is not None:
|
|
@@ -1288,7 +1344,7 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1288
1344
|
if scale_target_ref is not None:
|
|
1289
1345
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
1290
1346
|
|
|
1291
|
-
@property
|
|
1347
|
+
@_builtins.property
|
|
1292
1348
|
@pulumi.getter
|
|
1293
1349
|
def behavior(self) -> Optional['outputs.HorizontalPodAutoscalerBehaviorPatch']:
|
|
1294
1350
|
"""
|
|
@@ -1296,15 +1352,15 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1296
1352
|
"""
|
|
1297
1353
|
return pulumi.get(self, "behavior")
|
|
1298
1354
|
|
|
1299
|
-
@property
|
|
1355
|
+
@_builtins.property
|
|
1300
1356
|
@pulumi.getter(name="maxReplicas")
|
|
1301
|
-
def max_replicas(self) -> Optional[int]:
|
|
1357
|
+
def max_replicas(self) -> Optional[_builtins.int]:
|
|
1302
1358
|
"""
|
|
1303
1359
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1304
1360
|
"""
|
|
1305
1361
|
return pulumi.get(self, "max_replicas")
|
|
1306
1362
|
|
|
1307
|
-
@property
|
|
1363
|
+
@_builtins.property
|
|
1308
1364
|
@pulumi.getter
|
|
1309
1365
|
def metrics(self) -> Optional[Sequence['outputs.MetricSpecPatch']]:
|
|
1310
1366
|
"""
|
|
@@ -1312,15 +1368,15 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1312
1368
|
"""
|
|
1313
1369
|
return pulumi.get(self, "metrics")
|
|
1314
1370
|
|
|
1315
|
-
@property
|
|
1371
|
+
@_builtins.property
|
|
1316
1372
|
@pulumi.getter(name="minReplicas")
|
|
1317
|
-
def min_replicas(self) -> Optional[int]:
|
|
1373
|
+
def min_replicas(self) -> Optional[_builtins.int]:
|
|
1318
1374
|
"""
|
|
1319
1375
|
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1320
1376
|
"""
|
|
1321
1377
|
return pulumi.get(self, "min_replicas")
|
|
1322
1378
|
|
|
1323
|
-
@property
|
|
1379
|
+
@_builtins.property
|
|
1324
1380
|
@pulumi.getter(name="scaleTargetRef")
|
|
1325
1381
|
def scale_target_ref(self) -> Optional['outputs.CrossVersionObjectReferencePatch']:
|
|
1326
1382
|
"""
|
|
@@ -1360,20 +1416,20 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1360
1416
|
return super().get(key, default)
|
|
1361
1417
|
|
|
1362
1418
|
def __init__(__self__, *,
|
|
1363
|
-
desired_replicas: int,
|
|
1419
|
+
desired_replicas: _builtins.int,
|
|
1364
1420
|
conditions: Optional[Sequence['outputs.HorizontalPodAutoscalerCondition']] = None,
|
|
1365
1421
|
current_metrics: Optional[Sequence['outputs.MetricStatus']] = None,
|
|
1366
|
-
current_replicas: Optional[int] = None,
|
|
1367
|
-
last_scale_time: Optional[str] = None,
|
|
1368
|
-
observed_generation: Optional[int] = None):
|
|
1422
|
+
current_replicas: Optional[_builtins.int] = None,
|
|
1423
|
+
last_scale_time: Optional[_builtins.str] = None,
|
|
1424
|
+
observed_generation: Optional[_builtins.int] = None):
|
|
1369
1425
|
"""
|
|
1370
1426
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1371
|
-
:param int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1427
|
+
:param _builtins.int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1372
1428
|
:param Sequence['HorizontalPodAutoscalerConditionArgs'] conditions: conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
|
|
1373
1429
|
:param Sequence['MetricStatusArgs'] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1374
|
-
:param int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1375
|
-
:param str last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1376
|
-
:param int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1430
|
+
:param _builtins.int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1431
|
+
:param _builtins.str last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1432
|
+
:param _builtins.int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1377
1433
|
"""
|
|
1378
1434
|
pulumi.set(__self__, "desired_replicas", desired_replicas)
|
|
1379
1435
|
if conditions is not None:
|
|
@@ -1387,15 +1443,15 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1387
1443
|
if observed_generation is not None:
|
|
1388
1444
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
1389
1445
|
|
|
1390
|
-
@property
|
|
1446
|
+
@_builtins.property
|
|
1391
1447
|
@pulumi.getter(name="desiredReplicas")
|
|
1392
|
-
def desired_replicas(self) -> int:
|
|
1448
|
+
def desired_replicas(self) -> _builtins.int:
|
|
1393
1449
|
"""
|
|
1394
1450
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1395
1451
|
"""
|
|
1396
1452
|
return pulumi.get(self, "desired_replicas")
|
|
1397
1453
|
|
|
1398
|
-
@property
|
|
1454
|
+
@_builtins.property
|
|
1399
1455
|
@pulumi.getter
|
|
1400
1456
|
def conditions(self) -> Optional[Sequence['outputs.HorizontalPodAutoscalerCondition']]:
|
|
1401
1457
|
"""
|
|
@@ -1403,7 +1459,7 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1403
1459
|
"""
|
|
1404
1460
|
return pulumi.get(self, "conditions")
|
|
1405
1461
|
|
|
1406
|
-
@property
|
|
1462
|
+
@_builtins.property
|
|
1407
1463
|
@pulumi.getter(name="currentMetrics")
|
|
1408
1464
|
def current_metrics(self) -> Optional[Sequence['outputs.MetricStatus']]:
|
|
1409
1465
|
"""
|
|
@@ -1411,25 +1467,25 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1411
1467
|
"""
|
|
1412
1468
|
return pulumi.get(self, "current_metrics")
|
|
1413
1469
|
|
|
1414
|
-
@property
|
|
1470
|
+
@_builtins.property
|
|
1415
1471
|
@pulumi.getter(name="currentReplicas")
|
|
1416
|
-
def current_replicas(self) -> Optional[int]:
|
|
1472
|
+
def current_replicas(self) -> Optional[_builtins.int]:
|
|
1417
1473
|
"""
|
|
1418
1474
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1419
1475
|
"""
|
|
1420
1476
|
return pulumi.get(self, "current_replicas")
|
|
1421
1477
|
|
|
1422
|
-
@property
|
|
1478
|
+
@_builtins.property
|
|
1423
1479
|
@pulumi.getter(name="lastScaleTime")
|
|
1424
|
-
def last_scale_time(self) -> Optional[str]:
|
|
1480
|
+
def last_scale_time(self) -> Optional[_builtins.str]:
|
|
1425
1481
|
"""
|
|
1426
1482
|
lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1427
1483
|
"""
|
|
1428
1484
|
return pulumi.get(self, "last_scale_time")
|
|
1429
1485
|
|
|
1430
|
-
@property
|
|
1486
|
+
@_builtins.property
|
|
1431
1487
|
@pulumi.getter(name="observedGeneration")
|
|
1432
|
-
def observed_generation(self) -> Optional[int]:
|
|
1488
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
1433
1489
|
"""
|
|
1434
1490
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1435
1491
|
"""
|
|
@@ -1469,18 +1525,18 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1469
1525
|
def __init__(__self__, *,
|
|
1470
1526
|
conditions: Optional[Sequence['outputs.HorizontalPodAutoscalerConditionPatch']] = None,
|
|
1471
1527
|
current_metrics: Optional[Sequence['outputs.MetricStatusPatch']] = None,
|
|
1472
|
-
current_replicas: Optional[int] = None,
|
|
1473
|
-
desired_replicas: Optional[int] = None,
|
|
1474
|
-
last_scale_time: Optional[str] = None,
|
|
1475
|
-
observed_generation: Optional[int] = None):
|
|
1528
|
+
current_replicas: Optional[_builtins.int] = None,
|
|
1529
|
+
desired_replicas: Optional[_builtins.int] = None,
|
|
1530
|
+
last_scale_time: Optional[_builtins.str] = None,
|
|
1531
|
+
observed_generation: Optional[_builtins.int] = None):
|
|
1476
1532
|
"""
|
|
1477
1533
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1478
1534
|
:param Sequence['HorizontalPodAutoscalerConditionPatchArgs'] conditions: conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
|
|
1479
1535
|
:param Sequence['MetricStatusPatchArgs'] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1480
|
-
:param int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1481
|
-
:param int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1482
|
-
:param str last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1483
|
-
:param int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1536
|
+
:param _builtins.int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1537
|
+
:param _builtins.int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1538
|
+
:param _builtins.str last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1539
|
+
:param _builtins.int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1484
1540
|
"""
|
|
1485
1541
|
if conditions is not None:
|
|
1486
1542
|
pulumi.set(__self__, "conditions", conditions)
|
|
@@ -1495,7 +1551,7 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1495
1551
|
if observed_generation is not None:
|
|
1496
1552
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
1497
1553
|
|
|
1498
|
-
@property
|
|
1554
|
+
@_builtins.property
|
|
1499
1555
|
@pulumi.getter
|
|
1500
1556
|
def conditions(self) -> Optional[Sequence['outputs.HorizontalPodAutoscalerConditionPatch']]:
|
|
1501
1557
|
"""
|
|
@@ -1503,7 +1559,7 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1503
1559
|
"""
|
|
1504
1560
|
return pulumi.get(self, "conditions")
|
|
1505
1561
|
|
|
1506
|
-
@property
|
|
1562
|
+
@_builtins.property
|
|
1507
1563
|
@pulumi.getter(name="currentMetrics")
|
|
1508
1564
|
def current_metrics(self) -> Optional[Sequence['outputs.MetricStatusPatch']]:
|
|
1509
1565
|
"""
|
|
@@ -1511,33 +1567,33 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1511
1567
|
"""
|
|
1512
1568
|
return pulumi.get(self, "current_metrics")
|
|
1513
1569
|
|
|
1514
|
-
@property
|
|
1570
|
+
@_builtins.property
|
|
1515
1571
|
@pulumi.getter(name="currentReplicas")
|
|
1516
|
-
def current_replicas(self) -> Optional[int]:
|
|
1572
|
+
def current_replicas(self) -> Optional[_builtins.int]:
|
|
1517
1573
|
"""
|
|
1518
1574
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1519
1575
|
"""
|
|
1520
1576
|
return pulumi.get(self, "current_replicas")
|
|
1521
1577
|
|
|
1522
|
-
@property
|
|
1578
|
+
@_builtins.property
|
|
1523
1579
|
@pulumi.getter(name="desiredReplicas")
|
|
1524
|
-
def desired_replicas(self) -> Optional[int]:
|
|
1580
|
+
def desired_replicas(self) -> Optional[_builtins.int]:
|
|
1525
1581
|
"""
|
|
1526
1582
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1527
1583
|
"""
|
|
1528
1584
|
return pulumi.get(self, "desired_replicas")
|
|
1529
1585
|
|
|
1530
|
-
@property
|
|
1586
|
+
@_builtins.property
|
|
1531
1587
|
@pulumi.getter(name="lastScaleTime")
|
|
1532
|
-
def last_scale_time(self) -> Optional[str]:
|
|
1588
|
+
def last_scale_time(self) -> Optional[_builtins.str]:
|
|
1533
1589
|
"""
|
|
1534
1590
|
lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1535
1591
|
"""
|
|
1536
1592
|
return pulumi.get(self, "last_scale_time")
|
|
1537
1593
|
|
|
1538
|
-
@property
|
|
1594
|
+
@_builtins.property
|
|
1539
1595
|
@pulumi.getter(name="observedGeneration")
|
|
1540
|
-
def observed_generation(self) -> Optional[int]:
|
|
1596
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
1541
1597
|
"""
|
|
1542
1598
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1543
1599
|
"""
|
|
@@ -1550,26 +1606,26 @@ class MetricIdentifier(dict):
|
|
|
1550
1606
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1551
1607
|
"""
|
|
1552
1608
|
def __init__(__self__, *,
|
|
1553
|
-
name: str,
|
|
1609
|
+
name: _builtins.str,
|
|
1554
1610
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
1555
1611
|
"""
|
|
1556
1612
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1557
|
-
:param str name: name is the name of the given metric
|
|
1613
|
+
:param _builtins.str name: name is the name of the given metric
|
|
1558
1614
|
:param '_meta.v1.LabelSelectorArgs' selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
1559
1615
|
"""
|
|
1560
1616
|
pulumi.set(__self__, "name", name)
|
|
1561
1617
|
if selector is not None:
|
|
1562
1618
|
pulumi.set(__self__, "selector", selector)
|
|
1563
1619
|
|
|
1564
|
-
@property
|
|
1620
|
+
@_builtins.property
|
|
1565
1621
|
@pulumi.getter
|
|
1566
|
-
def name(self) -> str:
|
|
1622
|
+
def name(self) -> _builtins.str:
|
|
1567
1623
|
"""
|
|
1568
1624
|
name is the name of the given metric
|
|
1569
1625
|
"""
|
|
1570
1626
|
return pulumi.get(self, "name")
|
|
1571
1627
|
|
|
1572
|
-
@property
|
|
1628
|
+
@_builtins.property
|
|
1573
1629
|
@pulumi.getter
|
|
1574
1630
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
1575
1631
|
"""
|
|
@@ -1584,11 +1640,11 @@ class MetricIdentifierPatch(dict):
|
|
|
1584
1640
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1585
1641
|
"""
|
|
1586
1642
|
def __init__(__self__, *,
|
|
1587
|
-
name: Optional[str] = None,
|
|
1643
|
+
name: Optional[_builtins.str] = None,
|
|
1588
1644
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None):
|
|
1589
1645
|
"""
|
|
1590
1646
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1591
|
-
:param str name: name is the name of the given metric
|
|
1647
|
+
:param _builtins.str name: name is the name of the given metric
|
|
1592
1648
|
:param '_meta.v1.LabelSelectorPatchArgs' selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
1593
1649
|
"""
|
|
1594
1650
|
if name is not None:
|
|
@@ -1596,15 +1652,15 @@ class MetricIdentifierPatch(dict):
|
|
|
1596
1652
|
if selector is not None:
|
|
1597
1653
|
pulumi.set(__self__, "selector", selector)
|
|
1598
1654
|
|
|
1599
|
-
@property
|
|
1655
|
+
@_builtins.property
|
|
1600
1656
|
@pulumi.getter
|
|
1601
|
-
def name(self) -> Optional[str]:
|
|
1657
|
+
def name(self) -> Optional[_builtins.str]:
|
|
1602
1658
|
"""
|
|
1603
1659
|
name is the name of the given metric
|
|
1604
1660
|
"""
|
|
1605
1661
|
return pulumi.get(self, "name")
|
|
1606
1662
|
|
|
1607
|
-
@property
|
|
1663
|
+
@_builtins.property
|
|
1608
1664
|
@pulumi.getter
|
|
1609
1665
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
1610
1666
|
"""
|
|
@@ -1636,7 +1692,7 @@ class MetricSpec(dict):
|
|
|
1636
1692
|
return super().get(key, default)
|
|
1637
1693
|
|
|
1638
1694
|
def __init__(__self__, *,
|
|
1639
|
-
type: str,
|
|
1695
|
+
type: _builtins.str,
|
|
1640
1696
|
container_resource: Optional['outputs.ContainerResourceMetricSource'] = None,
|
|
1641
1697
|
external: Optional['outputs.ExternalMetricSource'] = None,
|
|
1642
1698
|
object: Optional['outputs.ObjectMetricSource'] = None,
|
|
@@ -1644,8 +1700,8 @@ class MetricSpec(dict):
|
|
|
1644
1700
|
resource: Optional['outputs.ResourceMetricSource'] = None):
|
|
1645
1701
|
"""
|
|
1646
1702
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1647
|
-
:param str type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1648
|
-
:param 'ContainerResourceMetricSourceArgs' container_resource: containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1703
|
+
:param _builtins.str type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1704
|
+
:param 'ContainerResourceMetricSourceArgs' container_resource: containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1649
1705
|
:param 'ExternalMetricSourceArgs' external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
1650
1706
|
:param 'ObjectMetricSourceArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1651
1707
|
:param 'PodsMetricSourceArgs' pods: pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
@@ -1663,23 +1719,23 @@ class MetricSpec(dict):
|
|
|
1663
1719
|
if resource is not None:
|
|
1664
1720
|
pulumi.set(__self__, "resource", resource)
|
|
1665
1721
|
|
|
1666
|
-
@property
|
|
1722
|
+
@_builtins.property
|
|
1667
1723
|
@pulumi.getter
|
|
1668
|
-
def type(self) -> str:
|
|
1724
|
+
def type(self) -> _builtins.str:
|
|
1669
1725
|
"""
|
|
1670
|
-
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1726
|
+
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1671
1727
|
"""
|
|
1672
1728
|
return pulumi.get(self, "type")
|
|
1673
1729
|
|
|
1674
|
-
@property
|
|
1730
|
+
@_builtins.property
|
|
1675
1731
|
@pulumi.getter(name="containerResource")
|
|
1676
1732
|
def container_resource(self) -> Optional['outputs.ContainerResourceMetricSource']:
|
|
1677
1733
|
"""
|
|
1678
|
-
containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1734
|
+
containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1679
1735
|
"""
|
|
1680
1736
|
return pulumi.get(self, "container_resource")
|
|
1681
1737
|
|
|
1682
|
-
@property
|
|
1738
|
+
@_builtins.property
|
|
1683
1739
|
@pulumi.getter
|
|
1684
1740
|
def external(self) -> Optional['outputs.ExternalMetricSource']:
|
|
1685
1741
|
"""
|
|
@@ -1687,7 +1743,7 @@ class MetricSpec(dict):
|
|
|
1687
1743
|
"""
|
|
1688
1744
|
return pulumi.get(self, "external")
|
|
1689
1745
|
|
|
1690
|
-
@property
|
|
1746
|
+
@_builtins.property
|
|
1691
1747
|
@pulumi.getter
|
|
1692
1748
|
def object(self) -> Optional['outputs.ObjectMetricSource']:
|
|
1693
1749
|
"""
|
|
@@ -1695,7 +1751,7 @@ class MetricSpec(dict):
|
|
|
1695
1751
|
"""
|
|
1696
1752
|
return pulumi.get(self, "object")
|
|
1697
1753
|
|
|
1698
|
-
@property
|
|
1754
|
+
@_builtins.property
|
|
1699
1755
|
@pulumi.getter
|
|
1700
1756
|
def pods(self) -> Optional['outputs.PodsMetricSource']:
|
|
1701
1757
|
"""
|
|
@@ -1703,7 +1759,7 @@ class MetricSpec(dict):
|
|
|
1703
1759
|
"""
|
|
1704
1760
|
return pulumi.get(self, "pods")
|
|
1705
1761
|
|
|
1706
|
-
@property
|
|
1762
|
+
@_builtins.property
|
|
1707
1763
|
@pulumi.getter
|
|
1708
1764
|
def resource(self) -> Optional['outputs.ResourceMetricSource']:
|
|
1709
1765
|
"""
|
|
@@ -1740,15 +1796,15 @@ class MetricSpecPatch(dict):
|
|
|
1740
1796
|
object: Optional['outputs.ObjectMetricSourcePatch'] = None,
|
|
1741
1797
|
pods: Optional['outputs.PodsMetricSourcePatch'] = None,
|
|
1742
1798
|
resource: Optional['outputs.ResourceMetricSourcePatch'] = None,
|
|
1743
|
-
type: Optional[str] = None):
|
|
1799
|
+
type: Optional[_builtins.str] = None):
|
|
1744
1800
|
"""
|
|
1745
1801
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1746
|
-
:param 'ContainerResourceMetricSourcePatchArgs' container_resource: containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1802
|
+
:param 'ContainerResourceMetricSourcePatchArgs' container_resource: containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1747
1803
|
:param 'ExternalMetricSourcePatchArgs' external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
1748
1804
|
:param 'ObjectMetricSourcePatchArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1749
1805
|
:param 'PodsMetricSourcePatchArgs' pods: pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
1750
1806
|
:param 'ResourceMetricSourcePatchArgs' resource: resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1751
|
-
:param str type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1807
|
+
:param _builtins.str type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1752
1808
|
"""
|
|
1753
1809
|
if container_resource is not None:
|
|
1754
1810
|
pulumi.set(__self__, "container_resource", container_resource)
|
|
@@ -1763,15 +1819,15 @@ class MetricSpecPatch(dict):
|
|
|
1763
1819
|
if type is not None:
|
|
1764
1820
|
pulumi.set(__self__, "type", type)
|
|
1765
1821
|
|
|
1766
|
-
@property
|
|
1822
|
+
@_builtins.property
|
|
1767
1823
|
@pulumi.getter(name="containerResource")
|
|
1768
1824
|
def container_resource(self) -> Optional['outputs.ContainerResourceMetricSourcePatch']:
|
|
1769
1825
|
"""
|
|
1770
|
-
containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1826
|
+
containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1771
1827
|
"""
|
|
1772
1828
|
return pulumi.get(self, "container_resource")
|
|
1773
1829
|
|
|
1774
|
-
@property
|
|
1830
|
+
@_builtins.property
|
|
1775
1831
|
@pulumi.getter
|
|
1776
1832
|
def external(self) -> Optional['outputs.ExternalMetricSourcePatch']:
|
|
1777
1833
|
"""
|
|
@@ -1779,7 +1835,7 @@ class MetricSpecPatch(dict):
|
|
|
1779
1835
|
"""
|
|
1780
1836
|
return pulumi.get(self, "external")
|
|
1781
1837
|
|
|
1782
|
-
@property
|
|
1838
|
+
@_builtins.property
|
|
1783
1839
|
@pulumi.getter
|
|
1784
1840
|
def object(self) -> Optional['outputs.ObjectMetricSourcePatch']:
|
|
1785
1841
|
"""
|
|
@@ -1787,7 +1843,7 @@ class MetricSpecPatch(dict):
|
|
|
1787
1843
|
"""
|
|
1788
1844
|
return pulumi.get(self, "object")
|
|
1789
1845
|
|
|
1790
|
-
@property
|
|
1846
|
+
@_builtins.property
|
|
1791
1847
|
@pulumi.getter
|
|
1792
1848
|
def pods(self) -> Optional['outputs.PodsMetricSourcePatch']:
|
|
1793
1849
|
"""
|
|
@@ -1795,7 +1851,7 @@ class MetricSpecPatch(dict):
|
|
|
1795
1851
|
"""
|
|
1796
1852
|
return pulumi.get(self, "pods")
|
|
1797
1853
|
|
|
1798
|
-
@property
|
|
1854
|
+
@_builtins.property
|
|
1799
1855
|
@pulumi.getter
|
|
1800
1856
|
def resource(self) -> Optional['outputs.ResourceMetricSourcePatch']:
|
|
1801
1857
|
"""
|
|
@@ -1803,11 +1859,11 @@ class MetricSpecPatch(dict):
|
|
|
1803
1859
|
"""
|
|
1804
1860
|
return pulumi.get(self, "resource")
|
|
1805
1861
|
|
|
1806
|
-
@property
|
|
1862
|
+
@_builtins.property
|
|
1807
1863
|
@pulumi.getter
|
|
1808
|
-
def type(self) -> Optional[str]:
|
|
1864
|
+
def type(self) -> Optional[_builtins.str]:
|
|
1809
1865
|
"""
|
|
1810
|
-
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1866
|
+
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1811
1867
|
"""
|
|
1812
1868
|
return pulumi.get(self, "type")
|
|
1813
1869
|
|
|
@@ -1835,7 +1891,7 @@ class MetricStatus(dict):
|
|
|
1835
1891
|
return super().get(key, default)
|
|
1836
1892
|
|
|
1837
1893
|
def __init__(__self__, *,
|
|
1838
|
-
type: str,
|
|
1894
|
+
type: _builtins.str,
|
|
1839
1895
|
container_resource: Optional['outputs.ContainerResourceMetricStatus'] = None,
|
|
1840
1896
|
external: Optional['outputs.ExternalMetricStatus'] = None,
|
|
1841
1897
|
object: Optional['outputs.ObjectMetricStatus'] = None,
|
|
@@ -1843,7 +1899,7 @@ class MetricStatus(dict):
|
|
|
1843
1899
|
resource: Optional['outputs.ResourceMetricStatus'] = None):
|
|
1844
1900
|
"""
|
|
1845
1901
|
MetricStatus describes the last-read state of a single metric.
|
|
1846
|
-
:param str type: type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
1902
|
+
:param _builtins.str type: type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
1847
1903
|
:param 'ContainerResourceMetricStatusArgs' container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1848
1904
|
:param 'ExternalMetricStatusArgs' external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
1849
1905
|
:param 'ObjectMetricStatusArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -1862,15 +1918,15 @@ class MetricStatus(dict):
|
|
|
1862
1918
|
if resource is not None:
|
|
1863
1919
|
pulumi.set(__self__, "resource", resource)
|
|
1864
1920
|
|
|
1865
|
-
@property
|
|
1921
|
+
@_builtins.property
|
|
1866
1922
|
@pulumi.getter
|
|
1867
|
-
def type(self) -> str:
|
|
1923
|
+
def type(self) -> _builtins.str:
|
|
1868
1924
|
"""
|
|
1869
|
-
type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
1925
|
+
type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
1870
1926
|
"""
|
|
1871
1927
|
return pulumi.get(self, "type")
|
|
1872
1928
|
|
|
1873
|
-
@property
|
|
1929
|
+
@_builtins.property
|
|
1874
1930
|
@pulumi.getter(name="containerResource")
|
|
1875
1931
|
def container_resource(self) -> Optional['outputs.ContainerResourceMetricStatus']:
|
|
1876
1932
|
"""
|
|
@@ -1878,7 +1934,7 @@ class MetricStatus(dict):
|
|
|
1878
1934
|
"""
|
|
1879
1935
|
return pulumi.get(self, "container_resource")
|
|
1880
1936
|
|
|
1881
|
-
@property
|
|
1937
|
+
@_builtins.property
|
|
1882
1938
|
@pulumi.getter
|
|
1883
1939
|
def external(self) -> Optional['outputs.ExternalMetricStatus']:
|
|
1884
1940
|
"""
|
|
@@ -1886,7 +1942,7 @@ class MetricStatus(dict):
|
|
|
1886
1942
|
"""
|
|
1887
1943
|
return pulumi.get(self, "external")
|
|
1888
1944
|
|
|
1889
|
-
@property
|
|
1945
|
+
@_builtins.property
|
|
1890
1946
|
@pulumi.getter
|
|
1891
1947
|
def object(self) -> Optional['outputs.ObjectMetricStatus']:
|
|
1892
1948
|
"""
|
|
@@ -1894,7 +1950,7 @@ class MetricStatus(dict):
|
|
|
1894
1950
|
"""
|
|
1895
1951
|
return pulumi.get(self, "object")
|
|
1896
1952
|
|
|
1897
|
-
@property
|
|
1953
|
+
@_builtins.property
|
|
1898
1954
|
@pulumi.getter
|
|
1899
1955
|
def pods(self) -> Optional['outputs.PodsMetricStatus']:
|
|
1900
1956
|
"""
|
|
@@ -1902,7 +1958,7 @@ class MetricStatus(dict):
|
|
|
1902
1958
|
"""
|
|
1903
1959
|
return pulumi.get(self, "pods")
|
|
1904
1960
|
|
|
1905
|
-
@property
|
|
1961
|
+
@_builtins.property
|
|
1906
1962
|
@pulumi.getter
|
|
1907
1963
|
def resource(self) -> Optional['outputs.ResourceMetricStatus']:
|
|
1908
1964
|
"""
|
|
@@ -1939,7 +1995,7 @@ class MetricStatusPatch(dict):
|
|
|
1939
1995
|
object: Optional['outputs.ObjectMetricStatusPatch'] = None,
|
|
1940
1996
|
pods: Optional['outputs.PodsMetricStatusPatch'] = None,
|
|
1941
1997
|
resource: Optional['outputs.ResourceMetricStatusPatch'] = None,
|
|
1942
|
-
type: Optional[str] = None):
|
|
1998
|
+
type: Optional[_builtins.str] = None):
|
|
1943
1999
|
"""
|
|
1944
2000
|
MetricStatus describes the last-read state of a single metric.
|
|
1945
2001
|
:param 'ContainerResourceMetricStatusPatchArgs' container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
@@ -1947,7 +2003,7 @@ class MetricStatusPatch(dict):
|
|
|
1947
2003
|
:param 'ObjectMetricStatusPatchArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1948
2004
|
:param 'PodsMetricStatusPatchArgs' pods: pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
1949
2005
|
:param 'ResourceMetricStatusPatchArgs' resource: resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1950
|
-
:param str type: type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2006
|
+
:param _builtins.str type: type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
1951
2007
|
"""
|
|
1952
2008
|
if container_resource is not None:
|
|
1953
2009
|
pulumi.set(__self__, "container_resource", container_resource)
|
|
@@ -1962,7 +2018,7 @@ class MetricStatusPatch(dict):
|
|
|
1962
2018
|
if type is not None:
|
|
1963
2019
|
pulumi.set(__self__, "type", type)
|
|
1964
2020
|
|
|
1965
|
-
@property
|
|
2021
|
+
@_builtins.property
|
|
1966
2022
|
@pulumi.getter(name="containerResource")
|
|
1967
2023
|
def container_resource(self) -> Optional['outputs.ContainerResourceMetricStatusPatch']:
|
|
1968
2024
|
"""
|
|
@@ -1970,7 +2026,7 @@ class MetricStatusPatch(dict):
|
|
|
1970
2026
|
"""
|
|
1971
2027
|
return pulumi.get(self, "container_resource")
|
|
1972
2028
|
|
|
1973
|
-
@property
|
|
2029
|
+
@_builtins.property
|
|
1974
2030
|
@pulumi.getter
|
|
1975
2031
|
def external(self) -> Optional['outputs.ExternalMetricStatusPatch']:
|
|
1976
2032
|
"""
|
|
@@ -1978,7 +2034,7 @@ class MetricStatusPatch(dict):
|
|
|
1978
2034
|
"""
|
|
1979
2035
|
return pulumi.get(self, "external")
|
|
1980
2036
|
|
|
1981
|
-
@property
|
|
2037
|
+
@_builtins.property
|
|
1982
2038
|
@pulumi.getter
|
|
1983
2039
|
def object(self) -> Optional['outputs.ObjectMetricStatusPatch']:
|
|
1984
2040
|
"""
|
|
@@ -1986,7 +2042,7 @@ class MetricStatusPatch(dict):
|
|
|
1986
2042
|
"""
|
|
1987
2043
|
return pulumi.get(self, "object")
|
|
1988
2044
|
|
|
1989
|
-
@property
|
|
2045
|
+
@_builtins.property
|
|
1990
2046
|
@pulumi.getter
|
|
1991
2047
|
def pods(self) -> Optional['outputs.PodsMetricStatusPatch']:
|
|
1992
2048
|
"""
|
|
@@ -1994,7 +2050,7 @@ class MetricStatusPatch(dict):
|
|
|
1994
2050
|
"""
|
|
1995
2051
|
return pulumi.get(self, "pods")
|
|
1996
2052
|
|
|
1997
|
-
@property
|
|
2053
|
+
@_builtins.property
|
|
1998
2054
|
@pulumi.getter
|
|
1999
2055
|
def resource(self) -> Optional['outputs.ResourceMetricStatusPatch']:
|
|
2000
2056
|
"""
|
|
@@ -2002,11 +2058,11 @@ class MetricStatusPatch(dict):
|
|
|
2002
2058
|
"""
|
|
2003
2059
|
return pulumi.get(self, "resource")
|
|
2004
2060
|
|
|
2005
|
-
@property
|
|
2061
|
+
@_builtins.property
|
|
2006
2062
|
@pulumi.getter
|
|
2007
|
-
def type(self) -> Optional[str]:
|
|
2063
|
+
def type(self) -> Optional[_builtins.str]:
|
|
2008
2064
|
"""
|
|
2009
|
-
type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2065
|
+
type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2010
2066
|
"""
|
|
2011
2067
|
return pulumi.get(self, "type")
|
|
2012
2068
|
|
|
@@ -2036,16 +2092,16 @@ class MetricTarget(dict):
|
|
|
2036
2092
|
return super().get(key, default)
|
|
2037
2093
|
|
|
2038
2094
|
def __init__(__self__, *,
|
|
2039
|
-
type: str,
|
|
2040
|
-
average_utilization: Optional[int] = None,
|
|
2041
|
-
average_value: Optional[str] = None,
|
|
2042
|
-
value: Optional[str] = None):
|
|
2095
|
+
type: _builtins.str,
|
|
2096
|
+
average_utilization: Optional[_builtins.int] = None,
|
|
2097
|
+
average_value: Optional[_builtins.str] = None,
|
|
2098
|
+
value: Optional[_builtins.str] = None):
|
|
2043
2099
|
"""
|
|
2044
2100
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2045
|
-
:param str type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2046
|
-
:param int average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2047
|
-
:param str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2048
|
-
:param str value: value is the target value of the metric (as a quantity).
|
|
2101
|
+
:param _builtins.str type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2102
|
+
:param _builtins.int average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2103
|
+
:param _builtins.str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2104
|
+
:param _builtins.str value: value is the target value of the metric (as a quantity).
|
|
2049
2105
|
"""
|
|
2050
2106
|
pulumi.set(__self__, "type", type)
|
|
2051
2107
|
if average_utilization is not None:
|
|
@@ -2055,33 +2111,33 @@ class MetricTarget(dict):
|
|
|
2055
2111
|
if value is not None:
|
|
2056
2112
|
pulumi.set(__self__, "value", value)
|
|
2057
2113
|
|
|
2058
|
-
@property
|
|
2114
|
+
@_builtins.property
|
|
2059
2115
|
@pulumi.getter
|
|
2060
|
-
def type(self) -> str:
|
|
2116
|
+
def type(self) -> _builtins.str:
|
|
2061
2117
|
"""
|
|
2062
2118
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2063
2119
|
"""
|
|
2064
2120
|
return pulumi.get(self, "type")
|
|
2065
2121
|
|
|
2066
|
-
@property
|
|
2122
|
+
@_builtins.property
|
|
2067
2123
|
@pulumi.getter(name="averageUtilization")
|
|
2068
|
-
def average_utilization(self) -> Optional[int]:
|
|
2124
|
+
def average_utilization(self) -> Optional[_builtins.int]:
|
|
2069
2125
|
"""
|
|
2070
2126
|
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2071
2127
|
"""
|
|
2072
2128
|
return pulumi.get(self, "average_utilization")
|
|
2073
2129
|
|
|
2074
|
-
@property
|
|
2130
|
+
@_builtins.property
|
|
2075
2131
|
@pulumi.getter(name="averageValue")
|
|
2076
|
-
def average_value(self) -> Optional[str]:
|
|
2132
|
+
def average_value(self) -> Optional[_builtins.str]:
|
|
2077
2133
|
"""
|
|
2078
2134
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2079
2135
|
"""
|
|
2080
2136
|
return pulumi.get(self, "average_value")
|
|
2081
2137
|
|
|
2082
|
-
@property
|
|
2138
|
+
@_builtins.property
|
|
2083
2139
|
@pulumi.getter
|
|
2084
|
-
def value(self) -> Optional[str]:
|
|
2140
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2085
2141
|
"""
|
|
2086
2142
|
value is the target value of the metric (as a quantity).
|
|
2087
2143
|
"""
|
|
@@ -2113,16 +2169,16 @@ class MetricTargetPatch(dict):
|
|
|
2113
2169
|
return super().get(key, default)
|
|
2114
2170
|
|
|
2115
2171
|
def __init__(__self__, *,
|
|
2116
|
-
average_utilization: Optional[int] = None,
|
|
2117
|
-
average_value: Optional[str] = None,
|
|
2118
|
-
type: Optional[str] = None,
|
|
2119
|
-
value: Optional[str] = None):
|
|
2172
|
+
average_utilization: Optional[_builtins.int] = None,
|
|
2173
|
+
average_value: Optional[_builtins.str] = None,
|
|
2174
|
+
type: Optional[_builtins.str] = None,
|
|
2175
|
+
value: Optional[_builtins.str] = None):
|
|
2120
2176
|
"""
|
|
2121
2177
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2122
|
-
:param int average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2123
|
-
:param str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2124
|
-
:param str type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2125
|
-
:param str value: value is the target value of the metric (as a quantity).
|
|
2178
|
+
:param _builtins.int average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2179
|
+
:param _builtins.str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2180
|
+
:param _builtins.str type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2181
|
+
:param _builtins.str value: value is the target value of the metric (as a quantity).
|
|
2126
2182
|
"""
|
|
2127
2183
|
if average_utilization is not None:
|
|
2128
2184
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2133,33 +2189,33 @@ class MetricTargetPatch(dict):
|
|
|
2133
2189
|
if value is not None:
|
|
2134
2190
|
pulumi.set(__self__, "value", value)
|
|
2135
2191
|
|
|
2136
|
-
@property
|
|
2192
|
+
@_builtins.property
|
|
2137
2193
|
@pulumi.getter(name="averageUtilization")
|
|
2138
|
-
def average_utilization(self) -> Optional[int]:
|
|
2194
|
+
def average_utilization(self) -> Optional[_builtins.int]:
|
|
2139
2195
|
"""
|
|
2140
2196
|
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2141
2197
|
"""
|
|
2142
2198
|
return pulumi.get(self, "average_utilization")
|
|
2143
2199
|
|
|
2144
|
-
@property
|
|
2200
|
+
@_builtins.property
|
|
2145
2201
|
@pulumi.getter(name="averageValue")
|
|
2146
|
-
def average_value(self) -> Optional[str]:
|
|
2202
|
+
def average_value(self) -> Optional[_builtins.str]:
|
|
2147
2203
|
"""
|
|
2148
2204
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2149
2205
|
"""
|
|
2150
2206
|
return pulumi.get(self, "average_value")
|
|
2151
2207
|
|
|
2152
|
-
@property
|
|
2208
|
+
@_builtins.property
|
|
2153
2209
|
@pulumi.getter
|
|
2154
|
-
def type(self) -> Optional[str]:
|
|
2210
|
+
def type(self) -> Optional[_builtins.str]:
|
|
2155
2211
|
"""
|
|
2156
2212
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2157
2213
|
"""
|
|
2158
2214
|
return pulumi.get(self, "type")
|
|
2159
2215
|
|
|
2160
|
-
@property
|
|
2216
|
+
@_builtins.property
|
|
2161
2217
|
@pulumi.getter
|
|
2162
|
-
def value(self) -> Optional[str]:
|
|
2218
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2163
2219
|
"""
|
|
2164
2220
|
value is the target value of the metric (as a quantity).
|
|
2165
2221
|
"""
|
|
@@ -2191,14 +2247,14 @@ class MetricValueStatus(dict):
|
|
|
2191
2247
|
return super().get(key, default)
|
|
2192
2248
|
|
|
2193
2249
|
def __init__(__self__, *,
|
|
2194
|
-
average_utilization: Optional[int] = None,
|
|
2195
|
-
average_value: Optional[str] = None,
|
|
2196
|
-
value: Optional[str] = None):
|
|
2250
|
+
average_utilization: Optional[_builtins.int] = None,
|
|
2251
|
+
average_value: Optional[_builtins.str] = None,
|
|
2252
|
+
value: Optional[_builtins.str] = None):
|
|
2197
2253
|
"""
|
|
2198
2254
|
MetricValueStatus holds the current value for a metric
|
|
2199
|
-
:param int average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2200
|
-
:param str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2201
|
-
:param str value: value is the current value of the metric (as a quantity).
|
|
2255
|
+
:param _builtins.int average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2256
|
+
:param _builtins.str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2257
|
+
:param _builtins.str value: value is the current value of the metric (as a quantity).
|
|
2202
2258
|
"""
|
|
2203
2259
|
if average_utilization is not None:
|
|
2204
2260
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2207,25 +2263,25 @@ class MetricValueStatus(dict):
|
|
|
2207
2263
|
if value is not None:
|
|
2208
2264
|
pulumi.set(__self__, "value", value)
|
|
2209
2265
|
|
|
2210
|
-
@property
|
|
2266
|
+
@_builtins.property
|
|
2211
2267
|
@pulumi.getter(name="averageUtilization")
|
|
2212
|
-
def average_utilization(self) -> Optional[int]:
|
|
2268
|
+
def average_utilization(self) -> Optional[_builtins.int]:
|
|
2213
2269
|
"""
|
|
2214
2270
|
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2215
2271
|
"""
|
|
2216
2272
|
return pulumi.get(self, "average_utilization")
|
|
2217
2273
|
|
|
2218
|
-
@property
|
|
2274
|
+
@_builtins.property
|
|
2219
2275
|
@pulumi.getter(name="averageValue")
|
|
2220
|
-
def average_value(self) -> Optional[str]:
|
|
2276
|
+
def average_value(self) -> Optional[_builtins.str]:
|
|
2221
2277
|
"""
|
|
2222
2278
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2223
2279
|
"""
|
|
2224
2280
|
return pulumi.get(self, "average_value")
|
|
2225
2281
|
|
|
2226
|
-
@property
|
|
2282
|
+
@_builtins.property
|
|
2227
2283
|
@pulumi.getter
|
|
2228
|
-
def value(self) -> Optional[str]:
|
|
2284
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2229
2285
|
"""
|
|
2230
2286
|
value is the current value of the metric (as a quantity).
|
|
2231
2287
|
"""
|
|
@@ -2257,14 +2313,14 @@ class MetricValueStatusPatch(dict):
|
|
|
2257
2313
|
return super().get(key, default)
|
|
2258
2314
|
|
|
2259
2315
|
def __init__(__self__, *,
|
|
2260
|
-
average_utilization: Optional[int] = None,
|
|
2261
|
-
average_value: Optional[str] = None,
|
|
2262
|
-
value: Optional[str] = None):
|
|
2316
|
+
average_utilization: Optional[_builtins.int] = None,
|
|
2317
|
+
average_value: Optional[_builtins.str] = None,
|
|
2318
|
+
value: Optional[_builtins.str] = None):
|
|
2263
2319
|
"""
|
|
2264
2320
|
MetricValueStatus holds the current value for a metric
|
|
2265
|
-
:param int average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2266
|
-
:param str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2267
|
-
:param str value: value is the current value of the metric (as a quantity).
|
|
2321
|
+
:param _builtins.int average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2322
|
+
:param _builtins.str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2323
|
+
:param _builtins.str value: value is the current value of the metric (as a quantity).
|
|
2268
2324
|
"""
|
|
2269
2325
|
if average_utilization is not None:
|
|
2270
2326
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2273,25 +2329,25 @@ class MetricValueStatusPatch(dict):
|
|
|
2273
2329
|
if value is not None:
|
|
2274
2330
|
pulumi.set(__self__, "value", value)
|
|
2275
2331
|
|
|
2276
|
-
@property
|
|
2332
|
+
@_builtins.property
|
|
2277
2333
|
@pulumi.getter(name="averageUtilization")
|
|
2278
|
-
def average_utilization(self) -> Optional[int]:
|
|
2334
|
+
def average_utilization(self) -> Optional[_builtins.int]:
|
|
2279
2335
|
"""
|
|
2280
2336
|
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2281
2337
|
"""
|
|
2282
2338
|
return pulumi.get(self, "average_utilization")
|
|
2283
2339
|
|
|
2284
|
-
@property
|
|
2340
|
+
@_builtins.property
|
|
2285
2341
|
@pulumi.getter(name="averageValue")
|
|
2286
|
-
def average_value(self) -> Optional[str]:
|
|
2342
|
+
def average_value(self) -> Optional[_builtins.str]:
|
|
2287
2343
|
"""
|
|
2288
2344
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2289
2345
|
"""
|
|
2290
2346
|
return pulumi.get(self, "average_value")
|
|
2291
2347
|
|
|
2292
|
-
@property
|
|
2348
|
+
@_builtins.property
|
|
2293
2349
|
@pulumi.getter
|
|
2294
|
-
def value(self) -> Optional[str]:
|
|
2350
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2295
2351
|
"""
|
|
2296
2352
|
value is the current value of the metric (as a quantity).
|
|
2297
2353
|
"""
|
|
@@ -2334,7 +2390,7 @@ class ObjectMetricSource(dict):
|
|
|
2334
2390
|
pulumi.set(__self__, "metric", metric)
|
|
2335
2391
|
pulumi.set(__self__, "target", target)
|
|
2336
2392
|
|
|
2337
|
-
@property
|
|
2393
|
+
@_builtins.property
|
|
2338
2394
|
@pulumi.getter(name="describedObject")
|
|
2339
2395
|
def described_object(self) -> 'outputs.CrossVersionObjectReference':
|
|
2340
2396
|
"""
|
|
@@ -2342,7 +2398,7 @@ class ObjectMetricSource(dict):
|
|
|
2342
2398
|
"""
|
|
2343
2399
|
return pulumi.get(self, "described_object")
|
|
2344
2400
|
|
|
2345
|
-
@property
|
|
2401
|
+
@_builtins.property
|
|
2346
2402
|
@pulumi.getter
|
|
2347
2403
|
def metric(self) -> 'outputs.MetricIdentifier':
|
|
2348
2404
|
"""
|
|
@@ -2350,7 +2406,7 @@ class ObjectMetricSource(dict):
|
|
|
2350
2406
|
"""
|
|
2351
2407
|
return pulumi.get(self, "metric")
|
|
2352
2408
|
|
|
2353
|
-
@property
|
|
2409
|
+
@_builtins.property
|
|
2354
2410
|
@pulumi.getter
|
|
2355
2411
|
def target(self) -> 'outputs.MetricTarget':
|
|
2356
2412
|
"""
|
|
@@ -2398,7 +2454,7 @@ class ObjectMetricSourcePatch(dict):
|
|
|
2398
2454
|
if target is not None:
|
|
2399
2455
|
pulumi.set(__self__, "target", target)
|
|
2400
2456
|
|
|
2401
|
-
@property
|
|
2457
|
+
@_builtins.property
|
|
2402
2458
|
@pulumi.getter(name="describedObject")
|
|
2403
2459
|
def described_object(self) -> Optional['outputs.CrossVersionObjectReferencePatch']:
|
|
2404
2460
|
"""
|
|
@@ -2406,7 +2462,7 @@ class ObjectMetricSourcePatch(dict):
|
|
|
2406
2462
|
"""
|
|
2407
2463
|
return pulumi.get(self, "described_object")
|
|
2408
2464
|
|
|
2409
|
-
@property
|
|
2465
|
+
@_builtins.property
|
|
2410
2466
|
@pulumi.getter
|
|
2411
2467
|
def metric(self) -> Optional['outputs.MetricIdentifierPatch']:
|
|
2412
2468
|
"""
|
|
@@ -2414,7 +2470,7 @@ class ObjectMetricSourcePatch(dict):
|
|
|
2414
2470
|
"""
|
|
2415
2471
|
return pulumi.get(self, "metric")
|
|
2416
2472
|
|
|
2417
|
-
@property
|
|
2473
|
+
@_builtins.property
|
|
2418
2474
|
@pulumi.getter
|
|
2419
2475
|
def target(self) -> Optional['outputs.MetricTargetPatch']:
|
|
2420
2476
|
"""
|
|
@@ -2459,7 +2515,7 @@ class ObjectMetricStatus(dict):
|
|
|
2459
2515
|
pulumi.set(__self__, "described_object", described_object)
|
|
2460
2516
|
pulumi.set(__self__, "metric", metric)
|
|
2461
2517
|
|
|
2462
|
-
@property
|
|
2518
|
+
@_builtins.property
|
|
2463
2519
|
@pulumi.getter
|
|
2464
2520
|
def current(self) -> 'outputs.MetricValueStatus':
|
|
2465
2521
|
"""
|
|
@@ -2467,7 +2523,7 @@ class ObjectMetricStatus(dict):
|
|
|
2467
2523
|
"""
|
|
2468
2524
|
return pulumi.get(self, "current")
|
|
2469
2525
|
|
|
2470
|
-
@property
|
|
2526
|
+
@_builtins.property
|
|
2471
2527
|
@pulumi.getter(name="describedObject")
|
|
2472
2528
|
def described_object(self) -> 'outputs.CrossVersionObjectReference':
|
|
2473
2529
|
"""
|
|
@@ -2475,7 +2531,7 @@ class ObjectMetricStatus(dict):
|
|
|
2475
2531
|
"""
|
|
2476
2532
|
return pulumi.get(self, "described_object")
|
|
2477
2533
|
|
|
2478
|
-
@property
|
|
2534
|
+
@_builtins.property
|
|
2479
2535
|
@pulumi.getter
|
|
2480
2536
|
def metric(self) -> 'outputs.MetricIdentifier':
|
|
2481
2537
|
"""
|
|
@@ -2523,7 +2579,7 @@ class ObjectMetricStatusPatch(dict):
|
|
|
2523
2579
|
if metric is not None:
|
|
2524
2580
|
pulumi.set(__self__, "metric", metric)
|
|
2525
2581
|
|
|
2526
|
-
@property
|
|
2582
|
+
@_builtins.property
|
|
2527
2583
|
@pulumi.getter
|
|
2528
2584
|
def current(self) -> Optional['outputs.MetricValueStatusPatch']:
|
|
2529
2585
|
"""
|
|
@@ -2531,7 +2587,7 @@ class ObjectMetricStatusPatch(dict):
|
|
|
2531
2587
|
"""
|
|
2532
2588
|
return pulumi.get(self, "current")
|
|
2533
2589
|
|
|
2534
|
-
@property
|
|
2590
|
+
@_builtins.property
|
|
2535
2591
|
@pulumi.getter(name="describedObject")
|
|
2536
2592
|
def described_object(self) -> Optional['outputs.CrossVersionObjectReferencePatch']:
|
|
2537
2593
|
"""
|
|
@@ -2539,7 +2595,7 @@ class ObjectMetricStatusPatch(dict):
|
|
|
2539
2595
|
"""
|
|
2540
2596
|
return pulumi.get(self, "described_object")
|
|
2541
2597
|
|
|
2542
|
-
@property
|
|
2598
|
+
@_builtins.property
|
|
2543
2599
|
@pulumi.getter
|
|
2544
2600
|
def metric(self) -> Optional['outputs.MetricIdentifierPatch']:
|
|
2545
2601
|
"""
|
|
@@ -2564,7 +2620,7 @@ class PodsMetricSource(dict):
|
|
|
2564
2620
|
pulumi.set(__self__, "metric", metric)
|
|
2565
2621
|
pulumi.set(__self__, "target", target)
|
|
2566
2622
|
|
|
2567
|
-
@property
|
|
2623
|
+
@_builtins.property
|
|
2568
2624
|
@pulumi.getter
|
|
2569
2625
|
def metric(self) -> 'outputs.MetricIdentifier':
|
|
2570
2626
|
"""
|
|
@@ -2572,7 +2628,7 @@ class PodsMetricSource(dict):
|
|
|
2572
2628
|
"""
|
|
2573
2629
|
return pulumi.get(self, "metric")
|
|
2574
2630
|
|
|
2575
|
-
@property
|
|
2631
|
+
@_builtins.property
|
|
2576
2632
|
@pulumi.getter
|
|
2577
2633
|
def target(self) -> 'outputs.MetricTarget':
|
|
2578
2634
|
"""
|
|
@@ -2599,7 +2655,7 @@ class PodsMetricSourcePatch(dict):
|
|
|
2599
2655
|
if target is not None:
|
|
2600
2656
|
pulumi.set(__self__, "target", target)
|
|
2601
2657
|
|
|
2602
|
-
@property
|
|
2658
|
+
@_builtins.property
|
|
2603
2659
|
@pulumi.getter
|
|
2604
2660
|
def metric(self) -> Optional['outputs.MetricIdentifierPatch']:
|
|
2605
2661
|
"""
|
|
@@ -2607,7 +2663,7 @@ class PodsMetricSourcePatch(dict):
|
|
|
2607
2663
|
"""
|
|
2608
2664
|
return pulumi.get(self, "metric")
|
|
2609
2665
|
|
|
2610
|
-
@property
|
|
2666
|
+
@_builtins.property
|
|
2611
2667
|
@pulumi.getter
|
|
2612
2668
|
def target(self) -> Optional['outputs.MetricTargetPatch']:
|
|
2613
2669
|
"""
|
|
@@ -2632,7 +2688,7 @@ class PodsMetricStatus(dict):
|
|
|
2632
2688
|
pulumi.set(__self__, "current", current)
|
|
2633
2689
|
pulumi.set(__self__, "metric", metric)
|
|
2634
2690
|
|
|
2635
|
-
@property
|
|
2691
|
+
@_builtins.property
|
|
2636
2692
|
@pulumi.getter
|
|
2637
2693
|
def current(self) -> 'outputs.MetricValueStatus':
|
|
2638
2694
|
"""
|
|
@@ -2640,7 +2696,7 @@ class PodsMetricStatus(dict):
|
|
|
2640
2696
|
"""
|
|
2641
2697
|
return pulumi.get(self, "current")
|
|
2642
2698
|
|
|
2643
|
-
@property
|
|
2699
|
+
@_builtins.property
|
|
2644
2700
|
@pulumi.getter
|
|
2645
2701
|
def metric(self) -> 'outputs.MetricIdentifier':
|
|
2646
2702
|
"""
|
|
@@ -2667,7 +2723,7 @@ class PodsMetricStatusPatch(dict):
|
|
|
2667
2723
|
if metric is not None:
|
|
2668
2724
|
pulumi.set(__self__, "metric", metric)
|
|
2669
2725
|
|
|
2670
|
-
@property
|
|
2726
|
+
@_builtins.property
|
|
2671
2727
|
@pulumi.getter
|
|
2672
2728
|
def current(self) -> Optional['outputs.MetricValueStatusPatch']:
|
|
2673
2729
|
"""
|
|
@@ -2675,7 +2731,7 @@ class PodsMetricStatusPatch(dict):
|
|
|
2675
2731
|
"""
|
|
2676
2732
|
return pulumi.get(self, "current")
|
|
2677
2733
|
|
|
2678
|
-
@property
|
|
2734
|
+
@_builtins.property
|
|
2679
2735
|
@pulumi.getter
|
|
2680
2736
|
def metric(self) -> Optional['outputs.MetricIdentifierPatch']:
|
|
2681
2737
|
"""
|
|
@@ -2690,25 +2746,25 @@ class ResourceMetricSource(dict):
|
|
|
2690
2746
|
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
2691
2747
|
"""
|
|
2692
2748
|
def __init__(__self__, *,
|
|
2693
|
-
name: str,
|
|
2749
|
+
name: _builtins.str,
|
|
2694
2750
|
target: 'outputs.MetricTarget'):
|
|
2695
2751
|
"""
|
|
2696
2752
|
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
2697
|
-
:param str name: name is the name of the resource in question.
|
|
2753
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
2698
2754
|
:param 'MetricTargetArgs' target: target specifies the target value for the given metric
|
|
2699
2755
|
"""
|
|
2700
2756
|
pulumi.set(__self__, "name", name)
|
|
2701
2757
|
pulumi.set(__self__, "target", target)
|
|
2702
2758
|
|
|
2703
|
-
@property
|
|
2759
|
+
@_builtins.property
|
|
2704
2760
|
@pulumi.getter
|
|
2705
|
-
def name(self) -> str:
|
|
2761
|
+
def name(self) -> _builtins.str:
|
|
2706
2762
|
"""
|
|
2707
2763
|
name is the name of the resource in question.
|
|
2708
2764
|
"""
|
|
2709
2765
|
return pulumi.get(self, "name")
|
|
2710
2766
|
|
|
2711
|
-
@property
|
|
2767
|
+
@_builtins.property
|
|
2712
2768
|
@pulumi.getter
|
|
2713
2769
|
def target(self) -> 'outputs.MetricTarget':
|
|
2714
2770
|
"""
|
|
@@ -2723,11 +2779,11 @@ class ResourceMetricSourcePatch(dict):
|
|
|
2723
2779
|
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
2724
2780
|
"""
|
|
2725
2781
|
def __init__(__self__, *,
|
|
2726
|
-
name: Optional[str] = None,
|
|
2782
|
+
name: Optional[_builtins.str] = None,
|
|
2727
2783
|
target: Optional['outputs.MetricTargetPatch'] = None):
|
|
2728
2784
|
"""
|
|
2729
2785
|
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
2730
|
-
:param str name: name is the name of the resource in question.
|
|
2786
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
2731
2787
|
:param 'MetricTargetPatchArgs' target: target specifies the target value for the given metric
|
|
2732
2788
|
"""
|
|
2733
2789
|
if name is not None:
|
|
@@ -2735,15 +2791,15 @@ class ResourceMetricSourcePatch(dict):
|
|
|
2735
2791
|
if target is not None:
|
|
2736
2792
|
pulumi.set(__self__, "target", target)
|
|
2737
2793
|
|
|
2738
|
-
@property
|
|
2794
|
+
@_builtins.property
|
|
2739
2795
|
@pulumi.getter
|
|
2740
|
-
def name(self) -> Optional[str]:
|
|
2796
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2741
2797
|
"""
|
|
2742
2798
|
name is the name of the resource in question.
|
|
2743
2799
|
"""
|
|
2744
2800
|
return pulumi.get(self, "name")
|
|
2745
2801
|
|
|
2746
|
-
@property
|
|
2802
|
+
@_builtins.property
|
|
2747
2803
|
@pulumi.getter
|
|
2748
2804
|
def target(self) -> Optional['outputs.MetricTargetPatch']:
|
|
2749
2805
|
"""
|
|
@@ -2759,16 +2815,16 @@ class ResourceMetricStatus(dict):
|
|
|
2759
2815
|
"""
|
|
2760
2816
|
def __init__(__self__, *,
|
|
2761
2817
|
current: 'outputs.MetricValueStatus',
|
|
2762
|
-
name: str):
|
|
2818
|
+
name: _builtins.str):
|
|
2763
2819
|
"""
|
|
2764
2820
|
ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
2765
2821
|
:param 'MetricValueStatusArgs' current: current contains the current value for the given metric
|
|
2766
|
-
:param str name: name is the name of the resource in question.
|
|
2822
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
2767
2823
|
"""
|
|
2768
2824
|
pulumi.set(__self__, "current", current)
|
|
2769
2825
|
pulumi.set(__self__, "name", name)
|
|
2770
2826
|
|
|
2771
|
-
@property
|
|
2827
|
+
@_builtins.property
|
|
2772
2828
|
@pulumi.getter
|
|
2773
2829
|
def current(self) -> 'outputs.MetricValueStatus':
|
|
2774
2830
|
"""
|
|
@@ -2776,9 +2832,9 @@ class ResourceMetricStatus(dict):
|
|
|
2776
2832
|
"""
|
|
2777
2833
|
return pulumi.get(self, "current")
|
|
2778
2834
|
|
|
2779
|
-
@property
|
|
2835
|
+
@_builtins.property
|
|
2780
2836
|
@pulumi.getter
|
|
2781
|
-
def name(self) -> str:
|
|
2837
|
+
def name(self) -> _builtins.str:
|
|
2782
2838
|
"""
|
|
2783
2839
|
name is the name of the resource in question.
|
|
2784
2840
|
"""
|
|
@@ -2792,18 +2848,18 @@ class ResourceMetricStatusPatch(dict):
|
|
|
2792
2848
|
"""
|
|
2793
2849
|
def __init__(__self__, *,
|
|
2794
2850
|
current: Optional['outputs.MetricValueStatusPatch'] = None,
|
|
2795
|
-
name: Optional[str] = None):
|
|
2851
|
+
name: Optional[_builtins.str] = None):
|
|
2796
2852
|
"""
|
|
2797
2853
|
ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
2798
2854
|
:param 'MetricValueStatusPatchArgs' current: current contains the current value for the given metric
|
|
2799
|
-
:param str name: name is the name of the resource in question.
|
|
2855
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
2800
2856
|
"""
|
|
2801
2857
|
if current is not None:
|
|
2802
2858
|
pulumi.set(__self__, "current", current)
|
|
2803
2859
|
if name is not None:
|
|
2804
2860
|
pulumi.set(__self__, "name", name)
|
|
2805
2861
|
|
|
2806
|
-
@property
|
|
2862
|
+
@_builtins.property
|
|
2807
2863
|
@pulumi.getter
|
|
2808
2864
|
def current(self) -> Optional['outputs.MetricValueStatusPatch']:
|
|
2809
2865
|
"""
|
|
@@ -2811,9 +2867,9 @@ class ResourceMetricStatusPatch(dict):
|
|
|
2811
2867
|
"""
|
|
2812
2868
|
return pulumi.get(self, "current")
|
|
2813
2869
|
|
|
2814
|
-
@property
|
|
2870
|
+
@_builtins.property
|
|
2815
2871
|
@pulumi.getter
|
|
2816
|
-
def name(self) -> Optional[str]:
|
|
2872
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2817
2873
|
"""
|
|
2818
2874
|
name is the name of the resource in question.
|
|
2819
2875
|
"""
|