pulumi-kubernetes 4.24.0a1753079574__py3-none-any.whl → 4.24.0a1753121506__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.0a1753121506.dist-info}/METADATA +1 -1
- pulumi_kubernetes-4.24.0a1753121506.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.0a1753121506.dist-info}/WHEEL +0 -0
- {pulumi_kubernetes-4.24.0a1753079574.dist-info → pulumi_kubernetes-4.24.0a1753121506.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
|
|
@@ -98,11 +97,11 @@ if not MYPY:
|
|
|
98
97
|
"""
|
|
99
98
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
100
99
|
"""
|
|
101
|
-
container: NotRequired[pulumi.Input[
|
|
100
|
+
container: NotRequired[pulumi.Input[_builtins.str]]
|
|
102
101
|
"""
|
|
103
102
|
container is the name of the container in the pods of the scaling target
|
|
104
103
|
"""
|
|
105
|
-
name: NotRequired[pulumi.Input[
|
|
104
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
106
105
|
"""
|
|
107
106
|
name is the name of the resource in question.
|
|
108
107
|
"""
|
|
@@ -116,13 +115,13 @@ elif False:
|
|
|
116
115
|
@pulumi.input_type
|
|
117
116
|
class ContainerResourceMetricSourcePatchArgs:
|
|
118
117
|
def __init__(__self__, *,
|
|
119
|
-
container: Optional[pulumi.Input[
|
|
120
|
-
name: Optional[pulumi.Input[
|
|
118
|
+
container: Optional[pulumi.Input[_builtins.str]] = None,
|
|
119
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
121
120
|
target: Optional[pulumi.Input['MetricTargetPatchArgs']] = None):
|
|
122
121
|
"""
|
|
123
122
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
124
|
-
:param pulumi.Input[
|
|
125
|
-
:param pulumi.Input[
|
|
123
|
+
:param pulumi.Input[_builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
124
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
126
125
|
:param pulumi.Input['MetricTargetPatchArgs'] target: target specifies the target value for the given metric
|
|
127
126
|
"""
|
|
128
127
|
if container is not None:
|
|
@@ -132,31 +131,31 @@ class ContainerResourceMetricSourcePatchArgs:
|
|
|
132
131
|
if target is not None:
|
|
133
132
|
pulumi.set(__self__, "target", target)
|
|
134
133
|
|
|
135
|
-
@property
|
|
134
|
+
@_builtins.property
|
|
136
135
|
@pulumi.getter
|
|
137
|
-
def container(self) -> Optional[pulumi.Input[
|
|
136
|
+
def container(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
138
137
|
"""
|
|
139
138
|
container is the name of the container in the pods of the scaling target
|
|
140
139
|
"""
|
|
141
140
|
return pulumi.get(self, "container")
|
|
142
141
|
|
|
143
142
|
@container.setter
|
|
144
|
-
def container(self, value: Optional[pulumi.Input[
|
|
143
|
+
def container(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
145
144
|
pulumi.set(self, "container", value)
|
|
146
145
|
|
|
147
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
148
147
|
@pulumi.getter
|
|
149
|
-
def name(self) -> Optional[pulumi.Input[
|
|
148
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
150
149
|
"""
|
|
151
150
|
name is the name of the resource in question.
|
|
152
151
|
"""
|
|
153
152
|
return pulumi.get(self, "name")
|
|
154
153
|
|
|
155
154
|
@name.setter
|
|
156
|
-
def name(self, value: Optional[pulumi.Input[
|
|
155
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
157
156
|
pulumi.set(self, "name", value)
|
|
158
157
|
|
|
159
|
-
@property
|
|
158
|
+
@_builtins.property
|
|
160
159
|
@pulumi.getter
|
|
161
160
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
162
161
|
"""
|
|
@@ -174,11 +173,11 @@ if not MYPY:
|
|
|
174
173
|
"""
|
|
175
174
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
176
175
|
"""
|
|
177
|
-
container: pulumi.Input[
|
|
176
|
+
container: pulumi.Input[_builtins.str]
|
|
178
177
|
"""
|
|
179
178
|
container is the name of the container in the pods of the scaling target
|
|
180
179
|
"""
|
|
181
|
-
name: pulumi.Input[
|
|
180
|
+
name: pulumi.Input[_builtins.str]
|
|
182
181
|
"""
|
|
183
182
|
name is the name of the resource in question.
|
|
184
183
|
"""
|
|
@@ -192,44 +191,44 @@ elif False:
|
|
|
192
191
|
@pulumi.input_type
|
|
193
192
|
class ContainerResourceMetricSourceArgs:
|
|
194
193
|
def __init__(__self__, *,
|
|
195
|
-
container: pulumi.Input[
|
|
196
|
-
name: pulumi.Input[
|
|
194
|
+
container: pulumi.Input[_builtins.str],
|
|
195
|
+
name: pulumi.Input[_builtins.str],
|
|
197
196
|
target: pulumi.Input['MetricTargetArgs']):
|
|
198
197
|
"""
|
|
199
198
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
200
|
-
:param pulumi.Input[
|
|
201
|
-
:param pulumi.Input[
|
|
199
|
+
:param pulumi.Input[_builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
200
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
202
201
|
:param pulumi.Input['MetricTargetArgs'] target: target specifies the target value for the given metric
|
|
203
202
|
"""
|
|
204
203
|
pulumi.set(__self__, "container", container)
|
|
205
204
|
pulumi.set(__self__, "name", name)
|
|
206
205
|
pulumi.set(__self__, "target", target)
|
|
207
206
|
|
|
208
|
-
@property
|
|
207
|
+
@_builtins.property
|
|
209
208
|
@pulumi.getter
|
|
210
|
-
def container(self) -> pulumi.Input[
|
|
209
|
+
def container(self) -> pulumi.Input[_builtins.str]:
|
|
211
210
|
"""
|
|
212
211
|
container is the name of the container in the pods of the scaling target
|
|
213
212
|
"""
|
|
214
213
|
return pulumi.get(self, "container")
|
|
215
214
|
|
|
216
215
|
@container.setter
|
|
217
|
-
def container(self, value: pulumi.Input[
|
|
216
|
+
def container(self, value: pulumi.Input[_builtins.str]):
|
|
218
217
|
pulumi.set(self, "container", value)
|
|
219
218
|
|
|
220
|
-
@property
|
|
219
|
+
@_builtins.property
|
|
221
220
|
@pulumi.getter
|
|
222
|
-
def name(self) -> pulumi.Input[
|
|
221
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
223
222
|
"""
|
|
224
223
|
name is the name of the resource in question.
|
|
225
224
|
"""
|
|
226
225
|
return pulumi.get(self, "name")
|
|
227
226
|
|
|
228
227
|
@name.setter
|
|
229
|
-
def name(self, value: pulumi.Input[
|
|
228
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
230
229
|
pulumi.set(self, "name", value)
|
|
231
230
|
|
|
232
|
-
@property
|
|
231
|
+
@_builtins.property
|
|
233
232
|
@pulumi.getter
|
|
234
233
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
235
234
|
"""
|
|
@@ -247,7 +246,7 @@ if not MYPY:
|
|
|
247
246
|
"""
|
|
248
247
|
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
249
248
|
"""
|
|
250
|
-
container: pulumi.Input[
|
|
249
|
+
container: pulumi.Input[_builtins.str]
|
|
251
250
|
"""
|
|
252
251
|
container is the name of the container in the pods of the scaling target
|
|
253
252
|
"""
|
|
@@ -255,7 +254,7 @@ if not MYPY:
|
|
|
255
254
|
"""
|
|
256
255
|
current contains the current value for the given metric
|
|
257
256
|
"""
|
|
258
|
-
name: pulumi.Input[
|
|
257
|
+
name: pulumi.Input[_builtins.str]
|
|
259
258
|
"""
|
|
260
259
|
name is the name of the resource in question.
|
|
261
260
|
"""
|
|
@@ -265,32 +264,32 @@ elif False:
|
|
|
265
264
|
@pulumi.input_type
|
|
266
265
|
class ContainerResourceMetricStatusArgs:
|
|
267
266
|
def __init__(__self__, *,
|
|
268
|
-
container: pulumi.Input[
|
|
267
|
+
container: pulumi.Input[_builtins.str],
|
|
269
268
|
current: pulumi.Input['MetricValueStatusArgs'],
|
|
270
|
-
name: pulumi.Input[
|
|
269
|
+
name: pulumi.Input[_builtins.str]):
|
|
271
270
|
"""
|
|
272
271
|
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
273
|
-
:param pulumi.Input[
|
|
272
|
+
:param pulumi.Input[_builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
274
273
|
:param pulumi.Input['MetricValueStatusArgs'] current: current contains the current value for the given metric
|
|
275
|
-
:param pulumi.Input[
|
|
274
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
276
275
|
"""
|
|
277
276
|
pulumi.set(__self__, "container", container)
|
|
278
277
|
pulumi.set(__self__, "current", current)
|
|
279
278
|
pulumi.set(__self__, "name", name)
|
|
280
279
|
|
|
281
|
-
@property
|
|
280
|
+
@_builtins.property
|
|
282
281
|
@pulumi.getter
|
|
283
|
-
def container(self) -> pulumi.Input[
|
|
282
|
+
def container(self) -> pulumi.Input[_builtins.str]:
|
|
284
283
|
"""
|
|
285
284
|
container is the name of the container in the pods of the scaling target
|
|
286
285
|
"""
|
|
287
286
|
return pulumi.get(self, "container")
|
|
288
287
|
|
|
289
288
|
@container.setter
|
|
290
|
-
def container(self, value: pulumi.Input[
|
|
289
|
+
def container(self, value: pulumi.Input[_builtins.str]):
|
|
291
290
|
pulumi.set(self, "container", value)
|
|
292
291
|
|
|
293
|
-
@property
|
|
292
|
+
@_builtins.property
|
|
294
293
|
@pulumi.getter
|
|
295
294
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
296
295
|
"""
|
|
@@ -302,16 +301,16 @@ class ContainerResourceMetricStatusArgs:
|
|
|
302
301
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
303
302
|
pulumi.set(self, "current", value)
|
|
304
303
|
|
|
305
|
-
@property
|
|
304
|
+
@_builtins.property
|
|
306
305
|
@pulumi.getter
|
|
307
|
-
def name(self) -> pulumi.Input[
|
|
306
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
308
307
|
"""
|
|
309
308
|
name is the name of the resource in question.
|
|
310
309
|
"""
|
|
311
310
|
return pulumi.get(self, "name")
|
|
312
311
|
|
|
313
312
|
@name.setter
|
|
314
|
-
def name(self, value: pulumi.Input[
|
|
313
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
315
314
|
pulumi.set(self, "name", value)
|
|
316
315
|
|
|
317
316
|
|
|
@@ -320,15 +319,15 @@ if not MYPY:
|
|
|
320
319
|
"""
|
|
321
320
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
322
321
|
"""
|
|
323
|
-
api_version: NotRequired[pulumi.Input[
|
|
322
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
324
323
|
"""
|
|
325
324
|
apiVersion is the API version of the referent
|
|
326
325
|
"""
|
|
327
|
-
kind: NotRequired[pulumi.Input[
|
|
326
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
328
327
|
"""
|
|
329
328
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
330
329
|
"""
|
|
331
|
-
name: NotRequired[pulumi.Input[
|
|
330
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
332
331
|
"""
|
|
333
332
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
334
333
|
"""
|
|
@@ -338,14 +337,14 @@ elif False:
|
|
|
338
337
|
@pulumi.input_type
|
|
339
338
|
class CrossVersionObjectReferencePatchArgs:
|
|
340
339
|
def __init__(__self__, *,
|
|
341
|
-
api_version: Optional[pulumi.Input[
|
|
342
|
-
kind: Optional[pulumi.Input[
|
|
343
|
-
name: Optional[pulumi.Input[
|
|
340
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
341
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
342
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
344
343
|
"""
|
|
345
344
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
346
|
-
:param pulumi.Input[
|
|
347
|
-
:param pulumi.Input[
|
|
348
|
-
:param pulumi.Input[
|
|
345
|
+
:param pulumi.Input[_builtins.str] api_version: apiVersion is the API version of the referent
|
|
346
|
+
:param pulumi.Input[_builtins.str] kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
347
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
349
348
|
"""
|
|
350
349
|
if api_version is not None:
|
|
351
350
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -354,40 +353,40 @@ class CrossVersionObjectReferencePatchArgs:
|
|
|
354
353
|
if name is not None:
|
|
355
354
|
pulumi.set(__self__, "name", name)
|
|
356
355
|
|
|
357
|
-
@property
|
|
356
|
+
@_builtins.property
|
|
358
357
|
@pulumi.getter(name="apiVersion")
|
|
359
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
358
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
360
359
|
"""
|
|
361
360
|
apiVersion is the API version of the referent
|
|
362
361
|
"""
|
|
363
362
|
return pulumi.get(self, "api_version")
|
|
364
363
|
|
|
365
364
|
@api_version.setter
|
|
366
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
365
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
367
366
|
pulumi.set(self, "api_version", value)
|
|
368
367
|
|
|
369
|
-
@property
|
|
368
|
+
@_builtins.property
|
|
370
369
|
@pulumi.getter
|
|
371
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
370
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
372
371
|
"""
|
|
373
372
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
374
373
|
"""
|
|
375
374
|
return pulumi.get(self, "kind")
|
|
376
375
|
|
|
377
376
|
@kind.setter
|
|
378
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
377
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
379
378
|
pulumi.set(self, "kind", value)
|
|
380
379
|
|
|
381
|
-
@property
|
|
380
|
+
@_builtins.property
|
|
382
381
|
@pulumi.getter
|
|
383
|
-
def name(self) -> Optional[pulumi.Input[
|
|
382
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
384
383
|
"""
|
|
385
384
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
386
385
|
"""
|
|
387
386
|
return pulumi.get(self, "name")
|
|
388
387
|
|
|
389
388
|
@name.setter
|
|
390
|
-
def name(self, value: Optional[pulumi.Input[
|
|
389
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
391
390
|
pulumi.set(self, "name", value)
|
|
392
391
|
|
|
393
392
|
|
|
@@ -396,15 +395,15 @@ if not MYPY:
|
|
|
396
395
|
"""
|
|
397
396
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
398
397
|
"""
|
|
399
|
-
kind: pulumi.Input[
|
|
398
|
+
kind: pulumi.Input[_builtins.str]
|
|
400
399
|
"""
|
|
401
400
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
402
401
|
"""
|
|
403
|
-
name: pulumi.Input[
|
|
402
|
+
name: pulumi.Input[_builtins.str]
|
|
404
403
|
"""
|
|
405
404
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
406
405
|
"""
|
|
407
|
-
api_version: NotRequired[pulumi.Input[
|
|
406
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
408
407
|
"""
|
|
409
408
|
apiVersion is the API version of the referent
|
|
410
409
|
"""
|
|
@@ -414,54 +413,54 @@ elif False:
|
|
|
414
413
|
@pulumi.input_type
|
|
415
414
|
class CrossVersionObjectReferenceArgs:
|
|
416
415
|
def __init__(__self__, *,
|
|
417
|
-
kind: pulumi.Input[
|
|
418
|
-
name: pulumi.Input[
|
|
419
|
-
api_version: Optional[pulumi.Input[
|
|
416
|
+
kind: pulumi.Input[_builtins.str],
|
|
417
|
+
name: pulumi.Input[_builtins.str],
|
|
418
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None):
|
|
420
419
|
"""
|
|
421
420
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
422
|
-
:param pulumi.Input[
|
|
423
|
-
:param pulumi.Input[
|
|
424
|
-
:param pulumi.Input[
|
|
421
|
+
:param pulumi.Input[_builtins.str] kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
422
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
423
|
+
:param pulumi.Input[_builtins.str] api_version: apiVersion is the API version of the referent
|
|
425
424
|
"""
|
|
426
425
|
pulumi.set(__self__, "kind", kind)
|
|
427
426
|
pulumi.set(__self__, "name", name)
|
|
428
427
|
if api_version is not None:
|
|
429
428
|
pulumi.set(__self__, "api_version", api_version)
|
|
430
429
|
|
|
431
|
-
@property
|
|
430
|
+
@_builtins.property
|
|
432
431
|
@pulumi.getter
|
|
433
|
-
def kind(self) -> pulumi.Input[
|
|
432
|
+
def kind(self) -> pulumi.Input[_builtins.str]:
|
|
434
433
|
"""
|
|
435
434
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
436
435
|
"""
|
|
437
436
|
return pulumi.get(self, "kind")
|
|
438
437
|
|
|
439
438
|
@kind.setter
|
|
440
|
-
def kind(self, value: pulumi.Input[
|
|
439
|
+
def kind(self, value: pulumi.Input[_builtins.str]):
|
|
441
440
|
pulumi.set(self, "kind", value)
|
|
442
441
|
|
|
443
|
-
@property
|
|
442
|
+
@_builtins.property
|
|
444
443
|
@pulumi.getter
|
|
445
|
-
def name(self) -> pulumi.Input[
|
|
444
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
446
445
|
"""
|
|
447
446
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
448
447
|
"""
|
|
449
448
|
return pulumi.get(self, "name")
|
|
450
449
|
|
|
451
450
|
@name.setter
|
|
452
|
-
def name(self, value: pulumi.Input[
|
|
451
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
453
452
|
pulumi.set(self, "name", value)
|
|
454
453
|
|
|
455
|
-
@property
|
|
454
|
+
@_builtins.property
|
|
456
455
|
@pulumi.getter(name="apiVersion")
|
|
457
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
456
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
458
457
|
"""
|
|
459
458
|
apiVersion is the API version of the referent
|
|
460
459
|
"""
|
|
461
460
|
return pulumi.get(self, "api_version")
|
|
462
461
|
|
|
463
462
|
@api_version.setter
|
|
464
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
463
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
465
464
|
pulumi.set(self, "api_version", value)
|
|
466
465
|
|
|
467
466
|
|
|
@@ -496,7 +495,7 @@ class ExternalMetricSourcePatchArgs:
|
|
|
496
495
|
if target is not None:
|
|
497
496
|
pulumi.set(__self__, "target", target)
|
|
498
497
|
|
|
499
|
-
@property
|
|
498
|
+
@_builtins.property
|
|
500
499
|
@pulumi.getter
|
|
501
500
|
def metric(self) -> Optional[pulumi.Input['MetricIdentifierPatchArgs']]:
|
|
502
501
|
"""
|
|
@@ -508,7 +507,7 @@ class ExternalMetricSourcePatchArgs:
|
|
|
508
507
|
def metric(self, value: Optional[pulumi.Input['MetricIdentifierPatchArgs']]):
|
|
509
508
|
pulumi.set(self, "metric", value)
|
|
510
509
|
|
|
511
|
-
@property
|
|
510
|
+
@_builtins.property
|
|
512
511
|
@pulumi.getter
|
|
513
512
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
514
513
|
"""
|
|
@@ -550,7 +549,7 @@ class ExternalMetricSourceArgs:
|
|
|
550
549
|
pulumi.set(__self__, "metric", metric)
|
|
551
550
|
pulumi.set(__self__, "target", target)
|
|
552
551
|
|
|
553
|
-
@property
|
|
552
|
+
@_builtins.property
|
|
554
553
|
@pulumi.getter
|
|
555
554
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
556
555
|
"""
|
|
@@ -562,7 +561,7 @@ class ExternalMetricSourceArgs:
|
|
|
562
561
|
def metric(self, value: pulumi.Input['MetricIdentifierArgs']):
|
|
563
562
|
pulumi.set(self, "metric", value)
|
|
564
563
|
|
|
565
|
-
@property
|
|
564
|
+
@_builtins.property
|
|
566
565
|
@pulumi.getter
|
|
567
566
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
568
567
|
"""
|
|
@@ -604,7 +603,7 @@ class ExternalMetricStatusArgs:
|
|
|
604
603
|
pulumi.set(__self__, "current", current)
|
|
605
604
|
pulumi.set(__self__, "metric", metric)
|
|
606
605
|
|
|
607
|
-
@property
|
|
606
|
+
@_builtins.property
|
|
608
607
|
@pulumi.getter
|
|
609
608
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
610
609
|
"""
|
|
@@ -616,7 +615,7 @@ class ExternalMetricStatusArgs:
|
|
|
616
615
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
617
616
|
pulumi.set(self, "current", value)
|
|
618
617
|
|
|
619
|
-
@property
|
|
618
|
+
@_builtins.property
|
|
620
619
|
@pulumi.getter
|
|
621
620
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
622
621
|
"""
|
|
@@ -634,15 +633,15 @@ if not MYPY:
|
|
|
634
633
|
"""
|
|
635
634
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
636
635
|
"""
|
|
637
|
-
period_seconds: NotRequired[pulumi.Input[
|
|
636
|
+
period_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
638
637
|
"""
|
|
639
638
|
periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
640
639
|
"""
|
|
641
|
-
type: NotRequired[pulumi.Input[
|
|
640
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
642
641
|
"""
|
|
643
642
|
type is used to specify the scaling policy.
|
|
644
643
|
"""
|
|
645
|
-
value: NotRequired[pulumi.Input[
|
|
644
|
+
value: NotRequired[pulumi.Input[_builtins.int]]
|
|
646
645
|
"""
|
|
647
646
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
648
647
|
"""
|
|
@@ -652,14 +651,14 @@ elif False:
|
|
|
652
651
|
@pulumi.input_type
|
|
653
652
|
class HPAScalingPolicyPatchArgs:
|
|
654
653
|
def __init__(__self__, *,
|
|
655
|
-
period_seconds: Optional[pulumi.Input[
|
|
656
|
-
type: Optional[pulumi.Input[
|
|
657
|
-
value: Optional[pulumi.Input[
|
|
654
|
+
period_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
655
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
656
|
+
value: Optional[pulumi.Input[_builtins.int]] = None):
|
|
658
657
|
"""
|
|
659
658
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
660
|
-
:param pulumi.Input[
|
|
661
|
-
:param pulumi.Input[
|
|
662
|
-
:param pulumi.Input[
|
|
659
|
+
:param pulumi.Input[_builtins.int] period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
660
|
+
:param pulumi.Input[_builtins.str] type: type is used to specify the scaling policy.
|
|
661
|
+
:param pulumi.Input[_builtins.int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
663
662
|
"""
|
|
664
663
|
if period_seconds is not None:
|
|
665
664
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
@@ -668,40 +667,40 @@ class HPAScalingPolicyPatchArgs:
|
|
|
668
667
|
if value is not None:
|
|
669
668
|
pulumi.set(__self__, "value", value)
|
|
670
669
|
|
|
671
|
-
@property
|
|
670
|
+
@_builtins.property
|
|
672
671
|
@pulumi.getter(name="periodSeconds")
|
|
673
|
-
def period_seconds(self) -> Optional[pulumi.Input[
|
|
672
|
+
def period_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
674
673
|
"""
|
|
675
674
|
periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
676
675
|
"""
|
|
677
676
|
return pulumi.get(self, "period_seconds")
|
|
678
677
|
|
|
679
678
|
@period_seconds.setter
|
|
680
|
-
def period_seconds(self, value: Optional[pulumi.Input[
|
|
679
|
+
def period_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
681
680
|
pulumi.set(self, "period_seconds", value)
|
|
682
681
|
|
|
683
|
-
@property
|
|
682
|
+
@_builtins.property
|
|
684
683
|
@pulumi.getter
|
|
685
|
-
def type(self) -> Optional[pulumi.Input[
|
|
684
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
686
685
|
"""
|
|
687
686
|
type is used to specify the scaling policy.
|
|
688
687
|
"""
|
|
689
688
|
return pulumi.get(self, "type")
|
|
690
689
|
|
|
691
690
|
@type.setter
|
|
692
|
-
def type(self, value: Optional[pulumi.Input[
|
|
691
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
693
692
|
pulumi.set(self, "type", value)
|
|
694
693
|
|
|
695
|
-
@property
|
|
694
|
+
@_builtins.property
|
|
696
695
|
@pulumi.getter
|
|
697
|
-
def value(self) -> Optional[pulumi.Input[
|
|
696
|
+
def value(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
698
697
|
"""
|
|
699
698
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
700
699
|
"""
|
|
701
700
|
return pulumi.get(self, "value")
|
|
702
701
|
|
|
703
702
|
@value.setter
|
|
704
|
-
def value(self, value: Optional[pulumi.Input[
|
|
703
|
+
def value(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
705
704
|
pulumi.set(self, "value", value)
|
|
706
705
|
|
|
707
706
|
|
|
@@ -710,15 +709,15 @@ if not MYPY:
|
|
|
710
709
|
"""
|
|
711
710
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
712
711
|
"""
|
|
713
|
-
period_seconds: pulumi.Input[
|
|
712
|
+
period_seconds: pulumi.Input[_builtins.int]
|
|
714
713
|
"""
|
|
715
714
|
periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
716
715
|
"""
|
|
717
|
-
type: pulumi.Input[
|
|
716
|
+
type: pulumi.Input[_builtins.str]
|
|
718
717
|
"""
|
|
719
718
|
type is used to specify the scaling policy.
|
|
720
719
|
"""
|
|
721
|
-
value: pulumi.Input[
|
|
720
|
+
value: pulumi.Input[_builtins.int]
|
|
722
721
|
"""
|
|
723
722
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
724
723
|
"""
|
|
@@ -728,53 +727,53 @@ elif False:
|
|
|
728
727
|
@pulumi.input_type
|
|
729
728
|
class HPAScalingPolicyArgs:
|
|
730
729
|
def __init__(__self__, *,
|
|
731
|
-
period_seconds: pulumi.Input[
|
|
732
|
-
type: pulumi.Input[
|
|
733
|
-
value: pulumi.Input[
|
|
730
|
+
period_seconds: pulumi.Input[_builtins.int],
|
|
731
|
+
type: pulumi.Input[_builtins.str],
|
|
732
|
+
value: pulumi.Input[_builtins.int]):
|
|
734
733
|
"""
|
|
735
734
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
736
|
-
:param pulumi.Input[
|
|
737
|
-
:param pulumi.Input[
|
|
738
|
-
:param pulumi.Input[
|
|
735
|
+
:param pulumi.Input[_builtins.int] period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
736
|
+
:param pulumi.Input[_builtins.str] type: type is used to specify the scaling policy.
|
|
737
|
+
:param pulumi.Input[_builtins.int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
739
738
|
"""
|
|
740
739
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
741
740
|
pulumi.set(__self__, "type", type)
|
|
742
741
|
pulumi.set(__self__, "value", value)
|
|
743
742
|
|
|
744
|
-
@property
|
|
743
|
+
@_builtins.property
|
|
745
744
|
@pulumi.getter(name="periodSeconds")
|
|
746
|
-
def period_seconds(self) -> pulumi.Input[
|
|
745
|
+
def period_seconds(self) -> pulumi.Input[_builtins.int]:
|
|
747
746
|
"""
|
|
748
747
|
periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
749
748
|
"""
|
|
750
749
|
return pulumi.get(self, "period_seconds")
|
|
751
750
|
|
|
752
751
|
@period_seconds.setter
|
|
753
|
-
def period_seconds(self, value: pulumi.Input[
|
|
752
|
+
def period_seconds(self, value: pulumi.Input[_builtins.int]):
|
|
754
753
|
pulumi.set(self, "period_seconds", value)
|
|
755
754
|
|
|
756
|
-
@property
|
|
755
|
+
@_builtins.property
|
|
757
756
|
@pulumi.getter
|
|
758
|
-
def type(self) -> pulumi.Input[
|
|
757
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
759
758
|
"""
|
|
760
759
|
type is used to specify the scaling policy.
|
|
761
760
|
"""
|
|
762
761
|
return pulumi.get(self, "type")
|
|
763
762
|
|
|
764
763
|
@type.setter
|
|
765
|
-
def type(self, value: pulumi.Input[
|
|
764
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
766
765
|
pulumi.set(self, "type", value)
|
|
767
766
|
|
|
768
|
-
@property
|
|
767
|
+
@_builtins.property
|
|
769
768
|
@pulumi.getter
|
|
770
|
-
def value(self) -> pulumi.Input[
|
|
769
|
+
def value(self) -> pulumi.Input[_builtins.int]:
|
|
771
770
|
"""
|
|
772
771
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
773
772
|
"""
|
|
774
773
|
return pulumi.get(self, "value")
|
|
775
774
|
|
|
776
775
|
@value.setter
|
|
777
|
-
def value(self, value: pulumi.Input[
|
|
776
|
+
def value(self, value: pulumi.Input[_builtins.int]):
|
|
778
777
|
pulumi.set(self, "value", value)
|
|
779
778
|
|
|
780
779
|
|
|
@@ -791,15 +790,15 @@ if not MYPY:
|
|
|
791
790
|
"""
|
|
792
791
|
policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
793
792
|
"""
|
|
794
|
-
select_policy: NotRequired[pulumi.Input[
|
|
793
|
+
select_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
795
794
|
"""
|
|
796
795
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
797
796
|
"""
|
|
798
|
-
stabilization_window_seconds: NotRequired[pulumi.Input[
|
|
797
|
+
stabilization_window_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
799
798
|
"""
|
|
800
799
|
stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
801
800
|
"""
|
|
802
|
-
tolerance: NotRequired[pulumi.Input[
|
|
801
|
+
tolerance: NotRequired[pulumi.Input[_builtins.str]]
|
|
803
802
|
"""
|
|
804
803
|
tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
805
804
|
|
|
@@ -814,9 +813,9 @@ elif False:
|
|
|
814
813
|
class HPAScalingRulesPatchArgs:
|
|
815
814
|
def __init__(__self__, *,
|
|
816
815
|
policies: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]]] = None,
|
|
817
|
-
select_policy: Optional[pulumi.Input[
|
|
818
|
-
stabilization_window_seconds: Optional[pulumi.Input[
|
|
819
|
-
tolerance: Optional[pulumi.Input[
|
|
816
|
+
select_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
817
|
+
stabilization_window_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
818
|
+
tolerance: Optional[pulumi.Input[_builtins.str]] = None):
|
|
820
819
|
"""
|
|
821
820
|
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
822
821
|
|
|
@@ -824,9 +823,9 @@ class HPAScalingRulesPatchArgs:
|
|
|
824
823
|
|
|
825
824
|
The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
|
|
826
825
|
:param pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]] policies: policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
827
|
-
:param pulumi.Input[
|
|
828
|
-
:param pulumi.Input[
|
|
829
|
-
:param pulumi.Input[
|
|
826
|
+
:param pulumi.Input[_builtins.str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
827
|
+
:param pulumi.Input[_builtins.int] stabilization_window_seconds: stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
828
|
+
:param pulumi.Input[_builtins.str] tolerance: tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
830
829
|
|
|
831
830
|
For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
|
|
832
831
|
|
|
@@ -841,7 +840,7 @@ class HPAScalingRulesPatchArgs:
|
|
|
841
840
|
if tolerance is not None:
|
|
842
841
|
pulumi.set(__self__, "tolerance", tolerance)
|
|
843
842
|
|
|
844
|
-
@property
|
|
843
|
+
@_builtins.property
|
|
845
844
|
@pulumi.getter
|
|
846
845
|
def policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]]]:
|
|
847
846
|
"""
|
|
@@ -853,33 +852,33 @@ class HPAScalingRulesPatchArgs:
|
|
|
853
852
|
def policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]]]):
|
|
854
853
|
pulumi.set(self, "policies", value)
|
|
855
854
|
|
|
856
|
-
@property
|
|
855
|
+
@_builtins.property
|
|
857
856
|
@pulumi.getter(name="selectPolicy")
|
|
858
|
-
def select_policy(self) -> Optional[pulumi.Input[
|
|
857
|
+
def select_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
859
858
|
"""
|
|
860
859
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
861
860
|
"""
|
|
862
861
|
return pulumi.get(self, "select_policy")
|
|
863
862
|
|
|
864
863
|
@select_policy.setter
|
|
865
|
-
def select_policy(self, value: Optional[pulumi.Input[
|
|
864
|
+
def select_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
866
865
|
pulumi.set(self, "select_policy", value)
|
|
867
866
|
|
|
868
|
-
@property
|
|
867
|
+
@_builtins.property
|
|
869
868
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
870
|
-
def stabilization_window_seconds(self) -> Optional[pulumi.Input[
|
|
869
|
+
def stabilization_window_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
871
870
|
"""
|
|
872
871
|
stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
873
872
|
"""
|
|
874
873
|
return pulumi.get(self, "stabilization_window_seconds")
|
|
875
874
|
|
|
876
875
|
@stabilization_window_seconds.setter
|
|
877
|
-
def stabilization_window_seconds(self, value: Optional[pulumi.Input[
|
|
876
|
+
def stabilization_window_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
878
877
|
pulumi.set(self, "stabilization_window_seconds", value)
|
|
879
878
|
|
|
880
|
-
@property
|
|
879
|
+
@_builtins.property
|
|
881
880
|
@pulumi.getter
|
|
882
|
-
def tolerance(self) -> Optional[pulumi.Input[
|
|
881
|
+
def tolerance(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
883
882
|
"""
|
|
884
883
|
tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
885
884
|
|
|
@@ -890,7 +889,7 @@ class HPAScalingRulesPatchArgs:
|
|
|
890
889
|
return pulumi.get(self, "tolerance")
|
|
891
890
|
|
|
892
891
|
@tolerance.setter
|
|
893
|
-
def tolerance(self, value: Optional[pulumi.Input[
|
|
892
|
+
def tolerance(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
894
893
|
pulumi.set(self, "tolerance", value)
|
|
895
894
|
|
|
896
895
|
|
|
@@ -907,15 +906,15 @@ if not MYPY:
|
|
|
907
906
|
"""
|
|
908
907
|
policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
909
908
|
"""
|
|
910
|
-
select_policy: NotRequired[pulumi.Input[
|
|
909
|
+
select_policy: NotRequired[pulumi.Input[_builtins.str]]
|
|
911
910
|
"""
|
|
912
911
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
913
912
|
"""
|
|
914
|
-
stabilization_window_seconds: NotRequired[pulumi.Input[
|
|
913
|
+
stabilization_window_seconds: NotRequired[pulumi.Input[_builtins.int]]
|
|
915
914
|
"""
|
|
916
915
|
stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
917
916
|
"""
|
|
918
|
-
tolerance: NotRequired[pulumi.Input[
|
|
917
|
+
tolerance: NotRequired[pulumi.Input[_builtins.str]]
|
|
919
918
|
"""
|
|
920
919
|
tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
921
920
|
|
|
@@ -930,9 +929,9 @@ elif False:
|
|
|
930
929
|
class HPAScalingRulesArgs:
|
|
931
930
|
def __init__(__self__, *,
|
|
932
931
|
policies: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]]] = None,
|
|
933
|
-
select_policy: Optional[pulumi.Input[
|
|
934
|
-
stabilization_window_seconds: Optional[pulumi.Input[
|
|
935
|
-
tolerance: Optional[pulumi.Input[
|
|
932
|
+
select_policy: Optional[pulumi.Input[_builtins.str]] = None,
|
|
933
|
+
stabilization_window_seconds: Optional[pulumi.Input[_builtins.int]] = None,
|
|
934
|
+
tolerance: Optional[pulumi.Input[_builtins.str]] = None):
|
|
936
935
|
"""
|
|
937
936
|
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
938
937
|
|
|
@@ -940,9 +939,9 @@ class HPAScalingRulesArgs:
|
|
|
940
939
|
|
|
941
940
|
The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
|
|
942
941
|
:param pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]] policies: policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
943
|
-
:param pulumi.Input[
|
|
944
|
-
:param pulumi.Input[
|
|
945
|
-
:param pulumi.Input[
|
|
942
|
+
:param pulumi.Input[_builtins.str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
943
|
+
:param pulumi.Input[_builtins.int] stabilization_window_seconds: stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
944
|
+
:param pulumi.Input[_builtins.str] tolerance: tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
946
945
|
|
|
947
946
|
For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
|
|
948
947
|
|
|
@@ -957,7 +956,7 @@ class HPAScalingRulesArgs:
|
|
|
957
956
|
if tolerance is not None:
|
|
958
957
|
pulumi.set(__self__, "tolerance", tolerance)
|
|
959
958
|
|
|
960
|
-
@property
|
|
959
|
+
@_builtins.property
|
|
961
960
|
@pulumi.getter
|
|
962
961
|
def policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]]]:
|
|
963
962
|
"""
|
|
@@ -969,33 +968,33 @@ class HPAScalingRulesArgs:
|
|
|
969
968
|
def policies(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]]]):
|
|
970
969
|
pulumi.set(self, "policies", value)
|
|
971
970
|
|
|
972
|
-
@property
|
|
971
|
+
@_builtins.property
|
|
973
972
|
@pulumi.getter(name="selectPolicy")
|
|
974
|
-
def select_policy(self) -> Optional[pulumi.Input[
|
|
973
|
+
def select_policy(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
975
974
|
"""
|
|
976
975
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
977
976
|
"""
|
|
978
977
|
return pulumi.get(self, "select_policy")
|
|
979
978
|
|
|
980
979
|
@select_policy.setter
|
|
981
|
-
def select_policy(self, value: Optional[pulumi.Input[
|
|
980
|
+
def select_policy(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
982
981
|
pulumi.set(self, "select_policy", value)
|
|
983
982
|
|
|
984
|
-
@property
|
|
983
|
+
@_builtins.property
|
|
985
984
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
986
|
-
def stabilization_window_seconds(self) -> Optional[pulumi.Input[
|
|
985
|
+
def stabilization_window_seconds(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
987
986
|
"""
|
|
988
987
|
stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
989
988
|
"""
|
|
990
989
|
return pulumi.get(self, "stabilization_window_seconds")
|
|
991
990
|
|
|
992
991
|
@stabilization_window_seconds.setter
|
|
993
|
-
def stabilization_window_seconds(self, value: Optional[pulumi.Input[
|
|
992
|
+
def stabilization_window_seconds(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
994
993
|
pulumi.set(self, "stabilization_window_seconds", value)
|
|
995
994
|
|
|
996
|
-
@property
|
|
995
|
+
@_builtins.property
|
|
997
996
|
@pulumi.getter
|
|
998
|
-
def tolerance(self) -> Optional[pulumi.Input[
|
|
997
|
+
def tolerance(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
999
998
|
"""
|
|
1000
999
|
tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
1001
1000
|
|
|
@@ -1006,7 +1005,7 @@ class HPAScalingRulesArgs:
|
|
|
1006
1005
|
return pulumi.get(self, "tolerance")
|
|
1007
1006
|
|
|
1008
1007
|
@tolerance.setter
|
|
1009
|
-
def tolerance(self, value: Optional[pulumi.Input[
|
|
1008
|
+
def tolerance(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1010
1009
|
pulumi.set(self, "tolerance", value)
|
|
1011
1010
|
|
|
1012
1011
|
|
|
@@ -1047,7 +1046,7 @@ class HorizontalPodAutoscalerBehaviorPatchArgs:
|
|
|
1047
1046
|
if scale_up is not None:
|
|
1048
1047
|
pulumi.set(__self__, "scale_up", scale_up)
|
|
1049
1048
|
|
|
1050
|
-
@property
|
|
1049
|
+
@_builtins.property
|
|
1051
1050
|
@pulumi.getter(name="scaleDown")
|
|
1052
1051
|
def scale_down(self) -> Optional[pulumi.Input['HPAScalingRulesPatchArgs']]:
|
|
1053
1052
|
"""
|
|
@@ -1059,7 +1058,7 @@ class HorizontalPodAutoscalerBehaviorPatchArgs:
|
|
|
1059
1058
|
def scale_down(self, value: Optional[pulumi.Input['HPAScalingRulesPatchArgs']]):
|
|
1060
1059
|
pulumi.set(self, "scale_down", value)
|
|
1061
1060
|
|
|
1062
|
-
@property
|
|
1061
|
+
@_builtins.property
|
|
1063
1062
|
@pulumi.getter(name="scaleUp")
|
|
1064
1063
|
def scale_up(self) -> Optional[pulumi.Input['HPAScalingRulesPatchArgs']]:
|
|
1065
1064
|
"""
|
|
@@ -1112,7 +1111,7 @@ class HorizontalPodAutoscalerBehaviorArgs:
|
|
|
1112
1111
|
if scale_up is not None:
|
|
1113
1112
|
pulumi.set(__self__, "scale_up", scale_up)
|
|
1114
1113
|
|
|
1115
|
-
@property
|
|
1114
|
+
@_builtins.property
|
|
1116
1115
|
@pulumi.getter(name="scaleDown")
|
|
1117
1116
|
def scale_down(self) -> Optional[pulumi.Input['HPAScalingRulesArgs']]:
|
|
1118
1117
|
"""
|
|
@@ -1124,7 +1123,7 @@ class HorizontalPodAutoscalerBehaviorArgs:
|
|
|
1124
1123
|
def scale_down(self, value: Optional[pulumi.Input['HPAScalingRulesArgs']]):
|
|
1125
1124
|
pulumi.set(self, "scale_down", value)
|
|
1126
1125
|
|
|
1127
|
-
@property
|
|
1126
|
+
@_builtins.property
|
|
1128
1127
|
@pulumi.getter(name="scaleUp")
|
|
1129
1128
|
def scale_up(self) -> Optional[pulumi.Input['HPAScalingRulesArgs']]:
|
|
1130
1129
|
"""
|
|
@@ -1145,23 +1144,23 @@ if not MYPY:
|
|
|
1145
1144
|
"""
|
|
1146
1145
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1147
1146
|
"""
|
|
1148
|
-
status: pulumi.Input[
|
|
1147
|
+
status: pulumi.Input[_builtins.str]
|
|
1149
1148
|
"""
|
|
1150
1149
|
status is the status of the condition (True, False, Unknown)
|
|
1151
1150
|
"""
|
|
1152
|
-
type: pulumi.Input[
|
|
1151
|
+
type: pulumi.Input[_builtins.str]
|
|
1153
1152
|
"""
|
|
1154
1153
|
type describes the current condition
|
|
1155
1154
|
"""
|
|
1156
|
-
last_transition_time: NotRequired[pulumi.Input[
|
|
1155
|
+
last_transition_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1157
1156
|
"""
|
|
1158
1157
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1159
1158
|
"""
|
|
1160
|
-
message: NotRequired[pulumi.Input[
|
|
1159
|
+
message: NotRequired[pulumi.Input[_builtins.str]]
|
|
1161
1160
|
"""
|
|
1162
1161
|
message is a human-readable explanation containing details about the transition
|
|
1163
1162
|
"""
|
|
1164
|
-
reason: NotRequired[pulumi.Input[
|
|
1163
|
+
reason: NotRequired[pulumi.Input[_builtins.str]]
|
|
1165
1164
|
"""
|
|
1166
1165
|
reason is the reason for the condition's last transition.
|
|
1167
1166
|
"""
|
|
@@ -1171,18 +1170,18 @@ elif False:
|
|
|
1171
1170
|
@pulumi.input_type
|
|
1172
1171
|
class HorizontalPodAutoscalerConditionArgs:
|
|
1173
1172
|
def __init__(__self__, *,
|
|
1174
|
-
status: pulumi.Input[
|
|
1175
|
-
type: pulumi.Input[
|
|
1176
|
-
last_transition_time: Optional[pulumi.Input[
|
|
1177
|
-
message: Optional[pulumi.Input[
|
|
1178
|
-
reason: Optional[pulumi.Input[
|
|
1173
|
+
status: pulumi.Input[_builtins.str],
|
|
1174
|
+
type: pulumi.Input[_builtins.str],
|
|
1175
|
+
last_transition_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1176
|
+
message: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1177
|
+
reason: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1179
1178
|
"""
|
|
1180
1179
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1181
|
-
:param pulumi.Input[
|
|
1182
|
-
:param pulumi.Input[
|
|
1183
|
-
:param pulumi.Input[
|
|
1184
|
-
:param pulumi.Input[
|
|
1185
|
-
:param pulumi.Input[
|
|
1180
|
+
:param pulumi.Input[_builtins.str] status: status is the status of the condition (True, False, Unknown)
|
|
1181
|
+
:param pulumi.Input[_builtins.str] type: type describes the current condition
|
|
1182
|
+
:param pulumi.Input[_builtins.str] last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1183
|
+
:param pulumi.Input[_builtins.str] message: message is a human-readable explanation containing details about the transition
|
|
1184
|
+
:param pulumi.Input[_builtins.str] reason: reason is the reason for the condition's last transition.
|
|
1186
1185
|
"""
|
|
1187
1186
|
pulumi.set(__self__, "status", status)
|
|
1188
1187
|
pulumi.set(__self__, "type", type)
|
|
@@ -1193,64 +1192,64 @@ class HorizontalPodAutoscalerConditionArgs:
|
|
|
1193
1192
|
if reason is not None:
|
|
1194
1193
|
pulumi.set(__self__, "reason", reason)
|
|
1195
1194
|
|
|
1196
|
-
@property
|
|
1195
|
+
@_builtins.property
|
|
1197
1196
|
@pulumi.getter
|
|
1198
|
-
def status(self) -> pulumi.Input[
|
|
1197
|
+
def status(self) -> pulumi.Input[_builtins.str]:
|
|
1199
1198
|
"""
|
|
1200
1199
|
status is the status of the condition (True, False, Unknown)
|
|
1201
1200
|
"""
|
|
1202
1201
|
return pulumi.get(self, "status")
|
|
1203
1202
|
|
|
1204
1203
|
@status.setter
|
|
1205
|
-
def status(self, value: pulumi.Input[
|
|
1204
|
+
def status(self, value: pulumi.Input[_builtins.str]):
|
|
1206
1205
|
pulumi.set(self, "status", value)
|
|
1207
1206
|
|
|
1208
|
-
@property
|
|
1207
|
+
@_builtins.property
|
|
1209
1208
|
@pulumi.getter
|
|
1210
|
-
def type(self) -> pulumi.Input[
|
|
1209
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
1211
1210
|
"""
|
|
1212
1211
|
type describes the current condition
|
|
1213
1212
|
"""
|
|
1214
1213
|
return pulumi.get(self, "type")
|
|
1215
1214
|
|
|
1216
1215
|
@type.setter
|
|
1217
|
-
def type(self, value: pulumi.Input[
|
|
1216
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
1218
1217
|
pulumi.set(self, "type", value)
|
|
1219
1218
|
|
|
1220
|
-
@property
|
|
1219
|
+
@_builtins.property
|
|
1221
1220
|
@pulumi.getter(name="lastTransitionTime")
|
|
1222
|
-
def last_transition_time(self) -> Optional[pulumi.Input[
|
|
1221
|
+
def last_transition_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1223
1222
|
"""
|
|
1224
1223
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1225
1224
|
"""
|
|
1226
1225
|
return pulumi.get(self, "last_transition_time")
|
|
1227
1226
|
|
|
1228
1227
|
@last_transition_time.setter
|
|
1229
|
-
def last_transition_time(self, value: Optional[pulumi.Input[
|
|
1228
|
+
def last_transition_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1230
1229
|
pulumi.set(self, "last_transition_time", value)
|
|
1231
1230
|
|
|
1232
|
-
@property
|
|
1231
|
+
@_builtins.property
|
|
1233
1232
|
@pulumi.getter
|
|
1234
|
-
def message(self) -> Optional[pulumi.Input[
|
|
1233
|
+
def message(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1235
1234
|
"""
|
|
1236
1235
|
message is a human-readable explanation containing details about the transition
|
|
1237
1236
|
"""
|
|
1238
1237
|
return pulumi.get(self, "message")
|
|
1239
1238
|
|
|
1240
1239
|
@message.setter
|
|
1241
|
-
def message(self, value: Optional[pulumi.Input[
|
|
1240
|
+
def message(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1242
1241
|
pulumi.set(self, "message", value)
|
|
1243
1242
|
|
|
1244
|
-
@property
|
|
1243
|
+
@_builtins.property
|
|
1245
1244
|
@pulumi.getter
|
|
1246
|
-
def reason(self) -> Optional[pulumi.Input[
|
|
1245
|
+
def reason(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1247
1246
|
"""
|
|
1248
1247
|
reason is the reason for the condition's last transition.
|
|
1249
1248
|
"""
|
|
1250
1249
|
return pulumi.get(self, "reason")
|
|
1251
1250
|
|
|
1252
1251
|
@reason.setter
|
|
1253
|
-
def reason(self, value: Optional[pulumi.Input[
|
|
1252
|
+
def reason(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1254
1253
|
pulumi.set(self, "reason", value)
|
|
1255
1254
|
|
|
1256
1255
|
|
|
@@ -1263,7 +1262,7 @@ if not MYPY:
|
|
|
1263
1262
|
"""
|
|
1264
1263
|
behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1265
1264
|
"""
|
|
1266
|
-
max_replicas: NotRequired[pulumi.Input[
|
|
1265
|
+
max_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1267
1266
|
"""
|
|
1268
1267
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1269
1268
|
"""
|
|
@@ -1271,7 +1270,7 @@ if not MYPY:
|
|
|
1271
1270
|
"""
|
|
1272
1271
|
metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1273
1272
|
"""
|
|
1274
|
-
min_replicas: NotRequired[pulumi.Input[
|
|
1273
|
+
min_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1275
1274
|
"""
|
|
1276
1275
|
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1277
1276
|
"""
|
|
@@ -1286,16 +1285,16 @@ elif False:
|
|
|
1286
1285
|
class HorizontalPodAutoscalerSpecPatchArgs:
|
|
1287
1286
|
def __init__(__self__, *,
|
|
1288
1287
|
behavior: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs']] = None,
|
|
1289
|
-
max_replicas: Optional[pulumi.Input[
|
|
1288
|
+
max_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1290
1289
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]] = None,
|
|
1291
|
-
min_replicas: Optional[pulumi.Input[
|
|
1290
|
+
min_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1292
1291
|
scale_target_ref: Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']] = None):
|
|
1293
1292
|
"""
|
|
1294
1293
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1295
1294
|
:param pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs'] behavior: behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1296
|
-
:param pulumi.Input[
|
|
1295
|
+
:param pulumi.Input[_builtins.int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1297
1296
|
:param pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]] metrics: metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1298
|
-
:param pulumi.Input[
|
|
1297
|
+
:param pulumi.Input[_builtins.int] min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1299
1298
|
:param pulumi.Input['CrossVersionObjectReferencePatchArgs'] scale_target_ref: scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
|
|
1300
1299
|
"""
|
|
1301
1300
|
if behavior is not None:
|
|
@@ -1309,7 +1308,7 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
1309
1308
|
if scale_target_ref is not None:
|
|
1310
1309
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
1311
1310
|
|
|
1312
|
-
@property
|
|
1311
|
+
@_builtins.property
|
|
1313
1312
|
@pulumi.getter
|
|
1314
1313
|
def behavior(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs']]:
|
|
1315
1314
|
"""
|
|
@@ -1321,19 +1320,19 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
1321
1320
|
def behavior(self, value: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs']]):
|
|
1322
1321
|
pulumi.set(self, "behavior", value)
|
|
1323
1322
|
|
|
1324
|
-
@property
|
|
1323
|
+
@_builtins.property
|
|
1325
1324
|
@pulumi.getter(name="maxReplicas")
|
|
1326
|
-
def max_replicas(self) -> Optional[pulumi.Input[
|
|
1325
|
+
def max_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1327
1326
|
"""
|
|
1328
1327
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1329
1328
|
"""
|
|
1330
1329
|
return pulumi.get(self, "max_replicas")
|
|
1331
1330
|
|
|
1332
1331
|
@max_replicas.setter
|
|
1333
|
-
def max_replicas(self, value: Optional[pulumi.Input[
|
|
1332
|
+
def max_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1334
1333
|
pulumi.set(self, "max_replicas", value)
|
|
1335
1334
|
|
|
1336
|
-
@property
|
|
1335
|
+
@_builtins.property
|
|
1337
1336
|
@pulumi.getter
|
|
1338
1337
|
def metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]]:
|
|
1339
1338
|
"""
|
|
@@ -1345,19 +1344,19 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
1345
1344
|
def metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]]):
|
|
1346
1345
|
pulumi.set(self, "metrics", value)
|
|
1347
1346
|
|
|
1348
|
-
@property
|
|
1347
|
+
@_builtins.property
|
|
1349
1348
|
@pulumi.getter(name="minReplicas")
|
|
1350
|
-
def min_replicas(self) -> Optional[pulumi.Input[
|
|
1349
|
+
def min_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1351
1350
|
"""
|
|
1352
1351
|
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1353
1352
|
"""
|
|
1354
1353
|
return pulumi.get(self, "min_replicas")
|
|
1355
1354
|
|
|
1356
1355
|
@min_replicas.setter
|
|
1357
|
-
def min_replicas(self, value: Optional[pulumi.Input[
|
|
1356
|
+
def min_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1358
1357
|
pulumi.set(self, "min_replicas", value)
|
|
1359
1358
|
|
|
1360
|
-
@property
|
|
1359
|
+
@_builtins.property
|
|
1361
1360
|
@pulumi.getter(name="scaleTargetRef")
|
|
1362
1361
|
def scale_target_ref(self) -> Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']]:
|
|
1363
1362
|
"""
|
|
@@ -1375,7 +1374,7 @@ if not MYPY:
|
|
|
1375
1374
|
"""
|
|
1376
1375
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1377
1376
|
"""
|
|
1378
|
-
max_replicas: pulumi.Input[
|
|
1377
|
+
max_replicas: pulumi.Input[_builtins.int]
|
|
1379
1378
|
"""
|
|
1380
1379
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1381
1380
|
"""
|
|
@@ -1391,7 +1390,7 @@ if not MYPY:
|
|
|
1391
1390
|
"""
|
|
1392
1391
|
metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1393
1392
|
"""
|
|
1394
|
-
min_replicas: NotRequired[pulumi.Input[
|
|
1393
|
+
min_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1395
1394
|
"""
|
|
1396
1395
|
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1397
1396
|
"""
|
|
@@ -1401,18 +1400,18 @@ elif False:
|
|
|
1401
1400
|
@pulumi.input_type
|
|
1402
1401
|
class HorizontalPodAutoscalerSpecArgs:
|
|
1403
1402
|
def __init__(__self__, *,
|
|
1404
|
-
max_replicas: pulumi.Input[
|
|
1403
|
+
max_replicas: pulumi.Input[_builtins.int],
|
|
1405
1404
|
scale_target_ref: pulumi.Input['CrossVersionObjectReferenceArgs'],
|
|
1406
1405
|
behavior: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorArgs']] = None,
|
|
1407
1406
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]] = None,
|
|
1408
|
-
min_replicas: Optional[pulumi.Input[
|
|
1407
|
+
min_replicas: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1409
1408
|
"""
|
|
1410
1409
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1411
|
-
:param pulumi.Input[
|
|
1410
|
+
:param pulumi.Input[_builtins.int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1412
1411
|
:param pulumi.Input['CrossVersionObjectReferenceArgs'] scale_target_ref: scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
|
|
1413
1412
|
:param pulumi.Input['HorizontalPodAutoscalerBehaviorArgs'] behavior: behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1414
1413
|
:param pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]] metrics: metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1415
|
-
:param pulumi.Input[
|
|
1414
|
+
:param pulumi.Input[_builtins.int] min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1416
1415
|
"""
|
|
1417
1416
|
pulumi.set(__self__, "max_replicas", max_replicas)
|
|
1418
1417
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
@@ -1423,19 +1422,19 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1423
1422
|
if min_replicas is not None:
|
|
1424
1423
|
pulumi.set(__self__, "min_replicas", min_replicas)
|
|
1425
1424
|
|
|
1426
|
-
@property
|
|
1425
|
+
@_builtins.property
|
|
1427
1426
|
@pulumi.getter(name="maxReplicas")
|
|
1428
|
-
def max_replicas(self) -> pulumi.Input[
|
|
1427
|
+
def max_replicas(self) -> pulumi.Input[_builtins.int]:
|
|
1429
1428
|
"""
|
|
1430
1429
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1431
1430
|
"""
|
|
1432
1431
|
return pulumi.get(self, "max_replicas")
|
|
1433
1432
|
|
|
1434
1433
|
@max_replicas.setter
|
|
1435
|
-
def max_replicas(self, value: pulumi.Input[
|
|
1434
|
+
def max_replicas(self, value: pulumi.Input[_builtins.int]):
|
|
1436
1435
|
pulumi.set(self, "max_replicas", value)
|
|
1437
1436
|
|
|
1438
|
-
@property
|
|
1437
|
+
@_builtins.property
|
|
1439
1438
|
@pulumi.getter(name="scaleTargetRef")
|
|
1440
1439
|
def scale_target_ref(self) -> pulumi.Input['CrossVersionObjectReferenceArgs']:
|
|
1441
1440
|
"""
|
|
@@ -1447,7 +1446,7 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1447
1446
|
def scale_target_ref(self, value: pulumi.Input['CrossVersionObjectReferenceArgs']):
|
|
1448
1447
|
pulumi.set(self, "scale_target_ref", value)
|
|
1449
1448
|
|
|
1450
|
-
@property
|
|
1449
|
+
@_builtins.property
|
|
1451
1450
|
@pulumi.getter
|
|
1452
1451
|
def behavior(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorArgs']]:
|
|
1453
1452
|
"""
|
|
@@ -1459,7 +1458,7 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1459
1458
|
def behavior(self, value: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorArgs']]):
|
|
1460
1459
|
pulumi.set(self, "behavior", value)
|
|
1461
1460
|
|
|
1462
|
-
@property
|
|
1461
|
+
@_builtins.property
|
|
1463
1462
|
@pulumi.getter
|
|
1464
1463
|
def metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]]:
|
|
1465
1464
|
"""
|
|
@@ -1471,16 +1470,16 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1471
1470
|
def metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]]):
|
|
1472
1471
|
pulumi.set(self, "metrics", value)
|
|
1473
1472
|
|
|
1474
|
-
@property
|
|
1473
|
+
@_builtins.property
|
|
1475
1474
|
@pulumi.getter(name="minReplicas")
|
|
1476
|
-
def min_replicas(self) -> Optional[pulumi.Input[
|
|
1475
|
+
def min_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1477
1476
|
"""
|
|
1478
1477
|
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1479
1478
|
"""
|
|
1480
1479
|
return pulumi.get(self, "min_replicas")
|
|
1481
1480
|
|
|
1482
1481
|
@min_replicas.setter
|
|
1483
|
-
def min_replicas(self, value: Optional[pulumi.Input[
|
|
1482
|
+
def min_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1484
1483
|
pulumi.set(self, "min_replicas", value)
|
|
1485
1484
|
|
|
1486
1485
|
|
|
@@ -1489,7 +1488,7 @@ if not MYPY:
|
|
|
1489
1488
|
"""
|
|
1490
1489
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1491
1490
|
"""
|
|
1492
|
-
desired_replicas: pulumi.Input[
|
|
1491
|
+
desired_replicas: pulumi.Input[_builtins.int]
|
|
1493
1492
|
"""
|
|
1494
1493
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1495
1494
|
"""
|
|
@@ -1501,15 +1500,15 @@ if not MYPY:
|
|
|
1501
1500
|
"""
|
|
1502
1501
|
currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1503
1502
|
"""
|
|
1504
|
-
current_replicas: NotRequired[pulumi.Input[
|
|
1503
|
+
current_replicas: NotRequired[pulumi.Input[_builtins.int]]
|
|
1505
1504
|
"""
|
|
1506
1505
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1507
1506
|
"""
|
|
1508
|
-
last_scale_time: NotRequired[pulumi.Input[
|
|
1507
|
+
last_scale_time: NotRequired[pulumi.Input[_builtins.str]]
|
|
1509
1508
|
"""
|
|
1510
1509
|
lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1511
1510
|
"""
|
|
1512
|
-
observed_generation: NotRequired[pulumi.Input[
|
|
1511
|
+
observed_generation: NotRequired[pulumi.Input[_builtins.int]]
|
|
1513
1512
|
"""
|
|
1514
1513
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1515
1514
|
"""
|
|
@@ -1519,20 +1518,20 @@ elif False:
|
|
|
1519
1518
|
@pulumi.input_type
|
|
1520
1519
|
class HorizontalPodAutoscalerStatusArgs:
|
|
1521
1520
|
def __init__(__self__, *,
|
|
1522
|
-
desired_replicas: pulumi.Input[
|
|
1521
|
+
desired_replicas: pulumi.Input[_builtins.int],
|
|
1523
1522
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]]] = None,
|
|
1524
1523
|
current_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]] = None,
|
|
1525
|
-
current_replicas: Optional[pulumi.Input[
|
|
1526
|
-
last_scale_time: Optional[pulumi.Input[
|
|
1527
|
-
observed_generation: Optional[pulumi.Input[
|
|
1524
|
+
current_replicas: Optional[pulumi.Input[_builtins.int]] = None,
|
|
1525
|
+
last_scale_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1526
|
+
observed_generation: Optional[pulumi.Input[_builtins.int]] = None):
|
|
1528
1527
|
"""
|
|
1529
1528
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1530
|
-
:param pulumi.Input[
|
|
1529
|
+
:param pulumi.Input[_builtins.int] desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1531
1530
|
:param pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]] conditions: conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
|
|
1532
1531
|
:param pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1533
|
-
:param pulumi.Input[
|
|
1534
|
-
:param pulumi.Input[
|
|
1535
|
-
:param pulumi.Input[
|
|
1532
|
+
:param pulumi.Input[_builtins.int] current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1533
|
+
:param pulumi.Input[_builtins.str] last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1534
|
+
:param pulumi.Input[_builtins.int] observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1536
1535
|
"""
|
|
1537
1536
|
pulumi.set(__self__, "desired_replicas", desired_replicas)
|
|
1538
1537
|
if conditions is not None:
|
|
@@ -1546,19 +1545,19 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1546
1545
|
if observed_generation is not None:
|
|
1547
1546
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
1548
1547
|
|
|
1549
|
-
@property
|
|
1548
|
+
@_builtins.property
|
|
1550
1549
|
@pulumi.getter(name="desiredReplicas")
|
|
1551
|
-
def desired_replicas(self) -> pulumi.Input[
|
|
1550
|
+
def desired_replicas(self) -> pulumi.Input[_builtins.int]:
|
|
1552
1551
|
"""
|
|
1553
1552
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1554
1553
|
"""
|
|
1555
1554
|
return pulumi.get(self, "desired_replicas")
|
|
1556
1555
|
|
|
1557
1556
|
@desired_replicas.setter
|
|
1558
|
-
def desired_replicas(self, value: pulumi.Input[
|
|
1557
|
+
def desired_replicas(self, value: pulumi.Input[_builtins.int]):
|
|
1559
1558
|
pulumi.set(self, "desired_replicas", value)
|
|
1560
1559
|
|
|
1561
|
-
@property
|
|
1560
|
+
@_builtins.property
|
|
1562
1561
|
@pulumi.getter
|
|
1563
1562
|
def conditions(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]]]:
|
|
1564
1563
|
"""
|
|
@@ -1570,7 +1569,7 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1570
1569
|
def conditions(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]]]):
|
|
1571
1570
|
pulumi.set(self, "conditions", value)
|
|
1572
1571
|
|
|
1573
|
-
@property
|
|
1572
|
+
@_builtins.property
|
|
1574
1573
|
@pulumi.getter(name="currentMetrics")
|
|
1575
1574
|
def current_metrics(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]]:
|
|
1576
1575
|
"""
|
|
@@ -1582,40 +1581,40 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1582
1581
|
def current_metrics(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]]):
|
|
1583
1582
|
pulumi.set(self, "current_metrics", value)
|
|
1584
1583
|
|
|
1585
|
-
@property
|
|
1584
|
+
@_builtins.property
|
|
1586
1585
|
@pulumi.getter(name="currentReplicas")
|
|
1587
|
-
def current_replicas(self) -> Optional[pulumi.Input[
|
|
1586
|
+
def current_replicas(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1588
1587
|
"""
|
|
1589
1588
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1590
1589
|
"""
|
|
1591
1590
|
return pulumi.get(self, "current_replicas")
|
|
1592
1591
|
|
|
1593
1592
|
@current_replicas.setter
|
|
1594
|
-
def current_replicas(self, value: Optional[pulumi.Input[
|
|
1593
|
+
def current_replicas(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1595
1594
|
pulumi.set(self, "current_replicas", value)
|
|
1596
1595
|
|
|
1597
|
-
@property
|
|
1596
|
+
@_builtins.property
|
|
1598
1597
|
@pulumi.getter(name="lastScaleTime")
|
|
1599
|
-
def last_scale_time(self) -> Optional[pulumi.Input[
|
|
1598
|
+
def last_scale_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1600
1599
|
"""
|
|
1601
1600
|
lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1602
1601
|
"""
|
|
1603
1602
|
return pulumi.get(self, "last_scale_time")
|
|
1604
1603
|
|
|
1605
1604
|
@last_scale_time.setter
|
|
1606
|
-
def last_scale_time(self, value: Optional[pulumi.Input[
|
|
1605
|
+
def last_scale_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1607
1606
|
pulumi.set(self, "last_scale_time", value)
|
|
1608
1607
|
|
|
1609
|
-
@property
|
|
1608
|
+
@_builtins.property
|
|
1610
1609
|
@pulumi.getter(name="observedGeneration")
|
|
1611
|
-
def observed_generation(self) -> Optional[pulumi.Input[
|
|
1610
|
+
def observed_generation(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
1612
1611
|
"""
|
|
1613
1612
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1614
1613
|
"""
|
|
1615
1614
|
return pulumi.get(self, "observed_generation")
|
|
1616
1615
|
|
|
1617
1616
|
@observed_generation.setter
|
|
1618
|
-
def observed_generation(self, value: Optional[pulumi.Input[
|
|
1617
|
+
def observed_generation(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
1619
1618
|
pulumi.set(self, "observed_generation", value)
|
|
1620
1619
|
|
|
1621
1620
|
|
|
@@ -1624,11 +1623,11 @@ if not MYPY:
|
|
|
1624
1623
|
"""
|
|
1625
1624
|
HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.
|
|
1626
1625
|
"""
|
|
1627
|
-
api_version: NotRequired[pulumi.Input[
|
|
1626
|
+
api_version: NotRequired[pulumi.Input[_builtins.str]]
|
|
1628
1627
|
"""
|
|
1629
1628
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1630
1629
|
"""
|
|
1631
|
-
kind: NotRequired[pulumi.Input[
|
|
1630
|
+
kind: NotRequired[pulumi.Input[_builtins.str]]
|
|
1632
1631
|
"""
|
|
1633
1632
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1634
1633
|
"""
|
|
@@ -1650,15 +1649,15 @@ elif False:
|
|
|
1650
1649
|
@pulumi.input_type
|
|
1651
1650
|
class HorizontalPodAutoscalerArgs:
|
|
1652
1651
|
def __init__(__self__, *,
|
|
1653
|
-
api_version: Optional[pulumi.Input[
|
|
1654
|
-
kind: Optional[pulumi.Input[
|
|
1652
|
+
api_version: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1653
|
+
kind: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1655
1654
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1656
1655
|
spec: Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']] = None,
|
|
1657
1656
|
status: Optional[pulumi.Input['HorizontalPodAutoscalerStatusArgs']] = None):
|
|
1658
1657
|
"""
|
|
1659
1658
|
HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.
|
|
1660
|
-
:param pulumi.Input[
|
|
1661
|
-
:param pulumi.Input[
|
|
1659
|
+
:param pulumi.Input[_builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1660
|
+
:param pulumi.Input[_builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1662
1661
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1663
1662
|
:param pulumi.Input['HorizontalPodAutoscalerSpecArgs'] spec: spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
|
|
1664
1663
|
:param pulumi.Input['HorizontalPodAutoscalerStatusArgs'] status: status is the current information about the autoscaler.
|
|
@@ -1674,31 +1673,31 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1674
1673
|
if status is not None:
|
|
1675
1674
|
pulumi.set(__self__, "status", status)
|
|
1676
1675
|
|
|
1677
|
-
@property
|
|
1676
|
+
@_builtins.property
|
|
1678
1677
|
@pulumi.getter(name="apiVersion")
|
|
1679
|
-
def api_version(self) -> Optional[pulumi.Input[
|
|
1678
|
+
def api_version(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1680
1679
|
"""
|
|
1681
1680
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1682
1681
|
"""
|
|
1683
1682
|
return pulumi.get(self, "api_version")
|
|
1684
1683
|
|
|
1685
1684
|
@api_version.setter
|
|
1686
|
-
def api_version(self, value: Optional[pulumi.Input[
|
|
1685
|
+
def api_version(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1687
1686
|
pulumi.set(self, "api_version", value)
|
|
1688
1687
|
|
|
1689
|
-
@property
|
|
1688
|
+
@_builtins.property
|
|
1690
1689
|
@pulumi.getter
|
|
1691
|
-
def kind(self) -> Optional[pulumi.Input[
|
|
1690
|
+
def kind(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1692
1691
|
"""
|
|
1693
1692
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1694
1693
|
"""
|
|
1695
1694
|
return pulumi.get(self, "kind")
|
|
1696
1695
|
|
|
1697
1696
|
@kind.setter
|
|
1698
|
-
def kind(self, value: Optional[pulumi.Input[
|
|
1697
|
+
def kind(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1699
1698
|
pulumi.set(self, "kind", value)
|
|
1700
1699
|
|
|
1701
|
-
@property
|
|
1700
|
+
@_builtins.property
|
|
1702
1701
|
@pulumi.getter
|
|
1703
1702
|
def metadata(self) -> Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]:
|
|
1704
1703
|
"""
|
|
@@ -1710,7 +1709,7 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1710
1709
|
def metadata(self, value: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']]):
|
|
1711
1710
|
pulumi.set(self, "metadata", value)
|
|
1712
1711
|
|
|
1713
|
-
@property
|
|
1712
|
+
@_builtins.property
|
|
1714
1713
|
@pulumi.getter
|
|
1715
1714
|
def spec(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']]:
|
|
1716
1715
|
"""
|
|
@@ -1722,7 +1721,7 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1722
1721
|
def spec(self, value: Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']]):
|
|
1723
1722
|
pulumi.set(self, "spec", value)
|
|
1724
1723
|
|
|
1725
|
-
@property
|
|
1724
|
+
@_builtins.property
|
|
1726
1725
|
@pulumi.getter
|
|
1727
1726
|
def status(self) -> Optional[pulumi.Input['HorizontalPodAutoscalerStatusArgs']]:
|
|
1728
1727
|
"""
|
|
@@ -1740,7 +1739,7 @@ if not MYPY:
|
|
|
1740
1739
|
"""
|
|
1741
1740
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1742
1741
|
"""
|
|
1743
|
-
name: NotRequired[pulumi.Input[
|
|
1742
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
1744
1743
|
"""
|
|
1745
1744
|
name is the name of the given metric
|
|
1746
1745
|
"""
|
|
@@ -1754,11 +1753,11 @@ elif False:
|
|
|
1754
1753
|
@pulumi.input_type
|
|
1755
1754
|
class MetricIdentifierPatchArgs:
|
|
1756
1755
|
def __init__(__self__, *,
|
|
1757
|
-
name: Optional[pulumi.Input[
|
|
1756
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1758
1757
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None):
|
|
1759
1758
|
"""
|
|
1760
1759
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1761
|
-
:param pulumi.Input[
|
|
1760
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the given metric
|
|
1762
1761
|
:param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
1763
1762
|
"""
|
|
1764
1763
|
if name is not None:
|
|
@@ -1766,19 +1765,19 @@ class MetricIdentifierPatchArgs:
|
|
|
1766
1765
|
if selector is not None:
|
|
1767
1766
|
pulumi.set(__self__, "selector", selector)
|
|
1768
1767
|
|
|
1769
|
-
@property
|
|
1768
|
+
@_builtins.property
|
|
1770
1769
|
@pulumi.getter
|
|
1771
|
-
def name(self) -> Optional[pulumi.Input[
|
|
1770
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1772
1771
|
"""
|
|
1773
1772
|
name is the name of the given metric
|
|
1774
1773
|
"""
|
|
1775
1774
|
return pulumi.get(self, "name")
|
|
1776
1775
|
|
|
1777
1776
|
@name.setter
|
|
1778
|
-
def name(self, value: Optional[pulumi.Input[
|
|
1777
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1779
1778
|
pulumi.set(self, "name", value)
|
|
1780
1779
|
|
|
1781
|
-
@property
|
|
1780
|
+
@_builtins.property
|
|
1782
1781
|
@pulumi.getter
|
|
1783
1782
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']]:
|
|
1784
1783
|
"""
|
|
@@ -1796,7 +1795,7 @@ if not MYPY:
|
|
|
1796
1795
|
"""
|
|
1797
1796
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1798
1797
|
"""
|
|
1799
|
-
name: pulumi.Input[
|
|
1798
|
+
name: pulumi.Input[_builtins.str]
|
|
1800
1799
|
"""
|
|
1801
1800
|
name is the name of the given metric
|
|
1802
1801
|
"""
|
|
@@ -1810,30 +1809,30 @@ elif False:
|
|
|
1810
1809
|
@pulumi.input_type
|
|
1811
1810
|
class MetricIdentifierArgs:
|
|
1812
1811
|
def __init__(__self__, *,
|
|
1813
|
-
name: pulumi.Input[
|
|
1812
|
+
name: pulumi.Input[_builtins.str],
|
|
1814
1813
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
1815
1814
|
"""
|
|
1816
1815
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1817
|
-
:param pulumi.Input[
|
|
1816
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the given metric
|
|
1818
1817
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
1819
1818
|
"""
|
|
1820
1819
|
pulumi.set(__self__, "name", name)
|
|
1821
1820
|
if selector is not None:
|
|
1822
1821
|
pulumi.set(__self__, "selector", selector)
|
|
1823
1822
|
|
|
1824
|
-
@property
|
|
1823
|
+
@_builtins.property
|
|
1825
1824
|
@pulumi.getter
|
|
1826
|
-
def name(self) -> pulumi.Input[
|
|
1825
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
1827
1826
|
"""
|
|
1828
1827
|
name is the name of the given metric
|
|
1829
1828
|
"""
|
|
1830
1829
|
return pulumi.get(self, "name")
|
|
1831
1830
|
|
|
1832
1831
|
@name.setter
|
|
1833
|
-
def name(self, value: pulumi.Input[
|
|
1832
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
1834
1833
|
pulumi.set(self, "name", value)
|
|
1835
1834
|
|
|
1836
|
-
@property
|
|
1835
|
+
@_builtins.property
|
|
1837
1836
|
@pulumi.getter
|
|
1838
1837
|
def selector(self) -> Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']]:
|
|
1839
1838
|
"""
|
|
@@ -1871,7 +1870,7 @@ if not MYPY:
|
|
|
1871
1870
|
"""
|
|
1872
1871
|
resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1873
1872
|
"""
|
|
1874
|
-
type: NotRequired[pulumi.Input[
|
|
1873
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
1875
1874
|
"""
|
|
1876
1875
|
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1877
1876
|
"""
|
|
@@ -1886,7 +1885,7 @@ class MetricSpecPatchArgs:
|
|
|
1886
1885
|
object: Optional[pulumi.Input['ObjectMetricSourcePatchArgs']] = None,
|
|
1887
1886
|
pods: Optional[pulumi.Input['PodsMetricSourcePatchArgs']] = None,
|
|
1888
1887
|
resource: Optional[pulumi.Input['ResourceMetricSourcePatchArgs']] = None,
|
|
1889
|
-
type: Optional[pulumi.Input[
|
|
1888
|
+
type: Optional[pulumi.Input[_builtins.str]] = None):
|
|
1890
1889
|
"""
|
|
1891
1890
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1892
1891
|
:param pulumi.Input['ContainerResourceMetricSourcePatchArgs'] container_resource: containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
@@ -1894,7 +1893,7 @@ class MetricSpecPatchArgs:
|
|
|
1894
1893
|
:param pulumi.Input['ObjectMetricSourcePatchArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1895
1894
|
:param pulumi.Input['PodsMetricSourcePatchArgs'] pods: pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
1896
1895
|
:param pulumi.Input['ResourceMetricSourcePatchArgs'] resource: resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1897
|
-
:param pulumi.Input[
|
|
1896
|
+
:param pulumi.Input[_builtins.str] type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1898
1897
|
"""
|
|
1899
1898
|
if container_resource is not None:
|
|
1900
1899
|
pulumi.set(__self__, "container_resource", container_resource)
|
|
@@ -1909,7 +1908,7 @@ class MetricSpecPatchArgs:
|
|
|
1909
1908
|
if type is not None:
|
|
1910
1909
|
pulumi.set(__self__, "type", type)
|
|
1911
1910
|
|
|
1912
|
-
@property
|
|
1911
|
+
@_builtins.property
|
|
1913
1912
|
@pulumi.getter(name="containerResource")
|
|
1914
1913
|
def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricSourcePatchArgs']]:
|
|
1915
1914
|
"""
|
|
@@ -1921,7 +1920,7 @@ class MetricSpecPatchArgs:
|
|
|
1921
1920
|
def container_resource(self, value: Optional[pulumi.Input['ContainerResourceMetricSourcePatchArgs']]):
|
|
1922
1921
|
pulumi.set(self, "container_resource", value)
|
|
1923
1922
|
|
|
1924
|
-
@property
|
|
1923
|
+
@_builtins.property
|
|
1925
1924
|
@pulumi.getter
|
|
1926
1925
|
def external(self) -> Optional[pulumi.Input['ExternalMetricSourcePatchArgs']]:
|
|
1927
1926
|
"""
|
|
@@ -1933,7 +1932,7 @@ class MetricSpecPatchArgs:
|
|
|
1933
1932
|
def external(self, value: Optional[pulumi.Input['ExternalMetricSourcePatchArgs']]):
|
|
1934
1933
|
pulumi.set(self, "external", value)
|
|
1935
1934
|
|
|
1936
|
-
@property
|
|
1935
|
+
@_builtins.property
|
|
1937
1936
|
@pulumi.getter
|
|
1938
1937
|
def object(self) -> Optional[pulumi.Input['ObjectMetricSourcePatchArgs']]:
|
|
1939
1938
|
"""
|
|
@@ -1945,7 +1944,7 @@ class MetricSpecPatchArgs:
|
|
|
1945
1944
|
def object(self, value: Optional[pulumi.Input['ObjectMetricSourcePatchArgs']]):
|
|
1946
1945
|
pulumi.set(self, "object", value)
|
|
1947
1946
|
|
|
1948
|
-
@property
|
|
1947
|
+
@_builtins.property
|
|
1949
1948
|
@pulumi.getter
|
|
1950
1949
|
def pods(self) -> Optional[pulumi.Input['PodsMetricSourcePatchArgs']]:
|
|
1951
1950
|
"""
|
|
@@ -1957,7 +1956,7 @@ class MetricSpecPatchArgs:
|
|
|
1957
1956
|
def pods(self, value: Optional[pulumi.Input['PodsMetricSourcePatchArgs']]):
|
|
1958
1957
|
pulumi.set(self, "pods", value)
|
|
1959
1958
|
|
|
1960
|
-
@property
|
|
1959
|
+
@_builtins.property
|
|
1961
1960
|
@pulumi.getter
|
|
1962
1961
|
def resource(self) -> Optional[pulumi.Input['ResourceMetricSourcePatchArgs']]:
|
|
1963
1962
|
"""
|
|
@@ -1969,16 +1968,16 @@ class MetricSpecPatchArgs:
|
|
|
1969
1968
|
def resource(self, value: Optional[pulumi.Input['ResourceMetricSourcePatchArgs']]):
|
|
1970
1969
|
pulumi.set(self, "resource", value)
|
|
1971
1970
|
|
|
1972
|
-
@property
|
|
1971
|
+
@_builtins.property
|
|
1973
1972
|
@pulumi.getter
|
|
1974
|
-
def type(self) -> Optional[pulumi.Input[
|
|
1973
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
1975
1974
|
"""
|
|
1976
1975
|
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1977
1976
|
"""
|
|
1978
1977
|
return pulumi.get(self, "type")
|
|
1979
1978
|
|
|
1980
1979
|
@type.setter
|
|
1981
|
-
def type(self, value: Optional[pulumi.Input[
|
|
1980
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
1982
1981
|
pulumi.set(self, "type", value)
|
|
1983
1982
|
|
|
1984
1983
|
|
|
@@ -1987,7 +1986,7 @@ if not MYPY:
|
|
|
1987
1986
|
"""
|
|
1988
1987
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1989
1988
|
"""
|
|
1990
|
-
type: pulumi.Input[
|
|
1989
|
+
type: pulumi.Input[_builtins.str]
|
|
1991
1990
|
"""
|
|
1992
1991
|
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1993
1992
|
"""
|
|
@@ -2017,7 +2016,7 @@ elif False:
|
|
|
2017
2016
|
@pulumi.input_type
|
|
2018
2017
|
class MetricSpecArgs:
|
|
2019
2018
|
def __init__(__self__, *,
|
|
2020
|
-
type: pulumi.Input[
|
|
2019
|
+
type: pulumi.Input[_builtins.str],
|
|
2021
2020
|
container_resource: Optional[pulumi.Input['ContainerResourceMetricSourceArgs']] = None,
|
|
2022
2021
|
external: Optional[pulumi.Input['ExternalMetricSourceArgs']] = None,
|
|
2023
2022
|
object: Optional[pulumi.Input['ObjectMetricSourceArgs']] = None,
|
|
@@ -2025,7 +2024,7 @@ class MetricSpecArgs:
|
|
|
2025
2024
|
resource: Optional[pulumi.Input['ResourceMetricSourceArgs']] = None):
|
|
2026
2025
|
"""
|
|
2027
2026
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
2028
|
-
:param pulumi.Input[
|
|
2027
|
+
:param pulumi.Input[_builtins.str] type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
2029
2028
|
:param pulumi.Input['ContainerResourceMetricSourceArgs'] container_resource: containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
2030
2029
|
:param pulumi.Input['ExternalMetricSourceArgs'] external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
2031
2030
|
:param pulumi.Input['ObjectMetricSourceArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -2044,19 +2043,19 @@ class MetricSpecArgs:
|
|
|
2044
2043
|
if resource is not None:
|
|
2045
2044
|
pulumi.set(__self__, "resource", resource)
|
|
2046
2045
|
|
|
2047
|
-
@property
|
|
2046
|
+
@_builtins.property
|
|
2048
2047
|
@pulumi.getter
|
|
2049
|
-
def type(self) -> pulumi.Input[
|
|
2048
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
2050
2049
|
"""
|
|
2051
2050
|
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
2052
2051
|
"""
|
|
2053
2052
|
return pulumi.get(self, "type")
|
|
2054
2053
|
|
|
2055
2054
|
@type.setter
|
|
2056
|
-
def type(self, value: pulumi.Input[
|
|
2055
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
2057
2056
|
pulumi.set(self, "type", value)
|
|
2058
2057
|
|
|
2059
|
-
@property
|
|
2058
|
+
@_builtins.property
|
|
2060
2059
|
@pulumi.getter(name="containerResource")
|
|
2061
2060
|
def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricSourceArgs']]:
|
|
2062
2061
|
"""
|
|
@@ -2068,7 +2067,7 @@ class MetricSpecArgs:
|
|
|
2068
2067
|
def container_resource(self, value: Optional[pulumi.Input['ContainerResourceMetricSourceArgs']]):
|
|
2069
2068
|
pulumi.set(self, "container_resource", value)
|
|
2070
2069
|
|
|
2071
|
-
@property
|
|
2070
|
+
@_builtins.property
|
|
2072
2071
|
@pulumi.getter
|
|
2073
2072
|
def external(self) -> Optional[pulumi.Input['ExternalMetricSourceArgs']]:
|
|
2074
2073
|
"""
|
|
@@ -2080,7 +2079,7 @@ class MetricSpecArgs:
|
|
|
2080
2079
|
def external(self, value: Optional[pulumi.Input['ExternalMetricSourceArgs']]):
|
|
2081
2080
|
pulumi.set(self, "external", value)
|
|
2082
2081
|
|
|
2083
|
-
@property
|
|
2082
|
+
@_builtins.property
|
|
2084
2083
|
@pulumi.getter
|
|
2085
2084
|
def object(self) -> Optional[pulumi.Input['ObjectMetricSourceArgs']]:
|
|
2086
2085
|
"""
|
|
@@ -2092,7 +2091,7 @@ class MetricSpecArgs:
|
|
|
2092
2091
|
def object(self, value: Optional[pulumi.Input['ObjectMetricSourceArgs']]):
|
|
2093
2092
|
pulumi.set(self, "object", value)
|
|
2094
2093
|
|
|
2095
|
-
@property
|
|
2094
|
+
@_builtins.property
|
|
2096
2095
|
@pulumi.getter
|
|
2097
2096
|
def pods(self) -> Optional[pulumi.Input['PodsMetricSourceArgs']]:
|
|
2098
2097
|
"""
|
|
@@ -2104,7 +2103,7 @@ class MetricSpecArgs:
|
|
|
2104
2103
|
def pods(self, value: Optional[pulumi.Input['PodsMetricSourceArgs']]):
|
|
2105
2104
|
pulumi.set(self, "pods", value)
|
|
2106
2105
|
|
|
2107
|
-
@property
|
|
2106
|
+
@_builtins.property
|
|
2108
2107
|
@pulumi.getter
|
|
2109
2108
|
def resource(self) -> Optional[pulumi.Input['ResourceMetricSourceArgs']]:
|
|
2110
2109
|
"""
|
|
@@ -2122,7 +2121,7 @@ if not MYPY:
|
|
|
2122
2121
|
"""
|
|
2123
2122
|
MetricStatus describes the last-read state of a single metric.
|
|
2124
2123
|
"""
|
|
2125
|
-
type: pulumi.Input[
|
|
2124
|
+
type: pulumi.Input[_builtins.str]
|
|
2126
2125
|
"""
|
|
2127
2126
|
type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2128
2127
|
"""
|
|
@@ -2152,7 +2151,7 @@ elif False:
|
|
|
2152
2151
|
@pulumi.input_type
|
|
2153
2152
|
class MetricStatusArgs:
|
|
2154
2153
|
def __init__(__self__, *,
|
|
2155
|
-
type: pulumi.Input[
|
|
2154
|
+
type: pulumi.Input[_builtins.str],
|
|
2156
2155
|
container_resource: Optional[pulumi.Input['ContainerResourceMetricStatusArgs']] = None,
|
|
2157
2156
|
external: Optional[pulumi.Input['ExternalMetricStatusArgs']] = None,
|
|
2158
2157
|
object: Optional[pulumi.Input['ObjectMetricStatusArgs']] = None,
|
|
@@ -2160,7 +2159,7 @@ class MetricStatusArgs:
|
|
|
2160
2159
|
resource: Optional[pulumi.Input['ResourceMetricStatusArgs']] = None):
|
|
2161
2160
|
"""
|
|
2162
2161
|
MetricStatus describes the last-read state of a single metric.
|
|
2163
|
-
:param pulumi.Input[
|
|
2162
|
+
:param pulumi.Input[_builtins.str] type: type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2164
2163
|
:param pulumi.Input['ContainerResourceMetricStatusArgs'] container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
2165
2164
|
:param pulumi.Input['ExternalMetricStatusArgs'] external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
2166
2165
|
:param pulumi.Input['ObjectMetricStatusArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -2179,19 +2178,19 @@ class MetricStatusArgs:
|
|
|
2179
2178
|
if resource is not None:
|
|
2180
2179
|
pulumi.set(__self__, "resource", resource)
|
|
2181
2180
|
|
|
2182
|
-
@property
|
|
2181
|
+
@_builtins.property
|
|
2183
2182
|
@pulumi.getter
|
|
2184
|
-
def type(self) -> pulumi.Input[
|
|
2183
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
2185
2184
|
"""
|
|
2186
2185
|
type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2187
2186
|
"""
|
|
2188
2187
|
return pulumi.get(self, "type")
|
|
2189
2188
|
|
|
2190
2189
|
@type.setter
|
|
2191
|
-
def type(self, value: pulumi.Input[
|
|
2190
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
2192
2191
|
pulumi.set(self, "type", value)
|
|
2193
2192
|
|
|
2194
|
-
@property
|
|
2193
|
+
@_builtins.property
|
|
2195
2194
|
@pulumi.getter(name="containerResource")
|
|
2196
2195
|
def container_resource(self) -> Optional[pulumi.Input['ContainerResourceMetricStatusArgs']]:
|
|
2197
2196
|
"""
|
|
@@ -2203,7 +2202,7 @@ class MetricStatusArgs:
|
|
|
2203
2202
|
def container_resource(self, value: Optional[pulumi.Input['ContainerResourceMetricStatusArgs']]):
|
|
2204
2203
|
pulumi.set(self, "container_resource", value)
|
|
2205
2204
|
|
|
2206
|
-
@property
|
|
2205
|
+
@_builtins.property
|
|
2207
2206
|
@pulumi.getter
|
|
2208
2207
|
def external(self) -> Optional[pulumi.Input['ExternalMetricStatusArgs']]:
|
|
2209
2208
|
"""
|
|
@@ -2215,7 +2214,7 @@ class MetricStatusArgs:
|
|
|
2215
2214
|
def external(self, value: Optional[pulumi.Input['ExternalMetricStatusArgs']]):
|
|
2216
2215
|
pulumi.set(self, "external", value)
|
|
2217
2216
|
|
|
2218
|
-
@property
|
|
2217
|
+
@_builtins.property
|
|
2219
2218
|
@pulumi.getter
|
|
2220
2219
|
def object(self) -> Optional[pulumi.Input['ObjectMetricStatusArgs']]:
|
|
2221
2220
|
"""
|
|
@@ -2227,7 +2226,7 @@ class MetricStatusArgs:
|
|
|
2227
2226
|
def object(self, value: Optional[pulumi.Input['ObjectMetricStatusArgs']]):
|
|
2228
2227
|
pulumi.set(self, "object", value)
|
|
2229
2228
|
|
|
2230
|
-
@property
|
|
2229
|
+
@_builtins.property
|
|
2231
2230
|
@pulumi.getter
|
|
2232
2231
|
def pods(self) -> Optional[pulumi.Input['PodsMetricStatusArgs']]:
|
|
2233
2232
|
"""
|
|
@@ -2239,7 +2238,7 @@ class MetricStatusArgs:
|
|
|
2239
2238
|
def pods(self, value: Optional[pulumi.Input['PodsMetricStatusArgs']]):
|
|
2240
2239
|
pulumi.set(self, "pods", value)
|
|
2241
2240
|
|
|
2242
|
-
@property
|
|
2241
|
+
@_builtins.property
|
|
2243
2242
|
@pulumi.getter
|
|
2244
2243
|
def resource(self) -> Optional[pulumi.Input['ResourceMetricStatusArgs']]:
|
|
2245
2244
|
"""
|
|
@@ -2257,19 +2256,19 @@ if not MYPY:
|
|
|
2257
2256
|
"""
|
|
2258
2257
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2259
2258
|
"""
|
|
2260
|
-
average_utilization: NotRequired[pulumi.Input[
|
|
2259
|
+
average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
2261
2260
|
"""
|
|
2262
2261
|
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2263
2262
|
"""
|
|
2264
|
-
average_value: NotRequired[pulumi.Input[
|
|
2263
|
+
average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2265
2264
|
"""
|
|
2266
2265
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2267
2266
|
"""
|
|
2268
|
-
type: NotRequired[pulumi.Input[
|
|
2267
|
+
type: NotRequired[pulumi.Input[_builtins.str]]
|
|
2269
2268
|
"""
|
|
2270
2269
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2271
2270
|
"""
|
|
2272
|
-
value: NotRequired[pulumi.Input[
|
|
2271
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2273
2272
|
"""
|
|
2274
2273
|
value is the target value of the metric (as a quantity).
|
|
2275
2274
|
"""
|
|
@@ -2279,16 +2278,16 @@ elif False:
|
|
|
2279
2278
|
@pulumi.input_type
|
|
2280
2279
|
class MetricTargetPatchArgs:
|
|
2281
2280
|
def __init__(__self__, *,
|
|
2282
|
-
average_utilization: Optional[pulumi.Input[
|
|
2283
|
-
average_value: Optional[pulumi.Input[
|
|
2284
|
-
type: Optional[pulumi.Input[
|
|
2285
|
-
value: Optional[pulumi.Input[
|
|
2281
|
+
average_utilization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2282
|
+
average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2283
|
+
type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2284
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2286
2285
|
"""
|
|
2287
2286
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2288
|
-
:param pulumi.Input[
|
|
2289
|
-
:param pulumi.Input[
|
|
2290
|
-
:param pulumi.Input[
|
|
2291
|
-
:param pulumi.Input[
|
|
2287
|
+
:param pulumi.Input[_builtins.int] average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2288
|
+
:param pulumi.Input[_builtins.str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2289
|
+
:param pulumi.Input[_builtins.str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2290
|
+
:param pulumi.Input[_builtins.str] value: value is the target value of the metric (as a quantity).
|
|
2292
2291
|
"""
|
|
2293
2292
|
if average_utilization is not None:
|
|
2294
2293
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2299,52 +2298,52 @@ class MetricTargetPatchArgs:
|
|
|
2299
2298
|
if value is not None:
|
|
2300
2299
|
pulumi.set(__self__, "value", value)
|
|
2301
2300
|
|
|
2302
|
-
@property
|
|
2301
|
+
@_builtins.property
|
|
2303
2302
|
@pulumi.getter(name="averageUtilization")
|
|
2304
|
-
def average_utilization(self) -> Optional[pulumi.Input[
|
|
2303
|
+
def average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2305
2304
|
"""
|
|
2306
2305
|
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2307
2306
|
"""
|
|
2308
2307
|
return pulumi.get(self, "average_utilization")
|
|
2309
2308
|
|
|
2310
2309
|
@average_utilization.setter
|
|
2311
|
-
def average_utilization(self, value: Optional[pulumi.Input[
|
|
2310
|
+
def average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2312
2311
|
pulumi.set(self, "average_utilization", value)
|
|
2313
2312
|
|
|
2314
|
-
@property
|
|
2313
|
+
@_builtins.property
|
|
2315
2314
|
@pulumi.getter(name="averageValue")
|
|
2316
|
-
def average_value(self) -> Optional[pulumi.Input[
|
|
2315
|
+
def average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2317
2316
|
"""
|
|
2318
2317
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2319
2318
|
"""
|
|
2320
2319
|
return pulumi.get(self, "average_value")
|
|
2321
2320
|
|
|
2322
2321
|
@average_value.setter
|
|
2323
|
-
def average_value(self, value: Optional[pulumi.Input[
|
|
2322
|
+
def average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2324
2323
|
pulumi.set(self, "average_value", value)
|
|
2325
2324
|
|
|
2326
|
-
@property
|
|
2325
|
+
@_builtins.property
|
|
2327
2326
|
@pulumi.getter
|
|
2328
|
-
def type(self) -> Optional[pulumi.Input[
|
|
2327
|
+
def type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2329
2328
|
"""
|
|
2330
2329
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2331
2330
|
"""
|
|
2332
2331
|
return pulumi.get(self, "type")
|
|
2333
2332
|
|
|
2334
2333
|
@type.setter
|
|
2335
|
-
def type(self, value: Optional[pulumi.Input[
|
|
2334
|
+
def type(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2336
2335
|
pulumi.set(self, "type", value)
|
|
2337
2336
|
|
|
2338
|
-
@property
|
|
2337
|
+
@_builtins.property
|
|
2339
2338
|
@pulumi.getter
|
|
2340
|
-
def value(self) -> Optional[pulumi.Input[
|
|
2339
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2341
2340
|
"""
|
|
2342
2341
|
value is the target value of the metric (as a quantity).
|
|
2343
2342
|
"""
|
|
2344
2343
|
return pulumi.get(self, "value")
|
|
2345
2344
|
|
|
2346
2345
|
@value.setter
|
|
2347
|
-
def value(self, value: Optional[pulumi.Input[
|
|
2346
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2348
2347
|
pulumi.set(self, "value", value)
|
|
2349
2348
|
|
|
2350
2349
|
|
|
@@ -2353,19 +2352,19 @@ if not MYPY:
|
|
|
2353
2352
|
"""
|
|
2354
2353
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2355
2354
|
"""
|
|
2356
|
-
type: pulumi.Input[
|
|
2355
|
+
type: pulumi.Input[_builtins.str]
|
|
2357
2356
|
"""
|
|
2358
2357
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2359
2358
|
"""
|
|
2360
|
-
average_utilization: NotRequired[pulumi.Input[
|
|
2359
|
+
average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
2361
2360
|
"""
|
|
2362
2361
|
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2363
2362
|
"""
|
|
2364
|
-
average_value: NotRequired[pulumi.Input[
|
|
2363
|
+
average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2365
2364
|
"""
|
|
2366
2365
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2367
2366
|
"""
|
|
2368
|
-
value: NotRequired[pulumi.Input[
|
|
2367
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2369
2368
|
"""
|
|
2370
2369
|
value is the target value of the metric (as a quantity).
|
|
2371
2370
|
"""
|
|
@@ -2375,16 +2374,16 @@ elif False:
|
|
|
2375
2374
|
@pulumi.input_type
|
|
2376
2375
|
class MetricTargetArgs:
|
|
2377
2376
|
def __init__(__self__, *,
|
|
2378
|
-
type: pulumi.Input[
|
|
2379
|
-
average_utilization: Optional[pulumi.Input[
|
|
2380
|
-
average_value: Optional[pulumi.Input[
|
|
2381
|
-
value: Optional[pulumi.Input[
|
|
2377
|
+
type: pulumi.Input[_builtins.str],
|
|
2378
|
+
average_utilization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2379
|
+
average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2380
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2382
2381
|
"""
|
|
2383
2382
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2384
|
-
:param pulumi.Input[
|
|
2385
|
-
:param pulumi.Input[
|
|
2386
|
-
:param pulumi.Input[
|
|
2387
|
-
:param pulumi.Input[
|
|
2383
|
+
:param pulumi.Input[_builtins.str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2384
|
+
:param pulumi.Input[_builtins.int] average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2385
|
+
:param pulumi.Input[_builtins.str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2386
|
+
:param pulumi.Input[_builtins.str] value: value is the target value of the metric (as a quantity).
|
|
2388
2387
|
"""
|
|
2389
2388
|
pulumi.set(__self__, "type", type)
|
|
2390
2389
|
if average_utilization is not None:
|
|
@@ -2394,52 +2393,52 @@ class MetricTargetArgs:
|
|
|
2394
2393
|
if value is not None:
|
|
2395
2394
|
pulumi.set(__self__, "value", value)
|
|
2396
2395
|
|
|
2397
|
-
@property
|
|
2396
|
+
@_builtins.property
|
|
2398
2397
|
@pulumi.getter
|
|
2399
|
-
def type(self) -> pulumi.Input[
|
|
2398
|
+
def type(self) -> pulumi.Input[_builtins.str]:
|
|
2400
2399
|
"""
|
|
2401
2400
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2402
2401
|
"""
|
|
2403
2402
|
return pulumi.get(self, "type")
|
|
2404
2403
|
|
|
2405
2404
|
@type.setter
|
|
2406
|
-
def type(self, value: pulumi.Input[
|
|
2405
|
+
def type(self, value: pulumi.Input[_builtins.str]):
|
|
2407
2406
|
pulumi.set(self, "type", value)
|
|
2408
2407
|
|
|
2409
|
-
@property
|
|
2408
|
+
@_builtins.property
|
|
2410
2409
|
@pulumi.getter(name="averageUtilization")
|
|
2411
|
-
def average_utilization(self) -> Optional[pulumi.Input[
|
|
2410
|
+
def average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2412
2411
|
"""
|
|
2413
2412
|
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2414
2413
|
"""
|
|
2415
2414
|
return pulumi.get(self, "average_utilization")
|
|
2416
2415
|
|
|
2417
2416
|
@average_utilization.setter
|
|
2418
|
-
def average_utilization(self, value: Optional[pulumi.Input[
|
|
2417
|
+
def average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2419
2418
|
pulumi.set(self, "average_utilization", value)
|
|
2420
2419
|
|
|
2421
|
-
@property
|
|
2420
|
+
@_builtins.property
|
|
2422
2421
|
@pulumi.getter(name="averageValue")
|
|
2423
|
-
def average_value(self) -> Optional[pulumi.Input[
|
|
2422
|
+
def average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2424
2423
|
"""
|
|
2425
2424
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2426
2425
|
"""
|
|
2427
2426
|
return pulumi.get(self, "average_value")
|
|
2428
2427
|
|
|
2429
2428
|
@average_value.setter
|
|
2430
|
-
def average_value(self, value: Optional[pulumi.Input[
|
|
2429
|
+
def average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2431
2430
|
pulumi.set(self, "average_value", value)
|
|
2432
2431
|
|
|
2433
|
-
@property
|
|
2432
|
+
@_builtins.property
|
|
2434
2433
|
@pulumi.getter
|
|
2435
|
-
def value(self) -> Optional[pulumi.Input[
|
|
2434
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2436
2435
|
"""
|
|
2437
2436
|
value is the target value of the metric (as a quantity).
|
|
2438
2437
|
"""
|
|
2439
2438
|
return pulumi.get(self, "value")
|
|
2440
2439
|
|
|
2441
2440
|
@value.setter
|
|
2442
|
-
def value(self, value: Optional[pulumi.Input[
|
|
2441
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2443
2442
|
pulumi.set(self, "value", value)
|
|
2444
2443
|
|
|
2445
2444
|
|
|
@@ -2448,15 +2447,15 @@ if not MYPY:
|
|
|
2448
2447
|
"""
|
|
2449
2448
|
MetricValueStatus holds the current value for a metric
|
|
2450
2449
|
"""
|
|
2451
|
-
average_utilization: NotRequired[pulumi.Input[
|
|
2450
|
+
average_utilization: NotRequired[pulumi.Input[_builtins.int]]
|
|
2452
2451
|
"""
|
|
2453
2452
|
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2454
2453
|
"""
|
|
2455
|
-
average_value: NotRequired[pulumi.Input[
|
|
2454
|
+
average_value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2456
2455
|
"""
|
|
2457
2456
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2458
2457
|
"""
|
|
2459
|
-
value: NotRequired[pulumi.Input[
|
|
2458
|
+
value: NotRequired[pulumi.Input[_builtins.str]]
|
|
2460
2459
|
"""
|
|
2461
2460
|
value is the current value of the metric (as a quantity).
|
|
2462
2461
|
"""
|
|
@@ -2466,14 +2465,14 @@ elif False:
|
|
|
2466
2465
|
@pulumi.input_type
|
|
2467
2466
|
class MetricValueStatusArgs:
|
|
2468
2467
|
def __init__(__self__, *,
|
|
2469
|
-
average_utilization: Optional[pulumi.Input[
|
|
2470
|
-
average_value: Optional[pulumi.Input[
|
|
2471
|
-
value: Optional[pulumi.Input[
|
|
2468
|
+
average_utilization: Optional[pulumi.Input[_builtins.int]] = None,
|
|
2469
|
+
average_value: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2470
|
+
value: Optional[pulumi.Input[_builtins.str]] = None):
|
|
2472
2471
|
"""
|
|
2473
2472
|
MetricValueStatus holds the current value for a metric
|
|
2474
|
-
:param pulumi.Input[
|
|
2475
|
-
:param pulumi.Input[
|
|
2476
|
-
:param pulumi.Input[
|
|
2473
|
+
:param pulumi.Input[_builtins.int] average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2474
|
+
:param pulumi.Input[_builtins.str] average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2475
|
+
:param pulumi.Input[_builtins.str] value: value is the current value of the metric (as a quantity).
|
|
2477
2476
|
"""
|
|
2478
2477
|
if average_utilization is not None:
|
|
2479
2478
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2482,40 +2481,40 @@ class MetricValueStatusArgs:
|
|
|
2482
2481
|
if value is not None:
|
|
2483
2482
|
pulumi.set(__self__, "value", value)
|
|
2484
2483
|
|
|
2485
|
-
@property
|
|
2484
|
+
@_builtins.property
|
|
2486
2485
|
@pulumi.getter(name="averageUtilization")
|
|
2487
|
-
def average_utilization(self) -> Optional[pulumi.Input[
|
|
2486
|
+
def average_utilization(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
2488
2487
|
"""
|
|
2489
2488
|
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2490
2489
|
"""
|
|
2491
2490
|
return pulumi.get(self, "average_utilization")
|
|
2492
2491
|
|
|
2493
2492
|
@average_utilization.setter
|
|
2494
|
-
def average_utilization(self, value: Optional[pulumi.Input[
|
|
2493
|
+
def average_utilization(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
2495
2494
|
pulumi.set(self, "average_utilization", value)
|
|
2496
2495
|
|
|
2497
|
-
@property
|
|
2496
|
+
@_builtins.property
|
|
2498
2497
|
@pulumi.getter(name="averageValue")
|
|
2499
|
-
def average_value(self) -> Optional[pulumi.Input[
|
|
2498
|
+
def average_value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2500
2499
|
"""
|
|
2501
2500
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2502
2501
|
"""
|
|
2503
2502
|
return pulumi.get(self, "average_value")
|
|
2504
2503
|
|
|
2505
2504
|
@average_value.setter
|
|
2506
|
-
def average_value(self, value: Optional[pulumi.Input[
|
|
2505
|
+
def average_value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2507
2506
|
pulumi.set(self, "average_value", value)
|
|
2508
2507
|
|
|
2509
|
-
@property
|
|
2508
|
+
@_builtins.property
|
|
2510
2509
|
@pulumi.getter
|
|
2511
|
-
def value(self) -> Optional[pulumi.Input[
|
|
2510
|
+
def value(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2512
2511
|
"""
|
|
2513
2512
|
value is the current value of the metric (as a quantity).
|
|
2514
2513
|
"""
|
|
2515
2514
|
return pulumi.get(self, "value")
|
|
2516
2515
|
|
|
2517
2516
|
@value.setter
|
|
2518
|
-
def value(self, value: Optional[pulumi.Input[
|
|
2517
|
+
def value(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2519
2518
|
pulumi.set(self, "value", value)
|
|
2520
2519
|
|
|
2521
2520
|
|
|
@@ -2558,7 +2557,7 @@ class ObjectMetricSourcePatchArgs:
|
|
|
2558
2557
|
if target is not None:
|
|
2559
2558
|
pulumi.set(__self__, "target", target)
|
|
2560
2559
|
|
|
2561
|
-
@property
|
|
2560
|
+
@_builtins.property
|
|
2562
2561
|
@pulumi.getter(name="describedObject")
|
|
2563
2562
|
def described_object(self) -> Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']]:
|
|
2564
2563
|
"""
|
|
@@ -2570,7 +2569,7 @@ class ObjectMetricSourcePatchArgs:
|
|
|
2570
2569
|
def described_object(self, value: Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']]):
|
|
2571
2570
|
pulumi.set(self, "described_object", value)
|
|
2572
2571
|
|
|
2573
|
-
@property
|
|
2572
|
+
@_builtins.property
|
|
2574
2573
|
@pulumi.getter
|
|
2575
2574
|
def metric(self) -> Optional[pulumi.Input['MetricIdentifierPatchArgs']]:
|
|
2576
2575
|
"""
|
|
@@ -2582,7 +2581,7 @@ class ObjectMetricSourcePatchArgs:
|
|
|
2582
2581
|
def metric(self, value: Optional[pulumi.Input['MetricIdentifierPatchArgs']]):
|
|
2583
2582
|
pulumi.set(self, "metric", value)
|
|
2584
2583
|
|
|
2585
|
-
@property
|
|
2584
|
+
@_builtins.property
|
|
2586
2585
|
@pulumi.getter
|
|
2587
2586
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
2588
2587
|
"""
|
|
@@ -2631,7 +2630,7 @@ class ObjectMetricSourceArgs:
|
|
|
2631
2630
|
pulumi.set(__self__, "metric", metric)
|
|
2632
2631
|
pulumi.set(__self__, "target", target)
|
|
2633
2632
|
|
|
2634
|
-
@property
|
|
2633
|
+
@_builtins.property
|
|
2635
2634
|
@pulumi.getter(name="describedObject")
|
|
2636
2635
|
def described_object(self) -> pulumi.Input['CrossVersionObjectReferenceArgs']:
|
|
2637
2636
|
"""
|
|
@@ -2643,7 +2642,7 @@ class ObjectMetricSourceArgs:
|
|
|
2643
2642
|
def described_object(self, value: pulumi.Input['CrossVersionObjectReferenceArgs']):
|
|
2644
2643
|
pulumi.set(self, "described_object", value)
|
|
2645
2644
|
|
|
2646
|
-
@property
|
|
2645
|
+
@_builtins.property
|
|
2647
2646
|
@pulumi.getter
|
|
2648
2647
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
2649
2648
|
"""
|
|
@@ -2655,7 +2654,7 @@ class ObjectMetricSourceArgs:
|
|
|
2655
2654
|
def metric(self, value: pulumi.Input['MetricIdentifierArgs']):
|
|
2656
2655
|
pulumi.set(self, "metric", value)
|
|
2657
2656
|
|
|
2658
|
-
@property
|
|
2657
|
+
@_builtins.property
|
|
2659
2658
|
@pulumi.getter
|
|
2660
2659
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
2661
2660
|
"""
|
|
@@ -2704,7 +2703,7 @@ class ObjectMetricStatusArgs:
|
|
|
2704
2703
|
pulumi.set(__self__, "described_object", described_object)
|
|
2705
2704
|
pulumi.set(__self__, "metric", metric)
|
|
2706
2705
|
|
|
2707
|
-
@property
|
|
2706
|
+
@_builtins.property
|
|
2708
2707
|
@pulumi.getter
|
|
2709
2708
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
2710
2709
|
"""
|
|
@@ -2716,7 +2715,7 @@ class ObjectMetricStatusArgs:
|
|
|
2716
2715
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
2717
2716
|
pulumi.set(self, "current", value)
|
|
2718
2717
|
|
|
2719
|
-
@property
|
|
2718
|
+
@_builtins.property
|
|
2720
2719
|
@pulumi.getter(name="describedObject")
|
|
2721
2720
|
def described_object(self) -> pulumi.Input['CrossVersionObjectReferenceArgs']:
|
|
2722
2721
|
"""
|
|
@@ -2728,7 +2727,7 @@ class ObjectMetricStatusArgs:
|
|
|
2728
2727
|
def described_object(self, value: pulumi.Input['CrossVersionObjectReferenceArgs']):
|
|
2729
2728
|
pulumi.set(self, "described_object", value)
|
|
2730
2729
|
|
|
2731
|
-
@property
|
|
2730
|
+
@_builtins.property
|
|
2732
2731
|
@pulumi.getter
|
|
2733
2732
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
2734
2733
|
"""
|
|
@@ -2772,7 +2771,7 @@ class PodsMetricSourcePatchArgs:
|
|
|
2772
2771
|
if target is not None:
|
|
2773
2772
|
pulumi.set(__self__, "target", target)
|
|
2774
2773
|
|
|
2775
|
-
@property
|
|
2774
|
+
@_builtins.property
|
|
2776
2775
|
@pulumi.getter
|
|
2777
2776
|
def metric(self) -> Optional[pulumi.Input['MetricIdentifierPatchArgs']]:
|
|
2778
2777
|
"""
|
|
@@ -2784,7 +2783,7 @@ class PodsMetricSourcePatchArgs:
|
|
|
2784
2783
|
def metric(self, value: Optional[pulumi.Input['MetricIdentifierPatchArgs']]):
|
|
2785
2784
|
pulumi.set(self, "metric", value)
|
|
2786
2785
|
|
|
2787
|
-
@property
|
|
2786
|
+
@_builtins.property
|
|
2788
2787
|
@pulumi.getter
|
|
2789
2788
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
2790
2789
|
"""
|
|
@@ -2826,7 +2825,7 @@ class PodsMetricSourceArgs:
|
|
|
2826
2825
|
pulumi.set(__self__, "metric", metric)
|
|
2827
2826
|
pulumi.set(__self__, "target", target)
|
|
2828
2827
|
|
|
2829
|
-
@property
|
|
2828
|
+
@_builtins.property
|
|
2830
2829
|
@pulumi.getter
|
|
2831
2830
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
2832
2831
|
"""
|
|
@@ -2838,7 +2837,7 @@ class PodsMetricSourceArgs:
|
|
|
2838
2837
|
def metric(self, value: pulumi.Input['MetricIdentifierArgs']):
|
|
2839
2838
|
pulumi.set(self, "metric", value)
|
|
2840
2839
|
|
|
2841
|
-
@property
|
|
2840
|
+
@_builtins.property
|
|
2842
2841
|
@pulumi.getter
|
|
2843
2842
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
2844
2843
|
"""
|
|
@@ -2880,7 +2879,7 @@ class PodsMetricStatusArgs:
|
|
|
2880
2879
|
pulumi.set(__self__, "current", current)
|
|
2881
2880
|
pulumi.set(__self__, "metric", metric)
|
|
2882
2881
|
|
|
2883
|
-
@property
|
|
2882
|
+
@_builtins.property
|
|
2884
2883
|
@pulumi.getter
|
|
2885
2884
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
2886
2885
|
"""
|
|
@@ -2892,7 +2891,7 @@ class PodsMetricStatusArgs:
|
|
|
2892
2891
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
2893
2892
|
pulumi.set(self, "current", value)
|
|
2894
2893
|
|
|
2895
|
-
@property
|
|
2894
|
+
@_builtins.property
|
|
2896
2895
|
@pulumi.getter
|
|
2897
2896
|
def metric(self) -> pulumi.Input['MetricIdentifierArgs']:
|
|
2898
2897
|
"""
|
|
@@ -2910,7 +2909,7 @@ if not MYPY:
|
|
|
2910
2909
|
"""
|
|
2911
2910
|
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
2912
2911
|
"""
|
|
2913
|
-
name: NotRequired[pulumi.Input[
|
|
2912
|
+
name: NotRequired[pulumi.Input[_builtins.str]]
|
|
2914
2913
|
"""
|
|
2915
2914
|
name is the name of the resource in question.
|
|
2916
2915
|
"""
|
|
@@ -2924,11 +2923,11 @@ elif False:
|
|
|
2924
2923
|
@pulumi.input_type
|
|
2925
2924
|
class ResourceMetricSourcePatchArgs:
|
|
2926
2925
|
def __init__(__self__, *,
|
|
2927
|
-
name: Optional[pulumi.Input[
|
|
2926
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
2928
2927
|
target: Optional[pulumi.Input['MetricTargetPatchArgs']] = None):
|
|
2929
2928
|
"""
|
|
2930
2929
|
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
2931
|
-
:param pulumi.Input[
|
|
2930
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
2932
2931
|
:param pulumi.Input['MetricTargetPatchArgs'] target: target specifies the target value for the given metric
|
|
2933
2932
|
"""
|
|
2934
2933
|
if name is not None:
|
|
@@ -2936,19 +2935,19 @@ class ResourceMetricSourcePatchArgs:
|
|
|
2936
2935
|
if target is not None:
|
|
2937
2936
|
pulumi.set(__self__, "target", target)
|
|
2938
2937
|
|
|
2939
|
-
@property
|
|
2938
|
+
@_builtins.property
|
|
2940
2939
|
@pulumi.getter
|
|
2941
|
-
def name(self) -> Optional[pulumi.Input[
|
|
2940
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
2942
2941
|
"""
|
|
2943
2942
|
name is the name of the resource in question.
|
|
2944
2943
|
"""
|
|
2945
2944
|
return pulumi.get(self, "name")
|
|
2946
2945
|
|
|
2947
2946
|
@name.setter
|
|
2948
|
-
def name(self, value: Optional[pulumi.Input[
|
|
2947
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
2949
2948
|
pulumi.set(self, "name", value)
|
|
2950
2949
|
|
|
2951
|
-
@property
|
|
2950
|
+
@_builtins.property
|
|
2952
2951
|
@pulumi.getter
|
|
2953
2952
|
def target(self) -> Optional[pulumi.Input['MetricTargetPatchArgs']]:
|
|
2954
2953
|
"""
|
|
@@ -2966,7 +2965,7 @@ if not MYPY:
|
|
|
2966
2965
|
"""
|
|
2967
2966
|
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
2968
2967
|
"""
|
|
2969
|
-
name: pulumi.Input[
|
|
2968
|
+
name: pulumi.Input[_builtins.str]
|
|
2970
2969
|
"""
|
|
2971
2970
|
name is the name of the resource in question.
|
|
2972
2971
|
"""
|
|
@@ -2980,29 +2979,29 @@ elif False:
|
|
|
2980
2979
|
@pulumi.input_type
|
|
2981
2980
|
class ResourceMetricSourceArgs:
|
|
2982
2981
|
def __init__(__self__, *,
|
|
2983
|
-
name: pulumi.Input[
|
|
2982
|
+
name: pulumi.Input[_builtins.str],
|
|
2984
2983
|
target: pulumi.Input['MetricTargetArgs']):
|
|
2985
2984
|
"""
|
|
2986
2985
|
ResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
2987
|
-
:param pulumi.Input[
|
|
2986
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
2988
2987
|
:param pulumi.Input['MetricTargetArgs'] target: target specifies the target value for the given metric
|
|
2989
2988
|
"""
|
|
2990
2989
|
pulumi.set(__self__, "name", name)
|
|
2991
2990
|
pulumi.set(__self__, "target", target)
|
|
2992
2991
|
|
|
2993
|
-
@property
|
|
2992
|
+
@_builtins.property
|
|
2994
2993
|
@pulumi.getter
|
|
2995
|
-
def name(self) -> pulumi.Input[
|
|
2994
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
2996
2995
|
"""
|
|
2997
2996
|
name is the name of the resource in question.
|
|
2998
2997
|
"""
|
|
2999
2998
|
return pulumi.get(self, "name")
|
|
3000
2999
|
|
|
3001
3000
|
@name.setter
|
|
3002
|
-
def name(self, value: pulumi.Input[
|
|
3001
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
3003
3002
|
pulumi.set(self, "name", value)
|
|
3004
3003
|
|
|
3005
|
-
@property
|
|
3004
|
+
@_builtins.property
|
|
3006
3005
|
@pulumi.getter
|
|
3007
3006
|
def target(self) -> pulumi.Input['MetricTargetArgs']:
|
|
3008
3007
|
"""
|
|
@@ -3024,7 +3023,7 @@ if not MYPY:
|
|
|
3024
3023
|
"""
|
|
3025
3024
|
current contains the current value for the given metric
|
|
3026
3025
|
"""
|
|
3027
|
-
name: pulumi.Input[
|
|
3026
|
+
name: pulumi.Input[_builtins.str]
|
|
3028
3027
|
"""
|
|
3029
3028
|
name is the name of the resource in question.
|
|
3030
3029
|
"""
|
|
@@ -3035,16 +3034,16 @@ elif False:
|
|
|
3035
3034
|
class ResourceMetricStatusArgs:
|
|
3036
3035
|
def __init__(__self__, *,
|
|
3037
3036
|
current: pulumi.Input['MetricValueStatusArgs'],
|
|
3038
|
-
name: pulumi.Input[
|
|
3037
|
+
name: pulumi.Input[_builtins.str]):
|
|
3039
3038
|
"""
|
|
3040
3039
|
ResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
3041
3040
|
:param pulumi.Input['MetricValueStatusArgs'] current: current contains the current value for the given metric
|
|
3042
|
-
:param pulumi.Input[
|
|
3041
|
+
:param pulumi.Input[_builtins.str] name: name is the name of the resource in question.
|
|
3043
3042
|
"""
|
|
3044
3043
|
pulumi.set(__self__, "current", current)
|
|
3045
3044
|
pulumi.set(__self__, "name", name)
|
|
3046
3045
|
|
|
3047
|
-
@property
|
|
3046
|
+
@_builtins.property
|
|
3048
3047
|
@pulumi.getter
|
|
3049
3048
|
def current(self) -> pulumi.Input['MetricValueStatusArgs']:
|
|
3050
3049
|
"""
|
|
@@ -3056,16 +3055,16 @@ class ResourceMetricStatusArgs:
|
|
|
3056
3055
|
def current(self, value: pulumi.Input['MetricValueStatusArgs']):
|
|
3057
3056
|
pulumi.set(self, "current", value)
|
|
3058
3057
|
|
|
3059
|
-
@property
|
|
3058
|
+
@_builtins.property
|
|
3060
3059
|
@pulumi.getter
|
|
3061
|
-
def name(self) -> pulumi.Input[
|
|
3060
|
+
def name(self) -> pulumi.Input[_builtins.str]:
|
|
3062
3061
|
"""
|
|
3063
3062
|
name is the name of the resource in question.
|
|
3064
3063
|
"""
|
|
3065
3064
|
return pulumi.get(self, "name")
|
|
3066
3065
|
|
|
3067
3066
|
@name.setter
|
|
3068
|
-
def name(self, value: pulumi.Input[
|
|
3067
|
+
def name(self, value: pulumi.Input[_builtins.str]):
|
|
3069
3068
|
pulumi.set(self, "name", value)
|
|
3070
3069
|
|
|
3071
3070
|
|