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
|
|
@@ -97,11 +97,11 @@ if not MYPY:
|
|
|
97
97
|
"""
|
|
98
98
|
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.
|
|
99
99
|
"""
|
|
100
|
-
container: NotRequired[pulumi.Input[str]]
|
|
100
|
+
container: NotRequired[pulumi.Input[_builtins.str]]
|
|
101
101
|
"""
|
|
102
102
|
container is the name of the container in the pods of the scaling target
|
|
103
103
|
"""
|
|
104
|
-
name: NotRequired[pulumi.Input[str]]
|
|
104
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
105
105
|
"""
|
|
106
106
|
name is the name of the resource in question.
|
|
107
107
|
"""
|
|
@@ -115,13 +115,13 @@ elif False:
|
|
|
115
115
|
@pulumi.input_type
|
|
116
116
|
class ContainerResourceMetricSourcePatchArgs:
|
|
117
117
|
def __init__(__self__, *,
|
|
118
|
-
container: Optional[pulumi.Input[str]] = None,
|
|
119
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
118
|
+
container: Optional[pulumi.Input[_builtins.str]] = None,
|
|
119
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
120
120
|
target: Optional[pulumi.Input['MetricTargetPatchArgs']] = None):
|
|
121
121
|
"""
|
|
122
122
|
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.
|
|
123
|
-
:param pulumi.Input[str] container: container is the name of the container in the pods of the scaling target
|
|
124
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
123
|
+
:param pulumi.Input[_builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
124
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
125
125
|
:param pulumi.Input['MetricTargetPatchArgs'] target: target specifies the target value for the given metric
|
|
126
126
|
"""
|
|
127
127
|
if container is not None:
|
|
@@ -131,31 +131,31 @@ class ContainerResourceMetricSourcePatchArgs:
|
|
|
131
131
|
if target is not None:
|
|
132
132
|
pulumi.set(__self__, "target", target)
|
|
133
133
|
|
|
134
|
-
@property
|
|
134
|
+
@_builtins.property
|
|
135
135
|
@pulumi.getter
|
|
136
|
-
def container(self) -> Optional[pulumi.Input[str]]:
|
|
136
|
+
def container(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
137
137
|
"""
|
|
138
138
|
container is the name of the container in the pods of the scaling target
|
|
139
139
|
"""
|
|
140
140
|
return pulumi.get(self, "container")
|
|
141
141
|
|
|
142
142
|
@container.setter
|
|
143
|
-
def container(self, value: Optional[pulumi.Input[str]]):
|
|
143
|
+
def container(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
144
144
|
pulumi.set(self, "container", value)
|
|
145
145
|
|
|
146
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
147
147
|
@pulumi.getter
|
|
148
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
148
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
149
149
|
"""
|
|
150
150
|
name is the name of the resource in question.
|
|
151
151
|
"""
|
|
152
152
|
return pulumi.get(self, "name")
|
|
153
153
|
|
|
154
154
|
@name.setter
|
|
155
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
155
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
156
156
|
pulumi.set(self, "name", value)
|
|
157
157
|
|
|
158
|
-
@property
|
|
158
|
+
@_builtins.property
|
|
159
159
|
@pulumi.getter
|
|
160
160
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
161
161
|
"""
|
|
@@ -173,11 +173,11 @@ if not MYPY:
|
|
|
173
173
|
"""
|
|
174
174
|
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.
|
|
175
175
|
"""
|
|
176
|
-
container: pulumi.Input[str]
|
|
176
|
+
container: pulumi.Input[_builtins.str]
|
|
177
177
|
"""
|
|
178
178
|
container is the name of the container in the pods of the scaling target
|
|
179
179
|
"""
|
|
180
|
-
name: pulumi.Input[str]
|
|
180
|
+
name: pulumi.Input[_builtins.str]
|
|
181
181
|
"""
|
|
182
182
|
name is the name of the resource in question.
|
|
183
183
|
"""
|
|
@@ -191,44 +191,44 @@ elif False:
|
|
|
191
191
|
@pulumi.input_type
|
|
192
192
|
class ContainerResourceMetricSourceArgs:
|
|
193
193
|
def __init__(__self__, *,
|
|
194
|
-
container: pulumi.Input[str],
|
|
195
|
-
name: pulumi.Input[str],
|
|
194
|
+
container: pulumi.Input[_builtins.str],
|
|
195
|
+
name: pulumi.Input[_builtins.str],
|
|
196
196
|
target: pulumi.Input['MetricTargetArgs']):
|
|
197
197
|
"""
|
|
198
198
|
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.
|
|
199
|
-
:param pulumi.Input[str] container: container is the name of the container in the pods of the scaling target
|
|
200
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
199
|
+
:param pulumi.Input[_builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
200
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
201
201
|
:param pulumi.Input['MetricTargetArgs'] target: target specifies the target value for the given metric
|
|
202
202
|
"""
|
|
203
203
|
pulumi.set(__self__, "container", container)
|
|
204
204
|
pulumi.set(__self__, "name", name)
|
|
205
205
|
pulumi.set(__self__, "target", target)
|
|
206
206
|
|
|
207
|
-
@property
|
|
207
|
+
@_builtins.property
|
|
208
208
|
@pulumi.getter
|
|
209
|
-
def container(self) -> pulumi.Input[str]:
|
|
209
|
+
def container(self) -> pulumi.Input[_builtins.str]:
|
|
210
210
|
"""
|
|
211
211
|
container is the name of the container in the pods of the scaling target
|
|
212
212
|
"""
|
|
213
213
|
return pulumi.get(self, "container")
|
|
214
214
|
|
|
215
215
|
@container.setter
|
|
216
|
-
def container(self, value: pulumi.Input[str]):
|
|
216
|
+
def container(self, value: pulumi.Input[_builtins.str]):
|
|
217
217
|
pulumi.set(self, "container", value)
|
|
218
218
|
|
|
219
|
-
@property
|
|
219
|
+
@_builtins.property
|
|
220
220
|
@pulumi.getter
|
|
221
|
-
def name(self) -> pulumi.Input[str]:
|
|
221
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
222
222
|
"""
|
|
223
223
|
name is the name of the resource in question.
|
|
224
224
|
"""
|
|
225
225
|
return pulumi.get(self, "name")
|
|
226
226
|
|
|
227
227
|
@name.setter
|
|
228
|
-
def name(self, value: pulumi.Input[str]):
|
|
228
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
229
229
|
pulumi.set(self, "name", value)
|
|
230
230
|
|
|
231
|
-
@property
|
|
231
|
+
@_builtins.property
|
|
232
232
|
@pulumi.getter
|
|
233
233
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
234
234
|
"""
|
|
@@ -246,7 +246,7 @@ if not MYPY:
|
|
|
246
246
|
"""
|
|
247
247
|
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.
|
|
248
248
|
"""
|
|
249
|
-
container: pulumi.Input[str]
|
|
249
|
+
container: pulumi.Input[_builtins.str]
|
|
250
250
|
"""
|
|
251
251
|
container is the name of the container in the pods of the scaling target
|
|
252
252
|
"""
|
|
@@ -254,7 +254,7 @@ if not MYPY:
|
|
|
254
254
|
"""
|
|
255
255
|
current contains the current value for the given metric
|
|
256
256
|
"""
|
|
257
|
-
name: pulumi.Input[str]
|
|
257
|
+
name: pulumi.Input[_builtins.str]
|
|
258
258
|
"""
|
|
259
259
|
name is the name of the resource in question.
|
|
260
260
|
"""
|
|
@@ -264,32 +264,32 @@ elif False:
|
|
|
264
264
|
@pulumi.input_type
|
|
265
265
|
class ContainerResourceMetricStatusArgs:
|
|
266
266
|
def __init__(__self__, *,
|
|
267
|
-
container: pulumi.Input[str],
|
|
267
|
+
container: pulumi.Input[_builtins.str],
|
|
268
268
|
current: pulumi.Input['MetricValueStatusArgs'],
|
|
269
|
-
name: pulumi.Input[str]):
|
|
269
|
+
name: pulumi.Input[_builtins.str]):
|
|
270
270
|
"""
|
|
271
271
|
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.
|
|
272
|
-
:param pulumi.Input[str] container: container is the name of the container in the pods of the scaling target
|
|
272
|
+
:param pulumi.Input[_builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
273
273
|
:param pulumi.Input['MetricValueStatusArgs'] current: current contains the current value for the given metric
|
|
274
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
274
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
275
275
|
"""
|
|
276
276
|
pulumi.set(__self__, "container", container)
|
|
277
277
|
pulumi.set(__self__, "current", current)
|
|
278
278
|
pulumi.set(__self__, "name", name)
|
|
279
279
|
|
|
280
|
-
@property
|
|
280
|
+
@_builtins.property
|
|
281
281
|
@pulumi.getter
|
|
282
|
-
def container(self) -> pulumi.Input[str]:
|
|
282
|
+
def container(self) -> pulumi.Input[_builtins.str]:
|
|
283
283
|
"""
|
|
284
284
|
container is the name of the container in the pods of the scaling target
|
|
285
285
|
"""
|
|
286
286
|
return pulumi.get(self, "container")
|
|
287
287
|
|
|
288
288
|
@container.setter
|
|
289
|
-
def container(self, value: pulumi.Input[str]):
|
|
289
|
+
def container(self, value: pulumi.Input[_builtins.str]):
|
|
290
290
|
pulumi.set(self, "container", value)
|
|
291
291
|
|
|
292
|
-
@property
|
|
292
|
+
@_builtins.property
|
|
293
293
|
@pulumi.getter
|
|
294
294
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
295
295
|
"""
|
|
@@ -301,16 +301,16 @@ class ContainerResourceMetricStatusArgs:
|
|
|
301
301
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
302
302
|
pulumi.set(self, "current", value)
|
|
303
303
|
|
|
304
|
-
@property
|
|
304
|
+
@_builtins.property
|
|
305
305
|
@pulumi.getter
|
|
306
|
-
def name(self) -> pulumi.Input[str]:
|
|
306
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
307
307
|
"""
|
|
308
308
|
name is the name of the resource in question.
|
|
309
309
|
"""
|
|
310
310
|
return pulumi.get(self, "name")
|
|
311
311
|
|
|
312
312
|
@name.setter
|
|
313
|
-
def name(self, value: pulumi.Input[str]):
|
|
313
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
314
314
|
pulumi.set(self, "name", value)
|
|
315
315
|
|
|
316
316
|
|
|
@@ -319,15 +319,15 @@ if not MYPY:
|
|
|
319
319
|
"""
|
|
320
320
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
321
321
|
"""
|
|
322
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
322
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
323
323
|
"""
|
|
324
324
|
apiVersion is the API version of the referent
|
|
325
325
|
"""
|
|
326
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
326
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
327
327
|
"""
|
|
328
328
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
329
329
|
"""
|
|
330
|
-
name: NotRequired[pulumi.Input[str]]
|
|
330
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
331
331
|
"""
|
|
332
332
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
333
333
|
"""
|
|
@@ -337,14 +337,14 @@ elif False:
|
|
|
337
337
|
@pulumi.input_type
|
|
338
338
|
class CrossVersionObjectReferencePatchArgs:
|
|
339
339
|
def __init__(__self__, *,
|
|
340
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
341
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
342
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
340
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
341
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
342
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
343
343
|
"""
|
|
344
344
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
345
|
-
:param pulumi.Input[str] api_version: apiVersion is the API version of the referent
|
|
346
|
-
:param pulumi.Input[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
|
|
347
|
-
:param pulumi.Input[str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
345
|
+
:param pulumi.Input[_builtins.str] api_version: apiVersion is the API version of the referent
|
|
346
|
+
:param pulumi.Input[_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
|
|
347
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
348
348
|
"""
|
|
349
349
|
if api_version is not None:
|
|
350
350
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -353,40 +353,40 @@ class CrossVersionObjectReferencePatchArgs:
|
|
|
353
353
|
if name is not None:
|
|
354
354
|
pulumi.set(__self__, "name", name)
|
|
355
355
|
|
|
356
|
-
@property
|
|
356
|
+
@_builtins.property
|
|
357
357
|
@pulumi.getter(name="apiVersion")
|
|
358
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
358
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
359
359
|
"""
|
|
360
360
|
apiVersion is the API version of the referent
|
|
361
361
|
"""
|
|
362
362
|
return pulumi.get(self, "api_version")
|
|
363
363
|
|
|
364
364
|
@api_version.setter
|
|
365
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
365
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
366
366
|
pulumi.set(self, "api_version", value)
|
|
367
367
|
|
|
368
|
-
@property
|
|
368
|
+
@_builtins.property
|
|
369
369
|
@pulumi.getter
|
|
370
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
370
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
371
371
|
"""
|
|
372
372
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
373
373
|
"""
|
|
374
374
|
return pulumi.get(self, "kind")
|
|
375
375
|
|
|
376
376
|
@kind.setter
|
|
377
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
377
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
378
378
|
pulumi.set(self, "kind", value)
|
|
379
379
|
|
|
380
|
-
@property
|
|
380
|
+
@_builtins.property
|
|
381
381
|
@pulumi.getter
|
|
382
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
382
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
383
383
|
"""
|
|
384
384
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
385
385
|
"""
|
|
386
386
|
return pulumi.get(self, "name")
|
|
387
387
|
|
|
388
388
|
@name.setter
|
|
389
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
389
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
390
390
|
pulumi.set(self, "name", value)
|
|
391
391
|
|
|
392
392
|
|
|
@@ -395,15 +395,15 @@ if not MYPY:
|
|
|
395
395
|
"""
|
|
396
396
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
397
397
|
"""
|
|
398
|
-
kind: pulumi.Input[str]
|
|
398
|
+
kind: pulumi.Input[_builtins.str]
|
|
399
399
|
"""
|
|
400
400
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
401
401
|
"""
|
|
402
|
-
name: pulumi.Input[str]
|
|
402
|
+
name: pulumi.Input[_builtins.str]
|
|
403
403
|
"""
|
|
404
404
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
405
405
|
"""
|
|
406
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
406
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
407
407
|
"""
|
|
408
408
|
apiVersion is the API version of the referent
|
|
409
409
|
"""
|
|
@@ -413,54 +413,54 @@ elif False:
|
|
|
413
413
|
@pulumi.input_type
|
|
414
414
|
class CrossVersionObjectReferenceArgs:
|
|
415
415
|
def __init__(__self__, *,
|
|
416
|
-
kind: pulumi.Input[str],
|
|
417
|
-
name: pulumi.Input[str],
|
|
418
|
-
api_version: Optional[pulumi.Input[str]] = None):
|
|
416
|
+
kind: pulumi.Input[_builtins.str],
|
|
417
|
+
name: pulumi.Input[_builtins.str],
|
|
418
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None):
|
|
419
419
|
"""
|
|
420
420
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
421
|
-
:param pulumi.Input[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
|
|
422
|
-
:param pulumi.Input[str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
423
|
-
:param pulumi.Input[str] api_version: apiVersion is the API version of the referent
|
|
421
|
+
:param pulumi.Input[_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
|
|
422
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
423
|
+
:param pulumi.Input[_builtins.str] api_version: apiVersion is the API version of the referent
|
|
424
424
|
"""
|
|
425
425
|
pulumi.set(__self__, "kind", kind)
|
|
426
426
|
pulumi.set(__self__, "name", name)
|
|
427
427
|
if api_version is not None:
|
|
428
428
|
pulumi.set(__self__, "api_version", api_version)
|
|
429
429
|
|
|
430
|
-
@property
|
|
430
|
+
@_builtins.property
|
|
431
431
|
@pulumi.getter
|
|
432
|
-
def kind(self) -> pulumi.Input[str]:
|
|
432
|
+
def kind(self) -> pulumi.Input[_builtins.str]:
|
|
433
433
|
"""
|
|
434
434
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
435
435
|
"""
|
|
436
436
|
return pulumi.get(self, "kind")
|
|
437
437
|
|
|
438
438
|
@kind.setter
|
|
439
|
-
def kind(self, value: pulumi.Input[str]):
|
|
439
|
+
def kind(self, value: pulumi.Input[_builtins.str]):
|
|
440
440
|
pulumi.set(self, "kind", value)
|
|
441
441
|
|
|
442
|
-
@property
|
|
442
|
+
@_builtins.property
|
|
443
443
|
@pulumi.getter
|
|
444
|
-
def name(self) -> pulumi.Input[str]:
|
|
444
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
445
445
|
"""
|
|
446
446
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
447
447
|
"""
|
|
448
448
|
return pulumi.get(self, "name")
|
|
449
449
|
|
|
450
450
|
@name.setter
|
|
451
|
-
def name(self, value: pulumi.Input[str]):
|
|
451
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
452
452
|
pulumi.set(self, "name", value)
|
|
453
453
|
|
|
454
|
-
@property
|
|
454
|
+
@_builtins.property
|
|
455
455
|
@pulumi.getter(name="apiVersion")
|
|
456
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
456
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
457
457
|
"""
|
|
458
458
|
apiVersion is the API version of the referent
|
|
459
459
|
"""
|
|
460
460
|
return pulumi.get(self, "api_version")
|
|
461
461
|
|
|
462
462
|
@api_version.setter
|
|
463
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
463
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
464
464
|
pulumi.set(self, "api_version", value)
|
|
465
465
|
|
|
466
466
|
|
|
@@ -495,7 +495,7 @@ class ExternalMetricSourcePatchArgs:
|
|
|
495
495
|
if target is not None:
|
|
496
496
|
pulumi.set(__self__, "target", target)
|
|
497
497
|
|
|
498
|
-
@property
|
|
498
|
+
@_builtins.property
|
|
499
499
|
@pulumi.getter
|
|
500
500
|
def metric(self) -> Optional[pulumi.Input['MetricIdentifierPatchArgs']]:
|
|
501
501
|
"""
|
|
@@ -507,7 +507,7 @@ class ExternalMetricSourcePatchArgs:
|
|
|
507
507
|
def metric(self, value: Optional[pulumi.Input['MetricIdentifierPatchArgs']]):
|
|
508
508
|
pulumi.set(self, "metric", value)
|
|
509
509
|
|
|
510
|
-
@property
|
|
510
|
+
@_builtins.property
|
|
511
511
|
@pulumi.getter
|
|
512
512
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
513
513
|
"""
|
|
@@ -549,7 +549,7 @@ class ExternalMetricSourceArgs:
|
|
|
549
549
|
pulumi.set(__self__, "metric", metric)
|
|
550
550
|
pulumi.set(__self__, "target", target)
|
|
551
551
|
|
|
552
|
-
@property
|
|
552
|
+
@_builtins.property
|
|
553
553
|
@pulumi.getter
|
|
554
554
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
555
555
|
"""
|
|
@@ -561,7 +561,7 @@ class ExternalMetricSourceArgs:
|
|
|
561
561
|
def metric(self, value: pulumi.Input['MetricIdentifierArgs']):
|
|
562
562
|
pulumi.set(self, "metric", value)
|
|
563
563
|
|
|
564
|
-
@property
|
|
564
|
+
@_builtins.property
|
|
565
565
|
@pulumi.getter
|
|
566
566
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
567
567
|
"""
|
|
@@ -603,7 +603,7 @@ class ExternalMetricStatusArgs:
|
|
|
603
603
|
pulumi.set(__self__, "current", current)
|
|
604
604
|
pulumi.set(__self__, "metric", metric)
|
|
605
605
|
|
|
606
|
-
@property
|
|
606
|
+
@_builtins.property
|
|
607
607
|
@pulumi.getter
|
|
608
608
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
609
609
|
"""
|
|
@@ -615,7 +615,7 @@ class ExternalMetricStatusArgs:
|
|
|
615
615
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
616
616
|
pulumi.set(self, "current", value)
|
|
617
617
|
|
|
618
|
-
@property
|
|
618
|
+
@_builtins.property
|
|
619
619
|
@pulumi.getter
|
|
620
620
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
621
621
|
"""
|
|
@@ -633,15 +633,15 @@ if not MYPY:
|
|
|
633
633
|
"""
|
|
634
634
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
635
635
|
"""
|
|
636
|
-
period_seconds: NotRequired[pulumi.Input[int]]
|
|
636
|
+
period_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
637
637
|
"""
|
|
638
638
|
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).
|
|
639
639
|
"""
|
|
640
|
-
type: NotRequired[pulumi.Input[str]]
|
|
640
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
641
641
|
"""
|
|
642
642
|
type is used to specify the scaling policy.
|
|
643
643
|
"""
|
|
644
|
-
value: NotRequired[pulumi.Input[int]]
|
|
644
|
+
value: NotRequired[pulumi.Input[_builtins.int]]
|
|
645
645
|
"""
|
|
646
646
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
647
647
|
"""
|
|
@@ -651,14 +651,14 @@ elif False:
|
|
|
651
651
|
@pulumi.input_type
|
|
652
652
|
class HPAScalingPolicyPatchArgs:
|
|
653
653
|
def __init__(__self__, *,
|
|
654
|
-
period_seconds: Optional[pulumi.Input[int]] = None,
|
|
655
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
656
|
-
value: Optional[pulumi.Input[int]] = None):
|
|
654
|
+
period_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
655
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
656
|
+
value: Optional[pulumi.Input[_builtins.int]] = None):
|
|
657
657
|
"""
|
|
658
658
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
659
|
-
:param pulumi.Input[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).
|
|
660
|
-
:param pulumi.Input[str] type: type is used to specify the scaling policy.
|
|
661
|
-
:param pulumi.Input[int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
659
|
+
:param pulumi.Input[_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).
|
|
660
|
+
:param pulumi.Input[_builtins.str] type: type is used to specify the scaling policy.
|
|
661
|
+
:param pulumi.Input[_builtins.int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
662
662
|
"""
|
|
663
663
|
if period_seconds is not None:
|
|
664
664
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
@@ -667,40 +667,40 @@ class HPAScalingPolicyPatchArgs:
|
|
|
667
667
|
if value is not None:
|
|
668
668
|
pulumi.set(__self__, "value", value)
|
|
669
669
|
|
|
670
|
-
@property
|
|
670
|
+
@_builtins.property
|
|
671
671
|
@pulumi.getter(name="periodSeconds")
|
|
672
|
-
def period_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
672
|
+
def period_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
673
673
|
"""
|
|
674
674
|
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).
|
|
675
675
|
"""
|
|
676
676
|
return pulumi.get(self, "period_seconds")
|
|
677
677
|
|
|
678
678
|
@period_seconds.setter
|
|
679
|
-
def period_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
679
|
+
def period_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
680
680
|
pulumi.set(self, "period_seconds", value)
|
|
681
681
|
|
|
682
|
-
@property
|
|
682
|
+
@_builtins.property
|
|
683
683
|
@pulumi.getter
|
|
684
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
684
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
685
685
|
"""
|
|
686
686
|
type is used to specify the scaling policy.
|
|
687
687
|
"""
|
|
688
688
|
return pulumi.get(self, "type")
|
|
689
689
|
|
|
690
690
|
@type.setter
|
|
691
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
691
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
692
692
|
pulumi.set(self, "type", value)
|
|
693
693
|
|
|
694
|
-
@property
|
|
694
|
+
@_builtins.property
|
|
695
695
|
@pulumi.getter
|
|
696
|
-
def value(self) -> Optional[pulumi.Input[int]]:
|
|
696
|
+
def value(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
697
697
|
"""
|
|
698
698
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
699
699
|
"""
|
|
700
700
|
return pulumi.get(self, "value")
|
|
701
701
|
|
|
702
702
|
@value.setter
|
|
703
|
-
def value(self, value: Optional[pulumi.Input[int]]):
|
|
703
|
+
def value(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
704
704
|
pulumi.set(self, "value", value)
|
|
705
705
|
|
|
706
706
|
|
|
@@ -709,15 +709,15 @@ if not MYPY:
|
|
|
709
709
|
"""
|
|
710
710
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
711
711
|
"""
|
|
712
|
-
period_seconds: pulumi.Input[int]
|
|
712
|
+
period_seconds: pulumi.Input[_builtins.int]
|
|
713
713
|
"""
|
|
714
714
|
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).
|
|
715
715
|
"""
|
|
716
|
-
type: pulumi.Input[str]
|
|
716
|
+
type: pulumi.Input[_builtins.str]
|
|
717
717
|
"""
|
|
718
718
|
type is used to specify the scaling policy.
|
|
719
719
|
"""
|
|
720
|
-
value: pulumi.Input[int]
|
|
720
|
+
value: pulumi.Input[_builtins.int]
|
|
721
721
|
"""
|
|
722
722
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
723
723
|
"""
|
|
@@ -727,73 +727,85 @@ elif False:
|
|
|
727
727
|
@pulumi.input_type
|
|
728
728
|
class HPAScalingPolicyArgs:
|
|
729
729
|
def __init__(__self__, *,
|
|
730
|
-
period_seconds: pulumi.Input[int],
|
|
731
|
-
type: pulumi.Input[str],
|
|
732
|
-
value: pulumi.Input[int]):
|
|
730
|
+
period_seconds: pulumi.Input[_builtins.int],
|
|
731
|
+
type: pulumi.Input[_builtins.str],
|
|
732
|
+
value: pulumi.Input[_builtins.int]):
|
|
733
733
|
"""
|
|
734
734
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
735
|
-
:param pulumi.Input[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).
|
|
736
|
-
:param pulumi.Input[str] type: type is used to specify the scaling policy.
|
|
737
|
-
:param pulumi.Input[int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
735
|
+
:param pulumi.Input[_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).
|
|
736
|
+
:param pulumi.Input[_builtins.str] type: type is used to specify the scaling policy.
|
|
737
|
+
:param pulumi.Input[_builtins.int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
738
738
|
"""
|
|
739
739
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
740
740
|
pulumi.set(__self__, "type", type)
|
|
741
741
|
pulumi.set(__self__, "value", value)
|
|
742
742
|
|
|
743
|
-
@property
|
|
743
|
+
@_builtins.property
|
|
744
744
|
@pulumi.getter(name="periodSeconds")
|
|
745
|
-
def period_seconds(self) -> pulumi.Input[int]:
|
|
745
|
+
def period_seconds(self) -> pulumi.Input[_builtins.int]:
|
|
746
746
|
"""
|
|
747
747
|
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).
|
|
748
748
|
"""
|
|
749
749
|
return pulumi.get(self, "period_seconds")
|
|
750
750
|
|
|
751
751
|
@period_seconds.setter
|
|
752
|
-
def period_seconds(self, value: pulumi.Input[int]):
|
|
752
|
+
def period_seconds(self, value: pulumi.Input[_builtins.int]):
|
|
753
753
|
pulumi.set(self, "period_seconds", value)
|
|
754
754
|
|
|
755
|
-
@property
|
|
755
|
+
@_builtins.property
|
|
756
756
|
@pulumi.getter
|
|
757
|
-
def type(self) -> pulumi.Input[str]:
|
|
757
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
758
758
|
"""
|
|
759
759
|
type is used to specify the scaling policy.
|
|
760
760
|
"""
|
|
761
761
|
return pulumi.get(self, "type")
|
|
762
762
|
|
|
763
763
|
@type.setter
|
|
764
|
-
def type(self, value: pulumi.Input[str]):
|
|
764
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
765
765
|
pulumi.set(self, "type", value)
|
|
766
766
|
|
|
767
|
-
@property
|
|
767
|
+
@_builtins.property
|
|
768
768
|
@pulumi.getter
|
|
769
|
-
def value(self) -> pulumi.Input[int]:
|
|
769
|
+
def value(self) -> pulumi.Input[_builtins.int]:
|
|
770
770
|
"""
|
|
771
771
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
772
772
|
"""
|
|
773
773
|
return pulumi.get(self, "value")
|
|
774
774
|
|
|
775
775
|
@value.setter
|
|
776
|
-
def value(self, value: pulumi.Input[int]):
|
|
776
|
+
def value(self, value: pulumi.Input[_builtins.int]):
|
|
777
777
|
pulumi.set(self, "value", value)
|
|
778
778
|
|
|
779
779
|
|
|
780
780
|
if not MYPY:
|
|
781
781
|
class HPAScalingRulesPatchArgsDict(TypedDict):
|
|
782
782
|
"""
|
|
783
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
783
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
784
|
+
|
|
785
|
+
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.
|
|
786
|
+
|
|
787
|
+
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.)
|
|
784
788
|
"""
|
|
785
789
|
policies: NotRequired[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgsDict']]]]
|
|
786
790
|
"""
|
|
787
|
-
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.
|
|
788
792
|
"""
|
|
789
|
-
select_policy: NotRequired[pulumi.Input[str]]
|
|
793
|
+
select_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
790
794
|
"""
|
|
791
795
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
792
796
|
"""
|
|
793
|
-
stabilization_window_seconds: NotRequired[pulumi.Input[int]]
|
|
797
|
+
stabilization_window_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
794
798
|
"""
|
|
795
799
|
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).
|
|
796
800
|
"""
|
|
801
|
+
tolerance: NotRequired[pulumi.Input[_builtins.str]]
|
|
802
|
+
"""
|
|
803
|
+
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%).
|
|
804
|
+
|
|
805
|
+
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.
|
|
806
|
+
|
|
807
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
808
|
+
"""
|
|
797
809
|
elif False:
|
|
798
810
|
HPAScalingRulesPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
799
811
|
|
|
@@ -801,13 +813,23 @@ elif False:
|
|
|
801
813
|
class HPAScalingRulesPatchArgs:
|
|
802
814
|
def __init__(__self__, *,
|
|
803
815
|
policies: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]]] = None,
|
|
804
|
-
select_policy: Optional[pulumi.Input[str]] = None,
|
|
805
|
-
stabilization_window_seconds: Optional[pulumi.Input[int]] = None
|
|
816
|
+
select_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
817
|
+
stabilization_window_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
818
|
+
tolerance: Optional[pulumi.Input[_builtins.str]] = None):
|
|
806
819
|
"""
|
|
807
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
820
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
821
|
+
|
|
822
|
+
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.
|
|
823
|
+
|
|
824
|
+
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.)
|
|
825
|
+
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
826
|
+
:param pulumi.Input[_builtins.str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
827
|
+
:param pulumi.Input[_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).
|
|
828
|
+
:param pulumi.Input[_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%).
|
|
829
|
+
|
|
830
|
+
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.
|
|
831
|
+
|
|
832
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
811
833
|
"""
|
|
812
834
|
if policies is not None:
|
|
813
835
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -815,12 +837,14 @@ class HPAScalingRulesPatchArgs:
|
|
|
815
837
|
pulumi.set(__self__, "select_policy", select_policy)
|
|
816
838
|
if stabilization_window_seconds is not None:
|
|
817
839
|
pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
|
|
840
|
+
if tolerance is not None:
|
|
841
|
+
pulumi.set(__self__, "tolerance", tolerance)
|
|
818
842
|
|
|
819
|
-
@property
|
|
843
|
+
@_builtins.property
|
|
820
844
|
@pulumi.getter
|
|
821
845
|
def policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]]]:
|
|
822
846
|
"""
|
|
823
|
-
policies is a list of potential scaling polices which can be used during scaling.
|
|
847
|
+
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.
|
|
824
848
|
"""
|
|
825
849
|
return pulumi.get(self, "policies")
|
|
826
850
|
|
|
@@ -828,48 +852,76 @@ class HPAScalingRulesPatchArgs:
|
|
|
828
852
|
def policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]]]):
|
|
829
853
|
pulumi.set(self, "policies", value)
|
|
830
854
|
|
|
831
|
-
@property
|
|
855
|
+
@_builtins.property
|
|
832
856
|
@pulumi.getter(name="selectPolicy")
|
|
833
|
-
def select_policy(self) -> Optional[pulumi.Input[str]]:
|
|
857
|
+
def select_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
834
858
|
"""
|
|
835
859
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
836
860
|
"""
|
|
837
861
|
return pulumi.get(self, "select_policy")
|
|
838
862
|
|
|
839
863
|
@select_policy.setter
|
|
840
|
-
def select_policy(self, value: Optional[pulumi.Input[str]]):
|
|
864
|
+
def select_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
841
865
|
pulumi.set(self, "select_policy", value)
|
|
842
866
|
|
|
843
|
-
@property
|
|
867
|
+
@_builtins.property
|
|
844
868
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
845
|
-
def stabilization_window_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
869
|
+
def stabilization_window_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
846
870
|
"""
|
|
847
871
|
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).
|
|
848
872
|
"""
|
|
849
873
|
return pulumi.get(self, "stabilization_window_seconds")
|
|
850
874
|
|
|
851
875
|
@stabilization_window_seconds.setter
|
|
852
|
-
def stabilization_window_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
876
|
+
def stabilization_window_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
853
877
|
pulumi.set(self, "stabilization_window_seconds", value)
|
|
854
878
|
|
|
879
|
+
@_builtins.property
|
|
880
|
+
@pulumi.getter
|
|
881
|
+
def tolerance(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
882
|
+
"""
|
|
883
|
+
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%).
|
|
884
|
+
|
|
885
|
+
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.
|
|
886
|
+
|
|
887
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
888
|
+
"""
|
|
889
|
+
return pulumi.get(self, "tolerance")
|
|
890
|
+
|
|
891
|
+
@tolerance.setter
|
|
892
|
+
def tolerance(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
893
|
+
pulumi.set(self, "tolerance", value)
|
|
894
|
+
|
|
855
895
|
|
|
856
896
|
if not MYPY:
|
|
857
897
|
class HPAScalingRulesArgsDict(TypedDict):
|
|
858
898
|
"""
|
|
859
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
899
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
900
|
+
|
|
901
|
+
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.
|
|
902
|
+
|
|
903
|
+
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.)
|
|
860
904
|
"""
|
|
861
905
|
policies: NotRequired[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgsDict']]]]
|
|
862
906
|
"""
|
|
863
|
-
policies is a list of potential scaling polices which can be used during scaling.
|
|
907
|
+
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.
|
|
864
908
|
"""
|
|
865
|
-
select_policy: NotRequired[pulumi.Input[str]]
|
|
909
|
+
select_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
866
910
|
"""
|
|
867
911
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
868
912
|
"""
|
|
869
|
-
stabilization_window_seconds: NotRequired[pulumi.Input[int]]
|
|
913
|
+
stabilization_window_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
870
914
|
"""
|
|
871
915
|
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).
|
|
872
916
|
"""
|
|
917
|
+
tolerance: NotRequired[pulumi.Input[_builtins.str]]
|
|
918
|
+
"""
|
|
919
|
+
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%).
|
|
920
|
+
|
|
921
|
+
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.
|
|
922
|
+
|
|
923
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
924
|
+
"""
|
|
873
925
|
elif False:
|
|
874
926
|
HPAScalingRulesArgsDict: TypeAlias = Mapping[str, Any]
|
|
875
927
|
|
|
@@ -877,13 +929,23 @@ elif False:
|
|
|
877
929
|
class HPAScalingRulesArgs:
|
|
878
930
|
def __init__(__self__, *,
|
|
879
931
|
policies: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]]] = None,
|
|
880
|
-
select_policy: Optional[pulumi.Input[str]] = None,
|
|
881
|
-
stabilization_window_seconds: Optional[pulumi.Input[int]] = None
|
|
932
|
+
select_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
933
|
+
stabilization_window_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
934
|
+
tolerance: Optional[pulumi.Input[_builtins.str]] = None):
|
|
882
935
|
"""
|
|
883
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
936
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
937
|
+
|
|
938
|
+
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.
|
|
939
|
+
|
|
940
|
+
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.)
|
|
941
|
+
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
942
|
+
:param pulumi.Input[_builtins.str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
943
|
+
:param pulumi.Input[_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).
|
|
944
|
+
:param pulumi.Input[_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%).
|
|
945
|
+
|
|
946
|
+
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.
|
|
947
|
+
|
|
948
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
887
949
|
"""
|
|
888
950
|
if policies is not None:
|
|
889
951
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -891,12 +953,14 @@ class HPAScalingRulesArgs:
|
|
|
891
953
|
pulumi.set(__self__, "select_policy", select_policy)
|
|
892
954
|
if stabilization_window_seconds is not None:
|
|
893
955
|
pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
|
|
956
|
+
if tolerance is not None:
|
|
957
|
+
pulumi.set(__self__, "tolerance", tolerance)
|
|
894
958
|
|
|
895
|
-
@property
|
|
959
|
+
@_builtins.property
|
|
896
960
|
@pulumi.getter
|
|
897
961
|
def policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]]]:
|
|
898
962
|
"""
|
|
899
|
-
policies is a list of potential scaling polices which can be used during scaling.
|
|
963
|
+
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.
|
|
900
964
|
"""
|
|
901
965
|
return pulumi.get(self, "policies")
|
|
902
966
|
|
|
@@ -904,30 +968,46 @@ class HPAScalingRulesArgs:
|
|
|
904
968
|
def policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]]]):
|
|
905
969
|
pulumi.set(self, "policies", value)
|
|
906
970
|
|
|
907
|
-
@property
|
|
971
|
+
@_builtins.property
|
|
908
972
|
@pulumi.getter(name="selectPolicy")
|
|
909
|
-
def select_policy(self) -> Optional[pulumi.Input[str]]:
|
|
973
|
+
def select_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
910
974
|
"""
|
|
911
975
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
912
976
|
"""
|
|
913
977
|
return pulumi.get(self, "select_policy")
|
|
914
978
|
|
|
915
979
|
@select_policy.setter
|
|
916
|
-
def select_policy(self, value: Optional[pulumi.Input[str]]):
|
|
980
|
+
def select_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
917
981
|
pulumi.set(self, "select_policy", value)
|
|
918
982
|
|
|
919
|
-
@property
|
|
983
|
+
@_builtins.property
|
|
920
984
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
921
|
-
def stabilization_window_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
985
|
+
def stabilization_window_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
922
986
|
"""
|
|
923
987
|
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).
|
|
924
988
|
"""
|
|
925
989
|
return pulumi.get(self, "stabilization_window_seconds")
|
|
926
990
|
|
|
927
991
|
@stabilization_window_seconds.setter
|
|
928
|
-
def stabilization_window_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
992
|
+
def stabilization_window_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
929
993
|
pulumi.set(self, "stabilization_window_seconds", value)
|
|
930
994
|
|
|
995
|
+
@_builtins.property
|
|
996
|
+
@pulumi.getter
|
|
997
|
+
def tolerance(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
998
|
+
"""
|
|
999
|
+
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%).
|
|
1000
|
+
|
|
1001
|
+
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.
|
|
1002
|
+
|
|
1003
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
1004
|
+
"""
|
|
1005
|
+
return pulumi.get(self, "tolerance")
|
|
1006
|
+
|
|
1007
|
+
@tolerance.setter
|
|
1008
|
+
def tolerance(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1009
|
+
pulumi.set(self, "tolerance", value)
|
|
1010
|
+
|
|
931
1011
|
|
|
932
1012
|
if not MYPY:
|
|
933
1013
|
class HorizontalPodAutoscalerBehaviorPatchArgsDict(TypedDict):
|
|
@@ -966,7 +1046,7 @@ class HorizontalPodAutoscalerBehaviorPatchArgs:
|
|
|
966
1046
|
if scale_up is not None:
|
|
967
1047
|
pulumi.set(__self__, "scale_up", scale_up)
|
|
968
1048
|
|
|
969
|
-
@property
|
|
1049
|
+
@_builtins.property
|
|
970
1050
|
@pulumi.getter(name="scaleDown")
|
|
971
1051
|
def scale_down(self) -> Optional[pulumi.Input['HPAScalingRulesPatchArgs']]:
|
|
972
1052
|
"""
|
|
@@ -978,7 +1058,7 @@ class HorizontalPodAutoscalerBehaviorPatchArgs:
|
|
|
978
1058
|
def scale_down(self, value: Optional[pulumi.Input['HPAScalingRulesPatchArgs']]):
|
|
979
1059
|
pulumi.set(self, "scale_down", value)
|
|
980
1060
|
|
|
981
|
-
@property
|
|
1061
|
+
@_builtins.property
|
|
982
1062
|
@pulumi.getter(name="scaleUp")
|
|
983
1063
|
def scale_up(self) -> Optional[pulumi.Input['HPAScalingRulesPatchArgs']]:
|
|
984
1064
|
"""
|
|
@@ -1031,7 +1111,7 @@ class HorizontalPodAutoscalerBehaviorArgs:
|
|
|
1031
1111
|
if scale_up is not None:
|
|
1032
1112
|
pulumi.set(__self__, "scale_up", scale_up)
|
|
1033
1113
|
|
|
1034
|
-
@property
|
|
1114
|
+
@_builtins.property
|
|
1035
1115
|
@pulumi.getter(name="scaleDown")
|
|
1036
1116
|
def scale_down(self) -> Optional[pulumi.Input['HPAScalingRulesArgs']]:
|
|
1037
1117
|
"""
|
|
@@ -1043,7 +1123,7 @@ class HorizontalPodAutoscalerBehaviorArgs:
|
|
|
1043
1123
|
def scale_down(self, value: Optional[pulumi.Input['HPAScalingRulesArgs']]):
|
|
1044
1124
|
pulumi.set(self, "scale_down", value)
|
|
1045
1125
|
|
|
1046
|
-
@property
|
|
1126
|
+
@_builtins.property
|
|
1047
1127
|
@pulumi.getter(name="scaleUp")
|
|
1048
1128
|
def scale_up(self) -> Optional[pulumi.Input['HPAScalingRulesArgs']]:
|
|
1049
1129
|
"""
|
|
@@ -1064,23 +1144,23 @@ if not MYPY:
|
|
|
1064
1144
|
"""
|
|
1065
1145
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1066
1146
|
"""
|
|
1067
|
-
status: pulumi.Input[str]
|
|
1147
|
+
status: pulumi.Input[_builtins.str]
|
|
1068
1148
|
"""
|
|
1069
1149
|
status is the status of the condition (True, False, Unknown)
|
|
1070
1150
|
"""
|
|
1071
|
-
type: pulumi.Input[str]
|
|
1151
|
+
type: pulumi.Input[_builtins.str]
|
|
1072
1152
|
"""
|
|
1073
1153
|
type describes the current condition
|
|
1074
1154
|
"""
|
|
1075
|
-
last_transition_time: NotRequired[pulumi.Input[str]]
|
|
1155
|
+
last_transition_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1076
1156
|
"""
|
|
1077
1157
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1078
1158
|
"""
|
|
1079
|
-
message: NotRequired[pulumi.Input[str]]
|
|
1159
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
1080
1160
|
"""
|
|
1081
1161
|
message is a human-readable explanation containing details about the transition
|
|
1082
1162
|
"""
|
|
1083
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
1163
|
+
reason: NotRequired[pulumi.Input[_builtins.str]]
|
|
1084
1164
|
"""
|
|
1085
1165
|
reason is the reason for the condition's last transition.
|
|
1086
1166
|
"""
|
|
@@ -1090,18 +1170,18 @@ elif False:
|
|
|
1090
1170
|
@pulumi.input_type
|
|
1091
1171
|
class HorizontalPodAutoscalerConditionArgs:
|
|
1092
1172
|
def __init__(__self__, *,
|
|
1093
|
-
status: pulumi.Input[str],
|
|
1094
|
-
type: pulumi.Input[str],
|
|
1095
|
-
last_transition_time: Optional[pulumi.Input[str]] = None,
|
|
1096
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
1097
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
1173
|
+
status: pulumi.Input[_builtins.str],
|
|
1174
|
+
type: pulumi.Input[_builtins.str],
|
|
1175
|
+
last_transition_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1176
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1177
|
+
reason: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1098
1178
|
"""
|
|
1099
1179
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1100
|
-
:param pulumi.Input[str] status: status is the status of the condition (True, False, Unknown)
|
|
1101
|
-
:param pulumi.Input[str] type: type describes the current condition
|
|
1102
|
-
:param pulumi.Input[str] last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1103
|
-
:param pulumi.Input[str] message: message is a human-readable explanation containing details about the transition
|
|
1104
|
-
:param pulumi.Input[str] reason: reason is the reason for the condition's last transition.
|
|
1180
|
+
:param pulumi.Input[_builtins.str] status: status is the status of the condition (True, False, Unknown)
|
|
1181
|
+
:param pulumi.Input[_builtins.str] type: type describes the current condition
|
|
1182
|
+
:param pulumi.Input[_builtins.str] last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1183
|
+
:param pulumi.Input[_builtins.str] message: message is a human-readable explanation containing details about the transition
|
|
1184
|
+
:param pulumi.Input[_builtins.str] reason: reason is the reason for the condition's last transition.
|
|
1105
1185
|
"""
|
|
1106
1186
|
pulumi.set(__self__, "status", status)
|
|
1107
1187
|
pulumi.set(__self__, "type", type)
|
|
@@ -1112,64 +1192,64 @@ class HorizontalPodAutoscalerConditionArgs:
|
|
|
1112
1192
|
if reason is not None:
|
|
1113
1193
|
pulumi.set(__self__, "reason", reason)
|
|
1114
1194
|
|
|
1115
|
-
@property
|
|
1195
|
+
@_builtins.property
|
|
1116
1196
|
@pulumi.getter
|
|
1117
|
-
def status(self) -> pulumi.Input[str]:
|
|
1197
|
+
def status(self) -> pulumi.Input[_builtins.str]:
|
|
1118
1198
|
"""
|
|
1119
1199
|
status is the status of the condition (True, False, Unknown)
|
|
1120
1200
|
"""
|
|
1121
1201
|
return pulumi.get(self, "status")
|
|
1122
1202
|
|
|
1123
1203
|
@status.setter
|
|
1124
|
-
def status(self, value: pulumi.Input[str]):
|
|
1204
|
+
def status(self, value: pulumi.Input[_builtins.str]):
|
|
1125
1205
|
pulumi.set(self, "status", value)
|
|
1126
1206
|
|
|
1127
|
-
@property
|
|
1207
|
+
@_builtins.property
|
|
1128
1208
|
@pulumi.getter
|
|
1129
|
-
def type(self) -> pulumi.Input[str]:
|
|
1209
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
1130
1210
|
"""
|
|
1131
1211
|
type describes the current condition
|
|
1132
1212
|
"""
|
|
1133
1213
|
return pulumi.get(self, "type")
|
|
1134
1214
|
|
|
1135
1215
|
@type.setter
|
|
1136
|
-
def type(self, value: pulumi.Input[str]):
|
|
1216
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
1137
1217
|
pulumi.set(self, "type", value)
|
|
1138
1218
|
|
|
1139
|
-
@property
|
|
1219
|
+
@_builtins.property
|
|
1140
1220
|
@pulumi.getter(name="lastTransitionTime")
|
|
1141
|
-
def last_transition_time(self) -> Optional[pulumi.Input[str]]:
|
|
1221
|
+
def last_transition_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1142
1222
|
"""
|
|
1143
1223
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1144
1224
|
"""
|
|
1145
1225
|
return pulumi.get(self, "last_transition_time")
|
|
1146
1226
|
|
|
1147
1227
|
@last_transition_time.setter
|
|
1148
|
-
def last_transition_time(self, value: Optional[pulumi.Input[str]]):
|
|
1228
|
+
def last_transition_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1149
1229
|
pulumi.set(self, "last_transition_time", value)
|
|
1150
1230
|
|
|
1151
|
-
@property
|
|
1231
|
+
@_builtins.property
|
|
1152
1232
|
@pulumi.getter
|
|
1153
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
1233
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1154
1234
|
"""
|
|
1155
1235
|
message is a human-readable explanation containing details about the transition
|
|
1156
1236
|
"""
|
|
1157
1237
|
return pulumi.get(self, "message")
|
|
1158
1238
|
|
|
1159
1239
|
@message.setter
|
|
1160
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
1240
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1161
1241
|
pulumi.set(self, "message", value)
|
|
1162
1242
|
|
|
1163
|
-
@property
|
|
1243
|
+
@_builtins.property
|
|
1164
1244
|
@pulumi.getter
|
|
1165
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
1245
|
+
def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1166
1246
|
"""
|
|
1167
1247
|
reason is the reason for the condition's last transition.
|
|
1168
1248
|
"""
|
|
1169
1249
|
return pulumi.get(self, "reason")
|
|
1170
1250
|
|
|
1171
1251
|
@reason.setter
|
|
1172
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
1252
|
+
def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1173
1253
|
pulumi.set(self, "reason", value)
|
|
1174
1254
|
|
|
1175
1255
|
|
|
@@ -1182,7 +1262,7 @@ if not MYPY:
|
|
|
1182
1262
|
"""
|
|
1183
1263
|
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.
|
|
1184
1264
|
"""
|
|
1185
|
-
max_replicas: NotRequired[pulumi.Input[int]]
|
|
1265
|
+
max_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1186
1266
|
"""
|
|
1187
1267
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1188
1268
|
"""
|
|
@@ -1190,7 +1270,7 @@ if not MYPY:
|
|
|
1190
1270
|
"""
|
|
1191
1271
|
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.
|
|
1192
1272
|
"""
|
|
1193
|
-
min_replicas: NotRequired[pulumi.Input[int]]
|
|
1273
|
+
min_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1194
1274
|
"""
|
|
1195
1275
|
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.
|
|
1196
1276
|
"""
|
|
@@ -1205,16 +1285,16 @@ elif False:
|
|
|
1205
1285
|
class HorizontalPodAutoscalerSpecPatchArgs:
|
|
1206
1286
|
def __init__(__self__, *,
|
|
1207
1287
|
behavior: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs']] = None,
|
|
1208
|
-
max_replicas: Optional[pulumi.Input[int]] = None,
|
|
1288
|
+
max_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1209
1289
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]] = None,
|
|
1210
|
-
min_replicas: Optional[pulumi.Input[int]] = None,
|
|
1290
|
+
min_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1211
1291
|
scale_target_ref: Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']] = None):
|
|
1212
1292
|
"""
|
|
1213
1293
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1214
1294
|
:param pulumi.Input['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.
|
|
1215
|
-
:param pulumi.Input[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.
|
|
1295
|
+
:param pulumi.Input[_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.
|
|
1216
1296
|
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
1217
|
-
:param pulumi.Input[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.
|
|
1297
|
+
:param pulumi.Input[_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.
|
|
1218
1298
|
:param pulumi.Input['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.
|
|
1219
1299
|
"""
|
|
1220
1300
|
if behavior is not None:
|
|
@@ -1228,7 +1308,7 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
1228
1308
|
if scale_target_ref is not None:
|
|
1229
1309
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
1230
1310
|
|
|
1231
|
-
@property
|
|
1311
|
+
@_builtins.property
|
|
1232
1312
|
@pulumi.getter
|
|
1233
1313
|
def behavior(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs']]:
|
|
1234
1314
|
"""
|
|
@@ -1240,19 +1320,19 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
1240
1320
|
def behavior(self, value: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs']]):
|
|
1241
1321
|
pulumi.set(self, "behavior", value)
|
|
1242
1322
|
|
|
1243
|
-
@property
|
|
1323
|
+
@_builtins.property
|
|
1244
1324
|
@pulumi.getter(name="maxReplicas")
|
|
1245
|
-
def max_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1325
|
+
def max_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1246
1326
|
"""
|
|
1247
1327
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1248
1328
|
"""
|
|
1249
1329
|
return pulumi.get(self, "max_replicas")
|
|
1250
1330
|
|
|
1251
1331
|
@max_replicas.setter
|
|
1252
|
-
def max_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1332
|
+
def max_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1253
1333
|
pulumi.set(self, "max_replicas", value)
|
|
1254
1334
|
|
|
1255
|
-
@property
|
|
1335
|
+
@_builtins.property
|
|
1256
1336
|
@pulumi.getter
|
|
1257
1337
|
def metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]]:
|
|
1258
1338
|
"""
|
|
@@ -1264,19 +1344,19 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
1264
1344
|
def metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]]):
|
|
1265
1345
|
pulumi.set(self, "metrics", value)
|
|
1266
1346
|
|
|
1267
|
-
@property
|
|
1347
|
+
@_builtins.property
|
|
1268
1348
|
@pulumi.getter(name="minReplicas")
|
|
1269
|
-
def min_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1349
|
+
def min_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1270
1350
|
"""
|
|
1271
1351
|
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.
|
|
1272
1352
|
"""
|
|
1273
1353
|
return pulumi.get(self, "min_replicas")
|
|
1274
1354
|
|
|
1275
1355
|
@min_replicas.setter
|
|
1276
|
-
def min_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1356
|
+
def min_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1277
1357
|
pulumi.set(self, "min_replicas", value)
|
|
1278
1358
|
|
|
1279
|
-
@property
|
|
1359
|
+
@_builtins.property
|
|
1280
1360
|
@pulumi.getter(name="scaleTargetRef")
|
|
1281
1361
|
def scale_target_ref(self) -> Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']]:
|
|
1282
1362
|
"""
|
|
@@ -1294,7 +1374,7 @@ if not MYPY:
|
|
|
1294
1374
|
"""
|
|
1295
1375
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1296
1376
|
"""
|
|
1297
|
-
max_replicas: pulumi.Input[int]
|
|
1377
|
+
max_replicas: pulumi.Input[_builtins.int]
|
|
1298
1378
|
"""
|
|
1299
1379
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1300
1380
|
"""
|
|
@@ -1310,7 +1390,7 @@ if not MYPY:
|
|
|
1310
1390
|
"""
|
|
1311
1391
|
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.
|
|
1312
1392
|
"""
|
|
1313
|
-
min_replicas: NotRequired[pulumi.Input[int]]
|
|
1393
|
+
min_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1314
1394
|
"""
|
|
1315
1395
|
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.
|
|
1316
1396
|
"""
|
|
@@ -1320,18 +1400,18 @@ elif False:
|
|
|
1320
1400
|
@pulumi.input_type
|
|
1321
1401
|
class HorizontalPodAutoscalerSpecArgs:
|
|
1322
1402
|
def __init__(__self__, *,
|
|
1323
|
-
max_replicas: pulumi.Input[int],
|
|
1403
|
+
max_replicas: pulumi.Input[_builtins.int],
|
|
1324
1404
|
scale_target_ref: pulumi.Input['CrossVersionObjectReferenceArgs'],
|
|
1325
1405
|
behavior: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorArgs']] = None,
|
|
1326
1406
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]] = None,
|
|
1327
|
-
min_replicas: Optional[pulumi.Input[int]] = None):
|
|
1407
|
+
min_replicas: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1328
1408
|
"""
|
|
1329
1409
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1330
|
-
:param pulumi.Input[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.
|
|
1410
|
+
:param pulumi.Input[_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.
|
|
1331
1411
|
:param pulumi.Input['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.
|
|
1332
1412
|
:param pulumi.Input['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.
|
|
1333
1413
|
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
1334
|
-
:param pulumi.Input[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.
|
|
1414
|
+
:param pulumi.Input[_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.
|
|
1335
1415
|
"""
|
|
1336
1416
|
pulumi.set(__self__, "max_replicas", max_replicas)
|
|
1337
1417
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
@@ -1342,19 +1422,19 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1342
1422
|
if min_replicas is not None:
|
|
1343
1423
|
pulumi.set(__self__, "min_replicas", min_replicas)
|
|
1344
1424
|
|
|
1345
|
-
@property
|
|
1425
|
+
@_builtins.property
|
|
1346
1426
|
@pulumi.getter(name="maxReplicas")
|
|
1347
|
-
def max_replicas(self) -> pulumi.Input[int]:
|
|
1427
|
+
def max_replicas(self) -> pulumi.Input[_builtins.int]:
|
|
1348
1428
|
"""
|
|
1349
1429
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1350
1430
|
"""
|
|
1351
1431
|
return pulumi.get(self, "max_replicas")
|
|
1352
1432
|
|
|
1353
1433
|
@max_replicas.setter
|
|
1354
|
-
def max_replicas(self, value: pulumi.Input[int]):
|
|
1434
|
+
def max_replicas(self, value: pulumi.Input[_builtins.int]):
|
|
1355
1435
|
pulumi.set(self, "max_replicas", value)
|
|
1356
1436
|
|
|
1357
|
-
@property
|
|
1437
|
+
@_builtins.property
|
|
1358
1438
|
@pulumi.getter(name="scaleTargetRef")
|
|
1359
1439
|
def scale_target_ref(self) -> pulumi.Input['CrossVersionObjectReferenceArgs']:
|
|
1360
1440
|
"""
|
|
@@ -1366,7 +1446,7 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1366
1446
|
def scale_target_ref(self, value: pulumi.Input['CrossVersionObjectReferenceArgs']):
|
|
1367
1447
|
pulumi.set(self, "scale_target_ref", value)
|
|
1368
1448
|
|
|
1369
|
-
@property
|
|
1449
|
+
@_builtins.property
|
|
1370
1450
|
@pulumi.getter
|
|
1371
1451
|
def behavior(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorArgs']]:
|
|
1372
1452
|
"""
|
|
@@ -1378,7 +1458,7 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1378
1458
|
def behavior(self, value: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorArgs']]):
|
|
1379
1459
|
pulumi.set(self, "behavior", value)
|
|
1380
1460
|
|
|
1381
|
-
@property
|
|
1461
|
+
@_builtins.property
|
|
1382
1462
|
@pulumi.getter
|
|
1383
1463
|
def metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]]:
|
|
1384
1464
|
"""
|
|
@@ -1390,16 +1470,16 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1390
1470
|
def metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]]):
|
|
1391
1471
|
pulumi.set(self, "metrics", value)
|
|
1392
1472
|
|
|
1393
|
-
@property
|
|
1473
|
+
@_builtins.property
|
|
1394
1474
|
@pulumi.getter(name="minReplicas")
|
|
1395
|
-
def min_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1475
|
+
def min_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1396
1476
|
"""
|
|
1397
1477
|
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.
|
|
1398
1478
|
"""
|
|
1399
1479
|
return pulumi.get(self, "min_replicas")
|
|
1400
1480
|
|
|
1401
1481
|
@min_replicas.setter
|
|
1402
|
-
def min_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1482
|
+
def min_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1403
1483
|
pulumi.set(self, "min_replicas", value)
|
|
1404
1484
|
|
|
1405
1485
|
|
|
@@ -1408,7 +1488,7 @@ if not MYPY:
|
|
|
1408
1488
|
"""
|
|
1409
1489
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1410
1490
|
"""
|
|
1411
|
-
desired_replicas: pulumi.Input[int]
|
|
1491
|
+
desired_replicas: pulumi.Input[_builtins.int]
|
|
1412
1492
|
"""
|
|
1413
1493
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1414
1494
|
"""
|
|
@@ -1420,15 +1500,15 @@ if not MYPY:
|
|
|
1420
1500
|
"""
|
|
1421
1501
|
currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1422
1502
|
"""
|
|
1423
|
-
current_replicas: NotRequired[pulumi.Input[int]]
|
|
1503
|
+
current_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1424
1504
|
"""
|
|
1425
1505
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1426
1506
|
"""
|
|
1427
|
-
last_scale_time: NotRequired[pulumi.Input[str]]
|
|
1507
|
+
last_scale_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1428
1508
|
"""
|
|
1429
1509
|
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.
|
|
1430
1510
|
"""
|
|
1431
|
-
observed_generation: NotRequired[pulumi.Input[int]]
|
|
1511
|
+
observed_generation: NotRequired[pulumi.Input[_builtins.int]]
|
|
1432
1512
|
"""
|
|
1433
1513
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1434
1514
|
"""
|
|
@@ -1438,20 +1518,20 @@ elif False:
|
|
|
1438
1518
|
@pulumi.input_type
|
|
1439
1519
|
class HorizontalPodAutoscalerStatusArgs:
|
|
1440
1520
|
def __init__(__self__, *,
|
|
1441
|
-
desired_replicas: pulumi.Input[int],
|
|
1521
|
+
desired_replicas: pulumi.Input[_builtins.int],
|
|
1442
1522
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]]] = None,
|
|
1443
1523
|
current_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]] = None,
|
|
1444
|
-
current_replicas: Optional[pulumi.Input[int]] = None,
|
|
1445
|
-
last_scale_time: Optional[pulumi.Input[str]] = None,
|
|
1446
|
-
observed_generation: Optional[pulumi.Input[int]] = None):
|
|
1524
|
+
current_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1525
|
+
last_scale_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1526
|
+
observed_generation: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1447
1527
|
"""
|
|
1448
1528
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1449
|
-
:param pulumi.Input[int] desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1529
|
+
:param pulumi.Input[_builtins.int] desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1450
1530
|
:param pulumi.Input[Sequence[pulumi.Input['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.
|
|
1451
1531
|
:param pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1452
|
-
:param pulumi.Input[int] current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1453
|
-
:param pulumi.Input[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.
|
|
1454
|
-
:param pulumi.Input[int] observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1532
|
+
:param pulumi.Input[_builtins.int] current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1533
|
+
:param pulumi.Input[_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.
|
|
1534
|
+
:param pulumi.Input[_builtins.int] observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1455
1535
|
"""
|
|
1456
1536
|
pulumi.set(__self__, "desired_replicas", desired_replicas)
|
|
1457
1537
|
if conditions is not None:
|
|
@@ -1465,19 +1545,19 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1465
1545
|
if observed_generation is not None:
|
|
1466
1546
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
1467
1547
|
|
|
1468
|
-
@property
|
|
1548
|
+
@_builtins.property
|
|
1469
1549
|
@pulumi.getter(name="desiredReplicas")
|
|
1470
|
-
def desired_replicas(self) -> pulumi.Input[int]:
|
|
1550
|
+
def desired_replicas(self) -> pulumi.Input[_builtins.int]:
|
|
1471
1551
|
"""
|
|
1472
1552
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1473
1553
|
"""
|
|
1474
1554
|
return pulumi.get(self, "desired_replicas")
|
|
1475
1555
|
|
|
1476
1556
|
@desired_replicas.setter
|
|
1477
|
-
def desired_replicas(self, value: pulumi.Input[int]):
|
|
1557
|
+
def desired_replicas(self, value: pulumi.Input[_builtins.int]):
|
|
1478
1558
|
pulumi.set(self, "desired_replicas", value)
|
|
1479
1559
|
|
|
1480
|
-
@property
|
|
1560
|
+
@_builtins.property
|
|
1481
1561
|
@pulumi.getter
|
|
1482
1562
|
def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]]]:
|
|
1483
1563
|
"""
|
|
@@ -1489,7 +1569,7 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1489
1569
|
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]]]):
|
|
1490
1570
|
pulumi.set(self, "conditions", value)
|
|
1491
1571
|
|
|
1492
|
-
@property
|
|
1572
|
+
@_builtins.property
|
|
1493
1573
|
@pulumi.getter(name="currentMetrics")
|
|
1494
1574
|
def current_metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]]:
|
|
1495
1575
|
"""
|
|
@@ -1501,40 +1581,40 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1501
1581
|
def current_metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]]):
|
|
1502
1582
|
pulumi.set(self, "current_metrics", value)
|
|
1503
1583
|
|
|
1504
|
-
@property
|
|
1584
|
+
@_builtins.property
|
|
1505
1585
|
@pulumi.getter(name="currentReplicas")
|
|
1506
|
-
def current_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1586
|
+
def current_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1507
1587
|
"""
|
|
1508
1588
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1509
1589
|
"""
|
|
1510
1590
|
return pulumi.get(self, "current_replicas")
|
|
1511
1591
|
|
|
1512
1592
|
@current_replicas.setter
|
|
1513
|
-
def current_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1593
|
+
def current_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1514
1594
|
pulumi.set(self, "current_replicas", value)
|
|
1515
1595
|
|
|
1516
|
-
@property
|
|
1596
|
+
@_builtins.property
|
|
1517
1597
|
@pulumi.getter(name="lastScaleTime")
|
|
1518
|
-
def last_scale_time(self) -> Optional[pulumi.Input[str]]:
|
|
1598
|
+
def last_scale_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1519
1599
|
"""
|
|
1520
1600
|
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.
|
|
1521
1601
|
"""
|
|
1522
1602
|
return pulumi.get(self, "last_scale_time")
|
|
1523
1603
|
|
|
1524
1604
|
@last_scale_time.setter
|
|
1525
|
-
def last_scale_time(self, value: Optional[pulumi.Input[str]]):
|
|
1605
|
+
def last_scale_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1526
1606
|
pulumi.set(self, "last_scale_time", value)
|
|
1527
1607
|
|
|
1528
|
-
@property
|
|
1608
|
+
@_builtins.property
|
|
1529
1609
|
@pulumi.getter(name="observedGeneration")
|
|
1530
|
-
def observed_generation(self) -> Optional[pulumi.Input[int]]:
|
|
1610
|
+
def observed_generation(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1531
1611
|
"""
|
|
1532
1612
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1533
1613
|
"""
|
|
1534
1614
|
return pulumi.get(self, "observed_generation")
|
|
1535
1615
|
|
|
1536
1616
|
@observed_generation.setter
|
|
1537
|
-
def observed_generation(self, value: Optional[pulumi.Input[int]]):
|
|
1617
|
+
def observed_generation(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1538
1618
|
pulumi.set(self, "observed_generation", value)
|
|
1539
1619
|
|
|
1540
1620
|
|
|
@@ -1543,11 +1623,11 @@ if not MYPY:
|
|
|
1543
1623
|
"""
|
|
1544
1624
|
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.
|
|
1545
1625
|
"""
|
|
1546
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1626
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1547
1627
|
"""
|
|
1548
1628
|
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
|
|
1549
1629
|
"""
|
|
1550
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1630
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1551
1631
|
"""
|
|
1552
1632
|
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
|
|
1553
1633
|
"""
|
|
@@ -1569,15 +1649,15 @@ elif False:
|
|
|
1569
1649
|
@pulumi.input_type
|
|
1570
1650
|
class HorizontalPodAutoscalerArgs:
|
|
1571
1651
|
def __init__(__self__, *,
|
|
1572
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1573
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1652
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1653
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1574
1654
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1575
1655
|
spec: Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']] = None,
|
|
1576
1656
|
status: Optional[pulumi.Input['HorizontalPodAutoscalerStatusArgs']] = None):
|
|
1577
1657
|
"""
|
|
1578
1658
|
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.
|
|
1579
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1580
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1659
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1660
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1581
1661
|
:param pulumi.Input['_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
|
|
1582
1662
|
:param pulumi.Input['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.
|
|
1583
1663
|
:param pulumi.Input['HorizontalPodAutoscalerStatusArgs'] status: status is the current information about the autoscaler.
|
|
@@ -1593,31 +1673,31 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1593
1673
|
if status is not None:
|
|
1594
1674
|
pulumi.set(__self__, "status", status)
|
|
1595
1675
|
|
|
1596
|
-
@property
|
|
1676
|
+
@_builtins.property
|
|
1597
1677
|
@pulumi.getter(name="apiVersion")
|
|
1598
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1678
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1599
1679
|
"""
|
|
1600
1680
|
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
|
|
1601
1681
|
"""
|
|
1602
1682
|
return pulumi.get(self, "api_version")
|
|
1603
1683
|
|
|
1604
1684
|
@api_version.setter
|
|
1605
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1685
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1606
1686
|
pulumi.set(self, "api_version", value)
|
|
1607
1687
|
|
|
1608
|
-
@property
|
|
1688
|
+
@_builtins.property
|
|
1609
1689
|
@pulumi.getter
|
|
1610
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1690
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1611
1691
|
"""
|
|
1612
1692
|
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
|
|
1613
1693
|
"""
|
|
1614
1694
|
return pulumi.get(self, "kind")
|
|
1615
1695
|
|
|
1616
1696
|
@kind.setter
|
|
1617
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1697
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1618
1698
|
pulumi.set(self, "kind", value)
|
|
1619
1699
|
|
|
1620
|
-
@property
|
|
1700
|
+
@_builtins.property
|
|
1621
1701
|
@pulumi.getter
|
|
1622
1702
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1623
1703
|
"""
|
|
@@ -1629,7 +1709,7 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1629
1709
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1630
1710
|
pulumi.set(self, "metadata", value)
|
|
1631
1711
|
|
|
1632
|
-
@property
|
|
1712
|
+
@_builtins.property
|
|
1633
1713
|
@pulumi.getter
|
|
1634
1714
|
def spec(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']]:
|
|
1635
1715
|
"""
|
|
@@ -1641,7 +1721,7 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1641
1721
|
def spec(self, value: Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']]):
|
|
1642
1722
|
pulumi.set(self, "spec", value)
|
|
1643
1723
|
|
|
1644
|
-
@property
|
|
1724
|
+
@_builtins.property
|
|
1645
1725
|
@pulumi.getter
|
|
1646
1726
|
def status(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerStatusArgs']]:
|
|
1647
1727
|
"""
|
|
@@ -1659,7 +1739,7 @@ if not MYPY:
|
|
|
1659
1739
|
"""
|
|
1660
1740
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1661
1741
|
"""
|
|
1662
|
-
name: NotRequired[pulumi.Input[str]]
|
|
1742
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1663
1743
|
"""
|
|
1664
1744
|
name is the name of the given metric
|
|
1665
1745
|
"""
|
|
@@ -1673,11 +1753,11 @@ elif False:
|
|
|
1673
1753
|
@pulumi.input_type
|
|
1674
1754
|
class MetricIdentifierPatchArgs:
|
|
1675
1755
|
def __init__(__self__, *,
|
|
1676
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
1756
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1677
1757
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None):
|
|
1678
1758
|
"""
|
|
1679
1759
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1680
|
-
:param pulumi.Input[str] name: name is the name of the given metric
|
|
1760
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the given metric
|
|
1681
1761
|
:param pulumi.Input['_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.
|
|
1682
1762
|
"""
|
|
1683
1763
|
if name is not None:
|
|
@@ -1685,19 +1765,19 @@ class MetricIdentifierPatchArgs:
|
|
|
1685
1765
|
if selector is not None:
|
|
1686
1766
|
pulumi.set(__self__, "selector", selector)
|
|
1687
1767
|
|
|
1688
|
-
@property
|
|
1768
|
+
@_builtins.property
|
|
1689
1769
|
@pulumi.getter
|
|
1690
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
1770
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1691
1771
|
"""
|
|
1692
1772
|
name is the name of the given metric
|
|
1693
1773
|
"""
|
|
1694
1774
|
return pulumi.get(self, "name")
|
|
1695
1775
|
|
|
1696
1776
|
@name.setter
|
|
1697
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
1777
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1698
1778
|
pulumi.set(self, "name", value)
|
|
1699
1779
|
|
|
1700
|
-
@property
|
|
1780
|
+
@_builtins.property
|
|
1701
1781
|
@pulumi.getter
|
|
1702
1782
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
1703
1783
|
"""
|
|
@@ -1715,7 +1795,7 @@ if not MYPY:
|
|
|
1715
1795
|
"""
|
|
1716
1796
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1717
1797
|
"""
|
|
1718
|
-
name: pulumi.Input[str]
|
|
1798
|
+
name: pulumi.Input[_builtins.str]
|
|
1719
1799
|
"""
|
|
1720
1800
|
name is the name of the given metric
|
|
1721
1801
|
"""
|
|
@@ -1729,30 +1809,30 @@ elif False:
|
|
|
1729
1809
|
@pulumi.input_type
|
|
1730
1810
|
class MetricIdentifierArgs:
|
|
1731
1811
|
def __init__(__self__, *,
|
|
1732
|
-
name: pulumi.Input[str],
|
|
1812
|
+
name: pulumi.Input[_builtins.str],
|
|
1733
1813
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
1734
1814
|
"""
|
|
1735
1815
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1736
|
-
:param pulumi.Input[str] name: name is the name of the given metric
|
|
1816
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the given metric
|
|
1737
1817
|
:param pulumi.Input['_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.
|
|
1738
1818
|
"""
|
|
1739
1819
|
pulumi.set(__self__, "name", name)
|
|
1740
1820
|
if selector is not None:
|
|
1741
1821
|
pulumi.set(__self__, "selector", selector)
|
|
1742
1822
|
|
|
1743
|
-
@property
|
|
1823
|
+
@_builtins.property
|
|
1744
1824
|
@pulumi.getter
|
|
1745
|
-
def name(self) -> pulumi.Input[str]:
|
|
1825
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
1746
1826
|
"""
|
|
1747
1827
|
name is the name of the given metric
|
|
1748
1828
|
"""
|
|
1749
1829
|
return pulumi.get(self, "name")
|
|
1750
1830
|
|
|
1751
1831
|
@name.setter
|
|
1752
|
-
def name(self, value: pulumi.Input[str]):
|
|
1832
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
1753
1833
|
pulumi.set(self, "name", value)
|
|
1754
1834
|
|
|
1755
|
-
@property
|
|
1835
|
+
@_builtins.property
|
|
1756
1836
|
@pulumi.getter
|
|
1757
1837
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
1758
1838
|
"""
|
|
@@ -1772,7 +1852,7 @@ if not MYPY:
|
|
|
1772
1852
|
"""
|
|
1773
1853
|
container_resource: NotRequired[pulumi.Input['ContainerResourceMetricSourcePatchArgsDict']]
|
|
1774
1854
|
"""
|
|
1775
|
-
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.
|
|
1855
|
+
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.
|
|
1776
1856
|
"""
|
|
1777
1857
|
external: NotRequired[pulumi.Input['ExternalMetricSourcePatchArgsDict']]
|
|
1778
1858
|
"""
|
|
@@ -1790,9 +1870,9 @@ if not MYPY:
|
|
|
1790
1870
|
"""
|
|
1791
1871
|
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.
|
|
1792
1872
|
"""
|
|
1793
|
-
type: NotRequired[pulumi.Input[str]]
|
|
1873
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
1794
1874
|
"""
|
|
1795
|
-
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.
|
|
1875
|
+
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.
|
|
1796
1876
|
"""
|
|
1797
1877
|
elif False:
|
|
1798
1878
|
MetricSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
@@ -1805,15 +1885,15 @@ class MetricSpecPatchArgs:
|
|
|
1805
1885
|
object: Optional[pulumi.Input['ObjectMetricSourcePatchArgs']] = None,
|
|
1806
1886
|
pods: Optional[pulumi.Input['PodsMetricSourcePatchArgs']] = None,
|
|
1807
1887
|
resource: Optional[pulumi.Input['ResourceMetricSourcePatchArgs']] = None,
|
|
1808
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
1888
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1809
1889
|
"""
|
|
1810
1890
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1811
|
-
:param pulumi.Input['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.
|
|
1891
|
+
:param pulumi.Input['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.
|
|
1812
1892
|
:param pulumi.Input['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).
|
|
1813
1893
|
:param pulumi.Input['ObjectMetricSourcePatchArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1814
1894
|
:param pulumi.Input['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.
|
|
1815
1895
|
:param pulumi.Input['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.
|
|
1816
|
-
:param pulumi.Input[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.
|
|
1896
|
+
:param pulumi.Input[_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.
|
|
1817
1897
|
"""
|
|
1818
1898
|
if container_resource is not None:
|
|
1819
1899
|
pulumi.set(__self__, "container_resource", container_resource)
|
|
@@ -1828,11 +1908,11 @@ class MetricSpecPatchArgs:
|
|
|
1828
1908
|
if type is not None:
|
|
1829
1909
|
pulumi.set(__self__, "type", type)
|
|
1830
1910
|
|
|
1831
|
-
@property
|
|
1911
|
+
@_builtins.property
|
|
1832
1912
|
@pulumi.getter(name="containerResource")
|
|
1833
1913
|
def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricSourcePatchArgs']]:
|
|
1834
1914
|
"""
|
|
1835
|
-
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.
|
|
1915
|
+
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.
|
|
1836
1916
|
"""
|
|
1837
1917
|
return pulumi.get(self, "container_resource")
|
|
1838
1918
|
|
|
@@ -1840,7 +1920,7 @@ class MetricSpecPatchArgs:
|
|
|
1840
1920
|
def container_resource(self, value: Optional[pulumi.Input['ContainerResourceMetricSourcePatchArgs']]):
|
|
1841
1921
|
pulumi.set(self, "container_resource", value)
|
|
1842
1922
|
|
|
1843
|
-
@property
|
|
1923
|
+
@_builtins.property
|
|
1844
1924
|
@pulumi.getter
|
|
1845
1925
|
def external(self) -> Optional[pulumi.Input['ExternalMetricSourcePatchArgs']]:
|
|
1846
1926
|
"""
|
|
@@ -1852,7 +1932,7 @@ class MetricSpecPatchArgs:
|
|
|
1852
1932
|
def external(self, value: Optional[pulumi.Input['ExternalMetricSourcePatchArgs']]):
|
|
1853
1933
|
pulumi.set(self, "external", value)
|
|
1854
1934
|
|
|
1855
|
-
@property
|
|
1935
|
+
@_builtins.property
|
|
1856
1936
|
@pulumi.getter
|
|
1857
1937
|
def object(self) -> Optional[pulumi.Input['ObjectMetricSourcePatchArgs']]:
|
|
1858
1938
|
"""
|
|
@@ -1864,7 +1944,7 @@ class MetricSpecPatchArgs:
|
|
|
1864
1944
|
def object(self, value: Optional[pulumi.Input['ObjectMetricSourcePatchArgs']]):
|
|
1865
1945
|
pulumi.set(self, "object", value)
|
|
1866
1946
|
|
|
1867
|
-
@property
|
|
1947
|
+
@_builtins.property
|
|
1868
1948
|
@pulumi.getter
|
|
1869
1949
|
def pods(self) -> Optional[pulumi.Input['PodsMetricSourcePatchArgs']]:
|
|
1870
1950
|
"""
|
|
@@ -1876,7 +1956,7 @@ class MetricSpecPatchArgs:
|
|
|
1876
1956
|
def pods(self, value: Optional[pulumi.Input['PodsMetricSourcePatchArgs']]):
|
|
1877
1957
|
pulumi.set(self, "pods", value)
|
|
1878
1958
|
|
|
1879
|
-
@property
|
|
1959
|
+
@_builtins.property
|
|
1880
1960
|
@pulumi.getter
|
|
1881
1961
|
def resource(self) -> Optional[pulumi.Input['ResourceMetricSourcePatchArgs']]:
|
|
1882
1962
|
"""
|
|
@@ -1888,16 +1968,16 @@ class MetricSpecPatchArgs:
|
|
|
1888
1968
|
def resource(self, value: Optional[pulumi.Input['ResourceMetricSourcePatchArgs']]):
|
|
1889
1969
|
pulumi.set(self, "resource", value)
|
|
1890
1970
|
|
|
1891
|
-
@property
|
|
1971
|
+
@_builtins.property
|
|
1892
1972
|
@pulumi.getter
|
|
1893
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
1973
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1894
1974
|
"""
|
|
1895
|
-
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.
|
|
1975
|
+
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.
|
|
1896
1976
|
"""
|
|
1897
1977
|
return pulumi.get(self, "type")
|
|
1898
1978
|
|
|
1899
1979
|
@type.setter
|
|
1900
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
1980
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1901
1981
|
pulumi.set(self, "type", value)
|
|
1902
1982
|
|
|
1903
1983
|
|
|
@@ -1906,13 +1986,13 @@ if not MYPY:
|
|
|
1906
1986
|
"""
|
|
1907
1987
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1908
1988
|
"""
|
|
1909
|
-
type: pulumi.Input[str]
|
|
1989
|
+
type: pulumi.Input[_builtins.str]
|
|
1910
1990
|
"""
|
|
1911
|
-
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.
|
|
1991
|
+
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.
|
|
1912
1992
|
"""
|
|
1913
1993
|
container_resource: NotRequired[pulumi.Input['ContainerResourceMetricSourceArgsDict']]
|
|
1914
1994
|
"""
|
|
1915
|
-
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.
|
|
1995
|
+
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.
|
|
1916
1996
|
"""
|
|
1917
1997
|
external: NotRequired[pulumi.Input['ExternalMetricSourceArgsDict']]
|
|
1918
1998
|
"""
|
|
@@ -1936,7 +2016,7 @@ elif False:
|
|
|
1936
2016
|
@pulumi.input_type
|
|
1937
2017
|
class MetricSpecArgs:
|
|
1938
2018
|
def __init__(__self__, *,
|
|
1939
|
-
type: pulumi.Input[str],
|
|
2019
|
+
type: pulumi.Input[_builtins.str],
|
|
1940
2020
|
container_resource: Optional[pulumi.Input['ContainerResourceMetricSourceArgs']] = None,
|
|
1941
2021
|
external: Optional[pulumi.Input['ExternalMetricSourceArgs']] = None,
|
|
1942
2022
|
object: Optional[pulumi.Input['ObjectMetricSourceArgs']] = None,
|
|
@@ -1944,8 +2024,8 @@ class MetricSpecArgs:
|
|
|
1944
2024
|
resource: Optional[pulumi.Input['ResourceMetricSourceArgs']] = None):
|
|
1945
2025
|
"""
|
|
1946
2026
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1947
|
-
:param pulumi.Input[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.
|
|
1948
|
-
:param pulumi.Input['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.
|
|
2027
|
+
:param pulumi.Input[_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.
|
|
2028
|
+
:param pulumi.Input['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.
|
|
1949
2029
|
:param pulumi.Input['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).
|
|
1950
2030
|
:param pulumi.Input['ObjectMetricSourceArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1951
2031
|
:param pulumi.Input['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.
|
|
@@ -1963,23 +2043,23 @@ class MetricSpecArgs:
|
|
|
1963
2043
|
if resource is not None:
|
|
1964
2044
|
pulumi.set(__self__, "resource", resource)
|
|
1965
2045
|
|
|
1966
|
-
@property
|
|
2046
|
+
@_builtins.property
|
|
1967
2047
|
@pulumi.getter
|
|
1968
|
-
def type(self) -> pulumi.Input[str]:
|
|
2048
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
1969
2049
|
"""
|
|
1970
|
-
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.
|
|
2050
|
+
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.
|
|
1971
2051
|
"""
|
|
1972
2052
|
return pulumi.get(self, "type")
|
|
1973
2053
|
|
|
1974
2054
|
@type.setter
|
|
1975
|
-
def type(self, value: pulumi.Input[str]):
|
|
2055
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
1976
2056
|
pulumi.set(self, "type", value)
|
|
1977
2057
|
|
|
1978
|
-
@property
|
|
2058
|
+
@_builtins.property
|
|
1979
2059
|
@pulumi.getter(name="containerResource")
|
|
1980
2060
|
def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricSourceArgs']]:
|
|
1981
2061
|
"""
|
|
1982
|
-
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.
|
|
2062
|
+
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.
|
|
1983
2063
|
"""
|
|
1984
2064
|
return pulumi.get(self, "container_resource")
|
|
1985
2065
|
|
|
@@ -1987,7 +2067,7 @@ class MetricSpecArgs:
|
|
|
1987
2067
|
def container_resource(self, value: Optional[pulumi.Input['ContainerResourceMetricSourceArgs']]):
|
|
1988
2068
|
pulumi.set(self, "container_resource", value)
|
|
1989
2069
|
|
|
1990
|
-
@property
|
|
2070
|
+
@_builtins.property
|
|
1991
2071
|
@pulumi.getter
|
|
1992
2072
|
def external(self) -> Optional[pulumi.Input['ExternalMetricSourceArgs']]:
|
|
1993
2073
|
"""
|
|
@@ -1999,7 +2079,7 @@ class MetricSpecArgs:
|
|
|
1999
2079
|
def external(self, value: Optional[pulumi.Input['ExternalMetricSourceArgs']]):
|
|
2000
2080
|
pulumi.set(self, "external", value)
|
|
2001
2081
|
|
|
2002
|
-
@property
|
|
2082
|
+
@_builtins.property
|
|
2003
2083
|
@pulumi.getter
|
|
2004
2084
|
def object(self) -> Optional[pulumi.Input['ObjectMetricSourceArgs']]:
|
|
2005
2085
|
"""
|
|
@@ -2011,7 +2091,7 @@ class MetricSpecArgs:
|
|
|
2011
2091
|
def object(self, value: Optional[pulumi.Input['ObjectMetricSourceArgs']]):
|
|
2012
2092
|
pulumi.set(self, "object", value)
|
|
2013
2093
|
|
|
2014
|
-
@property
|
|
2094
|
+
@_builtins.property
|
|
2015
2095
|
@pulumi.getter
|
|
2016
2096
|
def pods(self) -> Optional[pulumi.Input['PodsMetricSourceArgs']]:
|
|
2017
2097
|
"""
|
|
@@ -2023,7 +2103,7 @@ class MetricSpecArgs:
|
|
|
2023
2103
|
def pods(self, value: Optional[pulumi.Input['PodsMetricSourceArgs']]):
|
|
2024
2104
|
pulumi.set(self, "pods", value)
|
|
2025
2105
|
|
|
2026
|
-
@property
|
|
2106
|
+
@_builtins.property
|
|
2027
2107
|
@pulumi.getter
|
|
2028
2108
|
def resource(self) -> Optional[pulumi.Input['ResourceMetricSourceArgs']]:
|
|
2029
2109
|
"""
|
|
@@ -2041,9 +2121,9 @@ if not MYPY:
|
|
|
2041
2121
|
"""
|
|
2042
2122
|
MetricStatus describes the last-read state of a single metric.
|
|
2043
2123
|
"""
|
|
2044
|
-
type: pulumi.Input[str]
|
|
2124
|
+
type: pulumi.Input[_builtins.str]
|
|
2045
2125
|
"""
|
|
2046
|
-
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.
|
|
2126
|
+
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.
|
|
2047
2127
|
"""
|
|
2048
2128
|
container_resource: NotRequired[pulumi.Input['ContainerResourceMetricStatusArgsDict']]
|
|
2049
2129
|
"""
|
|
@@ -2071,7 +2151,7 @@ elif False:
|
|
|
2071
2151
|
@pulumi.input_type
|
|
2072
2152
|
class MetricStatusArgs:
|
|
2073
2153
|
def __init__(__self__, *,
|
|
2074
|
-
type: pulumi.Input[str],
|
|
2154
|
+
type: pulumi.Input[_builtins.str],
|
|
2075
2155
|
container_resource: Optional[pulumi.Input['ContainerResourceMetricStatusArgs']] = None,
|
|
2076
2156
|
external: Optional[pulumi.Input['ExternalMetricStatusArgs']] = None,
|
|
2077
2157
|
object: Optional[pulumi.Input['ObjectMetricStatusArgs']] = None,
|
|
@@ -2079,7 +2159,7 @@ class MetricStatusArgs:
|
|
|
2079
2159
|
resource: Optional[pulumi.Input['ResourceMetricStatusArgs']] = None):
|
|
2080
2160
|
"""
|
|
2081
2161
|
MetricStatus describes the last-read state of a single metric.
|
|
2082
|
-
:param pulumi.Input[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.
|
|
2162
|
+
:param pulumi.Input[_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.
|
|
2083
2163
|
:param pulumi.Input['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.
|
|
2084
2164
|
:param pulumi.Input['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).
|
|
2085
2165
|
:param pulumi.Input['ObjectMetricStatusArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -2098,19 +2178,19 @@ class MetricStatusArgs:
|
|
|
2098
2178
|
if resource is not None:
|
|
2099
2179
|
pulumi.set(__self__, "resource", resource)
|
|
2100
2180
|
|
|
2101
|
-
@property
|
|
2181
|
+
@_builtins.property
|
|
2102
2182
|
@pulumi.getter
|
|
2103
|
-
def type(self) -> pulumi.Input[str]:
|
|
2183
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
2104
2184
|
"""
|
|
2105
|
-
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.
|
|
2185
|
+
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.
|
|
2106
2186
|
"""
|
|
2107
2187
|
return pulumi.get(self, "type")
|
|
2108
2188
|
|
|
2109
2189
|
@type.setter
|
|
2110
|
-
def type(self, value: pulumi.Input[str]):
|
|
2190
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
2111
2191
|
pulumi.set(self, "type", value)
|
|
2112
2192
|
|
|
2113
|
-
@property
|
|
2193
|
+
@_builtins.property
|
|
2114
2194
|
@pulumi.getter(name="containerResource")
|
|
2115
2195
|
def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricStatusArgs']]:
|
|
2116
2196
|
"""
|
|
@@ -2122,7 +2202,7 @@ class MetricStatusArgs:
|
|
|
2122
2202
|
def container_resource(self, value: Optional[pulumi.Input['ContainerResourceMetricStatusArgs']]):
|
|
2123
2203
|
pulumi.set(self, "container_resource", value)
|
|
2124
2204
|
|
|
2125
|
-
@property
|
|
2205
|
+
@_builtins.property
|
|
2126
2206
|
@pulumi.getter
|
|
2127
2207
|
def external(self) -> Optional[pulumi.Input['ExternalMetricStatusArgs']]:
|
|
2128
2208
|
"""
|
|
@@ -2134,7 +2214,7 @@ class MetricStatusArgs:
|
|
|
2134
2214
|
def external(self, value: Optional[pulumi.Input['ExternalMetricStatusArgs']]):
|
|
2135
2215
|
pulumi.set(self, "external", value)
|
|
2136
2216
|
|
|
2137
|
-
@property
|
|
2217
|
+
@_builtins.property
|
|
2138
2218
|
@pulumi.getter
|
|
2139
2219
|
def object(self) -> Optional[pulumi.Input['ObjectMetricStatusArgs']]:
|
|
2140
2220
|
"""
|
|
@@ -2146,7 +2226,7 @@ class MetricStatusArgs:
|
|
|
2146
2226
|
def object(self, value: Optional[pulumi.Input['ObjectMetricStatusArgs']]):
|
|
2147
2227
|
pulumi.set(self, "object", value)
|
|
2148
2228
|
|
|
2149
|
-
@property
|
|
2229
|
+
@_builtins.property
|
|
2150
2230
|
@pulumi.getter
|
|
2151
2231
|
def pods(self) -> Optional[pulumi.Input['PodsMetricStatusArgs']]:
|
|
2152
2232
|
"""
|
|
@@ -2158,7 +2238,7 @@ class MetricStatusArgs:
|
|
|
2158
2238
|
def pods(self, value: Optional[pulumi.Input['PodsMetricStatusArgs']]):
|
|
2159
2239
|
pulumi.set(self, "pods", value)
|
|
2160
2240
|
|
|
2161
|
-
@property
|
|
2241
|
+
@_builtins.property
|
|
2162
2242
|
@pulumi.getter
|
|
2163
2243
|
def resource(self) -> Optional[pulumi.Input['ResourceMetricStatusArgs']]:
|
|
2164
2244
|
"""
|
|
@@ -2176,19 +2256,19 @@ if not MYPY:
|
|
|
2176
2256
|
"""
|
|
2177
2257
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2178
2258
|
"""
|
|
2179
|
-
average_utilization: NotRequired[pulumi.Input[int]]
|
|
2259
|
+
average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
2180
2260
|
"""
|
|
2181
2261
|
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
|
|
2182
2262
|
"""
|
|
2183
|
-
average_value: NotRequired[pulumi.Input[str]]
|
|
2263
|
+
average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2184
2264
|
"""
|
|
2185
2265
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2186
2266
|
"""
|
|
2187
|
-
type: NotRequired[pulumi.Input[str]]
|
|
2267
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
2188
2268
|
"""
|
|
2189
2269
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2190
2270
|
"""
|
|
2191
|
-
value: NotRequired[pulumi.Input[str]]
|
|
2271
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2192
2272
|
"""
|
|
2193
2273
|
value is the target value of the metric (as a quantity).
|
|
2194
2274
|
"""
|
|
@@ -2198,16 +2278,16 @@ elif False:
|
|
|
2198
2278
|
@pulumi.input_type
|
|
2199
2279
|
class MetricTargetPatchArgs:
|
|
2200
2280
|
def __init__(__self__, *,
|
|
2201
|
-
average_utilization: Optional[pulumi.Input[int]] = None,
|
|
2202
|
-
average_value: Optional[pulumi.Input[str]] = None,
|
|
2203
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
2204
|
-
value: Optional[pulumi.Input[str]] = None):
|
|
2281
|
+
average_utilization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2282
|
+
average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2283
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2284
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2205
2285
|
"""
|
|
2206
2286
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2207
|
-
:param pulumi.Input[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
|
|
2208
|
-
:param pulumi.Input[str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2209
|
-
:param pulumi.Input[str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2210
|
-
:param pulumi.Input[str] value: value is the target value of the metric (as a quantity).
|
|
2287
|
+
:param pulumi.Input[_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
|
|
2288
|
+
:param pulumi.Input[_builtins.str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2289
|
+
:param pulumi.Input[_builtins.str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2290
|
+
:param pulumi.Input[_builtins.str] value: value is the target value of the metric (as a quantity).
|
|
2211
2291
|
"""
|
|
2212
2292
|
if average_utilization is not None:
|
|
2213
2293
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2218,52 +2298,52 @@ class MetricTargetPatchArgs:
|
|
|
2218
2298
|
if value is not None:
|
|
2219
2299
|
pulumi.set(__self__, "value", value)
|
|
2220
2300
|
|
|
2221
|
-
@property
|
|
2301
|
+
@_builtins.property
|
|
2222
2302
|
@pulumi.getter(name="averageUtilization")
|
|
2223
|
-
def average_utilization(self) -> Optional[pulumi.Input[int]]:
|
|
2303
|
+
def average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2224
2304
|
"""
|
|
2225
2305
|
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
|
|
2226
2306
|
"""
|
|
2227
2307
|
return pulumi.get(self, "average_utilization")
|
|
2228
2308
|
|
|
2229
2309
|
@average_utilization.setter
|
|
2230
|
-
def average_utilization(self, value: Optional[pulumi.Input[int]]):
|
|
2310
|
+
def average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2231
2311
|
pulumi.set(self, "average_utilization", value)
|
|
2232
2312
|
|
|
2233
|
-
@property
|
|
2313
|
+
@_builtins.property
|
|
2234
2314
|
@pulumi.getter(name="averageValue")
|
|
2235
|
-
def average_value(self) -> Optional[pulumi.Input[str]]:
|
|
2315
|
+
def average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2236
2316
|
"""
|
|
2237
2317
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2238
2318
|
"""
|
|
2239
2319
|
return pulumi.get(self, "average_value")
|
|
2240
2320
|
|
|
2241
2321
|
@average_value.setter
|
|
2242
|
-
def average_value(self, value: Optional[pulumi.Input[str]]):
|
|
2322
|
+
def average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2243
2323
|
pulumi.set(self, "average_value", value)
|
|
2244
2324
|
|
|
2245
|
-
@property
|
|
2325
|
+
@_builtins.property
|
|
2246
2326
|
@pulumi.getter
|
|
2247
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
2327
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2248
2328
|
"""
|
|
2249
2329
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2250
2330
|
"""
|
|
2251
2331
|
return pulumi.get(self, "type")
|
|
2252
2332
|
|
|
2253
2333
|
@type.setter
|
|
2254
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
2334
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2255
2335
|
pulumi.set(self, "type", value)
|
|
2256
2336
|
|
|
2257
|
-
@property
|
|
2337
|
+
@_builtins.property
|
|
2258
2338
|
@pulumi.getter
|
|
2259
|
-
def value(self) -> Optional[pulumi.Input[str]]:
|
|
2339
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2260
2340
|
"""
|
|
2261
2341
|
value is the target value of the metric (as a quantity).
|
|
2262
2342
|
"""
|
|
2263
2343
|
return pulumi.get(self, "value")
|
|
2264
2344
|
|
|
2265
2345
|
@value.setter
|
|
2266
|
-
def value(self, value: Optional[pulumi.Input[str]]):
|
|
2346
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2267
2347
|
pulumi.set(self, "value", value)
|
|
2268
2348
|
|
|
2269
2349
|
|
|
@@ -2272,19 +2352,19 @@ if not MYPY:
|
|
|
2272
2352
|
"""
|
|
2273
2353
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2274
2354
|
"""
|
|
2275
|
-
type: pulumi.Input[str]
|
|
2355
|
+
type: pulumi.Input[_builtins.str]
|
|
2276
2356
|
"""
|
|
2277
2357
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2278
2358
|
"""
|
|
2279
|
-
average_utilization: NotRequired[pulumi.Input[int]]
|
|
2359
|
+
average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
2280
2360
|
"""
|
|
2281
2361
|
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
|
|
2282
2362
|
"""
|
|
2283
|
-
average_value: NotRequired[pulumi.Input[str]]
|
|
2363
|
+
average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2284
2364
|
"""
|
|
2285
2365
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2286
2366
|
"""
|
|
2287
|
-
value: NotRequired[pulumi.Input[str]]
|
|
2367
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2288
2368
|
"""
|
|
2289
2369
|
value is the target value of the metric (as a quantity).
|
|
2290
2370
|
"""
|
|
@@ -2294,16 +2374,16 @@ elif False:
|
|
|
2294
2374
|
@pulumi.input_type
|
|
2295
2375
|
class MetricTargetArgs:
|
|
2296
2376
|
def __init__(__self__, *,
|
|
2297
|
-
type: pulumi.Input[str],
|
|
2298
|
-
average_utilization: Optional[pulumi.Input[int]] = None,
|
|
2299
|
-
average_value: Optional[pulumi.Input[str]] = None,
|
|
2300
|
-
value: Optional[pulumi.Input[str]] = None):
|
|
2377
|
+
type: pulumi.Input[_builtins.str],
|
|
2378
|
+
average_utilization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2379
|
+
average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2380
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2301
2381
|
"""
|
|
2302
2382
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2303
|
-
:param pulumi.Input[str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2304
|
-
:param pulumi.Input[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
|
|
2305
|
-
:param pulumi.Input[str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2306
|
-
:param pulumi.Input[str] value: value is the target value of the metric (as a quantity).
|
|
2383
|
+
:param pulumi.Input[_builtins.str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2384
|
+
:param pulumi.Input[_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
|
|
2385
|
+
:param pulumi.Input[_builtins.str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2386
|
+
:param pulumi.Input[_builtins.str] value: value is the target value of the metric (as a quantity).
|
|
2307
2387
|
"""
|
|
2308
2388
|
pulumi.set(__self__, "type", type)
|
|
2309
2389
|
if average_utilization is not None:
|
|
@@ -2313,52 +2393,52 @@ class MetricTargetArgs:
|
|
|
2313
2393
|
if value is not None:
|
|
2314
2394
|
pulumi.set(__self__, "value", value)
|
|
2315
2395
|
|
|
2316
|
-
@property
|
|
2396
|
+
@_builtins.property
|
|
2317
2397
|
@pulumi.getter
|
|
2318
|
-
def type(self) -> pulumi.Input[str]:
|
|
2398
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
2319
2399
|
"""
|
|
2320
2400
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2321
2401
|
"""
|
|
2322
2402
|
return pulumi.get(self, "type")
|
|
2323
2403
|
|
|
2324
2404
|
@type.setter
|
|
2325
|
-
def type(self, value: pulumi.Input[str]):
|
|
2405
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
2326
2406
|
pulumi.set(self, "type", value)
|
|
2327
2407
|
|
|
2328
|
-
@property
|
|
2408
|
+
@_builtins.property
|
|
2329
2409
|
@pulumi.getter(name="averageUtilization")
|
|
2330
|
-
def average_utilization(self) -> Optional[pulumi.Input[int]]:
|
|
2410
|
+
def average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2331
2411
|
"""
|
|
2332
2412
|
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
|
|
2333
2413
|
"""
|
|
2334
2414
|
return pulumi.get(self, "average_utilization")
|
|
2335
2415
|
|
|
2336
2416
|
@average_utilization.setter
|
|
2337
|
-
def average_utilization(self, value: Optional[pulumi.Input[int]]):
|
|
2417
|
+
def average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2338
2418
|
pulumi.set(self, "average_utilization", value)
|
|
2339
2419
|
|
|
2340
|
-
@property
|
|
2420
|
+
@_builtins.property
|
|
2341
2421
|
@pulumi.getter(name="averageValue")
|
|
2342
|
-
def average_value(self) -> Optional[pulumi.Input[str]]:
|
|
2422
|
+
def average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2343
2423
|
"""
|
|
2344
2424
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2345
2425
|
"""
|
|
2346
2426
|
return pulumi.get(self, "average_value")
|
|
2347
2427
|
|
|
2348
2428
|
@average_value.setter
|
|
2349
|
-
def average_value(self, value: Optional[pulumi.Input[str]]):
|
|
2429
|
+
def average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2350
2430
|
pulumi.set(self, "average_value", value)
|
|
2351
2431
|
|
|
2352
|
-
@property
|
|
2432
|
+
@_builtins.property
|
|
2353
2433
|
@pulumi.getter
|
|
2354
|
-
def value(self) -> Optional[pulumi.Input[str]]:
|
|
2434
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2355
2435
|
"""
|
|
2356
2436
|
value is the target value of the metric (as a quantity).
|
|
2357
2437
|
"""
|
|
2358
2438
|
return pulumi.get(self, "value")
|
|
2359
2439
|
|
|
2360
2440
|
@value.setter
|
|
2361
|
-
def value(self, value: Optional[pulumi.Input[str]]):
|
|
2441
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2362
2442
|
pulumi.set(self, "value", value)
|
|
2363
2443
|
|
|
2364
2444
|
|
|
@@ -2367,15 +2447,15 @@ if not MYPY:
|
|
|
2367
2447
|
"""
|
|
2368
2448
|
MetricValueStatus holds the current value for a metric
|
|
2369
2449
|
"""
|
|
2370
|
-
average_utilization: NotRequired[pulumi.Input[int]]
|
|
2450
|
+
average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
2371
2451
|
"""
|
|
2372
2452
|
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.
|
|
2373
2453
|
"""
|
|
2374
|
-
average_value: NotRequired[pulumi.Input[str]]
|
|
2454
|
+
average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2375
2455
|
"""
|
|
2376
2456
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2377
2457
|
"""
|
|
2378
|
-
value: NotRequired[pulumi.Input[str]]
|
|
2458
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2379
2459
|
"""
|
|
2380
2460
|
value is the current value of the metric (as a quantity).
|
|
2381
2461
|
"""
|
|
@@ -2385,14 +2465,14 @@ elif False:
|
|
|
2385
2465
|
@pulumi.input_type
|
|
2386
2466
|
class MetricValueStatusArgs:
|
|
2387
2467
|
def __init__(__self__, *,
|
|
2388
|
-
average_utilization: Optional[pulumi.Input[int]] = None,
|
|
2389
|
-
average_value: Optional[pulumi.Input[str]] = None,
|
|
2390
|
-
value: Optional[pulumi.Input[str]] = None):
|
|
2468
|
+
average_utilization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2469
|
+
average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2470
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2391
2471
|
"""
|
|
2392
2472
|
MetricValueStatus holds the current value for a metric
|
|
2393
|
-
:param pulumi.Input[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.
|
|
2394
|
-
:param pulumi.Input[str] average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2395
|
-
:param pulumi.Input[str] value: value is the current value of the metric (as a quantity).
|
|
2473
|
+
:param pulumi.Input[_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.
|
|
2474
|
+
:param pulumi.Input[_builtins.str] average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2475
|
+
:param pulumi.Input[_builtins.str] value: value is the current value of the metric (as a quantity).
|
|
2396
2476
|
"""
|
|
2397
2477
|
if average_utilization is not None:
|
|
2398
2478
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2401,40 +2481,40 @@ class MetricValueStatusArgs:
|
|
|
2401
2481
|
if value is not None:
|
|
2402
2482
|
pulumi.set(__self__, "value", value)
|
|
2403
2483
|
|
|
2404
|
-
@property
|
|
2484
|
+
@_builtins.property
|
|
2405
2485
|
@pulumi.getter(name="averageUtilization")
|
|
2406
|
-
def average_utilization(self) -> Optional[pulumi.Input[int]]:
|
|
2486
|
+
def average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2407
2487
|
"""
|
|
2408
2488
|
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.
|
|
2409
2489
|
"""
|
|
2410
2490
|
return pulumi.get(self, "average_utilization")
|
|
2411
2491
|
|
|
2412
2492
|
@average_utilization.setter
|
|
2413
|
-
def average_utilization(self, value: Optional[pulumi.Input[int]]):
|
|
2493
|
+
def average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2414
2494
|
pulumi.set(self, "average_utilization", value)
|
|
2415
2495
|
|
|
2416
|
-
@property
|
|
2496
|
+
@_builtins.property
|
|
2417
2497
|
@pulumi.getter(name="averageValue")
|
|
2418
|
-
def average_value(self) -> Optional[pulumi.Input[str]]:
|
|
2498
|
+
def average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2419
2499
|
"""
|
|
2420
2500
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2421
2501
|
"""
|
|
2422
2502
|
return pulumi.get(self, "average_value")
|
|
2423
2503
|
|
|
2424
2504
|
@average_value.setter
|
|
2425
|
-
def average_value(self, value: Optional[pulumi.Input[str]]):
|
|
2505
|
+
def average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2426
2506
|
pulumi.set(self, "average_value", value)
|
|
2427
2507
|
|
|
2428
|
-
@property
|
|
2508
|
+
@_builtins.property
|
|
2429
2509
|
@pulumi.getter
|
|
2430
|
-
def value(self) -> Optional[pulumi.Input[str]]:
|
|
2510
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2431
2511
|
"""
|
|
2432
2512
|
value is the current value of the metric (as a quantity).
|
|
2433
2513
|
"""
|
|
2434
2514
|
return pulumi.get(self, "value")
|
|
2435
2515
|
|
|
2436
2516
|
@value.setter
|
|
2437
|
-
def value(self, value: Optional[pulumi.Input[str]]):
|
|
2517
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2438
2518
|
pulumi.set(self, "value", value)
|
|
2439
2519
|
|
|
2440
2520
|
|
|
@@ -2477,7 +2557,7 @@ class ObjectMetricSourcePatchArgs:
|
|
|
2477
2557
|
if target is not None:
|
|
2478
2558
|
pulumi.set(__self__, "target", target)
|
|
2479
2559
|
|
|
2480
|
-
@property
|
|
2560
|
+
@_builtins.property
|
|
2481
2561
|
@pulumi.getter(name="describedObject")
|
|
2482
2562
|
def described_object(self) -> Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']]:
|
|
2483
2563
|
"""
|
|
@@ -2489,7 +2569,7 @@ class ObjectMetricSourcePatchArgs:
|
|
|
2489
2569
|
def described_object(self, value: Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']]):
|
|
2490
2570
|
pulumi.set(self, "described_object", value)
|
|
2491
2571
|
|
|
2492
|
-
@property
|
|
2572
|
+
@_builtins.property
|
|
2493
2573
|
@pulumi.getter
|
|
2494
2574
|
def metric(self) -> Optional[pulumi.Input['MetricIdentifierPatchArgs']]:
|
|
2495
2575
|
"""
|
|
@@ -2501,7 +2581,7 @@ class ObjectMetricSourcePatchArgs:
|
|
|
2501
2581
|
def metric(self, value: Optional[pulumi.Input['MetricIdentifierPatchArgs']]):
|
|
2502
2582
|
pulumi.set(self, "metric", value)
|
|
2503
2583
|
|
|
2504
|
-
@property
|
|
2584
|
+
@_builtins.property
|
|
2505
2585
|
@pulumi.getter
|
|
2506
2586
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
2507
2587
|
"""
|
|
@@ -2550,7 +2630,7 @@ class ObjectMetricSourceArgs:
|
|
|
2550
2630
|
pulumi.set(__self__, "metric", metric)
|
|
2551
2631
|
pulumi.set(__self__, "target", target)
|
|
2552
2632
|
|
|
2553
|
-
@property
|
|
2633
|
+
@_builtins.property
|
|
2554
2634
|
@pulumi.getter(name="describedObject")
|
|
2555
2635
|
def described_object(self) -> pulumi.Input['CrossVersionObjectReferenceArgs']:
|
|
2556
2636
|
"""
|
|
@@ -2562,7 +2642,7 @@ class ObjectMetricSourceArgs:
|
|
|
2562
2642
|
def described_object(self, value: pulumi.Input['CrossVersionObjectReferenceArgs']):
|
|
2563
2643
|
pulumi.set(self, "described_object", value)
|
|
2564
2644
|
|
|
2565
|
-
@property
|
|
2645
|
+
@_builtins.property
|
|
2566
2646
|
@pulumi.getter
|
|
2567
2647
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
2568
2648
|
"""
|
|
@@ -2574,7 +2654,7 @@ class ObjectMetricSourceArgs:
|
|
|
2574
2654
|
def metric(self, value: pulumi.Input['MetricIdentifierArgs']):
|
|
2575
2655
|
pulumi.set(self, "metric", value)
|
|
2576
2656
|
|
|
2577
|
-
@property
|
|
2657
|
+
@_builtins.property
|
|
2578
2658
|
@pulumi.getter
|
|
2579
2659
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
2580
2660
|
"""
|
|
@@ -2623,7 +2703,7 @@ class ObjectMetricStatusArgs:
|
|
|
2623
2703
|
pulumi.set(__self__, "described_object", described_object)
|
|
2624
2704
|
pulumi.set(__self__, "metric", metric)
|
|
2625
2705
|
|
|
2626
|
-
@property
|
|
2706
|
+
@_builtins.property
|
|
2627
2707
|
@pulumi.getter
|
|
2628
2708
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
2629
2709
|
"""
|
|
@@ -2635,7 +2715,7 @@ class ObjectMetricStatusArgs:
|
|
|
2635
2715
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
2636
2716
|
pulumi.set(self, "current", value)
|
|
2637
2717
|
|
|
2638
|
-
@property
|
|
2718
|
+
@_builtins.property
|
|
2639
2719
|
@pulumi.getter(name="describedObject")
|
|
2640
2720
|
def described_object(self) -> pulumi.Input['CrossVersionObjectReferenceArgs']:
|
|
2641
2721
|
"""
|
|
@@ -2647,7 +2727,7 @@ class ObjectMetricStatusArgs:
|
|
|
2647
2727
|
def described_object(self, value: pulumi.Input['CrossVersionObjectReferenceArgs']):
|
|
2648
2728
|
pulumi.set(self, "described_object", value)
|
|
2649
2729
|
|
|
2650
|
-
@property
|
|
2730
|
+
@_builtins.property
|
|
2651
2731
|
@pulumi.getter
|
|
2652
2732
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
2653
2733
|
"""
|
|
@@ -2691,7 +2771,7 @@ class PodsMetricSourcePatchArgs:
|
|
|
2691
2771
|
if target is not None:
|
|
2692
2772
|
pulumi.set(__self__, "target", target)
|
|
2693
2773
|
|
|
2694
|
-
@property
|
|
2774
|
+
@_builtins.property
|
|
2695
2775
|
@pulumi.getter
|
|
2696
2776
|
def metric(self) -> Optional[pulumi.Input['MetricIdentifierPatchArgs']]:
|
|
2697
2777
|
"""
|
|
@@ -2703,7 +2783,7 @@ class PodsMetricSourcePatchArgs:
|
|
|
2703
2783
|
def metric(self, value: Optional[pulumi.Input['MetricIdentifierPatchArgs']]):
|
|
2704
2784
|
pulumi.set(self, "metric", value)
|
|
2705
2785
|
|
|
2706
|
-
@property
|
|
2786
|
+
@_builtins.property
|
|
2707
2787
|
@pulumi.getter
|
|
2708
2788
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
2709
2789
|
"""
|
|
@@ -2745,7 +2825,7 @@ class PodsMetricSourceArgs:
|
|
|
2745
2825
|
pulumi.set(__self__, "metric", metric)
|
|
2746
2826
|
pulumi.set(__self__, "target", target)
|
|
2747
2827
|
|
|
2748
|
-
@property
|
|
2828
|
+
@_builtins.property
|
|
2749
2829
|
@pulumi.getter
|
|
2750
2830
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
2751
2831
|
"""
|
|
@@ -2757,7 +2837,7 @@ class PodsMetricSourceArgs:
|
|
|
2757
2837
|
def metric(self, value: pulumi.Input['MetricIdentifierArgs']):
|
|
2758
2838
|
pulumi.set(self, "metric", value)
|
|
2759
2839
|
|
|
2760
|
-
@property
|
|
2840
|
+
@_builtins.property
|
|
2761
2841
|
@pulumi.getter
|
|
2762
2842
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
2763
2843
|
"""
|
|
@@ -2799,7 +2879,7 @@ class PodsMetricStatusArgs:
|
|
|
2799
2879
|
pulumi.set(__self__, "current", current)
|
|
2800
2880
|
pulumi.set(__self__, "metric", metric)
|
|
2801
2881
|
|
|
2802
|
-
@property
|
|
2882
|
+
@_builtins.property
|
|
2803
2883
|
@pulumi.getter
|
|
2804
2884
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
2805
2885
|
"""
|
|
@@ -2811,7 +2891,7 @@ class PodsMetricStatusArgs:
|
|
|
2811
2891
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
2812
2892
|
pulumi.set(self, "current", value)
|
|
2813
2893
|
|
|
2814
|
-
@property
|
|
2894
|
+
@_builtins.property
|
|
2815
2895
|
@pulumi.getter
|
|
2816
2896
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
2817
2897
|
"""
|
|
@@ -2829,7 +2909,7 @@ if not MYPY:
|
|
|
2829
2909
|
"""
|
|
2830
2910
|
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.
|
|
2831
2911
|
"""
|
|
2832
|
-
name: NotRequired[pulumi.Input[str]]
|
|
2912
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2833
2913
|
"""
|
|
2834
2914
|
name is the name of the resource in question.
|
|
2835
2915
|
"""
|
|
@@ -2843,11 +2923,11 @@ elif False:
|
|
|
2843
2923
|
@pulumi.input_type
|
|
2844
2924
|
class ResourceMetricSourcePatchArgs:
|
|
2845
2925
|
def __init__(__self__, *,
|
|
2846
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
2926
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2847
2927
|
target: Optional[pulumi.Input['MetricTargetPatchArgs']] = None):
|
|
2848
2928
|
"""
|
|
2849
2929
|
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.
|
|
2850
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
2930
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
2851
2931
|
:param pulumi.Input['MetricTargetPatchArgs'] target: target specifies the target value for the given metric
|
|
2852
2932
|
"""
|
|
2853
2933
|
if name is not None:
|
|
@@ -2855,19 +2935,19 @@ class ResourceMetricSourcePatchArgs:
|
|
|
2855
2935
|
if target is not None:
|
|
2856
2936
|
pulumi.set(__self__, "target", target)
|
|
2857
2937
|
|
|
2858
|
-
@property
|
|
2938
|
+
@_builtins.property
|
|
2859
2939
|
@pulumi.getter
|
|
2860
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
2940
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2861
2941
|
"""
|
|
2862
2942
|
name is the name of the resource in question.
|
|
2863
2943
|
"""
|
|
2864
2944
|
return pulumi.get(self, "name")
|
|
2865
2945
|
|
|
2866
2946
|
@name.setter
|
|
2867
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
2947
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2868
2948
|
pulumi.set(self, "name", value)
|
|
2869
2949
|
|
|
2870
|
-
@property
|
|
2950
|
+
@_builtins.property
|
|
2871
2951
|
@pulumi.getter
|
|
2872
2952
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
2873
2953
|
"""
|
|
@@ -2885,7 +2965,7 @@ if not MYPY:
|
|
|
2885
2965
|
"""
|
|
2886
2966
|
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.
|
|
2887
2967
|
"""
|
|
2888
|
-
name: pulumi.Input[str]
|
|
2968
|
+
name: pulumi.Input[_builtins.str]
|
|
2889
2969
|
"""
|
|
2890
2970
|
name is the name of the resource in question.
|
|
2891
2971
|
"""
|
|
@@ -2899,29 +2979,29 @@ elif False:
|
|
|
2899
2979
|
@pulumi.input_type
|
|
2900
2980
|
class ResourceMetricSourceArgs:
|
|
2901
2981
|
def __init__(__self__, *,
|
|
2902
|
-
name: pulumi.Input[str],
|
|
2982
|
+
name: pulumi.Input[_builtins.str],
|
|
2903
2983
|
target: pulumi.Input['MetricTargetArgs']):
|
|
2904
2984
|
"""
|
|
2905
2985
|
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.
|
|
2906
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
2986
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
2907
2987
|
:param pulumi.Input['MetricTargetArgs'] target: target specifies the target value for the given metric
|
|
2908
2988
|
"""
|
|
2909
2989
|
pulumi.set(__self__, "name", name)
|
|
2910
2990
|
pulumi.set(__self__, "target", target)
|
|
2911
2991
|
|
|
2912
|
-
@property
|
|
2992
|
+
@_builtins.property
|
|
2913
2993
|
@pulumi.getter
|
|
2914
|
-
def name(self) -> pulumi.Input[str]:
|
|
2994
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
2915
2995
|
"""
|
|
2916
2996
|
name is the name of the resource in question.
|
|
2917
2997
|
"""
|
|
2918
2998
|
return pulumi.get(self, "name")
|
|
2919
2999
|
|
|
2920
3000
|
@name.setter
|
|
2921
|
-
def name(self, value: pulumi.Input[str]):
|
|
3001
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
2922
3002
|
pulumi.set(self, "name", value)
|
|
2923
3003
|
|
|
2924
|
-
@property
|
|
3004
|
+
@_builtins.property
|
|
2925
3005
|
@pulumi.getter
|
|
2926
3006
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
2927
3007
|
"""
|
|
@@ -2943,7 +3023,7 @@ if not MYPY:
|
|
|
2943
3023
|
"""
|
|
2944
3024
|
current contains the current value for the given metric
|
|
2945
3025
|
"""
|
|
2946
|
-
name: pulumi.Input[str]
|
|
3026
|
+
name: pulumi.Input[_builtins.str]
|
|
2947
3027
|
"""
|
|
2948
3028
|
name is the name of the resource in question.
|
|
2949
3029
|
"""
|
|
@@ -2954,16 +3034,16 @@ elif False:
|
|
|
2954
3034
|
class ResourceMetricStatusArgs:
|
|
2955
3035
|
def __init__(__self__, *,
|
|
2956
3036
|
current: pulumi.Input['MetricValueStatusArgs'],
|
|
2957
|
-
name: pulumi.Input[str]):
|
|
3037
|
+
name: pulumi.Input[_builtins.str]):
|
|
2958
3038
|
"""
|
|
2959
3039
|
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.
|
|
2960
3040
|
:param pulumi.Input['MetricValueStatusArgs'] current: current contains the current value for the given metric
|
|
2961
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
3041
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
2962
3042
|
"""
|
|
2963
3043
|
pulumi.set(__self__, "current", current)
|
|
2964
3044
|
pulumi.set(__self__, "name", name)
|
|
2965
3045
|
|
|
2966
|
-
@property
|
|
3046
|
+
@_builtins.property
|
|
2967
3047
|
@pulumi.getter
|
|
2968
3048
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
2969
3049
|
"""
|
|
@@ -2975,16 +3055,16 @@ class ResourceMetricStatusArgs:
|
|
|
2975
3055
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
2976
3056
|
pulumi.set(self, "current", value)
|
|
2977
3057
|
|
|
2978
|
-
@property
|
|
3058
|
+
@_builtins.property
|
|
2979
3059
|
@pulumi.getter
|
|
2980
|
-
def name(self) -> pulumi.Input[str]:
|
|
3060
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
2981
3061
|
"""
|
|
2982
3062
|
name is the name of the resource in question.
|
|
2983
3063
|
"""
|
|
2984
3064
|
return pulumi.get(self, "name")
|
|
2985
3065
|
|
|
2986
3066
|
@name.setter
|
|
2987
|
-
def name(self, value: pulumi.Input[str]):
|
|
3067
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
2988
3068
|
pulumi.set(self, "name", value)
|
|
2989
3069
|
|
|
2990
3070
|
|