pulumi-kubernetes 4.24.0a1753079574__py3-none-any.whl → 4.24.0a1753165802__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +1 -1
- pulumi_kubernetes/_inputs.py +49 -50
- pulumi_kubernetes/admissionregistration/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +715 -716
- pulumi_kubernetes/admissionregistration/v1/outputs.py +512 -513
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +495 -496
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +364 -365
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +26 -27
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +25 -26
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +711 -712
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +508 -509
- pulumi_kubernetes/apiextensions/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1/_inputs.py +906 -907
- pulumi_kubernetes/apiextensions/v1/outputs.py +620 -621
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +25 -26
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +26 -27
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +834 -835
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +572 -573
- pulumi_kubernetes/apiregistration/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1/outputs.py +128 -129
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +25 -26
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +26 -27
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +157 -158
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +128 -129
- pulumi_kubernetes/apps/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1/_inputs.py +749 -750
- pulumi_kubernetes/apps/v1/outputs.py +713 -714
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta1/_inputs.py +409 -410
- pulumi_kubernetes/apps/v1beta1/outputs.py +381 -382
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +35 -36
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +35 -36
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/Deployment.py +26 -27
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +26 -27
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +25 -26
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +26 -27
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/apps/v1beta2/_inputs.py +655 -656
- pulumi_kubernetes/apps/v1beta2/outputs.py +645 -646
- pulumi_kubernetes/auditregistration/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +25 -26
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +145 -146
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +101 -102
- pulumi_kubernetes/autoscaling/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v1/_inputs.py +120 -121
- pulumi_kubernetes/autoscaling/v1/outputs.py +102 -103
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2/_inputs.py +410 -411
- pulumi_kubernetes/autoscaling/v2/outputs.py +374 -375
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +451 -452
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +424 -425
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +25 -26
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +26 -27
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -1
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +398 -399
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +366 -367
- pulumi_kubernetes/batch/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/Job.py +26 -27
- pulumi_kubernetes/batch/v1/JobList.py +25 -26
- pulumi_kubernetes/batch/v1/JobPatch.py +26 -27
- pulumi_kubernetes/batch/v1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1/_inputs.py +494 -495
- pulumi_kubernetes/batch/v1/outputs.py +419 -420
- pulumi_kubernetes/batch/v1beta1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/batch/v1beta1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v1beta1/outputs.py +76 -77
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +25 -26
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +26 -27
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -1
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +101 -102
- pulumi_kubernetes/batch/v2alpha1/outputs.py +76 -77
- pulumi_kubernetes/certificates/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1/_inputs.py +155 -156
- pulumi_kubernetes/certificates/v1/outputs.py +134 -135
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +39 -40
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +27 -28
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +26 -27
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +25 -26
- pulumi_kubernetes/certificates/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +182 -183
- pulumi_kubernetes/certificates/v1beta1/outputs.py +154 -155
- pulumi_kubernetes/coordination/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1/_inputs.py +99 -100
- pulumi_kubernetes/coordination/v1/outputs.py +67 -68
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +87 -88
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +59 -60
- pulumi_kubernetes/coordination/v1beta1/Lease.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +25 -26
- pulumi_kubernetes/coordination/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +161 -162
- pulumi_kubernetes/coordination/v1beta1/outputs.py +109 -110
- pulumi_kubernetes/core/__init__.py +1 -1
- pulumi_kubernetes/core/v1/Binding.py +25 -26
- pulumi_kubernetes/core/v1/BindingPatch.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMap.py +53 -54
- pulumi_kubernetes/core/v1/ConfigMapList.py +25 -26
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +53 -54
- pulumi_kubernetes/core/v1/Endpoints.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsList.py +25 -26
- pulumi_kubernetes/core/v1/EndpointsPatch.py +25 -26
- pulumi_kubernetes/core/v1/Event.py +131 -132
- pulumi_kubernetes/core/v1/EventList.py +25 -26
- pulumi_kubernetes/core/v1/EventPatch.py +131 -132
- pulumi_kubernetes/core/v1/LimitRange.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangeList.py +25 -26
- pulumi_kubernetes/core/v1/LimitRangePatch.py +25 -26
- pulumi_kubernetes/core/v1/Namespace.py +26 -27
- pulumi_kubernetes/core/v1/NamespaceList.py +25 -26
- pulumi_kubernetes/core/v1/NamespacePatch.py +26 -27
- pulumi_kubernetes/core/v1/Node.py +26 -27
- pulumi_kubernetes/core/v1/NodeList.py +25 -26
- pulumi_kubernetes/core/v1/NodePatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolume.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +26 -27
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +25 -26
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +26 -27
- pulumi_kubernetes/core/v1/Pod.py +26 -27
- pulumi_kubernetes/core/v1/PodList.py +25 -26
- pulumi_kubernetes/core/v1/PodPatch.py +26 -27
- pulumi_kubernetes/core/v1/PodTemplate.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplateList.py +25 -26
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationController.py +26 -27
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +25 -26
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuota.py +26 -27
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +25 -26
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +26 -27
- pulumi_kubernetes/core/v1/Secret.py +63 -64
- pulumi_kubernetes/core/v1/SecretList.py +25 -26
- pulumi_kubernetes/core/v1/SecretPatch.py +63 -64
- pulumi_kubernetes/core/v1/Service.py +26 -27
- pulumi_kubernetes/core/v1/ServiceAccount.py +37 -38
- pulumi_kubernetes/core/v1/ServiceAccountList.py +25 -26
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +37 -38
- pulumi_kubernetes/core/v1/ServiceList.py +25 -26
- pulumi_kubernetes/core/v1/ServicePatch.py +26 -27
- pulumi_kubernetes/core/v1/__init__.py +1 -1
- pulumi_kubernetes/core/v1/_enums.py +2 -2
- pulumi_kubernetes/core/v1/_inputs.py +7133 -7134
- pulumi_kubernetes/core/v1/outputs.py +5390 -5391
- pulumi_kubernetes/discovery/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1/_inputs.py +200 -201
- pulumi_kubernetes/discovery/v1/outputs.py +138 -139
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +25 -26
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +37 -38
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +158 -159
- pulumi_kubernetes/discovery/v1beta1/outputs.py +108 -109
- pulumi_kubernetes/events/__init__.py +1 -1
- pulumi_kubernetes/events/v1/Event.py +131 -132
- pulumi_kubernetes/events/v1/EventList.py +25 -26
- pulumi_kubernetes/events/v1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1/__init__.py +1 -1
- pulumi_kubernetes/events/v1/_inputs.py +102 -103
- pulumi_kubernetes/events/v1/outputs.py +70 -71
- pulumi_kubernetes/events/v1beta1/Event.py +131 -132
- pulumi_kubernetes/events/v1beta1/EventList.py +25 -26
- pulumi_kubernetes/events/v1beta1/EventPatch.py +131 -132
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/events/v1beta1/_inputs.py +114 -115
- pulumi_kubernetes/events/v1beta1/outputs.py +78 -79
- pulumi_kubernetes/extensions/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +25 -26
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +26 -27
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1097 -1098
- pulumi_kubernetes/extensions/v1beta1/outputs.py +899 -900
- pulumi_kubernetes/flowcontrol/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +369 -370
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +299 -300
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +333 -334
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +25 -26
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +26 -27
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -1
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +419 -420
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +333 -334
- pulumi_kubernetes/helm/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/Release.py +316 -317
- pulumi_kubernetes/helm/v3/__init__.py +1 -1
- pulumi_kubernetes/helm/v3/_inputs.py +37 -38
- pulumi_kubernetes/helm/v3/outputs.py +54 -55
- pulumi_kubernetes/helm/v4/Chart.py +95 -96
- pulumi_kubernetes/helm/v4/__init__.py +1 -1
- pulumi_kubernetes/helm/v4/_inputs.py +34 -35
- pulumi_kubernetes/kustomize/__init__.py +1 -1
- pulumi_kubernetes/kustomize/v2/Directory.py +35 -36
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -1
- pulumi_kubernetes/meta/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/Status.py +57 -58
- pulumi_kubernetes/meta/v1/StatusPatch.py +57 -58
- pulumi_kubernetes/meta/v1/__init__.py +1 -1
- pulumi_kubernetes/meta/v1/_inputs.py +551 -552
- pulumi_kubernetes/meta/v1/outputs.py +395 -396
- pulumi_kubernetes/networking/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +26 -27
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +25 -26
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1/_inputs.py +463 -464
- pulumi_kubernetes/networking/v1/outputs.py +350 -351
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +157 -158
- pulumi_kubernetes/networking/v1alpha1/outputs.py +110 -111
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/Ingress.py +26 -27
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +26 -27
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +25 -26
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +26 -27
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/networking/v1beta1/_inputs.py +247 -248
- pulumi_kubernetes/networking/v1beta1/outputs.py +173 -174
- pulumi_kubernetes/node/__init__.py +1 -1
- pulumi_kubernetes/node/v1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1/__init__.py +1 -1
- pulumi_kubernetes/node/v1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1/outputs.py +34 -35
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +25 -26
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/node/v1alpha1/_inputs.py +57 -58
- pulumi_kubernetes/node/v1alpha1/outputs.py +41 -42
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +37 -38
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +25 -26
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +37 -38
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/node/v1beta1/_inputs.py +48 -49
- pulumi_kubernetes/node/v1beta1/outputs.py +34 -35
- pulumi_kubernetes/policy/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1/_inputs.py +91 -92
- pulumi_kubernetes/policy/v1/outputs.py +80 -81
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +26 -27
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +25 -26
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +25 -26
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/policy/v1beta1/_inputs.py +470 -471
- pulumi_kubernetes/policy/v1beta1/outputs.py +342 -343
- pulumi_kubernetes/provider.py +107 -108
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +142 -143
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/Role.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +27 -28
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +25 -26
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +206 -207
- pulumi_kubernetes/rbac/v1beta1/outputs.py +142 -143
- pulumi_kubernetes/resource/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +268 -269
- pulumi_kubernetes/resource/v1alpha1/outputs.py +230 -231
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +37 -38
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +29 -30
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +47 -48
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +45 -46
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +550 -551
- pulumi_kubernetes/resource/v1alpha2/outputs.py +449 -450
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +27 -28
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1alpha3/__init__.py +1 -1
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +836 -837
- pulumi_kubernetes/resource/v1alpha3/outputs.py +685 -686
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta1/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta1/outputs.py +564 -565
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +26 -27
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +25 -26
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +25 -26
- pulumi_kubernetes/resource/v1beta2/__init__.py +1 -1
- pulumi_kubernetes/resource/v1beta2/_inputs.py +686 -687
- pulumi_kubernetes/resource/v1beta2/outputs.py +564 -565
- pulumi_kubernetes/scheduling/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +26 -27
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +25 -26
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +63 -64
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +38 -39
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +26 -27
- pulumi_kubernetes/settings/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +25 -26
- pulumi_kubernetes/settings/v1alpha1/outputs.py +21 -22
- pulumi_kubernetes/storage/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1/_inputs.py +372 -373
- pulumi_kubernetes/storage/v1/outputs.py +278 -279
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +107 -108
- pulumi_kubernetes/storage/v1alpha1/outputs.py +93 -94
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINode.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +55 -56
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +55 -56
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +85 -86
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +85 -86
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +26 -27
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +43 -44
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +25 -26
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +43 -44
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -1
- pulumi_kubernetes/storage/v1beta1/_inputs.py +367 -368
- pulumi_kubernetes/storage/v1beta1/outputs.py +271 -272
- pulumi_kubernetes/storagemigration/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +25 -26
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +26 -27
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -1
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +103 -104
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +96 -97
- pulumi_kubernetes/yaml/__init__.py +1 -1
- pulumi_kubernetes/yaml/v2/ConfigFile.py +26 -27
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +35 -36
- pulumi_kubernetes/yaml/v2/__init__.py +1 -1
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753165802.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.24.0a1753165802.dist-info/RECORD +709 -0
- pulumi_kubernetes-4.24.0a1753079574.dist-info/RECORD +0 -709
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753165802.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753165802.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -76,19 +75,19 @@ if not MYPY:
|
|
|
76
75
|
"""
|
|
77
76
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
78
77
|
"""
|
|
79
|
-
container: NotRequired[pulumi.Input[
|
|
78
|
+
container: NotRequired[pulumi.Input[_builtins.str]]
|
|
80
79
|
"""
|
|
81
80
|
container is the name of the container in the pods of the scaling target
|
|
82
81
|
"""
|
|
83
|
-
name: NotRequired[pulumi.Input[
|
|
82
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
84
83
|
"""
|
|
85
84
|
name is the name of the resource in question.
|
|
86
85
|
"""
|
|
87
|
-
target_average_utilization: NotRequired[pulumi.Input[
|
|
86
|
+
target_average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
88
87
|
"""
|
|
89
88
|
targetAverageUtilization 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.
|
|
90
89
|
"""
|
|
91
|
-
target_average_value: NotRequired[pulumi.Input[
|
|
90
|
+
target_average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
92
91
|
"""
|
|
93
92
|
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
94
93
|
"""
|
|
@@ -98,16 +97,16 @@ elif False:
|
|
|
98
97
|
@pulumi.input_type
|
|
99
98
|
class ContainerResourceMetricSourcePatchArgs:
|
|
100
99
|
def __init__(__self__, *,
|
|
101
|
-
container: Optional[pulumi.Input[
|
|
102
|
-
name: Optional[pulumi.Input[
|
|
103
|
-
target_average_utilization: Optional[pulumi.Input[
|
|
104
|
-
target_average_value: Optional[pulumi.Input[
|
|
100
|
+
container: Optional[pulumi.Input[_builtins.str]] = None,
|
|
101
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
102
|
+
target_average_utilization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
103
|
+
target_average_value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
105
104
|
"""
|
|
106
105
|
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.
|
|
107
|
-
:param pulumi.Input[
|
|
108
|
-
:param pulumi.Input[
|
|
109
|
-
:param pulumi.Input[
|
|
110
|
-
:param pulumi.Input[
|
|
106
|
+
:param pulumi.Input[_builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
107
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
108
|
+
:param pulumi.Input[_builtins.int] target_average_utilization: targetAverageUtilization 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.
|
|
109
|
+
:param pulumi.Input[_builtins.str] target_average_value: targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
111
110
|
"""
|
|
112
111
|
if container is not None:
|
|
113
112
|
pulumi.set(__self__, "container", container)
|
|
@@ -118,52 +117,52 @@ class ContainerResourceMetricSourcePatchArgs:
|
|
|
118
117
|
if target_average_value is not None:
|
|
119
118
|
pulumi.set(__self__, "target_average_value", target_average_value)
|
|
120
119
|
|
|
121
|
-
@property
|
|
120
|
+
@_builtins.property
|
|
122
121
|
@pulumi.getter
|
|
123
|
-
def container(self) -> Optional[pulumi.Input[
|
|
122
|
+
def container(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
124
123
|
"""
|
|
125
124
|
container is the name of the container in the pods of the scaling target
|
|
126
125
|
"""
|
|
127
126
|
return pulumi.get(self, "container")
|
|
128
127
|
|
|
129
128
|
@container.setter
|
|
130
|
-
def container(self, value: Optional[pulumi.Input[
|
|
129
|
+
def container(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
131
130
|
pulumi.set(self, "container", value)
|
|
132
131
|
|
|
133
|
-
@property
|
|
132
|
+
@_builtins.property
|
|
134
133
|
@pulumi.getter
|
|
135
|
-
def name(self) -> Optional[pulumi.Input[
|
|
134
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
136
135
|
"""
|
|
137
136
|
name is the name of the resource in question.
|
|
138
137
|
"""
|
|
139
138
|
return pulumi.get(self, "name")
|
|
140
139
|
|
|
141
140
|
@name.setter
|
|
142
|
-
def name(self, value: Optional[pulumi.Input[
|
|
141
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
143
142
|
pulumi.set(self, "name", value)
|
|
144
143
|
|
|
145
|
-
@property
|
|
144
|
+
@_builtins.property
|
|
146
145
|
@pulumi.getter(name="targetAverageUtilization")
|
|
147
|
-
def target_average_utilization(self) -> Optional[pulumi.Input[
|
|
146
|
+
def target_average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
148
147
|
"""
|
|
149
148
|
targetAverageUtilization 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.
|
|
150
149
|
"""
|
|
151
150
|
return pulumi.get(self, "target_average_utilization")
|
|
152
151
|
|
|
153
152
|
@target_average_utilization.setter
|
|
154
|
-
def target_average_utilization(self, value: Optional[pulumi.Input[
|
|
153
|
+
def target_average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
155
154
|
pulumi.set(self, "target_average_utilization", value)
|
|
156
155
|
|
|
157
|
-
@property
|
|
156
|
+
@_builtins.property
|
|
158
157
|
@pulumi.getter(name="targetAverageValue")
|
|
159
|
-
def target_average_value(self) -> Optional[pulumi.Input[
|
|
158
|
+
def target_average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
160
159
|
"""
|
|
161
160
|
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
162
161
|
"""
|
|
163
162
|
return pulumi.get(self, "target_average_value")
|
|
164
163
|
|
|
165
164
|
@target_average_value.setter
|
|
166
|
-
def target_average_value(self, value: Optional[pulumi.Input[
|
|
165
|
+
def target_average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
167
166
|
pulumi.set(self, "target_average_value", value)
|
|
168
167
|
|
|
169
168
|
|
|
@@ -172,19 +171,19 @@ if not MYPY:
|
|
|
172
171
|
"""
|
|
173
172
|
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.
|
|
174
173
|
"""
|
|
175
|
-
container: pulumi.Input[
|
|
174
|
+
container: pulumi.Input[_builtins.str]
|
|
176
175
|
"""
|
|
177
176
|
container is the name of the container in the pods of the scaling target
|
|
178
177
|
"""
|
|
179
|
-
name: pulumi.Input[
|
|
178
|
+
name: pulumi.Input[_builtins.str]
|
|
180
179
|
"""
|
|
181
180
|
name is the name of the resource in question.
|
|
182
181
|
"""
|
|
183
|
-
target_average_utilization: NotRequired[pulumi.Input[
|
|
182
|
+
target_average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
184
183
|
"""
|
|
185
184
|
targetAverageUtilization 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.
|
|
186
185
|
"""
|
|
187
|
-
target_average_value: NotRequired[pulumi.Input[
|
|
186
|
+
target_average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
188
187
|
"""
|
|
189
188
|
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
190
189
|
"""
|
|
@@ -194,16 +193,16 @@ elif False:
|
|
|
194
193
|
@pulumi.input_type
|
|
195
194
|
class ContainerResourceMetricSourceArgs:
|
|
196
195
|
def __init__(__self__, *,
|
|
197
|
-
container: pulumi.Input[
|
|
198
|
-
name: pulumi.Input[
|
|
199
|
-
target_average_utilization: Optional[pulumi.Input[
|
|
200
|
-
target_average_value: Optional[pulumi.Input[
|
|
196
|
+
container: pulumi.Input[_builtins.str],
|
|
197
|
+
name: pulumi.Input[_builtins.str],
|
|
198
|
+
target_average_utilization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
199
|
+
target_average_value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
201
200
|
"""
|
|
202
201
|
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.
|
|
203
|
-
:param pulumi.Input[
|
|
204
|
-
:param pulumi.Input[
|
|
205
|
-
:param pulumi.Input[
|
|
206
|
-
:param pulumi.Input[
|
|
202
|
+
:param pulumi.Input[_builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
203
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
204
|
+
:param pulumi.Input[_builtins.int] target_average_utilization: targetAverageUtilization 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.
|
|
205
|
+
:param pulumi.Input[_builtins.str] target_average_value: targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
207
206
|
"""
|
|
208
207
|
pulumi.set(__self__, "container", container)
|
|
209
208
|
pulumi.set(__self__, "name", name)
|
|
@@ -212,52 +211,52 @@ class ContainerResourceMetricSourceArgs:
|
|
|
212
211
|
if target_average_value is not None:
|
|
213
212
|
pulumi.set(__self__, "target_average_value", target_average_value)
|
|
214
213
|
|
|
215
|
-
@property
|
|
214
|
+
@_builtins.property
|
|
216
215
|
@pulumi.getter
|
|
217
|
-
def container(self) -> pulumi.Input[
|
|
216
|
+
def container(self) -> pulumi.Input[_builtins.str]:
|
|
218
217
|
"""
|
|
219
218
|
container is the name of the container in the pods of the scaling target
|
|
220
219
|
"""
|
|
221
220
|
return pulumi.get(self, "container")
|
|
222
221
|
|
|
223
222
|
@container.setter
|
|
224
|
-
def container(self, value: pulumi.Input[
|
|
223
|
+
def container(self, value: pulumi.Input[_builtins.str]):
|
|
225
224
|
pulumi.set(self, "container", value)
|
|
226
225
|
|
|
227
|
-
@property
|
|
226
|
+
@_builtins.property
|
|
228
227
|
@pulumi.getter
|
|
229
|
-
def name(self) -> pulumi.Input[
|
|
228
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
230
229
|
"""
|
|
231
230
|
name is the name of the resource in question.
|
|
232
231
|
"""
|
|
233
232
|
return pulumi.get(self, "name")
|
|
234
233
|
|
|
235
234
|
@name.setter
|
|
236
|
-
def name(self, value: pulumi.Input[
|
|
235
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
237
236
|
pulumi.set(self, "name", value)
|
|
238
237
|
|
|
239
|
-
@property
|
|
238
|
+
@_builtins.property
|
|
240
239
|
@pulumi.getter(name="targetAverageUtilization")
|
|
241
|
-
def target_average_utilization(self) -> Optional[pulumi.Input[
|
|
240
|
+
def target_average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
242
241
|
"""
|
|
243
242
|
targetAverageUtilization 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.
|
|
244
243
|
"""
|
|
245
244
|
return pulumi.get(self, "target_average_utilization")
|
|
246
245
|
|
|
247
246
|
@target_average_utilization.setter
|
|
248
|
-
def target_average_utilization(self, value: Optional[pulumi.Input[
|
|
247
|
+
def target_average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
249
248
|
pulumi.set(self, "target_average_utilization", value)
|
|
250
249
|
|
|
251
|
-
@property
|
|
250
|
+
@_builtins.property
|
|
252
251
|
@pulumi.getter(name="targetAverageValue")
|
|
253
|
-
def target_average_value(self) -> Optional[pulumi.Input[
|
|
252
|
+
def target_average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
254
253
|
"""
|
|
255
254
|
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
256
255
|
"""
|
|
257
256
|
return pulumi.get(self, "target_average_value")
|
|
258
257
|
|
|
259
258
|
@target_average_value.setter
|
|
260
|
-
def target_average_value(self, value: Optional[pulumi.Input[
|
|
259
|
+
def target_average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
261
260
|
pulumi.set(self, "target_average_value", value)
|
|
262
261
|
|
|
263
262
|
|
|
@@ -266,19 +265,19 @@ if not MYPY:
|
|
|
266
265
|
"""
|
|
267
266
|
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.
|
|
268
267
|
"""
|
|
269
|
-
container: pulumi.Input[
|
|
268
|
+
container: pulumi.Input[_builtins.str]
|
|
270
269
|
"""
|
|
271
270
|
container is the name of the container in the pods of the scaling target
|
|
272
271
|
"""
|
|
273
|
-
current_average_value: pulumi.Input[
|
|
272
|
+
current_average_value: pulumi.Input[_builtins.str]
|
|
274
273
|
"""
|
|
275
274
|
currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
276
275
|
"""
|
|
277
|
-
name: pulumi.Input[
|
|
276
|
+
name: pulumi.Input[_builtins.str]
|
|
278
277
|
"""
|
|
279
278
|
name is the name of the resource in question.
|
|
280
279
|
"""
|
|
281
|
-
current_average_utilization: NotRequired[pulumi.Input[
|
|
280
|
+
current_average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
282
281
|
"""
|
|
283
282
|
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. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
284
283
|
"""
|
|
@@ -288,16 +287,16 @@ elif False:
|
|
|
288
287
|
@pulumi.input_type
|
|
289
288
|
class ContainerResourceMetricStatusArgs:
|
|
290
289
|
def __init__(__self__, *,
|
|
291
|
-
container: pulumi.Input[
|
|
292
|
-
current_average_value: pulumi.Input[
|
|
293
|
-
name: pulumi.Input[
|
|
294
|
-
current_average_utilization: Optional[pulumi.Input[
|
|
290
|
+
container: pulumi.Input[_builtins.str],
|
|
291
|
+
current_average_value: pulumi.Input[_builtins.str],
|
|
292
|
+
name: pulumi.Input[_builtins.str],
|
|
293
|
+
current_average_utilization: Optional[pulumi.Input[_builtins.int]] = None):
|
|
295
294
|
"""
|
|
296
295
|
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.
|
|
297
|
-
:param pulumi.Input[
|
|
298
|
-
:param pulumi.Input[
|
|
299
|
-
:param pulumi.Input[
|
|
300
|
-
:param pulumi.Input[
|
|
296
|
+
:param pulumi.Input[_builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
297
|
+
:param pulumi.Input[_builtins.str] current_average_value: currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
298
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
299
|
+
:param pulumi.Input[_builtins.int] current_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. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
301
300
|
"""
|
|
302
301
|
pulumi.set(__self__, "container", container)
|
|
303
302
|
pulumi.set(__self__, "current_average_value", current_average_value)
|
|
@@ -305,52 +304,52 @@ class ContainerResourceMetricStatusArgs:
|
|
|
305
304
|
if current_average_utilization is not None:
|
|
306
305
|
pulumi.set(__self__, "current_average_utilization", current_average_utilization)
|
|
307
306
|
|
|
308
|
-
@property
|
|
307
|
+
@_builtins.property
|
|
309
308
|
@pulumi.getter
|
|
310
|
-
def container(self) -> pulumi.Input[
|
|
309
|
+
def container(self) -> pulumi.Input[_builtins.str]:
|
|
311
310
|
"""
|
|
312
311
|
container is the name of the container in the pods of the scaling target
|
|
313
312
|
"""
|
|
314
313
|
return pulumi.get(self, "container")
|
|
315
314
|
|
|
316
315
|
@container.setter
|
|
317
|
-
def container(self, value: pulumi.Input[
|
|
316
|
+
def container(self, value: pulumi.Input[_builtins.str]):
|
|
318
317
|
pulumi.set(self, "container", value)
|
|
319
318
|
|
|
320
|
-
@property
|
|
319
|
+
@_builtins.property
|
|
321
320
|
@pulumi.getter(name="currentAverageValue")
|
|
322
|
-
def current_average_value(self) -> pulumi.Input[
|
|
321
|
+
def current_average_value(self) -> pulumi.Input[_builtins.str]:
|
|
323
322
|
"""
|
|
324
323
|
currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
325
324
|
"""
|
|
326
325
|
return pulumi.get(self, "current_average_value")
|
|
327
326
|
|
|
328
327
|
@current_average_value.setter
|
|
329
|
-
def current_average_value(self, value: pulumi.Input[
|
|
328
|
+
def current_average_value(self, value: pulumi.Input[_builtins.str]):
|
|
330
329
|
pulumi.set(self, "current_average_value", value)
|
|
331
330
|
|
|
332
|
-
@property
|
|
331
|
+
@_builtins.property
|
|
333
332
|
@pulumi.getter
|
|
334
|
-
def name(self) -> pulumi.Input[
|
|
333
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
335
334
|
"""
|
|
336
335
|
name is the name of the resource in question.
|
|
337
336
|
"""
|
|
338
337
|
return pulumi.get(self, "name")
|
|
339
338
|
|
|
340
339
|
@name.setter
|
|
341
|
-
def name(self, value: pulumi.Input[
|
|
340
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
342
341
|
pulumi.set(self, "name", value)
|
|
343
342
|
|
|
344
|
-
@property
|
|
343
|
+
@_builtins.property
|
|
345
344
|
@pulumi.getter(name="currentAverageUtilization")
|
|
346
|
-
def current_average_utilization(self) -> Optional[pulumi.Input[
|
|
345
|
+
def current_average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
347
346
|
"""
|
|
348
347
|
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. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
349
348
|
"""
|
|
350
349
|
return pulumi.get(self, "current_average_utilization")
|
|
351
350
|
|
|
352
351
|
@current_average_utilization.setter
|
|
353
|
-
def current_average_utilization(self, value: Optional[pulumi.Input[
|
|
352
|
+
def current_average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
354
353
|
pulumi.set(self, "current_average_utilization", value)
|
|
355
354
|
|
|
356
355
|
|
|
@@ -359,15 +358,15 @@ if not MYPY:
|
|
|
359
358
|
"""
|
|
360
359
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
361
360
|
"""
|
|
362
|
-
api_version: NotRequired[pulumi.Input[
|
|
361
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
363
362
|
"""
|
|
364
363
|
API version of the referent
|
|
365
364
|
"""
|
|
366
|
-
kind: NotRequired[pulumi.Input[
|
|
365
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
367
366
|
"""
|
|
368
367
|
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
369
368
|
"""
|
|
370
|
-
name: NotRequired[pulumi.Input[
|
|
369
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
371
370
|
"""
|
|
372
371
|
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
373
372
|
"""
|
|
@@ -377,14 +376,14 @@ elif False:
|
|
|
377
376
|
@pulumi.input_type
|
|
378
377
|
class CrossVersionObjectReferencePatchArgs:
|
|
379
378
|
def __init__(__self__, *,
|
|
380
|
-
api_version: Optional[pulumi.Input[
|
|
381
|
-
kind: Optional[pulumi.Input[
|
|
382
|
-
name: Optional[pulumi.Input[
|
|
379
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
380
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
381
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
383
382
|
"""
|
|
384
383
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
385
|
-
:param pulumi.Input[
|
|
386
|
-
:param pulumi.Input[
|
|
387
|
-
:param pulumi.Input[
|
|
384
|
+
:param pulumi.Input[_builtins.str] api_version: API version of the referent
|
|
385
|
+
:param pulumi.Input[_builtins.str] kind: Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
386
|
+
:param pulumi.Input[_builtins.str] name: Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
388
387
|
"""
|
|
389
388
|
if api_version is not None:
|
|
390
389
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -393,40 +392,40 @@ class CrossVersionObjectReferencePatchArgs:
|
|
|
393
392
|
if name is not None:
|
|
394
393
|
pulumi.set(__self__, "name", name)
|
|
395
394
|
|
|
396
|
-
@property
|
|
395
|
+
@_builtins.property
|
|
397
396
|
@pulumi.getter(name="apiVersion")
|
|
398
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
397
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
399
398
|
"""
|
|
400
399
|
API version of the referent
|
|
401
400
|
"""
|
|
402
401
|
return pulumi.get(self, "api_version")
|
|
403
402
|
|
|
404
403
|
@api_version.setter
|
|
405
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
404
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
406
405
|
pulumi.set(self, "api_version", value)
|
|
407
406
|
|
|
408
|
-
@property
|
|
407
|
+
@_builtins.property
|
|
409
408
|
@pulumi.getter
|
|
410
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
409
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
411
410
|
"""
|
|
412
411
|
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
413
412
|
"""
|
|
414
413
|
return pulumi.get(self, "kind")
|
|
415
414
|
|
|
416
415
|
@kind.setter
|
|
417
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
416
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
418
417
|
pulumi.set(self, "kind", value)
|
|
419
418
|
|
|
420
|
-
@property
|
|
419
|
+
@_builtins.property
|
|
421
420
|
@pulumi.getter
|
|
422
|
-
def name(self) -> Optional[pulumi.Input[
|
|
421
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
423
422
|
"""
|
|
424
423
|
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
425
424
|
"""
|
|
426
425
|
return pulumi.get(self, "name")
|
|
427
426
|
|
|
428
427
|
@name.setter
|
|
429
|
-
def name(self, value: Optional[pulumi.Input[
|
|
428
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
430
429
|
pulumi.set(self, "name", value)
|
|
431
430
|
|
|
432
431
|
|
|
@@ -435,15 +434,15 @@ if not MYPY:
|
|
|
435
434
|
"""
|
|
436
435
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
437
436
|
"""
|
|
438
|
-
kind: pulumi.Input[
|
|
437
|
+
kind: pulumi.Input[_builtins.str]
|
|
439
438
|
"""
|
|
440
439
|
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
441
440
|
"""
|
|
442
|
-
name: pulumi.Input[
|
|
441
|
+
name: pulumi.Input[_builtins.str]
|
|
443
442
|
"""
|
|
444
443
|
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
445
444
|
"""
|
|
446
|
-
api_version: NotRequired[pulumi.Input[
|
|
445
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
447
446
|
"""
|
|
448
447
|
API version of the referent
|
|
449
448
|
"""
|
|
@@ -453,54 +452,54 @@ elif False:
|
|
|
453
452
|
@pulumi.input_type
|
|
454
453
|
class CrossVersionObjectReferenceArgs:
|
|
455
454
|
def __init__(__self__, *,
|
|
456
|
-
kind: pulumi.Input[
|
|
457
|
-
name: pulumi.Input[
|
|
458
|
-
api_version: Optional[pulumi.Input[
|
|
455
|
+
kind: pulumi.Input[_builtins.str],
|
|
456
|
+
name: pulumi.Input[_builtins.str],
|
|
457
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None):
|
|
459
458
|
"""
|
|
460
459
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
461
|
-
:param pulumi.Input[
|
|
462
|
-
:param pulumi.Input[
|
|
463
|
-
:param pulumi.Input[
|
|
460
|
+
:param pulumi.Input[_builtins.str] kind: Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
461
|
+
:param pulumi.Input[_builtins.str] name: Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
462
|
+
:param pulumi.Input[_builtins.str] api_version: API version of the referent
|
|
464
463
|
"""
|
|
465
464
|
pulumi.set(__self__, "kind", kind)
|
|
466
465
|
pulumi.set(__self__, "name", name)
|
|
467
466
|
if api_version is not None:
|
|
468
467
|
pulumi.set(__self__, "api_version", api_version)
|
|
469
468
|
|
|
470
|
-
@property
|
|
469
|
+
@_builtins.property
|
|
471
470
|
@pulumi.getter
|
|
472
|
-
def kind(self) -> pulumi.Input[
|
|
471
|
+
def kind(self) -> pulumi.Input[_builtins.str]:
|
|
473
472
|
"""
|
|
474
473
|
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
475
474
|
"""
|
|
476
475
|
return pulumi.get(self, "kind")
|
|
477
476
|
|
|
478
477
|
@kind.setter
|
|
479
|
-
def kind(self, value: pulumi.Input[
|
|
478
|
+
def kind(self, value: pulumi.Input[_builtins.str]):
|
|
480
479
|
pulumi.set(self, "kind", value)
|
|
481
480
|
|
|
482
|
-
@property
|
|
481
|
+
@_builtins.property
|
|
483
482
|
@pulumi.getter
|
|
484
|
-
def name(self) -> pulumi.Input[
|
|
483
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
485
484
|
"""
|
|
486
485
|
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
487
486
|
"""
|
|
488
487
|
return pulumi.get(self, "name")
|
|
489
488
|
|
|
490
489
|
@name.setter
|
|
491
|
-
def name(self, value: pulumi.Input[
|
|
490
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
492
491
|
pulumi.set(self, "name", value)
|
|
493
492
|
|
|
494
|
-
@property
|
|
493
|
+
@_builtins.property
|
|
495
494
|
@pulumi.getter(name="apiVersion")
|
|
496
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
495
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
497
496
|
"""
|
|
498
497
|
API version of the referent
|
|
499
498
|
"""
|
|
500
499
|
return pulumi.get(self, "api_version")
|
|
501
500
|
|
|
502
501
|
@api_version.setter
|
|
503
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
502
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
504
503
|
pulumi.set(self, "api_version", value)
|
|
505
504
|
|
|
506
505
|
|
|
@@ -509,7 +508,7 @@ if not MYPY:
|
|
|
509
508
|
"""
|
|
510
509
|
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
|
|
511
510
|
"""
|
|
512
|
-
metric_name: NotRequired[pulumi.Input[
|
|
511
|
+
metric_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
513
512
|
"""
|
|
514
513
|
metricName is the name of the metric in question.
|
|
515
514
|
"""
|
|
@@ -517,11 +516,11 @@ if not MYPY:
|
|
|
517
516
|
"""
|
|
518
517
|
metricSelector is used to identify a specific time series within a given metric.
|
|
519
518
|
"""
|
|
520
|
-
target_average_value: NotRequired[pulumi.Input[
|
|
519
|
+
target_average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
521
520
|
"""
|
|
522
521
|
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
|
|
523
522
|
"""
|
|
524
|
-
target_value: NotRequired[pulumi.Input[
|
|
523
|
+
target_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
525
524
|
"""
|
|
526
525
|
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
|
|
527
526
|
"""
|
|
@@ -531,16 +530,16 @@ elif False:
|
|
|
531
530
|
@pulumi.input_type
|
|
532
531
|
class ExternalMetricSourcePatchArgs:
|
|
533
532
|
def __init__(__self__, *,
|
|
534
|
-
metric_name: Optional[pulumi.Input[
|
|
533
|
+
metric_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
535
534
|
metric_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
536
|
-
target_average_value: Optional[pulumi.Input[
|
|
537
|
-
target_value: Optional[pulumi.Input[
|
|
535
|
+
target_average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
536
|
+
target_value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
538
537
|
"""
|
|
539
538
|
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
|
|
540
|
-
:param pulumi.Input[
|
|
539
|
+
:param pulumi.Input[_builtins.str] metric_name: metricName is the name of the metric in question.
|
|
541
540
|
:param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] metric_selector: metricSelector is used to identify a specific time series within a given metric.
|
|
542
|
-
:param pulumi.Input[
|
|
543
|
-
:param pulumi.Input[
|
|
541
|
+
:param pulumi.Input[_builtins.str] target_average_value: targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
|
|
542
|
+
:param pulumi.Input[_builtins.str] target_value: targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
|
|
544
543
|
"""
|
|
545
544
|
if metric_name is not None:
|
|
546
545
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
@@ -551,19 +550,19 @@ class ExternalMetricSourcePatchArgs:
|
|
|
551
550
|
if target_value is not None:
|
|
552
551
|
pulumi.set(__self__, "target_value", target_value)
|
|
553
552
|
|
|
554
|
-
@property
|
|
553
|
+
@_builtins.property
|
|
555
554
|
@pulumi.getter(name="metricName")
|
|
556
|
-
def metric_name(self) -> Optional[pulumi.Input[
|
|
555
|
+
def metric_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
557
556
|
"""
|
|
558
557
|
metricName is the name of the metric in question.
|
|
559
558
|
"""
|
|
560
559
|
return pulumi.get(self, "metric_name")
|
|
561
560
|
|
|
562
561
|
@metric_name.setter
|
|
563
|
-
def metric_name(self, value: Optional[pulumi.Input[
|
|
562
|
+
def metric_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
564
563
|
pulumi.set(self, "metric_name", value)
|
|
565
564
|
|
|
566
|
-
@property
|
|
565
|
+
@_builtins.property
|
|
567
566
|
@pulumi.getter(name="metricSelector")
|
|
568
567
|
def metric_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
569
568
|
"""
|
|
@@ -575,28 +574,28 @@ class ExternalMetricSourcePatchArgs:
|
|
|
575
574
|
def metric_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
576
575
|
pulumi.set(self, "metric_selector", value)
|
|
577
576
|
|
|
578
|
-
@property
|
|
577
|
+
@_builtins.property
|
|
579
578
|
@pulumi.getter(name="targetAverageValue")
|
|
580
|
-
def target_average_value(self) -> Optional[pulumi.Input[
|
|
579
|
+
def target_average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
581
580
|
"""
|
|
582
581
|
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
|
|
583
582
|
"""
|
|
584
583
|
return pulumi.get(self, "target_average_value")
|
|
585
584
|
|
|
586
585
|
@target_average_value.setter
|
|
587
|
-
def target_average_value(self, value: Optional[pulumi.Input[
|
|
586
|
+
def target_average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
588
587
|
pulumi.set(self, "target_average_value", value)
|
|
589
588
|
|
|
590
|
-
@property
|
|
589
|
+
@_builtins.property
|
|
591
590
|
@pulumi.getter(name="targetValue")
|
|
592
|
-
def target_value(self) -> Optional[pulumi.Input[
|
|
591
|
+
def target_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
593
592
|
"""
|
|
594
593
|
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
|
|
595
594
|
"""
|
|
596
595
|
return pulumi.get(self, "target_value")
|
|
597
596
|
|
|
598
597
|
@target_value.setter
|
|
599
|
-
def target_value(self, value: Optional[pulumi.Input[
|
|
598
|
+
def target_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
600
599
|
pulumi.set(self, "target_value", value)
|
|
601
600
|
|
|
602
601
|
|
|
@@ -605,7 +604,7 @@ if not MYPY:
|
|
|
605
604
|
"""
|
|
606
605
|
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
|
|
607
606
|
"""
|
|
608
|
-
metric_name: pulumi.Input[
|
|
607
|
+
metric_name: pulumi.Input[_builtins.str]
|
|
609
608
|
"""
|
|
610
609
|
metricName is the name of the metric in question.
|
|
611
610
|
"""
|
|
@@ -613,11 +612,11 @@ if not MYPY:
|
|
|
613
612
|
"""
|
|
614
613
|
metricSelector is used to identify a specific time series within a given metric.
|
|
615
614
|
"""
|
|
616
|
-
target_average_value: NotRequired[pulumi.Input[
|
|
615
|
+
target_average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
617
616
|
"""
|
|
618
617
|
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
|
|
619
618
|
"""
|
|
620
|
-
target_value: NotRequired[pulumi.Input[
|
|
619
|
+
target_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
621
620
|
"""
|
|
622
621
|
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
|
|
623
622
|
"""
|
|
@@ -627,16 +626,16 @@ elif False:
|
|
|
627
626
|
@pulumi.input_type
|
|
628
627
|
class ExternalMetricSourceArgs:
|
|
629
628
|
def __init__(__self__, *,
|
|
630
|
-
metric_name: pulumi.Input[
|
|
629
|
+
metric_name: pulumi.Input[_builtins.str],
|
|
631
630
|
metric_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None,
|
|
632
|
-
target_average_value: Optional[pulumi.Input[
|
|
633
|
-
target_value: Optional[pulumi.Input[
|
|
631
|
+
target_average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
632
|
+
target_value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
634
633
|
"""
|
|
635
634
|
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
|
|
636
|
-
:param pulumi.Input[
|
|
635
|
+
:param pulumi.Input[_builtins.str] metric_name: metricName is the name of the metric in question.
|
|
637
636
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] metric_selector: metricSelector is used to identify a specific time series within a given metric.
|
|
638
|
-
:param pulumi.Input[
|
|
639
|
-
:param pulumi.Input[
|
|
637
|
+
:param pulumi.Input[_builtins.str] target_average_value: targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
|
|
638
|
+
:param pulumi.Input[_builtins.str] target_value: targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
|
|
640
639
|
"""
|
|
641
640
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
642
641
|
if metric_selector is not None:
|
|
@@ -646,19 +645,19 @@ class ExternalMetricSourceArgs:
|
|
|
646
645
|
if target_value is not None:
|
|
647
646
|
pulumi.set(__self__, "target_value", target_value)
|
|
648
647
|
|
|
649
|
-
@property
|
|
648
|
+
@_builtins.property
|
|
650
649
|
@pulumi.getter(name="metricName")
|
|
651
|
-
def metric_name(self) -> pulumi.Input[
|
|
650
|
+
def metric_name(self) -> pulumi.Input[_builtins.str]:
|
|
652
651
|
"""
|
|
653
652
|
metricName is the name of the metric in question.
|
|
654
653
|
"""
|
|
655
654
|
return pulumi.get(self, "metric_name")
|
|
656
655
|
|
|
657
656
|
@metric_name.setter
|
|
658
|
-
def metric_name(self, value: pulumi.Input[
|
|
657
|
+
def metric_name(self, value: pulumi.Input[_builtins.str]):
|
|
659
658
|
pulumi.set(self, "metric_name", value)
|
|
660
659
|
|
|
661
|
-
@property
|
|
660
|
+
@_builtins.property
|
|
662
661
|
@pulumi.getter(name="metricSelector")
|
|
663
662
|
def metric_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
664
663
|
"""
|
|
@@ -670,28 +669,28 @@ class ExternalMetricSourceArgs:
|
|
|
670
669
|
def metric_selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]):
|
|
671
670
|
pulumi.set(self, "metric_selector", value)
|
|
672
671
|
|
|
673
|
-
@property
|
|
672
|
+
@_builtins.property
|
|
674
673
|
@pulumi.getter(name="targetAverageValue")
|
|
675
|
-
def target_average_value(self) -> Optional[pulumi.Input[
|
|
674
|
+
def target_average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
676
675
|
"""
|
|
677
676
|
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
|
|
678
677
|
"""
|
|
679
678
|
return pulumi.get(self, "target_average_value")
|
|
680
679
|
|
|
681
680
|
@target_average_value.setter
|
|
682
|
-
def target_average_value(self, value: Optional[pulumi.Input[
|
|
681
|
+
def target_average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
683
682
|
pulumi.set(self, "target_average_value", value)
|
|
684
683
|
|
|
685
|
-
@property
|
|
684
|
+
@_builtins.property
|
|
686
685
|
@pulumi.getter(name="targetValue")
|
|
687
|
-
def target_value(self) -> Optional[pulumi.Input[
|
|
686
|
+
def target_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
688
687
|
"""
|
|
689
688
|
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
|
|
690
689
|
"""
|
|
691
690
|
return pulumi.get(self, "target_value")
|
|
692
691
|
|
|
693
692
|
@target_value.setter
|
|
694
|
-
def target_value(self, value: Optional[pulumi.Input[
|
|
693
|
+
def target_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
695
694
|
pulumi.set(self, "target_value", value)
|
|
696
695
|
|
|
697
696
|
|
|
@@ -700,15 +699,15 @@ if not MYPY:
|
|
|
700
699
|
"""
|
|
701
700
|
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
|
|
702
701
|
"""
|
|
703
|
-
current_value: pulumi.Input[
|
|
702
|
+
current_value: pulumi.Input[_builtins.str]
|
|
704
703
|
"""
|
|
705
704
|
currentValue is the current value of the metric (as a quantity)
|
|
706
705
|
"""
|
|
707
|
-
metric_name: pulumi.Input[
|
|
706
|
+
metric_name: pulumi.Input[_builtins.str]
|
|
708
707
|
"""
|
|
709
708
|
metricName is the name of a metric used for autoscaling in metric system.
|
|
710
709
|
"""
|
|
711
|
-
current_average_value: NotRequired[pulumi.Input[
|
|
710
|
+
current_average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
712
711
|
"""
|
|
713
712
|
currentAverageValue is the current value of metric averaged over autoscaled pods.
|
|
714
713
|
"""
|
|
@@ -722,15 +721,15 @@ elif False:
|
|
|
722
721
|
@pulumi.input_type
|
|
723
722
|
class ExternalMetricStatusArgs:
|
|
724
723
|
def __init__(__self__, *,
|
|
725
|
-
current_value: pulumi.Input[
|
|
726
|
-
metric_name: pulumi.Input[
|
|
727
|
-
current_average_value: Optional[pulumi.Input[
|
|
724
|
+
current_value: pulumi.Input[_builtins.str],
|
|
725
|
+
metric_name: pulumi.Input[_builtins.str],
|
|
726
|
+
current_average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
728
727
|
metric_selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
729
728
|
"""
|
|
730
729
|
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
|
|
731
|
-
:param pulumi.Input[
|
|
732
|
-
:param pulumi.Input[
|
|
733
|
-
:param pulumi.Input[
|
|
730
|
+
:param pulumi.Input[_builtins.str] current_value: currentValue is the current value of the metric (as a quantity)
|
|
731
|
+
:param pulumi.Input[_builtins.str] metric_name: metricName is the name of a metric used for autoscaling in metric system.
|
|
732
|
+
:param pulumi.Input[_builtins.str] current_average_value: currentAverageValue is the current value of metric averaged over autoscaled pods.
|
|
734
733
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] metric_selector: metricSelector is used to identify a specific time series within a given metric.
|
|
735
734
|
"""
|
|
736
735
|
pulumi.set(__self__, "current_value", current_value)
|
|
@@ -740,43 +739,43 @@ class ExternalMetricStatusArgs:
|
|
|
740
739
|
if metric_selector is not None:
|
|
741
740
|
pulumi.set(__self__, "metric_selector", metric_selector)
|
|
742
741
|
|
|
743
|
-
@property
|
|
742
|
+
@_builtins.property
|
|
744
743
|
@pulumi.getter(name="currentValue")
|
|
745
|
-
def current_value(self) -> pulumi.Input[
|
|
744
|
+
def current_value(self) -> pulumi.Input[_builtins.str]:
|
|
746
745
|
"""
|
|
747
746
|
currentValue is the current value of the metric (as a quantity)
|
|
748
747
|
"""
|
|
749
748
|
return pulumi.get(self, "current_value")
|
|
750
749
|
|
|
751
750
|
@current_value.setter
|
|
752
|
-
def current_value(self, value: pulumi.Input[
|
|
751
|
+
def current_value(self, value: pulumi.Input[_builtins.str]):
|
|
753
752
|
pulumi.set(self, "current_value", value)
|
|
754
753
|
|
|
755
|
-
@property
|
|
754
|
+
@_builtins.property
|
|
756
755
|
@pulumi.getter(name="metricName")
|
|
757
|
-
def metric_name(self) -> pulumi.Input[
|
|
756
|
+
def metric_name(self) -> pulumi.Input[_builtins.str]:
|
|
758
757
|
"""
|
|
759
758
|
metricName is the name of a metric used for autoscaling in metric system.
|
|
760
759
|
"""
|
|
761
760
|
return pulumi.get(self, "metric_name")
|
|
762
761
|
|
|
763
762
|
@metric_name.setter
|
|
764
|
-
def metric_name(self, value: pulumi.Input[
|
|
763
|
+
def metric_name(self, value: pulumi.Input[_builtins.str]):
|
|
765
764
|
pulumi.set(self, "metric_name", value)
|
|
766
765
|
|
|
767
|
-
@property
|
|
766
|
+
@_builtins.property
|
|
768
767
|
@pulumi.getter(name="currentAverageValue")
|
|
769
|
-
def current_average_value(self) -> Optional[pulumi.Input[
|
|
768
|
+
def current_average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
770
769
|
"""
|
|
771
770
|
currentAverageValue is the current value of metric averaged over autoscaled pods.
|
|
772
771
|
"""
|
|
773
772
|
return pulumi.get(self, "current_average_value")
|
|
774
773
|
|
|
775
774
|
@current_average_value.setter
|
|
776
|
-
def current_average_value(self, value: Optional[pulumi.Input[
|
|
775
|
+
def current_average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
777
776
|
pulumi.set(self, "current_average_value", value)
|
|
778
777
|
|
|
779
|
-
@property
|
|
778
|
+
@_builtins.property
|
|
780
779
|
@pulumi.getter(name="metricSelector")
|
|
781
780
|
def metric_selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
782
781
|
"""
|
|
@@ -794,23 +793,23 @@ if not MYPY:
|
|
|
794
793
|
"""
|
|
795
794
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
796
795
|
"""
|
|
797
|
-
status: pulumi.Input[
|
|
796
|
+
status: pulumi.Input[_builtins.str]
|
|
798
797
|
"""
|
|
799
798
|
status is the status of the condition (True, False, Unknown)
|
|
800
799
|
"""
|
|
801
|
-
type: pulumi.Input[
|
|
800
|
+
type: pulumi.Input[_builtins.str]
|
|
802
801
|
"""
|
|
803
802
|
type describes the current condition
|
|
804
803
|
"""
|
|
805
|
-
last_transition_time: NotRequired[pulumi.Input[
|
|
804
|
+
last_transition_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
806
805
|
"""
|
|
807
806
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
808
807
|
"""
|
|
809
|
-
message: NotRequired[pulumi.Input[
|
|
808
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
810
809
|
"""
|
|
811
810
|
message is a human-readable explanation containing details about the transition
|
|
812
811
|
"""
|
|
813
|
-
reason: NotRequired[pulumi.Input[
|
|
812
|
+
reason: NotRequired[pulumi.Input[_builtins.str]]
|
|
814
813
|
"""
|
|
815
814
|
reason is the reason for the condition's last transition.
|
|
816
815
|
"""
|
|
@@ -820,18 +819,18 @@ elif False:
|
|
|
820
819
|
@pulumi.input_type
|
|
821
820
|
class HorizontalPodAutoscalerConditionArgs:
|
|
822
821
|
def __init__(__self__, *,
|
|
823
|
-
status: pulumi.Input[
|
|
824
|
-
type: pulumi.Input[
|
|
825
|
-
last_transition_time: Optional[pulumi.Input[
|
|
826
|
-
message: Optional[pulumi.Input[
|
|
827
|
-
reason: Optional[pulumi.Input[
|
|
822
|
+
status: pulumi.Input[_builtins.str],
|
|
823
|
+
type: pulumi.Input[_builtins.str],
|
|
824
|
+
last_transition_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
825
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
826
|
+
reason: Optional[pulumi.Input[_builtins.str]] = None):
|
|
828
827
|
"""
|
|
829
828
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
830
|
-
:param pulumi.Input[
|
|
831
|
-
:param pulumi.Input[
|
|
832
|
-
:param pulumi.Input[
|
|
833
|
-
:param pulumi.Input[
|
|
834
|
-
:param pulumi.Input[
|
|
829
|
+
:param pulumi.Input[_builtins.str] status: status is the status of the condition (True, False, Unknown)
|
|
830
|
+
:param pulumi.Input[_builtins.str] type: type describes the current condition
|
|
831
|
+
:param pulumi.Input[_builtins.str] last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
832
|
+
:param pulumi.Input[_builtins.str] message: message is a human-readable explanation containing details about the transition
|
|
833
|
+
:param pulumi.Input[_builtins.str] reason: reason is the reason for the condition's last transition.
|
|
835
834
|
"""
|
|
836
835
|
pulumi.set(__self__, "status", status)
|
|
837
836
|
pulumi.set(__self__, "type", type)
|
|
@@ -842,64 +841,64 @@ class HorizontalPodAutoscalerConditionArgs:
|
|
|
842
841
|
if reason is not None:
|
|
843
842
|
pulumi.set(__self__, "reason", reason)
|
|
844
843
|
|
|
845
|
-
@property
|
|
844
|
+
@_builtins.property
|
|
846
845
|
@pulumi.getter
|
|
847
|
-
def status(self) -> pulumi.Input[
|
|
846
|
+
def status(self) -> pulumi.Input[_builtins.str]:
|
|
848
847
|
"""
|
|
849
848
|
status is the status of the condition (True, False, Unknown)
|
|
850
849
|
"""
|
|
851
850
|
return pulumi.get(self, "status")
|
|
852
851
|
|
|
853
852
|
@status.setter
|
|
854
|
-
def status(self, value: pulumi.Input[
|
|
853
|
+
def status(self, value: pulumi.Input[_builtins.str]):
|
|
855
854
|
pulumi.set(self, "status", value)
|
|
856
855
|
|
|
857
|
-
@property
|
|
856
|
+
@_builtins.property
|
|
858
857
|
@pulumi.getter
|
|
859
|
-
def type(self) -> pulumi.Input[
|
|
858
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
860
859
|
"""
|
|
861
860
|
type describes the current condition
|
|
862
861
|
"""
|
|
863
862
|
return pulumi.get(self, "type")
|
|
864
863
|
|
|
865
864
|
@type.setter
|
|
866
|
-
def type(self, value: pulumi.Input[
|
|
865
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
867
866
|
pulumi.set(self, "type", value)
|
|
868
867
|
|
|
869
|
-
@property
|
|
868
|
+
@_builtins.property
|
|
870
869
|
@pulumi.getter(name="lastTransitionTime")
|
|
871
|
-
def last_transition_time(self) -> Optional[pulumi.Input[
|
|
870
|
+
def last_transition_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
872
871
|
"""
|
|
873
872
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
874
873
|
"""
|
|
875
874
|
return pulumi.get(self, "last_transition_time")
|
|
876
875
|
|
|
877
876
|
@last_transition_time.setter
|
|
878
|
-
def last_transition_time(self, value: Optional[pulumi.Input[
|
|
877
|
+
def last_transition_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
879
878
|
pulumi.set(self, "last_transition_time", value)
|
|
880
879
|
|
|
881
|
-
@property
|
|
880
|
+
@_builtins.property
|
|
882
881
|
@pulumi.getter
|
|
883
|
-
def message(self) -> Optional[pulumi.Input[
|
|
882
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
884
883
|
"""
|
|
885
884
|
message is a human-readable explanation containing details about the transition
|
|
886
885
|
"""
|
|
887
886
|
return pulumi.get(self, "message")
|
|
888
887
|
|
|
889
888
|
@message.setter
|
|
890
|
-
def message(self, value: Optional[pulumi.Input[
|
|
889
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
891
890
|
pulumi.set(self, "message", value)
|
|
892
891
|
|
|
893
|
-
@property
|
|
892
|
+
@_builtins.property
|
|
894
893
|
@pulumi.getter
|
|
895
|
-
def reason(self) -> Optional[pulumi.Input[
|
|
894
|
+
def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
896
895
|
"""
|
|
897
896
|
reason is the reason for the condition's last transition.
|
|
898
897
|
"""
|
|
899
898
|
return pulumi.get(self, "reason")
|
|
900
899
|
|
|
901
900
|
@reason.setter
|
|
902
|
-
def reason(self, value: Optional[pulumi.Input[
|
|
901
|
+
def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
903
902
|
pulumi.set(self, "reason", value)
|
|
904
903
|
|
|
905
904
|
|
|
@@ -908,7 +907,7 @@ if not MYPY:
|
|
|
908
907
|
"""
|
|
909
908
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
910
909
|
"""
|
|
911
|
-
max_replicas: NotRequired[pulumi.Input[
|
|
910
|
+
max_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
912
911
|
"""
|
|
913
912
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
914
913
|
"""
|
|
@@ -916,7 +915,7 @@ if not MYPY:
|
|
|
916
915
|
"""
|
|
917
916
|
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.
|
|
918
917
|
"""
|
|
919
|
-
min_replicas: NotRequired[pulumi.Input[
|
|
918
|
+
min_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
920
919
|
"""
|
|
921
920
|
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.
|
|
922
921
|
"""
|
|
@@ -930,15 +929,15 @@ elif False:
|
|
|
930
929
|
@pulumi.input_type
|
|
931
930
|
class HorizontalPodAutoscalerSpecPatchArgs:
|
|
932
931
|
def __init__(__self__, *,
|
|
933
|
-
max_replicas: Optional[pulumi.Input[
|
|
932
|
+
max_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
934
933
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]] = None,
|
|
935
|
-
min_replicas: Optional[pulumi.Input[
|
|
934
|
+
min_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
936
935
|
scale_target_ref: Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']] = None):
|
|
937
936
|
"""
|
|
938
937
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
939
|
-
:param pulumi.Input[
|
|
938
|
+
: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.
|
|
940
939
|
: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.
|
|
941
|
-
:param pulumi.Input[
|
|
940
|
+
: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.
|
|
942
941
|
: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.
|
|
943
942
|
"""
|
|
944
943
|
if max_replicas is not None:
|
|
@@ -950,19 +949,19 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
950
949
|
if scale_target_ref is not None:
|
|
951
950
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
952
951
|
|
|
953
|
-
@property
|
|
952
|
+
@_builtins.property
|
|
954
953
|
@pulumi.getter(name="maxReplicas")
|
|
955
|
-
def max_replicas(self) -> Optional[pulumi.Input[
|
|
954
|
+
def max_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
956
955
|
"""
|
|
957
956
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
958
957
|
"""
|
|
959
958
|
return pulumi.get(self, "max_replicas")
|
|
960
959
|
|
|
961
960
|
@max_replicas.setter
|
|
962
|
-
def max_replicas(self, value: Optional[pulumi.Input[
|
|
961
|
+
def max_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
963
962
|
pulumi.set(self, "max_replicas", value)
|
|
964
963
|
|
|
965
|
-
@property
|
|
964
|
+
@_builtins.property
|
|
966
965
|
@pulumi.getter
|
|
967
966
|
def metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]]:
|
|
968
967
|
"""
|
|
@@ -974,19 +973,19 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
974
973
|
def metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]]):
|
|
975
974
|
pulumi.set(self, "metrics", value)
|
|
976
975
|
|
|
977
|
-
@property
|
|
976
|
+
@_builtins.property
|
|
978
977
|
@pulumi.getter(name="minReplicas")
|
|
979
|
-
def min_replicas(self) -> Optional[pulumi.Input[
|
|
978
|
+
def min_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
980
979
|
"""
|
|
981
980
|
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.
|
|
982
981
|
"""
|
|
983
982
|
return pulumi.get(self, "min_replicas")
|
|
984
983
|
|
|
985
984
|
@min_replicas.setter
|
|
986
|
-
def min_replicas(self, value: Optional[pulumi.Input[
|
|
985
|
+
def min_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
987
986
|
pulumi.set(self, "min_replicas", value)
|
|
988
987
|
|
|
989
|
-
@property
|
|
988
|
+
@_builtins.property
|
|
990
989
|
@pulumi.getter(name="scaleTargetRef")
|
|
991
990
|
def scale_target_ref(self) -> Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']]:
|
|
992
991
|
"""
|
|
@@ -1004,7 +1003,7 @@ if not MYPY:
|
|
|
1004
1003
|
"""
|
|
1005
1004
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1006
1005
|
"""
|
|
1007
|
-
max_replicas: pulumi.Input[
|
|
1006
|
+
max_replicas: pulumi.Input[_builtins.int]
|
|
1008
1007
|
"""
|
|
1009
1008
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1010
1009
|
"""
|
|
@@ -1016,7 +1015,7 @@ if not MYPY:
|
|
|
1016
1015
|
"""
|
|
1017
1016
|
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.
|
|
1018
1017
|
"""
|
|
1019
|
-
min_replicas: NotRequired[pulumi.Input[
|
|
1018
|
+
min_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1020
1019
|
"""
|
|
1021
1020
|
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.
|
|
1022
1021
|
"""
|
|
@@ -1026,16 +1025,16 @@ elif False:
|
|
|
1026
1025
|
@pulumi.input_type
|
|
1027
1026
|
class HorizontalPodAutoscalerSpecArgs:
|
|
1028
1027
|
def __init__(__self__, *,
|
|
1029
|
-
max_replicas: pulumi.Input[
|
|
1028
|
+
max_replicas: pulumi.Input[_builtins.int],
|
|
1030
1029
|
scale_target_ref: pulumi.Input['CrossVersionObjectReferenceArgs'],
|
|
1031
1030
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]] = None,
|
|
1032
|
-
min_replicas: Optional[pulumi.Input[
|
|
1031
|
+
min_replicas: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1033
1032
|
"""
|
|
1034
1033
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1035
|
-
:param pulumi.Input[
|
|
1034
|
+
: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.
|
|
1036
1035
|
: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.
|
|
1037
1036
|
: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.
|
|
1038
|
-
:param pulumi.Input[
|
|
1037
|
+
: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.
|
|
1039
1038
|
"""
|
|
1040
1039
|
pulumi.set(__self__, "max_replicas", max_replicas)
|
|
1041
1040
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
@@ -1044,19 +1043,19 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1044
1043
|
if min_replicas is not None:
|
|
1045
1044
|
pulumi.set(__self__, "min_replicas", min_replicas)
|
|
1046
1045
|
|
|
1047
|
-
@property
|
|
1046
|
+
@_builtins.property
|
|
1048
1047
|
@pulumi.getter(name="maxReplicas")
|
|
1049
|
-
def max_replicas(self) -> pulumi.Input[
|
|
1048
|
+
def max_replicas(self) -> pulumi.Input[_builtins.int]:
|
|
1050
1049
|
"""
|
|
1051
1050
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1052
1051
|
"""
|
|
1053
1052
|
return pulumi.get(self, "max_replicas")
|
|
1054
1053
|
|
|
1055
1054
|
@max_replicas.setter
|
|
1056
|
-
def max_replicas(self, value: pulumi.Input[
|
|
1055
|
+
def max_replicas(self, value: pulumi.Input[_builtins.int]):
|
|
1057
1056
|
pulumi.set(self, "max_replicas", value)
|
|
1058
1057
|
|
|
1059
|
-
@property
|
|
1058
|
+
@_builtins.property
|
|
1060
1059
|
@pulumi.getter(name="scaleTargetRef")
|
|
1061
1060
|
def scale_target_ref(self) -> pulumi.Input['CrossVersionObjectReferenceArgs']:
|
|
1062
1061
|
"""
|
|
@@ -1068,7 +1067,7 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1068
1067
|
def scale_target_ref(self, value: pulumi.Input['CrossVersionObjectReferenceArgs']):
|
|
1069
1068
|
pulumi.set(self, "scale_target_ref", value)
|
|
1070
1069
|
|
|
1071
|
-
@property
|
|
1070
|
+
@_builtins.property
|
|
1072
1071
|
@pulumi.getter
|
|
1073
1072
|
def metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]]:
|
|
1074
1073
|
"""
|
|
@@ -1080,16 +1079,16 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1080
1079
|
def metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]]):
|
|
1081
1080
|
pulumi.set(self, "metrics", value)
|
|
1082
1081
|
|
|
1083
|
-
@property
|
|
1082
|
+
@_builtins.property
|
|
1084
1083
|
@pulumi.getter(name="minReplicas")
|
|
1085
|
-
def min_replicas(self) -> Optional[pulumi.Input[
|
|
1084
|
+
def min_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1086
1085
|
"""
|
|
1087
1086
|
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.
|
|
1088
1087
|
"""
|
|
1089
1088
|
return pulumi.get(self, "min_replicas")
|
|
1090
1089
|
|
|
1091
1090
|
@min_replicas.setter
|
|
1092
|
-
def min_replicas(self, value: Optional[pulumi.Input[
|
|
1091
|
+
def min_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1093
1092
|
pulumi.set(self, "min_replicas", value)
|
|
1094
1093
|
|
|
1095
1094
|
|
|
@@ -1102,11 +1101,11 @@ if not MYPY:
|
|
|
1102
1101
|
"""
|
|
1103
1102
|
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
|
|
1104
1103
|
"""
|
|
1105
|
-
current_replicas: pulumi.Input[
|
|
1104
|
+
current_replicas: pulumi.Input[_builtins.int]
|
|
1106
1105
|
"""
|
|
1107
1106
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1108
1107
|
"""
|
|
1109
|
-
desired_replicas: pulumi.Input[
|
|
1108
|
+
desired_replicas: pulumi.Input[_builtins.int]
|
|
1110
1109
|
"""
|
|
1111
1110
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1112
1111
|
"""
|
|
@@ -1114,11 +1113,11 @@ if not MYPY:
|
|
|
1114
1113
|
"""
|
|
1115
1114
|
currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1116
1115
|
"""
|
|
1117
|
-
last_scale_time: NotRequired[pulumi.Input[
|
|
1116
|
+
last_scale_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1118
1117
|
"""
|
|
1119
1118
|
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.
|
|
1120
1119
|
"""
|
|
1121
|
-
observed_generation: NotRequired[pulumi.Input[
|
|
1120
|
+
observed_generation: NotRequired[pulumi.Input[_builtins.int]]
|
|
1122
1121
|
"""
|
|
1123
1122
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1124
1123
|
"""
|
|
@@ -1129,19 +1128,19 @@ elif False:
|
|
|
1129
1128
|
class HorizontalPodAutoscalerStatusArgs:
|
|
1130
1129
|
def __init__(__self__, *,
|
|
1131
1130
|
conditions: pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]],
|
|
1132
|
-
current_replicas: pulumi.Input[
|
|
1133
|
-
desired_replicas: pulumi.Input[
|
|
1131
|
+
current_replicas: pulumi.Input[_builtins.int],
|
|
1132
|
+
desired_replicas: pulumi.Input[_builtins.int],
|
|
1134
1133
|
current_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]] = None,
|
|
1135
|
-
last_scale_time: Optional[pulumi.Input[
|
|
1136
|
-
observed_generation: Optional[pulumi.Input[
|
|
1134
|
+
last_scale_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1135
|
+
observed_generation: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1137
1136
|
"""
|
|
1138
1137
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1139
1138
|
: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.
|
|
1140
|
-
:param pulumi.Input[
|
|
1141
|
-
:param pulumi.Input[
|
|
1139
|
+
: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.
|
|
1140
|
+
: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.
|
|
1142
1141
|
:param pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1143
|
-
:param pulumi.Input[
|
|
1144
|
-
:param pulumi.Input[
|
|
1142
|
+
: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.
|
|
1143
|
+
:param pulumi.Input[_builtins.int] observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1145
1144
|
"""
|
|
1146
1145
|
pulumi.set(__self__, "conditions", conditions)
|
|
1147
1146
|
pulumi.set(__self__, "current_replicas", current_replicas)
|
|
@@ -1153,7 +1152,7 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1153
1152
|
if observed_generation is not None:
|
|
1154
1153
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
1155
1154
|
|
|
1156
|
-
@property
|
|
1155
|
+
@_builtins.property
|
|
1157
1156
|
@pulumi.getter
|
|
1158
1157
|
def conditions(self) -> pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]]:
|
|
1159
1158
|
"""
|
|
@@ -1165,31 +1164,31 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1165
1164
|
def conditions(self, value: pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]]):
|
|
1166
1165
|
pulumi.set(self, "conditions", value)
|
|
1167
1166
|
|
|
1168
|
-
@property
|
|
1167
|
+
@_builtins.property
|
|
1169
1168
|
@pulumi.getter(name="currentReplicas")
|
|
1170
|
-
def current_replicas(self) -> pulumi.Input[
|
|
1169
|
+
def current_replicas(self) -> pulumi.Input[_builtins.int]:
|
|
1171
1170
|
"""
|
|
1172
1171
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1173
1172
|
"""
|
|
1174
1173
|
return pulumi.get(self, "current_replicas")
|
|
1175
1174
|
|
|
1176
1175
|
@current_replicas.setter
|
|
1177
|
-
def current_replicas(self, value: pulumi.Input[
|
|
1176
|
+
def current_replicas(self, value: pulumi.Input[_builtins.int]):
|
|
1178
1177
|
pulumi.set(self, "current_replicas", value)
|
|
1179
1178
|
|
|
1180
|
-
@property
|
|
1179
|
+
@_builtins.property
|
|
1181
1180
|
@pulumi.getter(name="desiredReplicas")
|
|
1182
|
-
def desired_replicas(self) -> pulumi.Input[
|
|
1181
|
+
def desired_replicas(self) -> pulumi.Input[_builtins.int]:
|
|
1183
1182
|
"""
|
|
1184
1183
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1185
1184
|
"""
|
|
1186
1185
|
return pulumi.get(self, "desired_replicas")
|
|
1187
1186
|
|
|
1188
1187
|
@desired_replicas.setter
|
|
1189
|
-
def desired_replicas(self, value: pulumi.Input[
|
|
1188
|
+
def desired_replicas(self, value: pulumi.Input[_builtins.int]):
|
|
1190
1189
|
pulumi.set(self, "desired_replicas", value)
|
|
1191
1190
|
|
|
1192
|
-
@property
|
|
1191
|
+
@_builtins.property
|
|
1193
1192
|
@pulumi.getter(name="currentMetrics")
|
|
1194
1193
|
def current_metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]]:
|
|
1195
1194
|
"""
|
|
@@ -1201,28 +1200,28 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1201
1200
|
def current_metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]]):
|
|
1202
1201
|
pulumi.set(self, "current_metrics", value)
|
|
1203
1202
|
|
|
1204
|
-
@property
|
|
1203
|
+
@_builtins.property
|
|
1205
1204
|
@pulumi.getter(name="lastScaleTime")
|
|
1206
|
-
def last_scale_time(self) -> Optional[pulumi.Input[
|
|
1205
|
+
def last_scale_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1207
1206
|
"""
|
|
1208
1207
|
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.
|
|
1209
1208
|
"""
|
|
1210
1209
|
return pulumi.get(self, "last_scale_time")
|
|
1211
1210
|
|
|
1212
1211
|
@last_scale_time.setter
|
|
1213
|
-
def last_scale_time(self, value: Optional[pulumi.Input[
|
|
1212
|
+
def last_scale_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1214
1213
|
pulumi.set(self, "last_scale_time", value)
|
|
1215
1214
|
|
|
1216
|
-
@property
|
|
1215
|
+
@_builtins.property
|
|
1217
1216
|
@pulumi.getter(name="observedGeneration")
|
|
1218
|
-
def observed_generation(self) -> Optional[pulumi.Input[
|
|
1217
|
+
def observed_generation(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1219
1218
|
"""
|
|
1220
1219
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1221
1220
|
"""
|
|
1222
1221
|
return pulumi.get(self, "observed_generation")
|
|
1223
1222
|
|
|
1224
1223
|
@observed_generation.setter
|
|
1225
|
-
def observed_generation(self, value: Optional[pulumi.Input[
|
|
1224
|
+
def observed_generation(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1226
1225
|
pulumi.set(self, "observed_generation", value)
|
|
1227
1226
|
|
|
1228
1227
|
|
|
@@ -1231,11 +1230,11 @@ if not MYPY:
|
|
|
1231
1230
|
"""
|
|
1232
1231
|
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.
|
|
1233
1232
|
"""
|
|
1234
|
-
api_version: NotRequired[pulumi.Input[
|
|
1233
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1235
1234
|
"""
|
|
1236
1235
|
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
|
|
1237
1236
|
"""
|
|
1238
|
-
kind: NotRequired[pulumi.Input[
|
|
1237
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1239
1238
|
"""
|
|
1240
1239
|
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
|
|
1241
1240
|
"""
|
|
@@ -1257,15 +1256,15 @@ elif False:
|
|
|
1257
1256
|
@pulumi.input_type
|
|
1258
1257
|
class HorizontalPodAutoscalerArgs:
|
|
1259
1258
|
def __init__(__self__, *,
|
|
1260
|
-
api_version: Optional[pulumi.Input[
|
|
1261
|
-
kind: Optional[pulumi.Input[
|
|
1259
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1260
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1262
1261
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1263
1262
|
spec: Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']] = None,
|
|
1264
1263
|
status: Optional[pulumi.Input['HorizontalPodAutoscalerStatusArgs']] = None):
|
|
1265
1264
|
"""
|
|
1266
1265
|
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.
|
|
1267
|
-
:param pulumi.Input[
|
|
1268
|
-
:param pulumi.Input[
|
|
1266
|
+
: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
|
|
1267
|
+
: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
|
|
1269
1268
|
: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
|
|
1270
1269
|
: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.
|
|
1271
1270
|
:param pulumi.Input['HorizontalPodAutoscalerStatusArgs'] status: status is the current information about the autoscaler.
|
|
@@ -1281,31 +1280,31 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1281
1280
|
if status is not None:
|
|
1282
1281
|
pulumi.set(__self__, "status", status)
|
|
1283
1282
|
|
|
1284
|
-
@property
|
|
1283
|
+
@_builtins.property
|
|
1285
1284
|
@pulumi.getter(name="apiVersion")
|
|
1286
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
1285
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1287
1286
|
"""
|
|
1288
1287
|
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
|
|
1289
1288
|
"""
|
|
1290
1289
|
return pulumi.get(self, "api_version")
|
|
1291
1290
|
|
|
1292
1291
|
@api_version.setter
|
|
1293
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
1292
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1294
1293
|
pulumi.set(self, "api_version", value)
|
|
1295
1294
|
|
|
1296
|
-
@property
|
|
1295
|
+
@_builtins.property
|
|
1297
1296
|
@pulumi.getter
|
|
1298
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
1297
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1299
1298
|
"""
|
|
1300
1299
|
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
|
|
1301
1300
|
"""
|
|
1302
1301
|
return pulumi.get(self, "kind")
|
|
1303
1302
|
|
|
1304
1303
|
@kind.setter
|
|
1305
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
1304
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1306
1305
|
pulumi.set(self, "kind", value)
|
|
1307
1306
|
|
|
1308
|
-
@property
|
|
1307
|
+
@_builtins.property
|
|
1309
1308
|
@pulumi.getter
|
|
1310
1309
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1311
1310
|
"""
|
|
@@ -1317,7 +1316,7 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1317
1316
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1318
1317
|
pulumi.set(self, "metadata", value)
|
|
1319
1318
|
|
|
1320
|
-
@property
|
|
1319
|
+
@_builtins.property
|
|
1321
1320
|
@pulumi.getter
|
|
1322
1321
|
def spec(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']]:
|
|
1323
1322
|
"""
|
|
@@ -1329,7 +1328,7 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1329
1328
|
def spec(self, value: Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']]):
|
|
1330
1329
|
pulumi.set(self, "spec", value)
|
|
1331
1330
|
|
|
1332
|
-
@property
|
|
1331
|
+
@_builtins.property
|
|
1333
1332
|
@pulumi.getter
|
|
1334
1333
|
def status(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerStatusArgs']]:
|
|
1335
1334
|
"""
|
|
@@ -1367,7 +1366,7 @@ if not MYPY:
|
|
|
1367
1366
|
"""
|
|
1368
1367
|
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.
|
|
1369
1368
|
"""
|
|
1370
|
-
type: NotRequired[pulumi.Input[
|
|
1369
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
1371
1370
|
"""
|
|
1372
1371
|
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1373
1372
|
"""
|
|
@@ -1382,7 +1381,7 @@ class MetricSpecPatchArgs:
|
|
|
1382
1381
|
object: Optional[pulumi.Input['ObjectMetricSourcePatchArgs']] = None,
|
|
1383
1382
|
pods: Optional[pulumi.Input['PodsMetricSourcePatchArgs']] = None,
|
|
1384
1383
|
resource: Optional[pulumi.Input['ResourceMetricSourcePatchArgs']] = None,
|
|
1385
|
-
type: Optional[pulumi.Input[
|
|
1384
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1386
1385
|
"""
|
|
1387
1386
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1388
1387
|
:param pulumi.Input['ContainerResourceMetricSourcePatchArgs'] 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 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. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
|
|
@@ -1390,7 +1389,7 @@ class MetricSpecPatchArgs:
|
|
|
1390
1389
|
:param pulumi.Input['ObjectMetricSourcePatchArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1391
1390
|
: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.
|
|
1392
1391
|
: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.
|
|
1393
|
-
:param pulumi.Input[
|
|
1392
|
+
:param pulumi.Input[_builtins.str] type: type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1394
1393
|
"""
|
|
1395
1394
|
if container_resource is not None:
|
|
1396
1395
|
pulumi.set(__self__, "container_resource", container_resource)
|
|
@@ -1405,7 +1404,7 @@ class MetricSpecPatchArgs:
|
|
|
1405
1404
|
if type is not None:
|
|
1406
1405
|
pulumi.set(__self__, "type", type)
|
|
1407
1406
|
|
|
1408
|
-
@property
|
|
1407
|
+
@_builtins.property
|
|
1409
1408
|
@pulumi.getter(name="containerResource")
|
|
1410
1409
|
def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricSourcePatchArgs']]:
|
|
1411
1410
|
"""
|
|
@@ -1417,7 +1416,7 @@ class MetricSpecPatchArgs:
|
|
|
1417
1416
|
def container_resource(self, value: Optional[pulumi.Input['ContainerResourceMetricSourcePatchArgs']]):
|
|
1418
1417
|
pulumi.set(self, "container_resource", value)
|
|
1419
1418
|
|
|
1420
|
-
@property
|
|
1419
|
+
@_builtins.property
|
|
1421
1420
|
@pulumi.getter
|
|
1422
1421
|
def external(self) -> Optional[pulumi.Input['ExternalMetricSourcePatchArgs']]:
|
|
1423
1422
|
"""
|
|
@@ -1429,7 +1428,7 @@ class MetricSpecPatchArgs:
|
|
|
1429
1428
|
def external(self, value: Optional[pulumi.Input['ExternalMetricSourcePatchArgs']]):
|
|
1430
1429
|
pulumi.set(self, "external", value)
|
|
1431
1430
|
|
|
1432
|
-
@property
|
|
1431
|
+
@_builtins.property
|
|
1433
1432
|
@pulumi.getter
|
|
1434
1433
|
def object(self) -> Optional[pulumi.Input['ObjectMetricSourcePatchArgs']]:
|
|
1435
1434
|
"""
|
|
@@ -1441,7 +1440,7 @@ class MetricSpecPatchArgs:
|
|
|
1441
1440
|
def object(self, value: Optional[pulumi.Input['ObjectMetricSourcePatchArgs']]):
|
|
1442
1441
|
pulumi.set(self, "object", value)
|
|
1443
1442
|
|
|
1444
|
-
@property
|
|
1443
|
+
@_builtins.property
|
|
1445
1444
|
@pulumi.getter
|
|
1446
1445
|
def pods(self) -> Optional[pulumi.Input['PodsMetricSourcePatchArgs']]:
|
|
1447
1446
|
"""
|
|
@@ -1453,7 +1452,7 @@ class MetricSpecPatchArgs:
|
|
|
1453
1452
|
def pods(self, value: Optional[pulumi.Input['PodsMetricSourcePatchArgs']]):
|
|
1454
1453
|
pulumi.set(self, "pods", value)
|
|
1455
1454
|
|
|
1456
|
-
@property
|
|
1455
|
+
@_builtins.property
|
|
1457
1456
|
@pulumi.getter
|
|
1458
1457
|
def resource(self) -> Optional[pulumi.Input['ResourceMetricSourcePatchArgs']]:
|
|
1459
1458
|
"""
|
|
@@ -1465,16 +1464,16 @@ class MetricSpecPatchArgs:
|
|
|
1465
1464
|
def resource(self, value: Optional[pulumi.Input['ResourceMetricSourcePatchArgs']]):
|
|
1466
1465
|
pulumi.set(self, "resource", value)
|
|
1467
1466
|
|
|
1468
|
-
@property
|
|
1467
|
+
@_builtins.property
|
|
1469
1468
|
@pulumi.getter
|
|
1470
|
-
def type(self) -> Optional[pulumi.Input[
|
|
1469
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1471
1470
|
"""
|
|
1472
1471
|
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1473
1472
|
"""
|
|
1474
1473
|
return pulumi.get(self, "type")
|
|
1475
1474
|
|
|
1476
1475
|
@type.setter
|
|
1477
|
-
def type(self, value: Optional[pulumi.Input[
|
|
1476
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1478
1477
|
pulumi.set(self, "type", value)
|
|
1479
1478
|
|
|
1480
1479
|
|
|
@@ -1483,7 +1482,7 @@ if not MYPY:
|
|
|
1483
1482
|
"""
|
|
1484
1483
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1485
1484
|
"""
|
|
1486
|
-
type: pulumi.Input[
|
|
1485
|
+
type: pulumi.Input[_builtins.str]
|
|
1487
1486
|
"""
|
|
1488
1487
|
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1489
1488
|
"""
|
|
@@ -1513,7 +1512,7 @@ elif False:
|
|
|
1513
1512
|
@pulumi.input_type
|
|
1514
1513
|
class MetricSpecArgs:
|
|
1515
1514
|
def __init__(__self__, *,
|
|
1516
|
-
type: pulumi.Input[
|
|
1515
|
+
type: pulumi.Input[_builtins.str],
|
|
1517
1516
|
container_resource: Optional[pulumi.Input['ContainerResourceMetricSourceArgs']] = None,
|
|
1518
1517
|
external: Optional[pulumi.Input['ExternalMetricSourceArgs']] = None,
|
|
1519
1518
|
object: Optional[pulumi.Input['ObjectMetricSourceArgs']] = None,
|
|
@@ -1521,7 +1520,7 @@ class MetricSpecArgs:
|
|
|
1521
1520
|
resource: Optional[pulumi.Input['ResourceMetricSourceArgs']] = None):
|
|
1522
1521
|
"""
|
|
1523
1522
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1524
|
-
:param pulumi.Input[
|
|
1523
|
+
:param pulumi.Input[_builtins.str] type: type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1525
1524
|
:param pulumi.Input['ContainerResourceMetricSourceArgs'] 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 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. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
|
|
1526
1525
|
: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).
|
|
1527
1526
|
:param pulumi.Input['ObjectMetricSourceArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -1540,19 +1539,19 @@ class MetricSpecArgs:
|
|
|
1540
1539
|
if resource is not None:
|
|
1541
1540
|
pulumi.set(__self__, "resource", resource)
|
|
1542
1541
|
|
|
1543
|
-
@property
|
|
1542
|
+
@_builtins.property
|
|
1544
1543
|
@pulumi.getter
|
|
1545
|
-
def type(self) -> pulumi.Input[
|
|
1544
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
1546
1545
|
"""
|
|
1547
1546
|
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1548
1547
|
"""
|
|
1549
1548
|
return pulumi.get(self, "type")
|
|
1550
1549
|
|
|
1551
1550
|
@type.setter
|
|
1552
|
-
def type(self, value: pulumi.Input[
|
|
1551
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
1553
1552
|
pulumi.set(self, "type", value)
|
|
1554
1553
|
|
|
1555
|
-
@property
|
|
1554
|
+
@_builtins.property
|
|
1556
1555
|
@pulumi.getter(name="containerResource")
|
|
1557
1556
|
def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricSourceArgs']]:
|
|
1558
1557
|
"""
|
|
@@ -1564,7 +1563,7 @@ class MetricSpecArgs:
|
|
|
1564
1563
|
def container_resource(self, value: Optional[pulumi.Input['ContainerResourceMetricSourceArgs']]):
|
|
1565
1564
|
pulumi.set(self, "container_resource", value)
|
|
1566
1565
|
|
|
1567
|
-
@property
|
|
1566
|
+
@_builtins.property
|
|
1568
1567
|
@pulumi.getter
|
|
1569
1568
|
def external(self) -> Optional[pulumi.Input['ExternalMetricSourceArgs']]:
|
|
1570
1569
|
"""
|
|
@@ -1576,7 +1575,7 @@ class MetricSpecArgs:
|
|
|
1576
1575
|
def external(self, value: Optional[pulumi.Input['ExternalMetricSourceArgs']]):
|
|
1577
1576
|
pulumi.set(self, "external", value)
|
|
1578
1577
|
|
|
1579
|
-
@property
|
|
1578
|
+
@_builtins.property
|
|
1580
1579
|
@pulumi.getter
|
|
1581
1580
|
def object(self) -> Optional[pulumi.Input['ObjectMetricSourceArgs']]:
|
|
1582
1581
|
"""
|
|
@@ -1588,7 +1587,7 @@ class MetricSpecArgs:
|
|
|
1588
1587
|
def object(self, value: Optional[pulumi.Input['ObjectMetricSourceArgs']]):
|
|
1589
1588
|
pulumi.set(self, "object", value)
|
|
1590
1589
|
|
|
1591
|
-
@property
|
|
1590
|
+
@_builtins.property
|
|
1592
1591
|
@pulumi.getter
|
|
1593
1592
|
def pods(self) -> Optional[pulumi.Input['PodsMetricSourceArgs']]:
|
|
1594
1593
|
"""
|
|
@@ -1600,7 +1599,7 @@ class MetricSpecArgs:
|
|
|
1600
1599
|
def pods(self, value: Optional[pulumi.Input['PodsMetricSourceArgs']]):
|
|
1601
1600
|
pulumi.set(self, "pods", value)
|
|
1602
1601
|
|
|
1603
|
-
@property
|
|
1602
|
+
@_builtins.property
|
|
1604
1603
|
@pulumi.getter
|
|
1605
1604
|
def resource(self) -> Optional[pulumi.Input['ResourceMetricSourceArgs']]:
|
|
1606
1605
|
"""
|
|
@@ -1618,7 +1617,7 @@ if not MYPY:
|
|
|
1618
1617
|
"""
|
|
1619
1618
|
MetricStatus describes the last-read state of a single metric.
|
|
1620
1619
|
"""
|
|
1621
|
-
type: pulumi.Input[
|
|
1620
|
+
type: pulumi.Input[_builtins.str]
|
|
1622
1621
|
"""
|
|
1623
1622
|
type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
1624
1623
|
"""
|
|
@@ -1648,7 +1647,7 @@ elif False:
|
|
|
1648
1647
|
@pulumi.input_type
|
|
1649
1648
|
class MetricStatusArgs:
|
|
1650
1649
|
def __init__(__self__, *,
|
|
1651
|
-
type: pulumi.Input[
|
|
1650
|
+
type: pulumi.Input[_builtins.str],
|
|
1652
1651
|
container_resource: Optional[pulumi.Input['ContainerResourceMetricStatusArgs']] = None,
|
|
1653
1652
|
external: Optional[pulumi.Input['ExternalMetricStatusArgs']] = None,
|
|
1654
1653
|
object: Optional[pulumi.Input['ObjectMetricStatusArgs']] = None,
|
|
@@ -1656,7 +1655,7 @@ class MetricStatusArgs:
|
|
|
1656
1655
|
resource: Optional[pulumi.Input['ResourceMetricStatusArgs']] = None):
|
|
1657
1656
|
"""
|
|
1658
1657
|
MetricStatus describes the last-read state of a single metric.
|
|
1659
|
-
:param pulumi.Input[
|
|
1658
|
+
:param pulumi.Input[_builtins.str] type: type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
1660
1659
|
: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.
|
|
1661
1660
|
: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).
|
|
1662
1661
|
:param pulumi.Input['ObjectMetricStatusArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -1675,19 +1674,19 @@ class MetricStatusArgs:
|
|
|
1675
1674
|
if resource is not None:
|
|
1676
1675
|
pulumi.set(__self__, "resource", resource)
|
|
1677
1676
|
|
|
1678
|
-
@property
|
|
1677
|
+
@_builtins.property
|
|
1679
1678
|
@pulumi.getter
|
|
1680
|
-
def type(self) -> pulumi.Input[
|
|
1679
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
1681
1680
|
"""
|
|
1682
1681
|
type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
1683
1682
|
"""
|
|
1684
1683
|
return pulumi.get(self, "type")
|
|
1685
1684
|
|
|
1686
1685
|
@type.setter
|
|
1687
|
-
def type(self, value: pulumi.Input[
|
|
1686
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
1688
1687
|
pulumi.set(self, "type", value)
|
|
1689
1688
|
|
|
1690
|
-
@property
|
|
1689
|
+
@_builtins.property
|
|
1691
1690
|
@pulumi.getter(name="containerResource")
|
|
1692
1691
|
def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricStatusArgs']]:
|
|
1693
1692
|
"""
|
|
@@ -1699,7 +1698,7 @@ class MetricStatusArgs:
|
|
|
1699
1698
|
def container_resource(self, value: Optional[pulumi.Input['ContainerResourceMetricStatusArgs']]):
|
|
1700
1699
|
pulumi.set(self, "container_resource", value)
|
|
1701
1700
|
|
|
1702
|
-
@property
|
|
1701
|
+
@_builtins.property
|
|
1703
1702
|
@pulumi.getter
|
|
1704
1703
|
def external(self) -> Optional[pulumi.Input['ExternalMetricStatusArgs']]:
|
|
1705
1704
|
"""
|
|
@@ -1711,7 +1710,7 @@ class MetricStatusArgs:
|
|
|
1711
1710
|
def external(self, value: Optional[pulumi.Input['ExternalMetricStatusArgs']]):
|
|
1712
1711
|
pulumi.set(self, "external", value)
|
|
1713
1712
|
|
|
1714
|
-
@property
|
|
1713
|
+
@_builtins.property
|
|
1715
1714
|
@pulumi.getter
|
|
1716
1715
|
def object(self) -> Optional[pulumi.Input['ObjectMetricStatusArgs']]:
|
|
1717
1716
|
"""
|
|
@@ -1723,7 +1722,7 @@ class MetricStatusArgs:
|
|
|
1723
1722
|
def object(self, value: Optional[pulumi.Input['ObjectMetricStatusArgs']]):
|
|
1724
1723
|
pulumi.set(self, "object", value)
|
|
1725
1724
|
|
|
1726
|
-
@property
|
|
1725
|
+
@_builtins.property
|
|
1727
1726
|
@pulumi.getter
|
|
1728
1727
|
def pods(self) -> Optional[pulumi.Input['PodsMetricStatusArgs']]:
|
|
1729
1728
|
"""
|
|
@@ -1735,7 +1734,7 @@ class MetricStatusArgs:
|
|
|
1735
1734
|
def pods(self, value: Optional[pulumi.Input['PodsMetricStatusArgs']]):
|
|
1736
1735
|
pulumi.set(self, "pods", value)
|
|
1737
1736
|
|
|
1738
|
-
@property
|
|
1737
|
+
@_builtins.property
|
|
1739
1738
|
@pulumi.getter
|
|
1740
1739
|
def resource(self) -> Optional[pulumi.Input['ResourceMetricStatusArgs']]:
|
|
1741
1740
|
"""
|
|
@@ -1753,11 +1752,11 @@ if not MYPY:
|
|
|
1753
1752
|
"""
|
|
1754
1753
|
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1755
1754
|
"""
|
|
1756
|
-
average_value: NotRequired[pulumi.Input[
|
|
1755
|
+
average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
1757
1756
|
"""
|
|
1758
1757
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
1759
1758
|
"""
|
|
1760
|
-
metric_name: NotRequired[pulumi.Input[
|
|
1759
|
+
metric_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1761
1760
|
"""
|
|
1762
1761
|
metricName is the name of the metric in question.
|
|
1763
1762
|
"""
|
|
@@ -1769,7 +1768,7 @@ if not MYPY:
|
|
|
1769
1768
|
"""
|
|
1770
1769
|
target is the described Kubernetes object.
|
|
1771
1770
|
"""
|
|
1772
|
-
target_value: NotRequired[pulumi.Input[
|
|
1771
|
+
target_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
1773
1772
|
"""
|
|
1774
1773
|
targetValue is the target value of the metric (as a quantity).
|
|
1775
1774
|
"""
|
|
@@ -1779,18 +1778,18 @@ elif False:
|
|
|
1779
1778
|
@pulumi.input_type
|
|
1780
1779
|
class ObjectMetricSourcePatchArgs:
|
|
1781
1780
|
def __init__(__self__, *,
|
|
1782
|
-
average_value: Optional[pulumi.Input[
|
|
1783
|
-
metric_name: Optional[pulumi.Input[
|
|
1781
|
+
average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1782
|
+
metric_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1784
1783
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
1785
1784
|
target: Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']] = None,
|
|
1786
|
-
target_value: Optional[pulumi.Input[
|
|
1785
|
+
target_value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1787
1786
|
"""
|
|
1788
1787
|
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1789
|
-
:param pulumi.Input[
|
|
1790
|
-
:param pulumi.Input[
|
|
1788
|
+
: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)
|
|
1789
|
+
:param pulumi.Input[_builtins.str] metric_name: metricName is the name of the metric in question.
|
|
1791
1790
|
: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.
|
|
1792
1791
|
:param pulumi.Input['CrossVersionObjectReferencePatchArgs'] target: target is the described Kubernetes object.
|
|
1793
|
-
:param pulumi.Input[
|
|
1792
|
+
:param pulumi.Input[_builtins.str] target_value: targetValue is the target value of the metric (as a quantity).
|
|
1794
1793
|
"""
|
|
1795
1794
|
if average_value is not None:
|
|
1796
1795
|
pulumi.set(__self__, "average_value", average_value)
|
|
@@ -1803,31 +1802,31 @@ class ObjectMetricSourcePatchArgs:
|
|
|
1803
1802
|
if target_value is not None:
|
|
1804
1803
|
pulumi.set(__self__, "target_value", target_value)
|
|
1805
1804
|
|
|
1806
|
-
@property
|
|
1805
|
+
@_builtins.property
|
|
1807
1806
|
@pulumi.getter(name="averageValue")
|
|
1808
|
-
def average_value(self) -> Optional[pulumi.Input[
|
|
1807
|
+
def average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1809
1808
|
"""
|
|
1810
1809
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
1811
1810
|
"""
|
|
1812
1811
|
return pulumi.get(self, "average_value")
|
|
1813
1812
|
|
|
1814
1813
|
@average_value.setter
|
|
1815
|
-
def average_value(self, value: Optional[pulumi.Input[
|
|
1814
|
+
def average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1816
1815
|
pulumi.set(self, "average_value", value)
|
|
1817
1816
|
|
|
1818
|
-
@property
|
|
1817
|
+
@_builtins.property
|
|
1819
1818
|
@pulumi.getter(name="metricName")
|
|
1820
|
-
def metric_name(self) -> Optional[pulumi.Input[
|
|
1819
|
+
def metric_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1821
1820
|
"""
|
|
1822
1821
|
metricName is the name of the metric in question.
|
|
1823
1822
|
"""
|
|
1824
1823
|
return pulumi.get(self, "metric_name")
|
|
1825
1824
|
|
|
1826
1825
|
@metric_name.setter
|
|
1827
|
-
def metric_name(self, value: Optional[pulumi.Input[
|
|
1826
|
+
def metric_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1828
1827
|
pulumi.set(self, "metric_name", value)
|
|
1829
1828
|
|
|
1830
|
-
@property
|
|
1829
|
+
@_builtins.property
|
|
1831
1830
|
@pulumi.getter
|
|
1832
1831
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
1833
1832
|
"""
|
|
@@ -1839,7 +1838,7 @@ class ObjectMetricSourcePatchArgs:
|
|
|
1839
1838
|
def selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
1840
1839
|
pulumi.set(self, "selector", value)
|
|
1841
1840
|
|
|
1842
|
-
@property
|
|
1841
|
+
@_builtins.property
|
|
1843
1842
|
@pulumi.getter
|
|
1844
1843
|
def target(self) -> Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']]:
|
|
1845
1844
|
"""
|
|
@@ -1851,16 +1850,16 @@ class ObjectMetricSourcePatchArgs:
|
|
|
1851
1850
|
def target(self, value: Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']]):
|
|
1852
1851
|
pulumi.set(self, "target", value)
|
|
1853
1852
|
|
|
1854
|
-
@property
|
|
1853
|
+
@_builtins.property
|
|
1855
1854
|
@pulumi.getter(name="targetValue")
|
|
1856
|
-
def target_value(self) -> Optional[pulumi.Input[
|
|
1855
|
+
def target_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1857
1856
|
"""
|
|
1858
1857
|
targetValue is the target value of the metric (as a quantity).
|
|
1859
1858
|
"""
|
|
1860
1859
|
return pulumi.get(self, "target_value")
|
|
1861
1860
|
|
|
1862
1861
|
@target_value.setter
|
|
1863
|
-
def target_value(self, value: Optional[pulumi.Input[
|
|
1862
|
+
def target_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1864
1863
|
pulumi.set(self, "target_value", value)
|
|
1865
1864
|
|
|
1866
1865
|
|
|
@@ -1869,7 +1868,7 @@ if not MYPY:
|
|
|
1869
1868
|
"""
|
|
1870
1869
|
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1871
1870
|
"""
|
|
1872
|
-
metric_name: pulumi.Input[
|
|
1871
|
+
metric_name: pulumi.Input[_builtins.str]
|
|
1873
1872
|
"""
|
|
1874
1873
|
metricName is the name of the metric in question.
|
|
1875
1874
|
"""
|
|
@@ -1877,11 +1876,11 @@ if not MYPY:
|
|
|
1877
1876
|
"""
|
|
1878
1877
|
target is the described Kubernetes object.
|
|
1879
1878
|
"""
|
|
1880
|
-
target_value: pulumi.Input[
|
|
1879
|
+
target_value: pulumi.Input[_builtins.str]
|
|
1881
1880
|
"""
|
|
1882
1881
|
targetValue is the target value of the metric (as a quantity).
|
|
1883
1882
|
"""
|
|
1884
|
-
average_value: NotRequired[pulumi.Input[
|
|
1883
|
+
average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
1885
1884
|
"""
|
|
1886
1885
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
1887
1886
|
"""
|
|
@@ -1895,17 +1894,17 @@ elif False:
|
|
|
1895
1894
|
@pulumi.input_type
|
|
1896
1895
|
class ObjectMetricSourceArgs:
|
|
1897
1896
|
def __init__(__self__, *,
|
|
1898
|
-
metric_name: pulumi.Input[
|
|
1897
|
+
metric_name: pulumi.Input[_builtins.str],
|
|
1899
1898
|
target: pulumi.Input['CrossVersionObjectReferenceArgs'],
|
|
1900
|
-
target_value: pulumi.Input[
|
|
1901
|
-
average_value: Optional[pulumi.Input[
|
|
1899
|
+
target_value: pulumi.Input[_builtins.str],
|
|
1900
|
+
average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1902
1901
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
1903
1902
|
"""
|
|
1904
1903
|
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1905
|
-
:param pulumi.Input[
|
|
1904
|
+
:param pulumi.Input[_builtins.str] metric_name: metricName is the name of the metric in question.
|
|
1906
1905
|
:param pulumi.Input['CrossVersionObjectReferenceArgs'] target: target is the described Kubernetes object.
|
|
1907
|
-
:param pulumi.Input[
|
|
1908
|
-
:param pulumi.Input[
|
|
1906
|
+
:param pulumi.Input[_builtins.str] target_value: targetValue is the target value of the metric (as a quantity).
|
|
1907
|
+
: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)
|
|
1909
1908
|
: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.
|
|
1910
1909
|
"""
|
|
1911
1910
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
@@ -1916,19 +1915,19 @@ class ObjectMetricSourceArgs:
|
|
|
1916
1915
|
if selector is not None:
|
|
1917
1916
|
pulumi.set(__self__, "selector", selector)
|
|
1918
1917
|
|
|
1919
|
-
@property
|
|
1918
|
+
@_builtins.property
|
|
1920
1919
|
@pulumi.getter(name="metricName")
|
|
1921
|
-
def metric_name(self) -> pulumi.Input[
|
|
1920
|
+
def metric_name(self) -> pulumi.Input[_builtins.str]:
|
|
1922
1921
|
"""
|
|
1923
1922
|
metricName is the name of the metric in question.
|
|
1924
1923
|
"""
|
|
1925
1924
|
return pulumi.get(self, "metric_name")
|
|
1926
1925
|
|
|
1927
1926
|
@metric_name.setter
|
|
1928
|
-
def metric_name(self, value: pulumi.Input[
|
|
1927
|
+
def metric_name(self, value: pulumi.Input[_builtins.str]):
|
|
1929
1928
|
pulumi.set(self, "metric_name", value)
|
|
1930
1929
|
|
|
1931
|
-
@property
|
|
1930
|
+
@_builtins.property
|
|
1932
1931
|
@pulumi.getter
|
|
1933
1932
|
def target(self) -> pulumi.Input['CrossVersionObjectReferenceArgs']:
|
|
1934
1933
|
"""
|
|
@@ -1940,31 +1939,31 @@ class ObjectMetricSourceArgs:
|
|
|
1940
1939
|
def target(self, value: pulumi.Input['CrossVersionObjectReferenceArgs']):
|
|
1941
1940
|
pulumi.set(self, "target", value)
|
|
1942
1941
|
|
|
1943
|
-
@property
|
|
1942
|
+
@_builtins.property
|
|
1944
1943
|
@pulumi.getter(name="targetValue")
|
|
1945
|
-
def target_value(self) -> pulumi.Input[
|
|
1944
|
+
def target_value(self) -> pulumi.Input[_builtins.str]:
|
|
1946
1945
|
"""
|
|
1947
1946
|
targetValue is the target value of the metric (as a quantity).
|
|
1948
1947
|
"""
|
|
1949
1948
|
return pulumi.get(self, "target_value")
|
|
1950
1949
|
|
|
1951
1950
|
@target_value.setter
|
|
1952
|
-
def target_value(self, value: pulumi.Input[
|
|
1951
|
+
def target_value(self, value: pulumi.Input[_builtins.str]):
|
|
1953
1952
|
pulumi.set(self, "target_value", value)
|
|
1954
1953
|
|
|
1955
|
-
@property
|
|
1954
|
+
@_builtins.property
|
|
1956
1955
|
@pulumi.getter(name="averageValue")
|
|
1957
|
-
def average_value(self) -> Optional[pulumi.Input[
|
|
1956
|
+
def average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1958
1957
|
"""
|
|
1959
1958
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
1960
1959
|
"""
|
|
1961
1960
|
return pulumi.get(self, "average_value")
|
|
1962
1961
|
|
|
1963
1962
|
@average_value.setter
|
|
1964
|
-
def average_value(self, value: Optional[pulumi.Input[
|
|
1963
|
+
def average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1965
1964
|
pulumi.set(self, "average_value", value)
|
|
1966
1965
|
|
|
1967
|
-
@property
|
|
1966
|
+
@_builtins.property
|
|
1968
1967
|
@pulumi.getter
|
|
1969
1968
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
1970
1969
|
"""
|
|
@@ -1982,11 +1981,11 @@ if not MYPY:
|
|
|
1982
1981
|
"""
|
|
1983
1982
|
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1984
1983
|
"""
|
|
1985
|
-
current_value: pulumi.Input[
|
|
1984
|
+
current_value: pulumi.Input[_builtins.str]
|
|
1986
1985
|
"""
|
|
1987
1986
|
currentValue is the current value of the metric (as a quantity).
|
|
1988
1987
|
"""
|
|
1989
|
-
metric_name: pulumi.Input[
|
|
1988
|
+
metric_name: pulumi.Input[_builtins.str]
|
|
1990
1989
|
"""
|
|
1991
1990
|
metricName is the name of the metric in question.
|
|
1992
1991
|
"""
|
|
@@ -1994,7 +1993,7 @@ if not MYPY:
|
|
|
1994
1993
|
"""
|
|
1995
1994
|
target is the described Kubernetes object.
|
|
1996
1995
|
"""
|
|
1997
|
-
average_value: NotRequired[pulumi.Input[
|
|
1996
|
+
average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
1998
1997
|
"""
|
|
1999
1998
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2000
1999
|
"""
|
|
@@ -2008,17 +2007,17 @@ elif False:
|
|
|
2008
2007
|
@pulumi.input_type
|
|
2009
2008
|
class ObjectMetricStatusArgs:
|
|
2010
2009
|
def __init__(__self__, *,
|
|
2011
|
-
current_value: pulumi.Input[
|
|
2012
|
-
metric_name: pulumi.Input[
|
|
2010
|
+
current_value: pulumi.Input[_builtins.str],
|
|
2011
|
+
metric_name: pulumi.Input[_builtins.str],
|
|
2013
2012
|
target: pulumi.Input['CrossVersionObjectReferenceArgs'],
|
|
2014
|
-
average_value: Optional[pulumi.Input[
|
|
2013
|
+
average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2015
2014
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
2016
2015
|
"""
|
|
2017
2016
|
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
2018
|
-
:param pulumi.Input[
|
|
2019
|
-
:param pulumi.Input[
|
|
2017
|
+
:param pulumi.Input[_builtins.str] current_value: currentValue is the current value of the metric (as a quantity).
|
|
2018
|
+
:param pulumi.Input[_builtins.str] metric_name: metricName is the name of the metric in question.
|
|
2020
2019
|
:param pulumi.Input['CrossVersionObjectReferenceArgs'] target: target is the described Kubernetes object.
|
|
2021
|
-
:param pulumi.Input[
|
|
2020
|
+
: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)
|
|
2022
2021
|
: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 in the ObjectMetricSource, 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.
|
|
2023
2022
|
"""
|
|
2024
2023
|
pulumi.set(__self__, "current_value", current_value)
|
|
@@ -2029,31 +2028,31 @@ class ObjectMetricStatusArgs:
|
|
|
2029
2028
|
if selector is not None:
|
|
2030
2029
|
pulumi.set(__self__, "selector", selector)
|
|
2031
2030
|
|
|
2032
|
-
@property
|
|
2031
|
+
@_builtins.property
|
|
2033
2032
|
@pulumi.getter(name="currentValue")
|
|
2034
|
-
def current_value(self) -> pulumi.Input[
|
|
2033
|
+
def current_value(self) -> pulumi.Input[_builtins.str]:
|
|
2035
2034
|
"""
|
|
2036
2035
|
currentValue is the current value of the metric (as a quantity).
|
|
2037
2036
|
"""
|
|
2038
2037
|
return pulumi.get(self, "current_value")
|
|
2039
2038
|
|
|
2040
2039
|
@current_value.setter
|
|
2041
|
-
def current_value(self, value: pulumi.Input[
|
|
2040
|
+
def current_value(self, value: pulumi.Input[_builtins.str]):
|
|
2042
2041
|
pulumi.set(self, "current_value", value)
|
|
2043
2042
|
|
|
2044
|
-
@property
|
|
2043
|
+
@_builtins.property
|
|
2045
2044
|
@pulumi.getter(name="metricName")
|
|
2046
|
-
def metric_name(self) -> pulumi.Input[
|
|
2045
|
+
def metric_name(self) -> pulumi.Input[_builtins.str]:
|
|
2047
2046
|
"""
|
|
2048
2047
|
metricName is the name of the metric in question.
|
|
2049
2048
|
"""
|
|
2050
2049
|
return pulumi.get(self, "metric_name")
|
|
2051
2050
|
|
|
2052
2051
|
@metric_name.setter
|
|
2053
|
-
def metric_name(self, value: pulumi.Input[
|
|
2052
|
+
def metric_name(self, value: pulumi.Input[_builtins.str]):
|
|
2054
2053
|
pulumi.set(self, "metric_name", value)
|
|
2055
2054
|
|
|
2056
|
-
@property
|
|
2055
|
+
@_builtins.property
|
|
2057
2056
|
@pulumi.getter
|
|
2058
2057
|
def target(self) -> pulumi.Input['CrossVersionObjectReferenceArgs']:
|
|
2059
2058
|
"""
|
|
@@ -2065,19 +2064,19 @@ class ObjectMetricStatusArgs:
|
|
|
2065
2064
|
def target(self, value: pulumi.Input['CrossVersionObjectReferenceArgs']):
|
|
2066
2065
|
pulumi.set(self, "target", value)
|
|
2067
2066
|
|
|
2068
|
-
@property
|
|
2067
|
+
@_builtins.property
|
|
2069
2068
|
@pulumi.getter(name="averageValue")
|
|
2070
|
-
def average_value(self) -> Optional[pulumi.Input[
|
|
2069
|
+
def average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2071
2070
|
"""
|
|
2072
2071
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2073
2072
|
"""
|
|
2074
2073
|
return pulumi.get(self, "average_value")
|
|
2075
2074
|
|
|
2076
2075
|
@average_value.setter
|
|
2077
|
-
def average_value(self, value: Optional[pulumi.Input[
|
|
2076
|
+
def average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2078
2077
|
pulumi.set(self, "average_value", value)
|
|
2079
2078
|
|
|
2080
|
-
@property
|
|
2079
|
+
@_builtins.property
|
|
2081
2080
|
@pulumi.getter
|
|
2082
2081
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
2083
2082
|
"""
|
|
@@ -2095,7 +2094,7 @@ if not MYPY:
|
|
|
2095
2094
|
"""
|
|
2096
2095
|
PodsMetricSource indicates how to scale on 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.
|
|
2097
2096
|
"""
|
|
2098
|
-
metric_name: NotRequired[pulumi.Input[
|
|
2097
|
+
metric_name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2099
2098
|
"""
|
|
2100
2099
|
metricName is the name of the metric in question
|
|
2101
2100
|
"""
|
|
@@ -2103,7 +2102,7 @@ if not MYPY:
|
|
|
2103
2102
|
"""
|
|
2104
2103
|
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.
|
|
2105
2104
|
"""
|
|
2106
|
-
target_average_value: NotRequired[pulumi.Input[
|
|
2105
|
+
target_average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2107
2106
|
"""
|
|
2108
2107
|
targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2109
2108
|
"""
|
|
@@ -2113,14 +2112,14 @@ elif False:
|
|
|
2113
2112
|
@pulumi.input_type
|
|
2114
2113
|
class PodsMetricSourcePatchArgs:
|
|
2115
2114
|
def __init__(__self__, *,
|
|
2116
|
-
metric_name: Optional[pulumi.Input[
|
|
2115
|
+
metric_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2117
2116
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None,
|
|
2118
|
-
target_average_value: Optional[pulumi.Input[
|
|
2117
|
+
target_average_value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2119
2118
|
"""
|
|
2120
2119
|
PodsMetricSource indicates how to scale on 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.
|
|
2121
|
-
:param pulumi.Input[
|
|
2120
|
+
:param pulumi.Input[_builtins.str] metric_name: metricName is the name of the metric in question
|
|
2122
2121
|
: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.
|
|
2123
|
-
:param pulumi.Input[
|
|
2122
|
+
:param pulumi.Input[_builtins.str] target_average_value: targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2124
2123
|
"""
|
|
2125
2124
|
if metric_name is not None:
|
|
2126
2125
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
@@ -2129,19 +2128,19 @@ class PodsMetricSourcePatchArgs:
|
|
|
2129
2128
|
if target_average_value is not None:
|
|
2130
2129
|
pulumi.set(__self__, "target_average_value", target_average_value)
|
|
2131
2130
|
|
|
2132
|
-
@property
|
|
2131
|
+
@_builtins.property
|
|
2133
2132
|
@pulumi.getter(name="metricName")
|
|
2134
|
-
def metric_name(self) -> Optional[pulumi.Input[
|
|
2133
|
+
def metric_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2135
2134
|
"""
|
|
2136
2135
|
metricName is the name of the metric in question
|
|
2137
2136
|
"""
|
|
2138
2137
|
return pulumi.get(self, "metric_name")
|
|
2139
2138
|
|
|
2140
2139
|
@metric_name.setter
|
|
2141
|
-
def metric_name(self, value: Optional[pulumi.Input[
|
|
2140
|
+
def metric_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2142
2141
|
pulumi.set(self, "metric_name", value)
|
|
2143
2142
|
|
|
2144
|
-
@property
|
|
2143
|
+
@_builtins.property
|
|
2145
2144
|
@pulumi.getter
|
|
2146
2145
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
2147
2146
|
"""
|
|
@@ -2153,16 +2152,16 @@ class PodsMetricSourcePatchArgs:
|
|
|
2153
2152
|
def selector(self, value: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]):
|
|
2154
2153
|
pulumi.set(self, "selector", value)
|
|
2155
2154
|
|
|
2156
|
-
@property
|
|
2155
|
+
@_builtins.property
|
|
2157
2156
|
@pulumi.getter(name="targetAverageValue")
|
|
2158
|
-
def target_average_value(self) -> Optional[pulumi.Input[
|
|
2157
|
+
def target_average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2159
2158
|
"""
|
|
2160
2159
|
targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2161
2160
|
"""
|
|
2162
2161
|
return pulumi.get(self, "target_average_value")
|
|
2163
2162
|
|
|
2164
2163
|
@target_average_value.setter
|
|
2165
|
-
def target_average_value(self, value: Optional[pulumi.Input[
|
|
2164
|
+
def target_average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2166
2165
|
pulumi.set(self, "target_average_value", value)
|
|
2167
2166
|
|
|
2168
2167
|
|
|
@@ -2171,11 +2170,11 @@ if not MYPY:
|
|
|
2171
2170
|
"""
|
|
2172
2171
|
PodsMetricSource indicates how to scale on 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.
|
|
2173
2172
|
"""
|
|
2174
|
-
metric_name: pulumi.Input[
|
|
2173
|
+
metric_name: pulumi.Input[_builtins.str]
|
|
2175
2174
|
"""
|
|
2176
2175
|
metricName is the name of the metric in question
|
|
2177
2176
|
"""
|
|
2178
|
-
target_average_value: pulumi.Input[
|
|
2177
|
+
target_average_value: pulumi.Input[_builtins.str]
|
|
2179
2178
|
"""
|
|
2180
2179
|
targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2181
2180
|
"""
|
|
@@ -2189,13 +2188,13 @@ elif False:
|
|
|
2189
2188
|
@pulumi.input_type
|
|
2190
2189
|
class PodsMetricSourceArgs:
|
|
2191
2190
|
def __init__(__self__, *,
|
|
2192
|
-
metric_name: pulumi.Input[
|
|
2193
|
-
target_average_value: pulumi.Input[
|
|
2191
|
+
metric_name: pulumi.Input[_builtins.str],
|
|
2192
|
+
target_average_value: pulumi.Input[_builtins.str],
|
|
2194
2193
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
2195
2194
|
"""
|
|
2196
2195
|
PodsMetricSource indicates how to scale on 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.
|
|
2197
|
-
:param pulumi.Input[
|
|
2198
|
-
:param pulumi.Input[
|
|
2196
|
+
:param pulumi.Input[_builtins.str] metric_name: metricName is the name of the metric in question
|
|
2197
|
+
:param pulumi.Input[_builtins.str] target_average_value: targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2199
2198
|
: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.
|
|
2200
2199
|
"""
|
|
2201
2200
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
@@ -2203,31 +2202,31 @@ class PodsMetricSourceArgs:
|
|
|
2203
2202
|
if selector is not None:
|
|
2204
2203
|
pulumi.set(__self__, "selector", selector)
|
|
2205
2204
|
|
|
2206
|
-
@property
|
|
2205
|
+
@_builtins.property
|
|
2207
2206
|
@pulumi.getter(name="metricName")
|
|
2208
|
-
def metric_name(self) -> pulumi.Input[
|
|
2207
|
+
def metric_name(self) -> pulumi.Input[_builtins.str]:
|
|
2209
2208
|
"""
|
|
2210
2209
|
metricName is the name of the metric in question
|
|
2211
2210
|
"""
|
|
2212
2211
|
return pulumi.get(self, "metric_name")
|
|
2213
2212
|
|
|
2214
2213
|
@metric_name.setter
|
|
2215
|
-
def metric_name(self, value: pulumi.Input[
|
|
2214
|
+
def metric_name(self, value: pulumi.Input[_builtins.str]):
|
|
2216
2215
|
pulumi.set(self, "metric_name", value)
|
|
2217
2216
|
|
|
2218
|
-
@property
|
|
2217
|
+
@_builtins.property
|
|
2219
2218
|
@pulumi.getter(name="targetAverageValue")
|
|
2220
|
-
def target_average_value(self) -> pulumi.Input[
|
|
2219
|
+
def target_average_value(self) -> pulumi.Input[_builtins.str]:
|
|
2221
2220
|
"""
|
|
2222
2221
|
targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2223
2222
|
"""
|
|
2224
2223
|
return pulumi.get(self, "target_average_value")
|
|
2225
2224
|
|
|
2226
2225
|
@target_average_value.setter
|
|
2227
|
-
def target_average_value(self, value: pulumi.Input[
|
|
2226
|
+
def target_average_value(self, value: pulumi.Input[_builtins.str]):
|
|
2228
2227
|
pulumi.set(self, "target_average_value", value)
|
|
2229
2228
|
|
|
2230
|
-
@property
|
|
2229
|
+
@_builtins.property
|
|
2231
2230
|
@pulumi.getter
|
|
2232
2231
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
2233
2232
|
"""
|
|
@@ -2245,11 +2244,11 @@ if not MYPY:
|
|
|
2245
2244
|
"""
|
|
2246
2245
|
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
|
|
2247
2246
|
"""
|
|
2248
|
-
current_average_value: pulumi.Input[
|
|
2247
|
+
current_average_value: pulumi.Input[_builtins.str]
|
|
2249
2248
|
"""
|
|
2250
2249
|
currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2251
2250
|
"""
|
|
2252
|
-
metric_name: pulumi.Input[
|
|
2251
|
+
metric_name: pulumi.Input[_builtins.str]
|
|
2253
2252
|
"""
|
|
2254
2253
|
metricName is the name of the metric in question
|
|
2255
2254
|
"""
|
|
@@ -2263,13 +2262,13 @@ elif False:
|
|
|
2263
2262
|
@pulumi.input_type
|
|
2264
2263
|
class PodsMetricStatusArgs:
|
|
2265
2264
|
def __init__(__self__, *,
|
|
2266
|
-
current_average_value: pulumi.Input[
|
|
2267
|
-
metric_name: pulumi.Input[
|
|
2265
|
+
current_average_value: pulumi.Input[_builtins.str],
|
|
2266
|
+
metric_name: pulumi.Input[_builtins.str],
|
|
2268
2267
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
2269
2268
|
"""
|
|
2270
2269
|
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
|
|
2271
|
-
:param pulumi.Input[
|
|
2272
|
-
:param pulumi.Input[
|
|
2270
|
+
:param pulumi.Input[_builtins.str] current_average_value: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2271
|
+
:param pulumi.Input[_builtins.str] metric_name: metricName is the name of the metric in question
|
|
2273
2272
|
: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 in the PodsMetricSource, 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.
|
|
2274
2273
|
"""
|
|
2275
2274
|
pulumi.set(__self__, "current_average_value", current_average_value)
|
|
@@ -2277,31 +2276,31 @@ class PodsMetricStatusArgs:
|
|
|
2277
2276
|
if selector is not None:
|
|
2278
2277
|
pulumi.set(__self__, "selector", selector)
|
|
2279
2278
|
|
|
2280
|
-
@property
|
|
2279
|
+
@_builtins.property
|
|
2281
2280
|
@pulumi.getter(name="currentAverageValue")
|
|
2282
|
-
def current_average_value(self) -> pulumi.Input[
|
|
2281
|
+
def current_average_value(self) -> pulumi.Input[_builtins.str]:
|
|
2283
2282
|
"""
|
|
2284
2283
|
currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2285
2284
|
"""
|
|
2286
2285
|
return pulumi.get(self, "current_average_value")
|
|
2287
2286
|
|
|
2288
2287
|
@current_average_value.setter
|
|
2289
|
-
def current_average_value(self, value: pulumi.Input[
|
|
2288
|
+
def current_average_value(self, value: pulumi.Input[_builtins.str]):
|
|
2290
2289
|
pulumi.set(self, "current_average_value", value)
|
|
2291
2290
|
|
|
2292
|
-
@property
|
|
2291
|
+
@_builtins.property
|
|
2293
2292
|
@pulumi.getter(name="metricName")
|
|
2294
|
-
def metric_name(self) -> pulumi.Input[
|
|
2293
|
+
def metric_name(self) -> pulumi.Input[_builtins.str]:
|
|
2295
2294
|
"""
|
|
2296
2295
|
metricName is the name of the metric in question
|
|
2297
2296
|
"""
|
|
2298
2297
|
return pulumi.get(self, "metric_name")
|
|
2299
2298
|
|
|
2300
2299
|
@metric_name.setter
|
|
2301
|
-
def metric_name(self, value: pulumi.Input[
|
|
2300
|
+
def metric_name(self, value: pulumi.Input[_builtins.str]):
|
|
2302
2301
|
pulumi.set(self, "metric_name", value)
|
|
2303
2302
|
|
|
2304
|
-
@property
|
|
2303
|
+
@_builtins.property
|
|
2305
2304
|
@pulumi.getter
|
|
2306
2305
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
2307
2306
|
"""
|
|
@@ -2319,15 +2318,15 @@ if not MYPY:
|
|
|
2319
2318
|
"""
|
|
2320
2319
|
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.
|
|
2321
2320
|
"""
|
|
2322
|
-
name: NotRequired[pulumi.Input[
|
|
2321
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2323
2322
|
"""
|
|
2324
2323
|
name is the name of the resource in question.
|
|
2325
2324
|
"""
|
|
2326
|
-
target_average_utilization: NotRequired[pulumi.Input[
|
|
2325
|
+
target_average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
2327
2326
|
"""
|
|
2328
2327
|
targetAverageUtilization 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.
|
|
2329
2328
|
"""
|
|
2330
|
-
target_average_value: NotRequired[pulumi.Input[
|
|
2329
|
+
target_average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2331
2330
|
"""
|
|
2332
2331
|
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
2333
2332
|
"""
|
|
@@ -2337,14 +2336,14 @@ elif False:
|
|
|
2337
2336
|
@pulumi.input_type
|
|
2338
2337
|
class ResourceMetricSourcePatchArgs:
|
|
2339
2338
|
def __init__(__self__, *,
|
|
2340
|
-
name: Optional[pulumi.Input[
|
|
2341
|
-
target_average_utilization: Optional[pulumi.Input[
|
|
2342
|
-
target_average_value: Optional[pulumi.Input[
|
|
2339
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2340
|
+
target_average_utilization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2341
|
+
target_average_value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2343
2342
|
"""
|
|
2344
2343
|
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.
|
|
2345
|
-
:param pulumi.Input[
|
|
2346
|
-
:param pulumi.Input[
|
|
2347
|
-
:param pulumi.Input[
|
|
2344
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
2345
|
+
:param pulumi.Input[_builtins.int] target_average_utilization: targetAverageUtilization 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.
|
|
2346
|
+
:param pulumi.Input[_builtins.str] target_average_value: targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
2348
2347
|
"""
|
|
2349
2348
|
if name is not None:
|
|
2350
2349
|
pulumi.set(__self__, "name", name)
|
|
@@ -2353,40 +2352,40 @@ class ResourceMetricSourcePatchArgs:
|
|
|
2353
2352
|
if target_average_value is not None:
|
|
2354
2353
|
pulumi.set(__self__, "target_average_value", target_average_value)
|
|
2355
2354
|
|
|
2356
|
-
@property
|
|
2355
|
+
@_builtins.property
|
|
2357
2356
|
@pulumi.getter
|
|
2358
|
-
def name(self) -> Optional[pulumi.Input[
|
|
2357
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2359
2358
|
"""
|
|
2360
2359
|
name is the name of the resource in question.
|
|
2361
2360
|
"""
|
|
2362
2361
|
return pulumi.get(self, "name")
|
|
2363
2362
|
|
|
2364
2363
|
@name.setter
|
|
2365
|
-
def name(self, value: Optional[pulumi.Input[
|
|
2364
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2366
2365
|
pulumi.set(self, "name", value)
|
|
2367
2366
|
|
|
2368
|
-
@property
|
|
2367
|
+
@_builtins.property
|
|
2369
2368
|
@pulumi.getter(name="targetAverageUtilization")
|
|
2370
|
-
def target_average_utilization(self) -> Optional[pulumi.Input[
|
|
2369
|
+
def target_average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2371
2370
|
"""
|
|
2372
2371
|
targetAverageUtilization 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.
|
|
2373
2372
|
"""
|
|
2374
2373
|
return pulumi.get(self, "target_average_utilization")
|
|
2375
2374
|
|
|
2376
2375
|
@target_average_utilization.setter
|
|
2377
|
-
def target_average_utilization(self, value: Optional[pulumi.Input[
|
|
2376
|
+
def target_average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2378
2377
|
pulumi.set(self, "target_average_utilization", value)
|
|
2379
2378
|
|
|
2380
|
-
@property
|
|
2379
|
+
@_builtins.property
|
|
2381
2380
|
@pulumi.getter(name="targetAverageValue")
|
|
2382
|
-
def target_average_value(self) -> Optional[pulumi.Input[
|
|
2381
|
+
def target_average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2383
2382
|
"""
|
|
2384
2383
|
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
2385
2384
|
"""
|
|
2386
2385
|
return pulumi.get(self, "target_average_value")
|
|
2387
2386
|
|
|
2388
2387
|
@target_average_value.setter
|
|
2389
|
-
def target_average_value(self, value: Optional[pulumi.Input[
|
|
2388
|
+
def target_average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2390
2389
|
pulumi.set(self, "target_average_value", value)
|
|
2391
2390
|
|
|
2392
2391
|
|
|
@@ -2395,15 +2394,15 @@ if not MYPY:
|
|
|
2395
2394
|
"""
|
|
2396
2395
|
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.
|
|
2397
2396
|
"""
|
|
2398
|
-
name: pulumi.Input[
|
|
2397
|
+
name: pulumi.Input[_builtins.str]
|
|
2399
2398
|
"""
|
|
2400
2399
|
name is the name of the resource in question.
|
|
2401
2400
|
"""
|
|
2402
|
-
target_average_utilization: NotRequired[pulumi.Input[
|
|
2401
|
+
target_average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
2403
2402
|
"""
|
|
2404
2403
|
targetAverageUtilization 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.
|
|
2405
2404
|
"""
|
|
2406
|
-
target_average_value: NotRequired[pulumi.Input[
|
|
2405
|
+
target_average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2407
2406
|
"""
|
|
2408
2407
|
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
2409
2408
|
"""
|
|
@@ -2413,14 +2412,14 @@ elif False:
|
|
|
2413
2412
|
@pulumi.input_type
|
|
2414
2413
|
class ResourceMetricSourceArgs:
|
|
2415
2414
|
def __init__(__self__, *,
|
|
2416
|
-
name: pulumi.Input[
|
|
2417
|
-
target_average_utilization: Optional[pulumi.Input[
|
|
2418
|
-
target_average_value: Optional[pulumi.Input[
|
|
2415
|
+
name: pulumi.Input[_builtins.str],
|
|
2416
|
+
target_average_utilization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2417
|
+
target_average_value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2419
2418
|
"""
|
|
2420
2419
|
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.
|
|
2421
|
-
:param pulumi.Input[
|
|
2422
|
-
:param pulumi.Input[
|
|
2423
|
-
:param pulumi.Input[
|
|
2420
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
2421
|
+
:param pulumi.Input[_builtins.int] target_average_utilization: targetAverageUtilization 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.
|
|
2422
|
+
:param pulumi.Input[_builtins.str] target_average_value: targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
2424
2423
|
"""
|
|
2425
2424
|
pulumi.set(__self__, "name", name)
|
|
2426
2425
|
if target_average_utilization is not None:
|
|
@@ -2428,40 +2427,40 @@ class ResourceMetricSourceArgs:
|
|
|
2428
2427
|
if target_average_value is not None:
|
|
2429
2428
|
pulumi.set(__self__, "target_average_value", target_average_value)
|
|
2430
2429
|
|
|
2431
|
-
@property
|
|
2430
|
+
@_builtins.property
|
|
2432
2431
|
@pulumi.getter
|
|
2433
|
-
def name(self) -> pulumi.Input[
|
|
2432
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
2434
2433
|
"""
|
|
2435
2434
|
name is the name of the resource in question.
|
|
2436
2435
|
"""
|
|
2437
2436
|
return pulumi.get(self, "name")
|
|
2438
2437
|
|
|
2439
2438
|
@name.setter
|
|
2440
|
-
def name(self, value: pulumi.Input[
|
|
2439
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
2441
2440
|
pulumi.set(self, "name", value)
|
|
2442
2441
|
|
|
2443
|
-
@property
|
|
2442
|
+
@_builtins.property
|
|
2444
2443
|
@pulumi.getter(name="targetAverageUtilization")
|
|
2445
|
-
def target_average_utilization(self) -> Optional[pulumi.Input[
|
|
2444
|
+
def target_average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2446
2445
|
"""
|
|
2447
2446
|
targetAverageUtilization 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.
|
|
2448
2447
|
"""
|
|
2449
2448
|
return pulumi.get(self, "target_average_utilization")
|
|
2450
2449
|
|
|
2451
2450
|
@target_average_utilization.setter
|
|
2452
|
-
def target_average_utilization(self, value: Optional[pulumi.Input[
|
|
2451
|
+
def target_average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2453
2452
|
pulumi.set(self, "target_average_utilization", value)
|
|
2454
2453
|
|
|
2455
|
-
@property
|
|
2454
|
+
@_builtins.property
|
|
2456
2455
|
@pulumi.getter(name="targetAverageValue")
|
|
2457
|
-
def target_average_value(self) -> Optional[pulumi.Input[
|
|
2456
|
+
def target_average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2458
2457
|
"""
|
|
2459
2458
|
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
2460
2459
|
"""
|
|
2461
2460
|
return pulumi.get(self, "target_average_value")
|
|
2462
2461
|
|
|
2463
2462
|
@target_average_value.setter
|
|
2464
|
-
def target_average_value(self, value: Optional[pulumi.Input[
|
|
2463
|
+
def target_average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2465
2464
|
pulumi.set(self, "target_average_value", value)
|
|
2466
2465
|
|
|
2467
2466
|
|
|
@@ -2470,15 +2469,15 @@ if not MYPY:
|
|
|
2470
2469
|
"""
|
|
2471
2470
|
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.
|
|
2472
2471
|
"""
|
|
2473
|
-
current_average_value: pulumi.Input[
|
|
2472
|
+
current_average_value: pulumi.Input[_builtins.str]
|
|
2474
2473
|
"""
|
|
2475
2474
|
currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
2476
2475
|
"""
|
|
2477
|
-
name: pulumi.Input[
|
|
2476
|
+
name: pulumi.Input[_builtins.str]
|
|
2478
2477
|
"""
|
|
2479
2478
|
name is the name of the resource in question.
|
|
2480
2479
|
"""
|
|
2481
|
-
current_average_utilization: NotRequired[pulumi.Input[
|
|
2480
|
+
current_average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
2482
2481
|
"""
|
|
2483
2482
|
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. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
2484
2483
|
"""
|
|
@@ -2488,54 +2487,54 @@ elif False:
|
|
|
2488
2487
|
@pulumi.input_type
|
|
2489
2488
|
class ResourceMetricStatusArgs:
|
|
2490
2489
|
def __init__(__self__, *,
|
|
2491
|
-
current_average_value: pulumi.Input[
|
|
2492
|
-
name: pulumi.Input[
|
|
2493
|
-
current_average_utilization: Optional[pulumi.Input[
|
|
2490
|
+
current_average_value: pulumi.Input[_builtins.str],
|
|
2491
|
+
name: pulumi.Input[_builtins.str],
|
|
2492
|
+
current_average_utilization: Optional[pulumi.Input[_builtins.int]] = None):
|
|
2494
2493
|
"""
|
|
2495
2494
|
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.
|
|
2496
|
-
:param pulumi.Input[
|
|
2497
|
-
:param pulumi.Input[
|
|
2498
|
-
:param pulumi.Input[
|
|
2495
|
+
:param pulumi.Input[_builtins.str] current_average_value: currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
2496
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
2497
|
+
:param pulumi.Input[_builtins.int] current_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. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
2499
2498
|
"""
|
|
2500
2499
|
pulumi.set(__self__, "current_average_value", current_average_value)
|
|
2501
2500
|
pulumi.set(__self__, "name", name)
|
|
2502
2501
|
if current_average_utilization is not None:
|
|
2503
2502
|
pulumi.set(__self__, "current_average_utilization", current_average_utilization)
|
|
2504
2503
|
|
|
2505
|
-
@property
|
|
2504
|
+
@_builtins.property
|
|
2506
2505
|
@pulumi.getter(name="currentAverageValue")
|
|
2507
|
-
def current_average_value(self) -> pulumi.Input[
|
|
2506
|
+
def current_average_value(self) -> pulumi.Input[_builtins.str]:
|
|
2508
2507
|
"""
|
|
2509
2508
|
currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
2510
2509
|
"""
|
|
2511
2510
|
return pulumi.get(self, "current_average_value")
|
|
2512
2511
|
|
|
2513
2512
|
@current_average_value.setter
|
|
2514
|
-
def current_average_value(self, value: pulumi.Input[
|
|
2513
|
+
def current_average_value(self, value: pulumi.Input[_builtins.str]):
|
|
2515
2514
|
pulumi.set(self, "current_average_value", value)
|
|
2516
2515
|
|
|
2517
|
-
@property
|
|
2516
|
+
@_builtins.property
|
|
2518
2517
|
@pulumi.getter
|
|
2519
|
-
def name(self) -> pulumi.Input[
|
|
2518
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
2520
2519
|
"""
|
|
2521
2520
|
name is the name of the resource in question.
|
|
2522
2521
|
"""
|
|
2523
2522
|
return pulumi.get(self, "name")
|
|
2524
2523
|
|
|
2525
2524
|
@name.setter
|
|
2526
|
-
def name(self, value: pulumi.Input[
|
|
2525
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
2527
2526
|
pulumi.set(self, "name", value)
|
|
2528
2527
|
|
|
2529
|
-
@property
|
|
2528
|
+
@_builtins.property
|
|
2530
2529
|
@pulumi.getter(name="currentAverageUtilization")
|
|
2531
|
-
def current_average_utilization(self) -> Optional[pulumi.Input[
|
|
2530
|
+
def current_average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2532
2531
|
"""
|
|
2533
2532
|
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. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
2534
2533
|
"""
|
|
2535
2534
|
return pulumi.get(self, "current_average_utilization")
|
|
2536
2535
|
|
|
2537
2536
|
@current_average_utilization.setter
|
|
2538
|
-
def current_average_utilization(self, value: Optional[pulumi.Input[
|
|
2537
|
+
def current_average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2539
2538
|
pulumi.set(self, "current_average_utilization", value)
|
|
2540
2539
|
|
|
2541
2540
|
|