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
|
|
@@ -78,16 +77,16 @@ class ContainerResourceMetricSource(dict):
|
|
|
78
77
|
return super().get(key, default)
|
|
79
78
|
|
|
80
79
|
def __init__(__self__, *,
|
|
81
|
-
container:
|
|
82
|
-
name:
|
|
83
|
-
target_average_utilization: Optional[
|
|
84
|
-
target_average_value: Optional[
|
|
80
|
+
container: _builtins.str,
|
|
81
|
+
name: _builtins.str,
|
|
82
|
+
target_average_utilization: Optional[_builtins.int] = None,
|
|
83
|
+
target_average_value: Optional[_builtins.str] = None):
|
|
85
84
|
"""
|
|
86
85
|
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.
|
|
87
|
-
:param
|
|
88
|
-
:param
|
|
89
|
-
:param
|
|
90
|
-
:param
|
|
86
|
+
:param _builtins.str container: container is the name of the container in the pods of the scaling target
|
|
87
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
88
|
+
:param _builtins.int target_average_utilization: targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
89
|
+
:param _builtins.str target_average_value: targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
91
90
|
"""
|
|
92
91
|
pulumi.set(__self__, "container", container)
|
|
93
92
|
pulumi.set(__self__, "name", name)
|
|
@@ -96,33 +95,33 @@ class ContainerResourceMetricSource(dict):
|
|
|
96
95
|
if target_average_value is not None:
|
|
97
96
|
pulumi.set(__self__, "target_average_value", target_average_value)
|
|
98
97
|
|
|
99
|
-
@property
|
|
98
|
+
@_builtins.property
|
|
100
99
|
@pulumi.getter
|
|
101
|
-
def container(self) ->
|
|
100
|
+
def container(self) -> _builtins.str:
|
|
102
101
|
"""
|
|
103
102
|
container is the name of the container in the pods of the scaling target
|
|
104
103
|
"""
|
|
105
104
|
return pulumi.get(self, "container")
|
|
106
105
|
|
|
107
|
-
@property
|
|
106
|
+
@_builtins.property
|
|
108
107
|
@pulumi.getter
|
|
109
|
-
def name(self) ->
|
|
108
|
+
def name(self) -> _builtins.str:
|
|
110
109
|
"""
|
|
111
110
|
name is the name of the resource in question.
|
|
112
111
|
"""
|
|
113
112
|
return pulumi.get(self, "name")
|
|
114
113
|
|
|
115
|
-
@property
|
|
114
|
+
@_builtins.property
|
|
116
115
|
@pulumi.getter(name="targetAverageUtilization")
|
|
117
|
-
def target_average_utilization(self) -> Optional[
|
|
116
|
+
def target_average_utilization(self) -> Optional[_builtins.int]:
|
|
118
117
|
"""
|
|
119
118
|
targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
120
119
|
"""
|
|
121
120
|
return pulumi.get(self, "target_average_utilization")
|
|
122
121
|
|
|
123
|
-
@property
|
|
122
|
+
@_builtins.property
|
|
124
123
|
@pulumi.getter(name="targetAverageValue")
|
|
125
|
-
def target_average_value(self) -> Optional[
|
|
124
|
+
def target_average_value(self) -> Optional[_builtins.str]:
|
|
126
125
|
"""
|
|
127
126
|
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
128
127
|
"""
|
|
@@ -154,16 +153,16 @@ class ContainerResourceMetricSourcePatch(dict):
|
|
|
154
153
|
return super().get(key, default)
|
|
155
154
|
|
|
156
155
|
def __init__(__self__, *,
|
|
157
|
-
container: Optional[
|
|
158
|
-
name: Optional[
|
|
159
|
-
target_average_utilization: Optional[
|
|
160
|
-
target_average_value: Optional[
|
|
156
|
+
container: Optional[_builtins.str] = None,
|
|
157
|
+
name: Optional[_builtins.str] = None,
|
|
158
|
+
target_average_utilization: Optional[_builtins.int] = None,
|
|
159
|
+
target_average_value: Optional[_builtins.str] = None):
|
|
161
160
|
"""
|
|
162
161
|
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.
|
|
163
|
-
:param
|
|
164
|
-
:param
|
|
165
|
-
:param
|
|
166
|
-
:param
|
|
162
|
+
:param _builtins.str container: container is the name of the container in the pods of the scaling target
|
|
163
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
164
|
+
:param _builtins.int target_average_utilization: targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
165
|
+
:param _builtins.str target_average_value: targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
167
166
|
"""
|
|
168
167
|
if container is not None:
|
|
169
168
|
pulumi.set(__self__, "container", container)
|
|
@@ -174,33 +173,33 @@ class ContainerResourceMetricSourcePatch(dict):
|
|
|
174
173
|
if target_average_value is not None:
|
|
175
174
|
pulumi.set(__self__, "target_average_value", target_average_value)
|
|
176
175
|
|
|
177
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
178
177
|
@pulumi.getter
|
|
179
|
-
def container(self) -> Optional[
|
|
178
|
+
def container(self) -> Optional[_builtins.str]:
|
|
180
179
|
"""
|
|
181
180
|
container is the name of the container in the pods of the scaling target
|
|
182
181
|
"""
|
|
183
182
|
return pulumi.get(self, "container")
|
|
184
183
|
|
|
185
|
-
@property
|
|
184
|
+
@_builtins.property
|
|
186
185
|
@pulumi.getter
|
|
187
|
-
def name(self) -> Optional[
|
|
186
|
+
def name(self) -> Optional[_builtins.str]:
|
|
188
187
|
"""
|
|
189
188
|
name is the name of the resource in question.
|
|
190
189
|
"""
|
|
191
190
|
return pulumi.get(self, "name")
|
|
192
191
|
|
|
193
|
-
@property
|
|
192
|
+
@_builtins.property
|
|
194
193
|
@pulumi.getter(name="targetAverageUtilization")
|
|
195
|
-
def target_average_utilization(self) -> Optional[
|
|
194
|
+
def target_average_utilization(self) -> Optional[_builtins.int]:
|
|
196
195
|
"""
|
|
197
196
|
targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
198
197
|
"""
|
|
199
198
|
return pulumi.get(self, "target_average_utilization")
|
|
200
199
|
|
|
201
|
-
@property
|
|
200
|
+
@_builtins.property
|
|
202
201
|
@pulumi.getter(name="targetAverageValue")
|
|
203
|
-
def target_average_value(self) -> Optional[
|
|
202
|
+
def target_average_value(self) -> Optional[_builtins.str]:
|
|
204
203
|
"""
|
|
205
204
|
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
206
205
|
"""
|
|
@@ -232,16 +231,16 @@ class ContainerResourceMetricStatus(dict):
|
|
|
232
231
|
return super().get(key, default)
|
|
233
232
|
|
|
234
233
|
def __init__(__self__, *,
|
|
235
|
-
container:
|
|
236
|
-
current_average_value:
|
|
237
|
-
name:
|
|
238
|
-
current_average_utilization: Optional[
|
|
234
|
+
container: _builtins.str,
|
|
235
|
+
current_average_value: _builtins.str,
|
|
236
|
+
name: _builtins.str,
|
|
237
|
+
current_average_utilization: Optional[_builtins.int] = None):
|
|
239
238
|
"""
|
|
240
239
|
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.
|
|
241
|
-
:param
|
|
242
|
-
:param
|
|
243
|
-
:param
|
|
244
|
-
:param
|
|
240
|
+
:param _builtins.str container: container is the name of the container in the pods of the scaling target
|
|
241
|
+
:param _builtins.str current_average_value: currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
242
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
243
|
+
:param _builtins.int current_average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
245
244
|
"""
|
|
246
245
|
pulumi.set(__self__, "container", container)
|
|
247
246
|
pulumi.set(__self__, "current_average_value", current_average_value)
|
|
@@ -249,33 +248,33 @@ class ContainerResourceMetricStatus(dict):
|
|
|
249
248
|
if current_average_utilization is not None:
|
|
250
249
|
pulumi.set(__self__, "current_average_utilization", current_average_utilization)
|
|
251
250
|
|
|
252
|
-
@property
|
|
251
|
+
@_builtins.property
|
|
253
252
|
@pulumi.getter
|
|
254
|
-
def container(self) ->
|
|
253
|
+
def container(self) -> _builtins.str:
|
|
255
254
|
"""
|
|
256
255
|
container is the name of the container in the pods of the scaling target
|
|
257
256
|
"""
|
|
258
257
|
return pulumi.get(self, "container")
|
|
259
258
|
|
|
260
|
-
@property
|
|
259
|
+
@_builtins.property
|
|
261
260
|
@pulumi.getter(name="currentAverageValue")
|
|
262
|
-
def current_average_value(self) ->
|
|
261
|
+
def current_average_value(self) -> _builtins.str:
|
|
263
262
|
"""
|
|
264
263
|
currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
265
264
|
"""
|
|
266
265
|
return pulumi.get(self, "current_average_value")
|
|
267
266
|
|
|
268
|
-
@property
|
|
267
|
+
@_builtins.property
|
|
269
268
|
@pulumi.getter
|
|
270
|
-
def name(self) ->
|
|
269
|
+
def name(self) -> _builtins.str:
|
|
271
270
|
"""
|
|
272
271
|
name is the name of the resource in question.
|
|
273
272
|
"""
|
|
274
273
|
return pulumi.get(self, "name")
|
|
275
274
|
|
|
276
|
-
@property
|
|
275
|
+
@_builtins.property
|
|
277
276
|
@pulumi.getter(name="currentAverageUtilization")
|
|
278
|
-
def current_average_utilization(self) -> Optional[
|
|
277
|
+
def current_average_utilization(self) -> Optional[_builtins.int]:
|
|
279
278
|
"""
|
|
280
279
|
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
281
280
|
"""
|
|
@@ -307,16 +306,16 @@ class ContainerResourceMetricStatusPatch(dict):
|
|
|
307
306
|
return super().get(key, default)
|
|
308
307
|
|
|
309
308
|
def __init__(__self__, *,
|
|
310
|
-
container: Optional[
|
|
311
|
-
current_average_utilization: Optional[
|
|
312
|
-
current_average_value: Optional[
|
|
313
|
-
name: Optional[
|
|
309
|
+
container: Optional[_builtins.str] = None,
|
|
310
|
+
current_average_utilization: Optional[_builtins.int] = None,
|
|
311
|
+
current_average_value: Optional[_builtins.str] = None,
|
|
312
|
+
name: Optional[_builtins.str] = None):
|
|
314
313
|
"""
|
|
315
314
|
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.
|
|
316
|
-
:param
|
|
317
|
-
:param
|
|
318
|
-
:param
|
|
319
|
-
:param
|
|
315
|
+
:param _builtins.str container: container is the name of the container in the pods of the scaling target
|
|
316
|
+
:param _builtins.int current_average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
317
|
+
:param _builtins.str current_average_value: currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
318
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
320
319
|
"""
|
|
321
320
|
if container is not None:
|
|
322
321
|
pulumi.set(__self__, "container", container)
|
|
@@ -327,33 +326,33 @@ class ContainerResourceMetricStatusPatch(dict):
|
|
|
327
326
|
if name is not None:
|
|
328
327
|
pulumi.set(__self__, "name", name)
|
|
329
328
|
|
|
330
|
-
@property
|
|
329
|
+
@_builtins.property
|
|
331
330
|
@pulumi.getter
|
|
332
|
-
def container(self) -> Optional[
|
|
331
|
+
def container(self) -> Optional[_builtins.str]:
|
|
333
332
|
"""
|
|
334
333
|
container is the name of the container in the pods of the scaling target
|
|
335
334
|
"""
|
|
336
335
|
return pulumi.get(self, "container")
|
|
337
336
|
|
|
338
|
-
@property
|
|
337
|
+
@_builtins.property
|
|
339
338
|
@pulumi.getter(name="currentAverageUtilization")
|
|
340
|
-
def current_average_utilization(self) -> Optional[
|
|
339
|
+
def current_average_utilization(self) -> Optional[_builtins.int]:
|
|
341
340
|
"""
|
|
342
341
|
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
343
342
|
"""
|
|
344
343
|
return pulumi.get(self, "current_average_utilization")
|
|
345
344
|
|
|
346
|
-
@property
|
|
345
|
+
@_builtins.property
|
|
347
346
|
@pulumi.getter(name="currentAverageValue")
|
|
348
|
-
def current_average_value(self) -> Optional[
|
|
347
|
+
def current_average_value(self) -> Optional[_builtins.str]:
|
|
349
348
|
"""
|
|
350
349
|
currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
351
350
|
"""
|
|
352
351
|
return pulumi.get(self, "current_average_value")
|
|
353
352
|
|
|
354
|
-
@property
|
|
353
|
+
@_builtins.property
|
|
355
354
|
@pulumi.getter
|
|
356
|
-
def name(self) -> Optional[
|
|
355
|
+
def name(self) -> Optional[_builtins.str]:
|
|
357
356
|
"""
|
|
358
357
|
name is the name of the resource in question.
|
|
359
358
|
"""
|
|
@@ -383,39 +382,39 @@ class CrossVersionObjectReference(dict):
|
|
|
383
382
|
return super().get(key, default)
|
|
384
383
|
|
|
385
384
|
def __init__(__self__, *,
|
|
386
|
-
kind:
|
|
387
|
-
name:
|
|
388
|
-
api_version: Optional[
|
|
385
|
+
kind: _builtins.str,
|
|
386
|
+
name: _builtins.str,
|
|
387
|
+
api_version: Optional[_builtins.str] = None):
|
|
389
388
|
"""
|
|
390
389
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
391
|
-
:param
|
|
392
|
-
:param
|
|
393
|
-
:param
|
|
390
|
+
:param _builtins.str kind: Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
391
|
+
:param _builtins.str name: Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
392
|
+
:param _builtins.str api_version: API version of the referent
|
|
394
393
|
"""
|
|
395
394
|
pulumi.set(__self__, "kind", kind)
|
|
396
395
|
pulumi.set(__self__, "name", name)
|
|
397
396
|
if api_version is not None:
|
|
398
397
|
pulumi.set(__self__, "api_version", api_version)
|
|
399
398
|
|
|
400
|
-
@property
|
|
399
|
+
@_builtins.property
|
|
401
400
|
@pulumi.getter
|
|
402
|
-
def kind(self) ->
|
|
401
|
+
def kind(self) -> _builtins.str:
|
|
403
402
|
"""
|
|
404
403
|
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
405
404
|
"""
|
|
406
405
|
return pulumi.get(self, "kind")
|
|
407
406
|
|
|
408
|
-
@property
|
|
407
|
+
@_builtins.property
|
|
409
408
|
@pulumi.getter
|
|
410
|
-
def name(self) ->
|
|
409
|
+
def name(self) -> _builtins.str:
|
|
411
410
|
"""
|
|
412
411
|
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
413
412
|
"""
|
|
414
413
|
return pulumi.get(self, "name")
|
|
415
414
|
|
|
416
|
-
@property
|
|
415
|
+
@_builtins.property
|
|
417
416
|
@pulumi.getter(name="apiVersion")
|
|
418
|
-
def api_version(self) -> Optional[
|
|
417
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
419
418
|
"""
|
|
420
419
|
API version of the referent
|
|
421
420
|
"""
|
|
@@ -445,14 +444,14 @@ class CrossVersionObjectReferencePatch(dict):
|
|
|
445
444
|
return super().get(key, default)
|
|
446
445
|
|
|
447
446
|
def __init__(__self__, *,
|
|
448
|
-
api_version: Optional[
|
|
449
|
-
kind: Optional[
|
|
450
|
-
name: Optional[
|
|
447
|
+
api_version: Optional[_builtins.str] = None,
|
|
448
|
+
kind: Optional[_builtins.str] = None,
|
|
449
|
+
name: Optional[_builtins.str] = None):
|
|
451
450
|
"""
|
|
452
451
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
453
|
-
:param
|
|
454
|
-
:param
|
|
455
|
-
:param
|
|
452
|
+
:param _builtins.str api_version: API version of the referent
|
|
453
|
+
:param _builtins.str kind: Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
454
|
+
:param _builtins.str name: Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
456
455
|
"""
|
|
457
456
|
if api_version is not None:
|
|
458
457
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -461,25 +460,25 @@ class CrossVersionObjectReferencePatch(dict):
|
|
|
461
460
|
if name is not None:
|
|
462
461
|
pulumi.set(__self__, "name", name)
|
|
463
462
|
|
|
464
|
-
@property
|
|
463
|
+
@_builtins.property
|
|
465
464
|
@pulumi.getter(name="apiVersion")
|
|
466
|
-
def api_version(self) -> Optional[
|
|
465
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
467
466
|
"""
|
|
468
467
|
API version of the referent
|
|
469
468
|
"""
|
|
470
469
|
return pulumi.get(self, "api_version")
|
|
471
470
|
|
|
472
|
-
@property
|
|
471
|
+
@_builtins.property
|
|
473
472
|
@pulumi.getter
|
|
474
|
-
def kind(self) -> Optional[
|
|
473
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
475
474
|
"""
|
|
476
475
|
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
477
476
|
"""
|
|
478
477
|
return pulumi.get(self, "kind")
|
|
479
478
|
|
|
480
|
-
@property
|
|
479
|
+
@_builtins.property
|
|
481
480
|
@pulumi.getter
|
|
482
|
-
def name(self) -> Optional[
|
|
481
|
+
def name(self) -> Optional[_builtins.str]:
|
|
483
482
|
"""
|
|
484
483
|
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
485
484
|
"""
|
|
@@ -515,16 +514,16 @@ class ExternalMetricSource(dict):
|
|
|
515
514
|
return super().get(key, default)
|
|
516
515
|
|
|
517
516
|
def __init__(__self__, *,
|
|
518
|
-
metric_name:
|
|
517
|
+
metric_name: _builtins.str,
|
|
519
518
|
metric_selector: Optional['_meta.v1.outputs.LabelSelector'] = None,
|
|
520
|
-
target_average_value: Optional[
|
|
521
|
-
target_value: Optional[
|
|
519
|
+
target_average_value: Optional[_builtins.str] = None,
|
|
520
|
+
target_value: Optional[_builtins.str] = None):
|
|
522
521
|
"""
|
|
523
522
|
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
|
|
524
|
-
:param
|
|
523
|
+
:param _builtins.str metric_name: metricName is the name of the metric in question.
|
|
525
524
|
:param '_meta.v1.LabelSelectorArgs' metric_selector: metricSelector is used to identify a specific time series within a given metric.
|
|
526
|
-
:param
|
|
527
|
-
:param
|
|
525
|
+
:param _builtins.str target_average_value: targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
|
|
526
|
+
:param _builtins.str target_value: targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
|
|
528
527
|
"""
|
|
529
528
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
530
529
|
if metric_selector is not None:
|
|
@@ -534,15 +533,15 @@ class ExternalMetricSource(dict):
|
|
|
534
533
|
if target_value is not None:
|
|
535
534
|
pulumi.set(__self__, "target_value", target_value)
|
|
536
535
|
|
|
537
|
-
@property
|
|
536
|
+
@_builtins.property
|
|
538
537
|
@pulumi.getter(name="metricName")
|
|
539
|
-
def metric_name(self) ->
|
|
538
|
+
def metric_name(self) -> _builtins.str:
|
|
540
539
|
"""
|
|
541
540
|
metricName is the name of the metric in question.
|
|
542
541
|
"""
|
|
543
542
|
return pulumi.get(self, "metric_name")
|
|
544
543
|
|
|
545
|
-
@property
|
|
544
|
+
@_builtins.property
|
|
546
545
|
@pulumi.getter(name="metricSelector")
|
|
547
546
|
def metric_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
548
547
|
"""
|
|
@@ -550,17 +549,17 @@ class ExternalMetricSource(dict):
|
|
|
550
549
|
"""
|
|
551
550
|
return pulumi.get(self, "metric_selector")
|
|
552
551
|
|
|
553
|
-
@property
|
|
552
|
+
@_builtins.property
|
|
554
553
|
@pulumi.getter(name="targetAverageValue")
|
|
555
|
-
def target_average_value(self) -> Optional[
|
|
554
|
+
def target_average_value(self) -> Optional[_builtins.str]:
|
|
556
555
|
"""
|
|
557
556
|
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
|
|
558
557
|
"""
|
|
559
558
|
return pulumi.get(self, "target_average_value")
|
|
560
559
|
|
|
561
|
-
@property
|
|
560
|
+
@_builtins.property
|
|
562
561
|
@pulumi.getter(name="targetValue")
|
|
563
|
-
def target_value(self) -> Optional[
|
|
562
|
+
def target_value(self) -> Optional[_builtins.str]:
|
|
564
563
|
"""
|
|
565
564
|
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
|
|
566
565
|
"""
|
|
@@ -596,16 +595,16 @@ class ExternalMetricSourcePatch(dict):
|
|
|
596
595
|
return super().get(key, default)
|
|
597
596
|
|
|
598
597
|
def __init__(__self__, *,
|
|
599
|
-
metric_name: Optional[
|
|
598
|
+
metric_name: Optional[_builtins.str] = None,
|
|
600
599
|
metric_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
601
|
-
target_average_value: Optional[
|
|
602
|
-
target_value: Optional[
|
|
600
|
+
target_average_value: Optional[_builtins.str] = None,
|
|
601
|
+
target_value: Optional[_builtins.str] = None):
|
|
603
602
|
"""
|
|
604
603
|
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster). Exactly one "target" type should be set.
|
|
605
|
-
:param
|
|
604
|
+
:param _builtins.str metric_name: metricName is the name of the metric in question.
|
|
606
605
|
:param '_meta.v1.LabelSelectorPatchArgs' metric_selector: metricSelector is used to identify a specific time series within a given metric.
|
|
607
|
-
:param
|
|
608
|
-
:param
|
|
606
|
+
:param _builtins.str target_average_value: targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
|
|
607
|
+
:param _builtins.str target_value: targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
|
|
609
608
|
"""
|
|
610
609
|
if metric_name is not None:
|
|
611
610
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
@@ -616,15 +615,15 @@ class ExternalMetricSourcePatch(dict):
|
|
|
616
615
|
if target_value is not None:
|
|
617
616
|
pulumi.set(__self__, "target_value", target_value)
|
|
618
617
|
|
|
619
|
-
@property
|
|
618
|
+
@_builtins.property
|
|
620
619
|
@pulumi.getter(name="metricName")
|
|
621
|
-
def metric_name(self) -> Optional[
|
|
620
|
+
def metric_name(self) -> Optional[_builtins.str]:
|
|
622
621
|
"""
|
|
623
622
|
metricName is the name of the metric in question.
|
|
624
623
|
"""
|
|
625
624
|
return pulumi.get(self, "metric_name")
|
|
626
625
|
|
|
627
|
-
@property
|
|
626
|
+
@_builtins.property
|
|
628
627
|
@pulumi.getter(name="metricSelector")
|
|
629
628
|
def metric_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
630
629
|
"""
|
|
@@ -632,17 +631,17 @@ class ExternalMetricSourcePatch(dict):
|
|
|
632
631
|
"""
|
|
633
632
|
return pulumi.get(self, "metric_selector")
|
|
634
633
|
|
|
635
|
-
@property
|
|
634
|
+
@_builtins.property
|
|
636
635
|
@pulumi.getter(name="targetAverageValue")
|
|
637
|
-
def target_average_value(self) -> Optional[
|
|
636
|
+
def target_average_value(self) -> Optional[_builtins.str]:
|
|
638
637
|
"""
|
|
639
638
|
targetAverageValue is the target per-pod value of global metric (as a quantity). Mutually exclusive with TargetValue.
|
|
640
639
|
"""
|
|
641
640
|
return pulumi.get(self, "target_average_value")
|
|
642
641
|
|
|
643
|
-
@property
|
|
642
|
+
@_builtins.property
|
|
644
643
|
@pulumi.getter(name="targetValue")
|
|
645
|
-
def target_value(self) -> Optional[
|
|
644
|
+
def target_value(self) -> Optional[_builtins.str]:
|
|
646
645
|
"""
|
|
647
646
|
targetValue is the target value of the metric (as a quantity). Mutually exclusive with TargetAverageValue.
|
|
648
647
|
"""
|
|
@@ -678,15 +677,15 @@ class ExternalMetricStatus(dict):
|
|
|
678
677
|
return super().get(key, default)
|
|
679
678
|
|
|
680
679
|
def __init__(__self__, *,
|
|
681
|
-
current_value:
|
|
682
|
-
metric_name:
|
|
683
|
-
current_average_value: Optional[
|
|
680
|
+
current_value: _builtins.str,
|
|
681
|
+
metric_name: _builtins.str,
|
|
682
|
+
current_average_value: Optional[_builtins.str] = None,
|
|
684
683
|
metric_selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
685
684
|
"""
|
|
686
685
|
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
|
|
687
|
-
:param
|
|
688
|
-
:param
|
|
689
|
-
:param
|
|
686
|
+
:param _builtins.str current_value: currentValue is the current value of the metric (as a quantity)
|
|
687
|
+
:param _builtins.str metric_name: metricName is the name of a metric used for autoscaling in metric system.
|
|
688
|
+
:param _builtins.str current_average_value: currentAverageValue is the current value of metric averaged over autoscaled pods.
|
|
690
689
|
:param '_meta.v1.LabelSelectorArgs' metric_selector: metricSelector is used to identify a specific time series within a given metric.
|
|
691
690
|
"""
|
|
692
691
|
pulumi.set(__self__, "current_value", current_value)
|
|
@@ -696,31 +695,31 @@ class ExternalMetricStatus(dict):
|
|
|
696
695
|
if metric_selector is not None:
|
|
697
696
|
pulumi.set(__self__, "metric_selector", metric_selector)
|
|
698
697
|
|
|
699
|
-
@property
|
|
698
|
+
@_builtins.property
|
|
700
699
|
@pulumi.getter(name="currentValue")
|
|
701
|
-
def current_value(self) ->
|
|
700
|
+
def current_value(self) -> _builtins.str:
|
|
702
701
|
"""
|
|
703
702
|
currentValue is the current value of the metric (as a quantity)
|
|
704
703
|
"""
|
|
705
704
|
return pulumi.get(self, "current_value")
|
|
706
705
|
|
|
707
|
-
@property
|
|
706
|
+
@_builtins.property
|
|
708
707
|
@pulumi.getter(name="metricName")
|
|
709
|
-
def metric_name(self) ->
|
|
708
|
+
def metric_name(self) -> _builtins.str:
|
|
710
709
|
"""
|
|
711
710
|
metricName is the name of a metric used for autoscaling in metric system.
|
|
712
711
|
"""
|
|
713
712
|
return pulumi.get(self, "metric_name")
|
|
714
713
|
|
|
715
|
-
@property
|
|
714
|
+
@_builtins.property
|
|
716
715
|
@pulumi.getter(name="currentAverageValue")
|
|
717
|
-
def current_average_value(self) -> Optional[
|
|
716
|
+
def current_average_value(self) -> Optional[_builtins.str]:
|
|
718
717
|
"""
|
|
719
718
|
currentAverageValue is the current value of metric averaged over autoscaled pods.
|
|
720
719
|
"""
|
|
721
720
|
return pulumi.get(self, "current_average_value")
|
|
722
721
|
|
|
723
|
-
@property
|
|
722
|
+
@_builtins.property
|
|
724
723
|
@pulumi.getter(name="metricSelector")
|
|
725
724
|
def metric_selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
726
725
|
"""
|
|
@@ -758,15 +757,15 @@ class ExternalMetricStatusPatch(dict):
|
|
|
758
757
|
return super().get(key, default)
|
|
759
758
|
|
|
760
759
|
def __init__(__self__, *,
|
|
761
|
-
current_average_value: Optional[
|
|
762
|
-
current_value: Optional[
|
|
763
|
-
metric_name: Optional[
|
|
760
|
+
current_average_value: Optional[_builtins.str] = None,
|
|
761
|
+
current_value: Optional[_builtins.str] = None,
|
|
762
|
+
metric_name: Optional[_builtins.str] = None,
|
|
764
763
|
metric_selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None):
|
|
765
764
|
"""
|
|
766
765
|
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
|
|
767
|
-
:param
|
|
768
|
-
:param
|
|
769
|
-
:param
|
|
766
|
+
:param _builtins.str current_average_value: currentAverageValue is the current value of metric averaged over autoscaled pods.
|
|
767
|
+
:param _builtins.str current_value: currentValue is the current value of the metric (as a quantity)
|
|
768
|
+
:param _builtins.str metric_name: metricName is the name of a metric used for autoscaling in metric system.
|
|
770
769
|
:param '_meta.v1.LabelSelectorPatchArgs' metric_selector: metricSelector is used to identify a specific time series within a given metric.
|
|
771
770
|
"""
|
|
772
771
|
if current_average_value is not None:
|
|
@@ -778,31 +777,31 @@ class ExternalMetricStatusPatch(dict):
|
|
|
778
777
|
if metric_selector is not None:
|
|
779
778
|
pulumi.set(__self__, "metric_selector", metric_selector)
|
|
780
779
|
|
|
781
|
-
@property
|
|
780
|
+
@_builtins.property
|
|
782
781
|
@pulumi.getter(name="currentAverageValue")
|
|
783
|
-
def current_average_value(self) -> Optional[
|
|
782
|
+
def current_average_value(self) -> Optional[_builtins.str]:
|
|
784
783
|
"""
|
|
785
784
|
currentAverageValue is the current value of metric averaged over autoscaled pods.
|
|
786
785
|
"""
|
|
787
786
|
return pulumi.get(self, "current_average_value")
|
|
788
787
|
|
|
789
|
-
@property
|
|
788
|
+
@_builtins.property
|
|
790
789
|
@pulumi.getter(name="currentValue")
|
|
791
|
-
def current_value(self) -> Optional[
|
|
790
|
+
def current_value(self) -> Optional[_builtins.str]:
|
|
792
791
|
"""
|
|
793
792
|
currentValue is the current value of the metric (as a quantity)
|
|
794
793
|
"""
|
|
795
794
|
return pulumi.get(self, "current_value")
|
|
796
795
|
|
|
797
|
-
@property
|
|
796
|
+
@_builtins.property
|
|
798
797
|
@pulumi.getter(name="metricName")
|
|
799
|
-
def metric_name(self) -> Optional[
|
|
798
|
+
def metric_name(self) -> Optional[_builtins.str]:
|
|
800
799
|
"""
|
|
801
800
|
metricName is the name of a metric used for autoscaling in metric system.
|
|
802
801
|
"""
|
|
803
802
|
return pulumi.get(self, "metric_name")
|
|
804
803
|
|
|
805
|
-
@property
|
|
804
|
+
@_builtins.property
|
|
806
805
|
@pulumi.getter(name="metricSelector")
|
|
807
806
|
def metric_selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
808
807
|
"""
|
|
@@ -834,15 +833,15 @@ class HorizontalPodAutoscaler(dict):
|
|
|
834
833
|
return super().get(key, default)
|
|
835
834
|
|
|
836
835
|
def __init__(__self__, *,
|
|
837
|
-
api_version: Optional[
|
|
838
|
-
kind: Optional[
|
|
836
|
+
api_version: Optional[_builtins.str] = None,
|
|
837
|
+
kind: Optional[_builtins.str] = None,
|
|
839
838
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
840
839
|
spec: Optional['outputs.HorizontalPodAutoscalerSpec'] = None,
|
|
841
840
|
status: Optional['outputs.HorizontalPodAutoscalerStatus'] = None):
|
|
842
841
|
"""
|
|
843
842
|
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.
|
|
844
|
-
:param
|
|
845
|
-
:param
|
|
843
|
+
:param _builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
844
|
+
:param _builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
846
845
|
:param '_meta.v1.ObjectMetaArgs' metadata: metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
847
846
|
:param 'HorizontalPodAutoscalerSpecArgs' spec: spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
|
|
848
847
|
:param 'HorizontalPodAutoscalerStatusArgs' status: status is the current information about the autoscaler.
|
|
@@ -858,23 +857,23 @@ class HorizontalPodAutoscaler(dict):
|
|
|
858
857
|
if status is not None:
|
|
859
858
|
pulumi.set(__self__, "status", status)
|
|
860
859
|
|
|
861
|
-
@property
|
|
860
|
+
@_builtins.property
|
|
862
861
|
@pulumi.getter(name="apiVersion")
|
|
863
|
-
def api_version(self) -> Optional[
|
|
862
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
864
863
|
"""
|
|
865
864
|
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
|
|
866
865
|
"""
|
|
867
866
|
return pulumi.get(self, "api_version")
|
|
868
867
|
|
|
869
|
-
@property
|
|
868
|
+
@_builtins.property
|
|
870
869
|
@pulumi.getter
|
|
871
|
-
def kind(self) -> Optional[
|
|
870
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
872
871
|
"""
|
|
873
872
|
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
|
|
874
873
|
"""
|
|
875
874
|
return pulumi.get(self, "kind")
|
|
876
875
|
|
|
877
|
-
@property
|
|
876
|
+
@_builtins.property
|
|
878
877
|
@pulumi.getter
|
|
879
878
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
880
879
|
"""
|
|
@@ -882,7 +881,7 @@ class HorizontalPodAutoscaler(dict):
|
|
|
882
881
|
"""
|
|
883
882
|
return pulumi.get(self, "metadata")
|
|
884
883
|
|
|
885
|
-
@property
|
|
884
|
+
@_builtins.property
|
|
886
885
|
@pulumi.getter
|
|
887
886
|
def spec(self) -> Optional['outputs.HorizontalPodAutoscalerSpec']:
|
|
888
887
|
"""
|
|
@@ -890,7 +889,7 @@ class HorizontalPodAutoscaler(dict):
|
|
|
890
889
|
"""
|
|
891
890
|
return pulumi.get(self, "spec")
|
|
892
891
|
|
|
893
|
-
@property
|
|
892
|
+
@_builtins.property
|
|
894
893
|
@pulumi.getter
|
|
895
894
|
def status(self) -> Optional['outputs.HorizontalPodAutoscalerStatus']:
|
|
896
895
|
"""
|
|
@@ -922,18 +921,18 @@ class HorizontalPodAutoscalerCondition(dict):
|
|
|
922
921
|
return super().get(key, default)
|
|
923
922
|
|
|
924
923
|
def __init__(__self__, *,
|
|
925
|
-
status:
|
|
926
|
-
type:
|
|
927
|
-
last_transition_time: Optional[
|
|
928
|
-
message: Optional[
|
|
929
|
-
reason: Optional[
|
|
924
|
+
status: _builtins.str,
|
|
925
|
+
type: _builtins.str,
|
|
926
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
927
|
+
message: Optional[_builtins.str] = None,
|
|
928
|
+
reason: Optional[_builtins.str] = None):
|
|
930
929
|
"""
|
|
931
930
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
932
|
-
:param
|
|
933
|
-
:param
|
|
934
|
-
:param
|
|
935
|
-
:param
|
|
936
|
-
:param
|
|
931
|
+
:param _builtins.str status: status is the status of the condition (True, False, Unknown)
|
|
932
|
+
:param _builtins.str type: type describes the current condition
|
|
933
|
+
:param _builtins.str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
934
|
+
:param _builtins.str message: message is a human-readable explanation containing details about the transition
|
|
935
|
+
:param _builtins.str reason: reason is the reason for the condition's last transition.
|
|
937
936
|
"""
|
|
938
937
|
pulumi.set(__self__, "status", status)
|
|
939
938
|
pulumi.set(__self__, "type", type)
|
|
@@ -944,41 +943,41 @@ class HorizontalPodAutoscalerCondition(dict):
|
|
|
944
943
|
if reason is not None:
|
|
945
944
|
pulumi.set(__self__, "reason", reason)
|
|
946
945
|
|
|
947
|
-
@property
|
|
946
|
+
@_builtins.property
|
|
948
947
|
@pulumi.getter
|
|
949
|
-
def status(self) ->
|
|
948
|
+
def status(self) -> _builtins.str:
|
|
950
949
|
"""
|
|
951
950
|
status is the status of the condition (True, False, Unknown)
|
|
952
951
|
"""
|
|
953
952
|
return pulumi.get(self, "status")
|
|
954
953
|
|
|
955
|
-
@property
|
|
954
|
+
@_builtins.property
|
|
956
955
|
@pulumi.getter
|
|
957
|
-
def type(self) ->
|
|
956
|
+
def type(self) -> _builtins.str:
|
|
958
957
|
"""
|
|
959
958
|
type describes the current condition
|
|
960
959
|
"""
|
|
961
960
|
return pulumi.get(self, "type")
|
|
962
961
|
|
|
963
|
-
@property
|
|
962
|
+
@_builtins.property
|
|
964
963
|
@pulumi.getter(name="lastTransitionTime")
|
|
965
|
-
def last_transition_time(self) -> Optional[
|
|
964
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
966
965
|
"""
|
|
967
966
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
968
967
|
"""
|
|
969
968
|
return pulumi.get(self, "last_transition_time")
|
|
970
969
|
|
|
971
|
-
@property
|
|
970
|
+
@_builtins.property
|
|
972
971
|
@pulumi.getter
|
|
973
|
-
def message(self) -> Optional[
|
|
972
|
+
def message(self) -> Optional[_builtins.str]:
|
|
974
973
|
"""
|
|
975
974
|
message is a human-readable explanation containing details about the transition
|
|
976
975
|
"""
|
|
977
976
|
return pulumi.get(self, "message")
|
|
978
977
|
|
|
979
|
-
@property
|
|
978
|
+
@_builtins.property
|
|
980
979
|
@pulumi.getter
|
|
981
|
-
def reason(self) -> Optional[
|
|
980
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
982
981
|
"""
|
|
983
982
|
reason is the reason for the condition's last transition.
|
|
984
983
|
"""
|
|
@@ -1008,18 +1007,18 @@ class HorizontalPodAutoscalerConditionPatch(dict):
|
|
|
1008
1007
|
return super().get(key, default)
|
|
1009
1008
|
|
|
1010
1009
|
def __init__(__self__, *,
|
|
1011
|
-
last_transition_time: Optional[
|
|
1012
|
-
message: Optional[
|
|
1013
|
-
reason: Optional[
|
|
1014
|
-
status: Optional[
|
|
1015
|
-
type: Optional[
|
|
1010
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
1011
|
+
message: Optional[_builtins.str] = None,
|
|
1012
|
+
reason: Optional[_builtins.str] = None,
|
|
1013
|
+
status: Optional[_builtins.str] = None,
|
|
1014
|
+
type: Optional[_builtins.str] = None):
|
|
1016
1015
|
"""
|
|
1017
1016
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1018
|
-
:param
|
|
1019
|
-
:param
|
|
1020
|
-
:param
|
|
1021
|
-
:param
|
|
1022
|
-
:param
|
|
1017
|
+
:param _builtins.str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1018
|
+
:param _builtins.str message: message is a human-readable explanation containing details about the transition
|
|
1019
|
+
:param _builtins.str reason: reason is the reason for the condition's last transition.
|
|
1020
|
+
:param _builtins.str status: status is the status of the condition (True, False, Unknown)
|
|
1021
|
+
:param _builtins.str type: type describes the current condition
|
|
1023
1022
|
"""
|
|
1024
1023
|
if last_transition_time is not None:
|
|
1025
1024
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
|
@@ -1032,41 +1031,41 @@ class HorizontalPodAutoscalerConditionPatch(dict):
|
|
|
1032
1031
|
if type is not None:
|
|
1033
1032
|
pulumi.set(__self__, "type", type)
|
|
1034
1033
|
|
|
1035
|
-
@property
|
|
1034
|
+
@_builtins.property
|
|
1036
1035
|
@pulumi.getter(name="lastTransitionTime")
|
|
1037
|
-
def last_transition_time(self) -> Optional[
|
|
1036
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
1038
1037
|
"""
|
|
1039
1038
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1040
1039
|
"""
|
|
1041
1040
|
return pulumi.get(self, "last_transition_time")
|
|
1042
1041
|
|
|
1043
|
-
@property
|
|
1042
|
+
@_builtins.property
|
|
1044
1043
|
@pulumi.getter
|
|
1045
|
-
def message(self) -> Optional[
|
|
1044
|
+
def message(self) -> Optional[_builtins.str]:
|
|
1046
1045
|
"""
|
|
1047
1046
|
message is a human-readable explanation containing details about the transition
|
|
1048
1047
|
"""
|
|
1049
1048
|
return pulumi.get(self, "message")
|
|
1050
1049
|
|
|
1051
|
-
@property
|
|
1050
|
+
@_builtins.property
|
|
1052
1051
|
@pulumi.getter
|
|
1053
|
-
def reason(self) -> Optional[
|
|
1052
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
1054
1053
|
"""
|
|
1055
1054
|
reason is the reason for the condition's last transition.
|
|
1056
1055
|
"""
|
|
1057
1056
|
return pulumi.get(self, "reason")
|
|
1058
1057
|
|
|
1059
|
-
@property
|
|
1058
|
+
@_builtins.property
|
|
1060
1059
|
@pulumi.getter
|
|
1061
|
-
def status(self) -> Optional[
|
|
1060
|
+
def status(self) -> Optional[_builtins.str]:
|
|
1062
1061
|
"""
|
|
1063
1062
|
status is the status of the condition (True, False, Unknown)
|
|
1064
1063
|
"""
|
|
1065
1064
|
return pulumi.get(self, "status")
|
|
1066
1065
|
|
|
1067
|
-
@property
|
|
1066
|
+
@_builtins.property
|
|
1068
1067
|
@pulumi.getter
|
|
1069
|
-
def type(self) -> Optional[
|
|
1068
|
+
def type(self) -> Optional[_builtins.str]:
|
|
1070
1069
|
"""
|
|
1071
1070
|
type describes the current condition
|
|
1072
1071
|
"""
|
|
@@ -1100,16 +1099,16 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1100
1099
|
return super().get(key, default)
|
|
1101
1100
|
|
|
1102
1101
|
def __init__(__self__, *,
|
|
1103
|
-
max_replicas:
|
|
1102
|
+
max_replicas: _builtins.int,
|
|
1104
1103
|
scale_target_ref: 'outputs.CrossVersionObjectReference',
|
|
1105
1104
|
metrics: Optional[Sequence['outputs.MetricSpec']] = None,
|
|
1106
|
-
min_replicas: Optional[
|
|
1105
|
+
min_replicas: Optional[_builtins.int] = None):
|
|
1107
1106
|
"""
|
|
1108
1107
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1109
|
-
:param
|
|
1108
|
+
:param _builtins.int max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1110
1109
|
:param 'CrossVersionObjectReferenceArgs' scale_target_ref: scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
|
|
1111
1110
|
:param Sequence['MetricSpecArgs'] metrics: metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond.
|
|
1112
|
-
:param
|
|
1111
|
+
:param _builtins.int min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1113
1112
|
"""
|
|
1114
1113
|
pulumi.set(__self__, "max_replicas", max_replicas)
|
|
1115
1114
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
@@ -1118,15 +1117,15 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1118
1117
|
if min_replicas is not None:
|
|
1119
1118
|
pulumi.set(__self__, "min_replicas", min_replicas)
|
|
1120
1119
|
|
|
1121
|
-
@property
|
|
1120
|
+
@_builtins.property
|
|
1122
1121
|
@pulumi.getter(name="maxReplicas")
|
|
1123
|
-
def max_replicas(self) ->
|
|
1122
|
+
def max_replicas(self) -> _builtins.int:
|
|
1124
1123
|
"""
|
|
1125
1124
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1126
1125
|
"""
|
|
1127
1126
|
return pulumi.get(self, "max_replicas")
|
|
1128
1127
|
|
|
1129
|
-
@property
|
|
1128
|
+
@_builtins.property
|
|
1130
1129
|
@pulumi.getter(name="scaleTargetRef")
|
|
1131
1130
|
def scale_target_ref(self) -> 'outputs.CrossVersionObjectReference':
|
|
1132
1131
|
"""
|
|
@@ -1134,7 +1133,7 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1134
1133
|
"""
|
|
1135
1134
|
return pulumi.get(self, "scale_target_ref")
|
|
1136
1135
|
|
|
1137
|
-
@property
|
|
1136
|
+
@_builtins.property
|
|
1138
1137
|
@pulumi.getter
|
|
1139
1138
|
def metrics(self) -> Optional[Sequence['outputs.MetricSpec']]:
|
|
1140
1139
|
"""
|
|
@@ -1142,9 +1141,9 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1142
1141
|
"""
|
|
1143
1142
|
return pulumi.get(self, "metrics")
|
|
1144
1143
|
|
|
1145
|
-
@property
|
|
1144
|
+
@_builtins.property
|
|
1146
1145
|
@pulumi.getter(name="minReplicas")
|
|
1147
|
-
def min_replicas(self) -> Optional[
|
|
1146
|
+
def min_replicas(self) -> Optional[_builtins.int]:
|
|
1148
1147
|
"""
|
|
1149
1148
|
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.
|
|
1150
1149
|
"""
|
|
@@ -1178,15 +1177,15 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1178
1177
|
return super().get(key, default)
|
|
1179
1178
|
|
|
1180
1179
|
def __init__(__self__, *,
|
|
1181
|
-
max_replicas: Optional[
|
|
1180
|
+
max_replicas: Optional[_builtins.int] = None,
|
|
1182
1181
|
metrics: Optional[Sequence['outputs.MetricSpecPatch']] = None,
|
|
1183
|
-
min_replicas: Optional[
|
|
1182
|
+
min_replicas: Optional[_builtins.int] = None,
|
|
1184
1183
|
scale_target_ref: Optional['outputs.CrossVersionObjectReferencePatch'] = None):
|
|
1185
1184
|
"""
|
|
1186
1185
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1187
|
-
:param
|
|
1186
|
+
:param _builtins.int max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1188
1187
|
:param Sequence['MetricSpecPatchArgs'] metrics: metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond.
|
|
1189
|
-
:param
|
|
1188
|
+
:param _builtins.int min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1190
1189
|
:param 'CrossVersionObjectReferencePatchArgs' scale_target_ref: scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
|
|
1191
1190
|
"""
|
|
1192
1191
|
if max_replicas is not None:
|
|
@@ -1198,15 +1197,15 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1198
1197
|
if scale_target_ref is not None:
|
|
1199
1198
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
1200
1199
|
|
|
1201
|
-
@property
|
|
1200
|
+
@_builtins.property
|
|
1202
1201
|
@pulumi.getter(name="maxReplicas")
|
|
1203
|
-
def max_replicas(self) -> Optional[
|
|
1202
|
+
def max_replicas(self) -> Optional[_builtins.int]:
|
|
1204
1203
|
"""
|
|
1205
1204
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1206
1205
|
"""
|
|
1207
1206
|
return pulumi.get(self, "max_replicas")
|
|
1208
1207
|
|
|
1209
|
-
@property
|
|
1208
|
+
@_builtins.property
|
|
1210
1209
|
@pulumi.getter
|
|
1211
1210
|
def metrics(self) -> Optional[Sequence['outputs.MetricSpecPatch']]:
|
|
1212
1211
|
"""
|
|
@@ -1214,15 +1213,15 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1214
1213
|
"""
|
|
1215
1214
|
return pulumi.get(self, "metrics")
|
|
1216
1215
|
|
|
1217
|
-
@property
|
|
1216
|
+
@_builtins.property
|
|
1218
1217
|
@pulumi.getter(name="minReplicas")
|
|
1219
|
-
def min_replicas(self) -> Optional[
|
|
1218
|
+
def min_replicas(self) -> Optional[_builtins.int]:
|
|
1220
1219
|
"""
|
|
1221
1220
|
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.
|
|
1222
1221
|
"""
|
|
1223
1222
|
return pulumi.get(self, "min_replicas")
|
|
1224
1223
|
|
|
1225
|
-
@property
|
|
1224
|
+
@_builtins.property
|
|
1226
1225
|
@pulumi.getter(name="scaleTargetRef")
|
|
1227
1226
|
def scale_target_ref(self) -> Optional['outputs.CrossVersionObjectReferencePatch']:
|
|
1228
1227
|
"""
|
|
@@ -1263,19 +1262,19 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1263
1262
|
|
|
1264
1263
|
def __init__(__self__, *,
|
|
1265
1264
|
conditions: Sequence['outputs.HorizontalPodAutoscalerCondition'],
|
|
1266
|
-
current_replicas:
|
|
1267
|
-
desired_replicas:
|
|
1265
|
+
current_replicas: _builtins.int,
|
|
1266
|
+
desired_replicas: _builtins.int,
|
|
1268
1267
|
current_metrics: Optional[Sequence['outputs.MetricStatus']] = None,
|
|
1269
|
-
last_scale_time: Optional[
|
|
1270
|
-
observed_generation: Optional[
|
|
1268
|
+
last_scale_time: Optional[_builtins.str] = None,
|
|
1269
|
+
observed_generation: Optional[_builtins.int] = None):
|
|
1271
1270
|
"""
|
|
1272
1271
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1273
1272
|
:param Sequence['HorizontalPodAutoscalerConditionArgs'] conditions: conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
|
|
1274
|
-
:param
|
|
1275
|
-
:param
|
|
1273
|
+
:param _builtins.int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1274
|
+
:param _builtins.int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1276
1275
|
:param Sequence['MetricStatusArgs'] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1277
|
-
:param
|
|
1278
|
-
:param
|
|
1276
|
+
:param _builtins.str last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1277
|
+
:param _builtins.int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1279
1278
|
"""
|
|
1280
1279
|
pulumi.set(__self__, "conditions", conditions)
|
|
1281
1280
|
pulumi.set(__self__, "current_replicas", current_replicas)
|
|
@@ -1287,7 +1286,7 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1287
1286
|
if observed_generation is not None:
|
|
1288
1287
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
1289
1288
|
|
|
1290
|
-
@property
|
|
1289
|
+
@_builtins.property
|
|
1291
1290
|
@pulumi.getter
|
|
1292
1291
|
def conditions(self) -> Sequence['outputs.HorizontalPodAutoscalerCondition']:
|
|
1293
1292
|
"""
|
|
@@ -1295,23 +1294,23 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1295
1294
|
"""
|
|
1296
1295
|
return pulumi.get(self, "conditions")
|
|
1297
1296
|
|
|
1298
|
-
@property
|
|
1297
|
+
@_builtins.property
|
|
1299
1298
|
@pulumi.getter(name="currentReplicas")
|
|
1300
|
-
def current_replicas(self) ->
|
|
1299
|
+
def current_replicas(self) -> _builtins.int:
|
|
1301
1300
|
"""
|
|
1302
1301
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1303
1302
|
"""
|
|
1304
1303
|
return pulumi.get(self, "current_replicas")
|
|
1305
1304
|
|
|
1306
|
-
@property
|
|
1305
|
+
@_builtins.property
|
|
1307
1306
|
@pulumi.getter(name="desiredReplicas")
|
|
1308
|
-
def desired_replicas(self) ->
|
|
1307
|
+
def desired_replicas(self) -> _builtins.int:
|
|
1309
1308
|
"""
|
|
1310
1309
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1311
1310
|
"""
|
|
1312
1311
|
return pulumi.get(self, "desired_replicas")
|
|
1313
1312
|
|
|
1314
|
-
@property
|
|
1313
|
+
@_builtins.property
|
|
1315
1314
|
@pulumi.getter(name="currentMetrics")
|
|
1316
1315
|
def current_metrics(self) -> Optional[Sequence['outputs.MetricStatus']]:
|
|
1317
1316
|
"""
|
|
@@ -1319,17 +1318,17 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1319
1318
|
"""
|
|
1320
1319
|
return pulumi.get(self, "current_metrics")
|
|
1321
1320
|
|
|
1322
|
-
@property
|
|
1321
|
+
@_builtins.property
|
|
1323
1322
|
@pulumi.getter(name="lastScaleTime")
|
|
1324
|
-
def last_scale_time(self) -> Optional[
|
|
1323
|
+
def last_scale_time(self) -> Optional[_builtins.str]:
|
|
1325
1324
|
"""
|
|
1326
1325
|
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.
|
|
1327
1326
|
"""
|
|
1328
1327
|
return pulumi.get(self, "last_scale_time")
|
|
1329
1328
|
|
|
1330
|
-
@property
|
|
1329
|
+
@_builtins.property
|
|
1331
1330
|
@pulumi.getter(name="observedGeneration")
|
|
1332
|
-
def observed_generation(self) -> Optional[
|
|
1331
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
1333
1332
|
"""
|
|
1334
1333
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1335
1334
|
"""
|
|
@@ -1369,18 +1368,18 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1369
1368
|
def __init__(__self__, *,
|
|
1370
1369
|
conditions: Optional[Sequence['outputs.HorizontalPodAutoscalerConditionPatch']] = None,
|
|
1371
1370
|
current_metrics: Optional[Sequence['outputs.MetricStatusPatch']] = None,
|
|
1372
|
-
current_replicas: Optional[
|
|
1373
|
-
desired_replicas: Optional[
|
|
1374
|
-
last_scale_time: Optional[
|
|
1375
|
-
observed_generation: Optional[
|
|
1371
|
+
current_replicas: Optional[_builtins.int] = None,
|
|
1372
|
+
desired_replicas: Optional[_builtins.int] = None,
|
|
1373
|
+
last_scale_time: Optional[_builtins.str] = None,
|
|
1374
|
+
observed_generation: Optional[_builtins.int] = None):
|
|
1376
1375
|
"""
|
|
1377
1376
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1378
1377
|
:param Sequence['HorizontalPodAutoscalerConditionPatchArgs'] conditions: conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
|
|
1379
1378
|
:param Sequence['MetricStatusPatchArgs'] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1380
|
-
:param
|
|
1381
|
-
:param
|
|
1382
|
-
:param
|
|
1383
|
-
:param
|
|
1379
|
+
:param _builtins.int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1380
|
+
:param _builtins.int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1381
|
+
:param _builtins.str last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1382
|
+
:param _builtins.int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1384
1383
|
"""
|
|
1385
1384
|
if conditions is not None:
|
|
1386
1385
|
pulumi.set(__self__, "conditions", conditions)
|
|
@@ -1395,7 +1394,7 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1395
1394
|
if observed_generation is not None:
|
|
1396
1395
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
1397
1396
|
|
|
1398
|
-
@property
|
|
1397
|
+
@_builtins.property
|
|
1399
1398
|
@pulumi.getter
|
|
1400
1399
|
def conditions(self) -> Optional[Sequence['outputs.HorizontalPodAutoscalerConditionPatch']]:
|
|
1401
1400
|
"""
|
|
@@ -1403,7 +1402,7 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1403
1402
|
"""
|
|
1404
1403
|
return pulumi.get(self, "conditions")
|
|
1405
1404
|
|
|
1406
|
-
@property
|
|
1405
|
+
@_builtins.property
|
|
1407
1406
|
@pulumi.getter(name="currentMetrics")
|
|
1408
1407
|
def current_metrics(self) -> Optional[Sequence['outputs.MetricStatusPatch']]:
|
|
1409
1408
|
"""
|
|
@@ -1411,33 +1410,33 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1411
1410
|
"""
|
|
1412
1411
|
return pulumi.get(self, "current_metrics")
|
|
1413
1412
|
|
|
1414
|
-
@property
|
|
1413
|
+
@_builtins.property
|
|
1415
1414
|
@pulumi.getter(name="currentReplicas")
|
|
1416
|
-
def current_replicas(self) -> Optional[
|
|
1415
|
+
def current_replicas(self) -> Optional[_builtins.int]:
|
|
1417
1416
|
"""
|
|
1418
1417
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1419
1418
|
"""
|
|
1420
1419
|
return pulumi.get(self, "current_replicas")
|
|
1421
1420
|
|
|
1422
|
-
@property
|
|
1421
|
+
@_builtins.property
|
|
1423
1422
|
@pulumi.getter(name="desiredReplicas")
|
|
1424
|
-
def desired_replicas(self) -> Optional[
|
|
1423
|
+
def desired_replicas(self) -> Optional[_builtins.int]:
|
|
1425
1424
|
"""
|
|
1426
1425
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1427
1426
|
"""
|
|
1428
1427
|
return pulumi.get(self, "desired_replicas")
|
|
1429
1428
|
|
|
1430
|
-
@property
|
|
1429
|
+
@_builtins.property
|
|
1431
1430
|
@pulumi.getter(name="lastScaleTime")
|
|
1432
|
-
def last_scale_time(self) -> Optional[
|
|
1431
|
+
def last_scale_time(self) -> Optional[_builtins.str]:
|
|
1433
1432
|
"""
|
|
1434
1433
|
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.
|
|
1435
1434
|
"""
|
|
1436
1435
|
return pulumi.get(self, "last_scale_time")
|
|
1437
1436
|
|
|
1438
|
-
@property
|
|
1437
|
+
@_builtins.property
|
|
1439
1438
|
@pulumi.getter(name="observedGeneration")
|
|
1440
|
-
def observed_generation(self) -> Optional[
|
|
1439
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
1441
1440
|
"""
|
|
1442
1441
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1443
1442
|
"""
|
|
@@ -1467,7 +1466,7 @@ class MetricSpec(dict):
|
|
|
1467
1466
|
return super().get(key, default)
|
|
1468
1467
|
|
|
1469
1468
|
def __init__(__self__, *,
|
|
1470
|
-
type:
|
|
1469
|
+
type: _builtins.str,
|
|
1471
1470
|
container_resource: Optional['outputs.ContainerResourceMetricSource'] = None,
|
|
1472
1471
|
external: Optional['outputs.ExternalMetricSource'] = None,
|
|
1473
1472
|
object: Optional['outputs.ObjectMetricSource'] = None,
|
|
@@ -1475,7 +1474,7 @@ class MetricSpec(dict):
|
|
|
1475
1474
|
resource: Optional['outputs.ResourceMetricSource'] = None):
|
|
1476
1475
|
"""
|
|
1477
1476
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1478
|
-
:param
|
|
1477
|
+
:param _builtins.str type: type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1479
1478
|
:param 'ContainerResourceMetricSourceArgs' container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
|
|
1480
1479
|
:param 'ExternalMetricSourceArgs' external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
1481
1480
|
:param 'ObjectMetricSourceArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -1494,15 +1493,15 @@ class MetricSpec(dict):
|
|
|
1494
1493
|
if resource is not None:
|
|
1495
1494
|
pulumi.set(__self__, "resource", resource)
|
|
1496
1495
|
|
|
1497
|
-
@property
|
|
1496
|
+
@_builtins.property
|
|
1498
1497
|
@pulumi.getter
|
|
1499
|
-
def type(self) ->
|
|
1498
|
+
def type(self) -> _builtins.str:
|
|
1500
1499
|
"""
|
|
1501
1500
|
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1502
1501
|
"""
|
|
1503
1502
|
return pulumi.get(self, "type")
|
|
1504
1503
|
|
|
1505
|
-
@property
|
|
1504
|
+
@_builtins.property
|
|
1506
1505
|
@pulumi.getter(name="containerResource")
|
|
1507
1506
|
def container_resource(self) -> Optional['outputs.ContainerResourceMetricSource']:
|
|
1508
1507
|
"""
|
|
@@ -1510,7 +1509,7 @@ class MetricSpec(dict):
|
|
|
1510
1509
|
"""
|
|
1511
1510
|
return pulumi.get(self, "container_resource")
|
|
1512
1511
|
|
|
1513
|
-
@property
|
|
1512
|
+
@_builtins.property
|
|
1514
1513
|
@pulumi.getter
|
|
1515
1514
|
def external(self) -> Optional['outputs.ExternalMetricSource']:
|
|
1516
1515
|
"""
|
|
@@ -1518,7 +1517,7 @@ class MetricSpec(dict):
|
|
|
1518
1517
|
"""
|
|
1519
1518
|
return pulumi.get(self, "external")
|
|
1520
1519
|
|
|
1521
|
-
@property
|
|
1520
|
+
@_builtins.property
|
|
1522
1521
|
@pulumi.getter
|
|
1523
1522
|
def object(self) -> Optional['outputs.ObjectMetricSource']:
|
|
1524
1523
|
"""
|
|
@@ -1526,7 +1525,7 @@ class MetricSpec(dict):
|
|
|
1526
1525
|
"""
|
|
1527
1526
|
return pulumi.get(self, "object")
|
|
1528
1527
|
|
|
1529
|
-
@property
|
|
1528
|
+
@_builtins.property
|
|
1530
1529
|
@pulumi.getter
|
|
1531
1530
|
def pods(self) -> Optional['outputs.PodsMetricSource']:
|
|
1532
1531
|
"""
|
|
@@ -1534,7 +1533,7 @@ class MetricSpec(dict):
|
|
|
1534
1533
|
"""
|
|
1535
1534
|
return pulumi.get(self, "pods")
|
|
1536
1535
|
|
|
1537
|
-
@property
|
|
1536
|
+
@_builtins.property
|
|
1538
1537
|
@pulumi.getter
|
|
1539
1538
|
def resource(self) -> Optional['outputs.ResourceMetricSource']:
|
|
1540
1539
|
"""
|
|
@@ -1571,7 +1570,7 @@ class MetricSpecPatch(dict):
|
|
|
1571
1570
|
object: Optional['outputs.ObjectMetricSourcePatch'] = None,
|
|
1572
1571
|
pods: Optional['outputs.PodsMetricSourcePatch'] = None,
|
|
1573
1572
|
resource: Optional['outputs.ResourceMetricSourcePatch'] = None,
|
|
1574
|
-
type: Optional[
|
|
1573
|
+
type: Optional[_builtins.str] = None):
|
|
1575
1574
|
"""
|
|
1576
1575
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1577
1576
|
:param 'ContainerResourceMetricSourcePatchArgs' container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
|
|
@@ -1579,7 +1578,7 @@ class MetricSpecPatch(dict):
|
|
|
1579
1578
|
:param 'ObjectMetricSourcePatchArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1580
1579
|
:param 'PodsMetricSourcePatchArgs' pods: pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
1581
1580
|
:param 'ResourceMetricSourcePatchArgs' resource: resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1582
|
-
:param
|
|
1581
|
+
:param _builtins.str type: type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1583
1582
|
"""
|
|
1584
1583
|
if container_resource is not None:
|
|
1585
1584
|
pulumi.set(__self__, "container_resource", container_resource)
|
|
@@ -1594,7 +1593,7 @@ class MetricSpecPatch(dict):
|
|
|
1594
1593
|
if type is not None:
|
|
1595
1594
|
pulumi.set(__self__, "type", type)
|
|
1596
1595
|
|
|
1597
|
-
@property
|
|
1596
|
+
@_builtins.property
|
|
1598
1597
|
@pulumi.getter(name="containerResource")
|
|
1599
1598
|
def container_resource(self) -> Optional['outputs.ContainerResourceMetricSourcePatch']:
|
|
1600
1599
|
"""
|
|
@@ -1602,7 +1601,7 @@ class MetricSpecPatch(dict):
|
|
|
1602
1601
|
"""
|
|
1603
1602
|
return pulumi.get(self, "container_resource")
|
|
1604
1603
|
|
|
1605
|
-
@property
|
|
1604
|
+
@_builtins.property
|
|
1606
1605
|
@pulumi.getter
|
|
1607
1606
|
def external(self) -> Optional['outputs.ExternalMetricSourcePatch']:
|
|
1608
1607
|
"""
|
|
@@ -1610,7 +1609,7 @@ class MetricSpecPatch(dict):
|
|
|
1610
1609
|
"""
|
|
1611
1610
|
return pulumi.get(self, "external")
|
|
1612
1611
|
|
|
1613
|
-
@property
|
|
1612
|
+
@_builtins.property
|
|
1614
1613
|
@pulumi.getter
|
|
1615
1614
|
def object(self) -> Optional['outputs.ObjectMetricSourcePatch']:
|
|
1616
1615
|
"""
|
|
@@ -1618,7 +1617,7 @@ class MetricSpecPatch(dict):
|
|
|
1618
1617
|
"""
|
|
1619
1618
|
return pulumi.get(self, "object")
|
|
1620
1619
|
|
|
1621
|
-
@property
|
|
1620
|
+
@_builtins.property
|
|
1622
1621
|
@pulumi.getter
|
|
1623
1622
|
def pods(self) -> Optional['outputs.PodsMetricSourcePatch']:
|
|
1624
1623
|
"""
|
|
@@ -1626,7 +1625,7 @@ class MetricSpecPatch(dict):
|
|
|
1626
1625
|
"""
|
|
1627
1626
|
return pulumi.get(self, "pods")
|
|
1628
1627
|
|
|
1629
|
-
@property
|
|
1628
|
+
@_builtins.property
|
|
1630
1629
|
@pulumi.getter
|
|
1631
1630
|
def resource(self) -> Optional['outputs.ResourceMetricSourcePatch']:
|
|
1632
1631
|
"""
|
|
@@ -1634,9 +1633,9 @@ class MetricSpecPatch(dict):
|
|
|
1634
1633
|
"""
|
|
1635
1634
|
return pulumi.get(self, "resource")
|
|
1636
1635
|
|
|
1637
|
-
@property
|
|
1636
|
+
@_builtins.property
|
|
1638
1637
|
@pulumi.getter
|
|
1639
|
-
def type(self) -> Optional[
|
|
1638
|
+
def type(self) -> Optional[_builtins.str]:
|
|
1640
1639
|
"""
|
|
1641
1640
|
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1642
1641
|
"""
|
|
@@ -1666,7 +1665,7 @@ class MetricStatus(dict):
|
|
|
1666
1665
|
return super().get(key, default)
|
|
1667
1666
|
|
|
1668
1667
|
def __init__(__self__, *,
|
|
1669
|
-
type:
|
|
1668
|
+
type: _builtins.str,
|
|
1670
1669
|
container_resource: Optional['outputs.ContainerResourceMetricStatus'] = None,
|
|
1671
1670
|
external: Optional['outputs.ExternalMetricStatus'] = None,
|
|
1672
1671
|
object: Optional['outputs.ObjectMetricStatus'] = None,
|
|
@@ -1674,7 +1673,7 @@ class MetricStatus(dict):
|
|
|
1674
1673
|
resource: Optional['outputs.ResourceMetricStatus'] = None):
|
|
1675
1674
|
"""
|
|
1676
1675
|
MetricStatus describes the last-read state of a single metric.
|
|
1677
|
-
:param
|
|
1676
|
+
:param _builtins.str type: type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
1678
1677
|
:param 'ContainerResourceMetricStatusArgs' container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1679
1678
|
:param 'ExternalMetricStatusArgs' external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
1680
1679
|
:param 'ObjectMetricStatusArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -1693,15 +1692,15 @@ class MetricStatus(dict):
|
|
|
1693
1692
|
if resource is not None:
|
|
1694
1693
|
pulumi.set(__self__, "resource", resource)
|
|
1695
1694
|
|
|
1696
|
-
@property
|
|
1695
|
+
@_builtins.property
|
|
1697
1696
|
@pulumi.getter
|
|
1698
|
-
def type(self) ->
|
|
1697
|
+
def type(self) -> _builtins.str:
|
|
1699
1698
|
"""
|
|
1700
1699
|
type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
1701
1700
|
"""
|
|
1702
1701
|
return pulumi.get(self, "type")
|
|
1703
1702
|
|
|
1704
|
-
@property
|
|
1703
|
+
@_builtins.property
|
|
1705
1704
|
@pulumi.getter(name="containerResource")
|
|
1706
1705
|
def container_resource(self) -> Optional['outputs.ContainerResourceMetricStatus']:
|
|
1707
1706
|
"""
|
|
@@ -1709,7 +1708,7 @@ class MetricStatus(dict):
|
|
|
1709
1708
|
"""
|
|
1710
1709
|
return pulumi.get(self, "container_resource")
|
|
1711
1710
|
|
|
1712
|
-
@property
|
|
1711
|
+
@_builtins.property
|
|
1713
1712
|
@pulumi.getter
|
|
1714
1713
|
def external(self) -> Optional['outputs.ExternalMetricStatus']:
|
|
1715
1714
|
"""
|
|
@@ -1717,7 +1716,7 @@ class MetricStatus(dict):
|
|
|
1717
1716
|
"""
|
|
1718
1717
|
return pulumi.get(self, "external")
|
|
1719
1718
|
|
|
1720
|
-
@property
|
|
1719
|
+
@_builtins.property
|
|
1721
1720
|
@pulumi.getter
|
|
1722
1721
|
def object(self) -> Optional['outputs.ObjectMetricStatus']:
|
|
1723
1722
|
"""
|
|
@@ -1725,7 +1724,7 @@ class MetricStatus(dict):
|
|
|
1725
1724
|
"""
|
|
1726
1725
|
return pulumi.get(self, "object")
|
|
1727
1726
|
|
|
1728
|
-
@property
|
|
1727
|
+
@_builtins.property
|
|
1729
1728
|
@pulumi.getter
|
|
1730
1729
|
def pods(self) -> Optional['outputs.PodsMetricStatus']:
|
|
1731
1730
|
"""
|
|
@@ -1733,7 +1732,7 @@ class MetricStatus(dict):
|
|
|
1733
1732
|
"""
|
|
1734
1733
|
return pulumi.get(self, "pods")
|
|
1735
1734
|
|
|
1736
|
-
@property
|
|
1735
|
+
@_builtins.property
|
|
1737
1736
|
@pulumi.getter
|
|
1738
1737
|
def resource(self) -> Optional['outputs.ResourceMetricStatus']:
|
|
1739
1738
|
"""
|
|
@@ -1770,7 +1769,7 @@ class MetricStatusPatch(dict):
|
|
|
1770
1769
|
object: Optional['outputs.ObjectMetricStatusPatch'] = None,
|
|
1771
1770
|
pods: Optional['outputs.PodsMetricStatusPatch'] = None,
|
|
1772
1771
|
resource: Optional['outputs.ResourceMetricStatusPatch'] = None,
|
|
1773
|
-
type: Optional[
|
|
1772
|
+
type: Optional[_builtins.str] = None):
|
|
1774
1773
|
"""
|
|
1775
1774
|
MetricStatus describes the last-read state of a single metric.
|
|
1776
1775
|
:param 'ContainerResourceMetricStatusPatchArgs' container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
@@ -1778,7 +1777,7 @@ class MetricStatusPatch(dict):
|
|
|
1778
1777
|
:param 'ObjectMetricStatusPatchArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1779
1778
|
:param 'PodsMetricStatusPatchArgs' pods: pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
1780
1779
|
:param 'ResourceMetricStatusPatchArgs' resource: resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1781
|
-
:param
|
|
1780
|
+
:param _builtins.str type: type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
1782
1781
|
"""
|
|
1783
1782
|
if container_resource is not None:
|
|
1784
1783
|
pulumi.set(__self__, "container_resource", container_resource)
|
|
@@ -1793,7 +1792,7 @@ class MetricStatusPatch(dict):
|
|
|
1793
1792
|
if type is not None:
|
|
1794
1793
|
pulumi.set(__self__, "type", type)
|
|
1795
1794
|
|
|
1796
|
-
@property
|
|
1795
|
+
@_builtins.property
|
|
1797
1796
|
@pulumi.getter(name="containerResource")
|
|
1798
1797
|
def container_resource(self) -> Optional['outputs.ContainerResourceMetricStatusPatch']:
|
|
1799
1798
|
"""
|
|
@@ -1801,7 +1800,7 @@ class MetricStatusPatch(dict):
|
|
|
1801
1800
|
"""
|
|
1802
1801
|
return pulumi.get(self, "container_resource")
|
|
1803
1802
|
|
|
1804
|
-
@property
|
|
1803
|
+
@_builtins.property
|
|
1805
1804
|
@pulumi.getter
|
|
1806
1805
|
def external(self) -> Optional['outputs.ExternalMetricStatusPatch']:
|
|
1807
1806
|
"""
|
|
@@ -1809,7 +1808,7 @@ class MetricStatusPatch(dict):
|
|
|
1809
1808
|
"""
|
|
1810
1809
|
return pulumi.get(self, "external")
|
|
1811
1810
|
|
|
1812
|
-
@property
|
|
1811
|
+
@_builtins.property
|
|
1813
1812
|
@pulumi.getter
|
|
1814
1813
|
def object(self) -> Optional['outputs.ObjectMetricStatusPatch']:
|
|
1815
1814
|
"""
|
|
@@ -1817,7 +1816,7 @@ class MetricStatusPatch(dict):
|
|
|
1817
1816
|
"""
|
|
1818
1817
|
return pulumi.get(self, "object")
|
|
1819
1818
|
|
|
1820
|
-
@property
|
|
1819
|
+
@_builtins.property
|
|
1821
1820
|
@pulumi.getter
|
|
1822
1821
|
def pods(self) -> Optional['outputs.PodsMetricStatusPatch']:
|
|
1823
1822
|
"""
|
|
@@ -1825,7 +1824,7 @@ class MetricStatusPatch(dict):
|
|
|
1825
1824
|
"""
|
|
1826
1825
|
return pulumi.get(self, "pods")
|
|
1827
1826
|
|
|
1828
|
-
@property
|
|
1827
|
+
@_builtins.property
|
|
1829
1828
|
@pulumi.getter
|
|
1830
1829
|
def resource(self) -> Optional['outputs.ResourceMetricStatusPatch']:
|
|
1831
1830
|
"""
|
|
@@ -1833,9 +1832,9 @@ class MetricStatusPatch(dict):
|
|
|
1833
1832
|
"""
|
|
1834
1833
|
return pulumi.get(self, "resource")
|
|
1835
1834
|
|
|
1836
|
-
@property
|
|
1835
|
+
@_builtins.property
|
|
1837
1836
|
@pulumi.getter
|
|
1838
|
-
def type(self) -> Optional[
|
|
1837
|
+
def type(self) -> Optional[_builtins.str]:
|
|
1839
1838
|
"""
|
|
1840
1839
|
type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
1841
1840
|
"""
|
|
@@ -1869,17 +1868,17 @@ class ObjectMetricSource(dict):
|
|
|
1869
1868
|
return super().get(key, default)
|
|
1870
1869
|
|
|
1871
1870
|
def __init__(__self__, *,
|
|
1872
|
-
metric_name:
|
|
1871
|
+
metric_name: _builtins.str,
|
|
1873
1872
|
target: 'outputs.CrossVersionObjectReference',
|
|
1874
|
-
target_value:
|
|
1875
|
-
average_value: Optional[
|
|
1873
|
+
target_value: _builtins.str,
|
|
1874
|
+
average_value: Optional[_builtins.str] = None,
|
|
1876
1875
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
1877
1876
|
"""
|
|
1878
1877
|
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1879
|
-
:param
|
|
1878
|
+
:param _builtins.str metric_name: metricName is the name of the metric in question.
|
|
1880
1879
|
:param 'CrossVersionObjectReferenceArgs' target: target is the described Kubernetes object.
|
|
1881
|
-
:param
|
|
1882
|
-
:param
|
|
1880
|
+
:param _builtins.str target_value: targetValue is the target value of the metric (as a quantity).
|
|
1881
|
+
:param _builtins.str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
1883
1882
|
:param '_meta.v1.LabelSelectorArgs' selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
|
|
1884
1883
|
"""
|
|
1885
1884
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
@@ -1890,15 +1889,15 @@ class ObjectMetricSource(dict):
|
|
|
1890
1889
|
if selector is not None:
|
|
1891
1890
|
pulumi.set(__self__, "selector", selector)
|
|
1892
1891
|
|
|
1893
|
-
@property
|
|
1892
|
+
@_builtins.property
|
|
1894
1893
|
@pulumi.getter(name="metricName")
|
|
1895
|
-
def metric_name(self) ->
|
|
1894
|
+
def metric_name(self) -> _builtins.str:
|
|
1896
1895
|
"""
|
|
1897
1896
|
metricName is the name of the metric in question.
|
|
1898
1897
|
"""
|
|
1899
1898
|
return pulumi.get(self, "metric_name")
|
|
1900
1899
|
|
|
1901
|
-
@property
|
|
1900
|
+
@_builtins.property
|
|
1902
1901
|
@pulumi.getter
|
|
1903
1902
|
def target(self) -> 'outputs.CrossVersionObjectReference':
|
|
1904
1903
|
"""
|
|
@@ -1906,23 +1905,23 @@ class ObjectMetricSource(dict):
|
|
|
1906
1905
|
"""
|
|
1907
1906
|
return pulumi.get(self, "target")
|
|
1908
1907
|
|
|
1909
|
-
@property
|
|
1908
|
+
@_builtins.property
|
|
1910
1909
|
@pulumi.getter(name="targetValue")
|
|
1911
|
-
def target_value(self) ->
|
|
1910
|
+
def target_value(self) -> _builtins.str:
|
|
1912
1911
|
"""
|
|
1913
1912
|
targetValue is the target value of the metric (as a quantity).
|
|
1914
1913
|
"""
|
|
1915
1914
|
return pulumi.get(self, "target_value")
|
|
1916
1915
|
|
|
1917
|
-
@property
|
|
1916
|
+
@_builtins.property
|
|
1918
1917
|
@pulumi.getter(name="averageValue")
|
|
1919
|
-
def average_value(self) -> Optional[
|
|
1918
|
+
def average_value(self) -> Optional[_builtins.str]:
|
|
1920
1919
|
"""
|
|
1921
1920
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
1922
1921
|
"""
|
|
1923
1922
|
return pulumi.get(self, "average_value")
|
|
1924
1923
|
|
|
1925
|
-
@property
|
|
1924
|
+
@_builtins.property
|
|
1926
1925
|
@pulumi.getter
|
|
1927
1926
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
1928
1927
|
"""
|
|
@@ -1958,18 +1957,18 @@ class ObjectMetricSourcePatch(dict):
|
|
|
1958
1957
|
return super().get(key, default)
|
|
1959
1958
|
|
|
1960
1959
|
def __init__(__self__, *,
|
|
1961
|
-
average_value: Optional[
|
|
1962
|
-
metric_name: Optional[
|
|
1960
|
+
average_value: Optional[_builtins.str] = None,
|
|
1961
|
+
metric_name: Optional[_builtins.str] = None,
|
|
1963
1962
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
1964
1963
|
target: Optional['outputs.CrossVersionObjectReferencePatch'] = None,
|
|
1965
|
-
target_value: Optional[
|
|
1964
|
+
target_value: Optional[_builtins.str] = None):
|
|
1966
1965
|
"""
|
|
1967
1966
|
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1968
|
-
:param
|
|
1969
|
-
:param
|
|
1967
|
+
:param _builtins.str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
1968
|
+
:param _builtins.str metric_name: metricName is the name of the metric in question.
|
|
1970
1969
|
:param '_meta.v1.LabelSelectorPatchArgs' selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
|
|
1971
1970
|
:param 'CrossVersionObjectReferencePatchArgs' target: target is the described Kubernetes object.
|
|
1972
|
-
:param
|
|
1971
|
+
:param _builtins.str target_value: targetValue is the target value of the metric (as a quantity).
|
|
1973
1972
|
"""
|
|
1974
1973
|
if average_value is not None:
|
|
1975
1974
|
pulumi.set(__self__, "average_value", average_value)
|
|
@@ -1982,23 +1981,23 @@ class ObjectMetricSourcePatch(dict):
|
|
|
1982
1981
|
if target_value is not None:
|
|
1983
1982
|
pulumi.set(__self__, "target_value", target_value)
|
|
1984
1983
|
|
|
1985
|
-
@property
|
|
1984
|
+
@_builtins.property
|
|
1986
1985
|
@pulumi.getter(name="averageValue")
|
|
1987
|
-
def average_value(self) -> Optional[
|
|
1986
|
+
def average_value(self) -> Optional[_builtins.str]:
|
|
1988
1987
|
"""
|
|
1989
1988
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
1990
1989
|
"""
|
|
1991
1990
|
return pulumi.get(self, "average_value")
|
|
1992
1991
|
|
|
1993
|
-
@property
|
|
1992
|
+
@_builtins.property
|
|
1994
1993
|
@pulumi.getter(name="metricName")
|
|
1995
|
-
def metric_name(self) -> Optional[
|
|
1994
|
+
def metric_name(self) -> Optional[_builtins.str]:
|
|
1996
1995
|
"""
|
|
1997
1996
|
metricName is the name of the metric in question.
|
|
1998
1997
|
"""
|
|
1999
1998
|
return pulumi.get(self, "metric_name")
|
|
2000
1999
|
|
|
2001
|
-
@property
|
|
2000
|
+
@_builtins.property
|
|
2002
2001
|
@pulumi.getter
|
|
2003
2002
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
2004
2003
|
"""
|
|
@@ -2006,7 +2005,7 @@ class ObjectMetricSourcePatch(dict):
|
|
|
2006
2005
|
"""
|
|
2007
2006
|
return pulumi.get(self, "selector")
|
|
2008
2007
|
|
|
2009
|
-
@property
|
|
2008
|
+
@_builtins.property
|
|
2010
2009
|
@pulumi.getter
|
|
2011
2010
|
def target(self) -> Optional['outputs.CrossVersionObjectReferencePatch']:
|
|
2012
2011
|
"""
|
|
@@ -2014,9 +2013,9 @@ class ObjectMetricSourcePatch(dict):
|
|
|
2014
2013
|
"""
|
|
2015
2014
|
return pulumi.get(self, "target")
|
|
2016
2015
|
|
|
2017
|
-
@property
|
|
2016
|
+
@_builtins.property
|
|
2018
2017
|
@pulumi.getter(name="targetValue")
|
|
2019
|
-
def target_value(self) -> Optional[
|
|
2018
|
+
def target_value(self) -> Optional[_builtins.str]:
|
|
2020
2019
|
"""
|
|
2021
2020
|
targetValue is the target value of the metric (as a quantity).
|
|
2022
2021
|
"""
|
|
@@ -2050,17 +2049,17 @@ class ObjectMetricStatus(dict):
|
|
|
2050
2049
|
return super().get(key, default)
|
|
2051
2050
|
|
|
2052
2051
|
def __init__(__self__, *,
|
|
2053
|
-
current_value:
|
|
2054
|
-
metric_name:
|
|
2052
|
+
current_value: _builtins.str,
|
|
2053
|
+
metric_name: _builtins.str,
|
|
2055
2054
|
target: 'outputs.CrossVersionObjectReference',
|
|
2056
|
-
average_value: Optional[
|
|
2055
|
+
average_value: Optional[_builtins.str] = None,
|
|
2057
2056
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
2058
2057
|
"""
|
|
2059
2058
|
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
2060
|
-
:param
|
|
2061
|
-
:param
|
|
2059
|
+
:param _builtins.str current_value: currentValue is the current value of the metric (as a quantity).
|
|
2060
|
+
:param _builtins.str metric_name: metricName is the name of the metric in question.
|
|
2062
2061
|
:param 'CrossVersionObjectReferenceArgs' target: target is the described Kubernetes object.
|
|
2063
|
-
:param
|
|
2062
|
+
:param _builtins.str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2064
2063
|
:param '_meta.v1.LabelSelectorArgs' selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
2065
2064
|
"""
|
|
2066
2065
|
pulumi.set(__self__, "current_value", current_value)
|
|
@@ -2071,23 +2070,23 @@ class ObjectMetricStatus(dict):
|
|
|
2071
2070
|
if selector is not None:
|
|
2072
2071
|
pulumi.set(__self__, "selector", selector)
|
|
2073
2072
|
|
|
2074
|
-
@property
|
|
2073
|
+
@_builtins.property
|
|
2075
2074
|
@pulumi.getter(name="currentValue")
|
|
2076
|
-
def current_value(self) ->
|
|
2075
|
+
def current_value(self) -> _builtins.str:
|
|
2077
2076
|
"""
|
|
2078
2077
|
currentValue is the current value of the metric (as a quantity).
|
|
2079
2078
|
"""
|
|
2080
2079
|
return pulumi.get(self, "current_value")
|
|
2081
2080
|
|
|
2082
|
-
@property
|
|
2081
|
+
@_builtins.property
|
|
2083
2082
|
@pulumi.getter(name="metricName")
|
|
2084
|
-
def metric_name(self) ->
|
|
2083
|
+
def metric_name(self) -> _builtins.str:
|
|
2085
2084
|
"""
|
|
2086
2085
|
metricName is the name of the metric in question.
|
|
2087
2086
|
"""
|
|
2088
2087
|
return pulumi.get(self, "metric_name")
|
|
2089
2088
|
|
|
2090
|
-
@property
|
|
2089
|
+
@_builtins.property
|
|
2091
2090
|
@pulumi.getter
|
|
2092
2091
|
def target(self) -> 'outputs.CrossVersionObjectReference':
|
|
2093
2092
|
"""
|
|
@@ -2095,15 +2094,15 @@ class ObjectMetricStatus(dict):
|
|
|
2095
2094
|
"""
|
|
2096
2095
|
return pulumi.get(self, "target")
|
|
2097
2096
|
|
|
2098
|
-
@property
|
|
2097
|
+
@_builtins.property
|
|
2099
2098
|
@pulumi.getter(name="averageValue")
|
|
2100
|
-
def average_value(self) -> Optional[
|
|
2099
|
+
def average_value(self) -> Optional[_builtins.str]:
|
|
2101
2100
|
"""
|
|
2102
2101
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2103
2102
|
"""
|
|
2104
2103
|
return pulumi.get(self, "average_value")
|
|
2105
2104
|
|
|
2106
|
-
@property
|
|
2105
|
+
@_builtins.property
|
|
2107
2106
|
@pulumi.getter
|
|
2108
2107
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
2109
2108
|
"""
|
|
@@ -2139,16 +2138,16 @@ class ObjectMetricStatusPatch(dict):
|
|
|
2139
2138
|
return super().get(key, default)
|
|
2140
2139
|
|
|
2141
2140
|
def __init__(__self__, *,
|
|
2142
|
-
average_value: Optional[
|
|
2143
|
-
current_value: Optional[
|
|
2144
|
-
metric_name: Optional[
|
|
2141
|
+
average_value: Optional[_builtins.str] = None,
|
|
2142
|
+
current_value: Optional[_builtins.str] = None,
|
|
2143
|
+
metric_name: Optional[_builtins.str] = None,
|
|
2145
2144
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
2146
2145
|
target: Optional['outputs.CrossVersionObjectReferencePatch'] = None):
|
|
2147
2146
|
"""
|
|
2148
2147
|
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
2149
|
-
:param
|
|
2150
|
-
:param
|
|
2151
|
-
:param
|
|
2148
|
+
:param _builtins.str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2149
|
+
:param _builtins.str current_value: currentValue is the current value of the metric (as a quantity).
|
|
2150
|
+
:param _builtins.str metric_name: metricName is the name of the metric in question.
|
|
2152
2151
|
:param '_meta.v1.LabelSelectorPatchArgs' selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the ObjectMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
2153
2152
|
:param 'CrossVersionObjectReferencePatchArgs' target: target is the described Kubernetes object.
|
|
2154
2153
|
"""
|
|
@@ -2163,31 +2162,31 @@ class ObjectMetricStatusPatch(dict):
|
|
|
2163
2162
|
if target is not None:
|
|
2164
2163
|
pulumi.set(__self__, "target", target)
|
|
2165
2164
|
|
|
2166
|
-
@property
|
|
2165
|
+
@_builtins.property
|
|
2167
2166
|
@pulumi.getter(name="averageValue")
|
|
2168
|
-
def average_value(self) -> Optional[
|
|
2167
|
+
def average_value(self) -> Optional[_builtins.str]:
|
|
2169
2168
|
"""
|
|
2170
2169
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2171
2170
|
"""
|
|
2172
2171
|
return pulumi.get(self, "average_value")
|
|
2173
2172
|
|
|
2174
|
-
@property
|
|
2173
|
+
@_builtins.property
|
|
2175
2174
|
@pulumi.getter(name="currentValue")
|
|
2176
|
-
def current_value(self) -> Optional[
|
|
2175
|
+
def current_value(self) -> Optional[_builtins.str]:
|
|
2177
2176
|
"""
|
|
2178
2177
|
currentValue is the current value of the metric (as a quantity).
|
|
2179
2178
|
"""
|
|
2180
2179
|
return pulumi.get(self, "current_value")
|
|
2181
2180
|
|
|
2182
|
-
@property
|
|
2181
|
+
@_builtins.property
|
|
2183
2182
|
@pulumi.getter(name="metricName")
|
|
2184
|
-
def metric_name(self) -> Optional[
|
|
2183
|
+
def metric_name(self) -> Optional[_builtins.str]:
|
|
2185
2184
|
"""
|
|
2186
2185
|
metricName is the name of the metric in question.
|
|
2187
2186
|
"""
|
|
2188
2187
|
return pulumi.get(self, "metric_name")
|
|
2189
2188
|
|
|
2190
|
-
@property
|
|
2189
|
+
@_builtins.property
|
|
2191
2190
|
@pulumi.getter
|
|
2192
2191
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
2193
2192
|
"""
|
|
@@ -2195,7 +2194,7 @@ class ObjectMetricStatusPatch(dict):
|
|
|
2195
2194
|
"""
|
|
2196
2195
|
return pulumi.get(self, "selector")
|
|
2197
2196
|
|
|
2198
|
-
@property
|
|
2197
|
+
@_builtins.property
|
|
2199
2198
|
@pulumi.getter
|
|
2200
2199
|
def target(self) -> Optional['outputs.CrossVersionObjectReferencePatch']:
|
|
2201
2200
|
"""
|
|
@@ -2229,13 +2228,13 @@ class PodsMetricSource(dict):
|
|
|
2229
2228
|
return super().get(key, default)
|
|
2230
2229
|
|
|
2231
2230
|
def __init__(__self__, *,
|
|
2232
|
-
metric_name:
|
|
2233
|
-
target_average_value:
|
|
2231
|
+
metric_name: _builtins.str,
|
|
2232
|
+
target_average_value: _builtins.str,
|
|
2234
2233
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
2235
2234
|
"""
|
|
2236
2235
|
PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
2237
|
-
:param
|
|
2238
|
-
:param
|
|
2236
|
+
:param _builtins.str metric_name: metricName is the name of the metric in question
|
|
2237
|
+
:param _builtins.str target_average_value: targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2239
2238
|
:param '_meta.v1.LabelSelectorArgs' selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
|
|
2240
2239
|
"""
|
|
2241
2240
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
@@ -2243,23 +2242,23 @@ class PodsMetricSource(dict):
|
|
|
2243
2242
|
if selector is not None:
|
|
2244
2243
|
pulumi.set(__self__, "selector", selector)
|
|
2245
2244
|
|
|
2246
|
-
@property
|
|
2245
|
+
@_builtins.property
|
|
2247
2246
|
@pulumi.getter(name="metricName")
|
|
2248
|
-
def metric_name(self) ->
|
|
2247
|
+
def metric_name(self) -> _builtins.str:
|
|
2249
2248
|
"""
|
|
2250
2249
|
metricName is the name of the metric in question
|
|
2251
2250
|
"""
|
|
2252
2251
|
return pulumi.get(self, "metric_name")
|
|
2253
2252
|
|
|
2254
|
-
@property
|
|
2253
|
+
@_builtins.property
|
|
2255
2254
|
@pulumi.getter(name="targetAverageValue")
|
|
2256
|
-
def target_average_value(self) ->
|
|
2255
|
+
def target_average_value(self) -> _builtins.str:
|
|
2257
2256
|
"""
|
|
2258
2257
|
targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2259
2258
|
"""
|
|
2260
2259
|
return pulumi.get(self, "target_average_value")
|
|
2261
2260
|
|
|
2262
|
-
@property
|
|
2261
|
+
@_builtins.property
|
|
2263
2262
|
@pulumi.getter
|
|
2264
2263
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
2265
2264
|
"""
|
|
@@ -2293,14 +2292,14 @@ class PodsMetricSourcePatch(dict):
|
|
|
2293
2292
|
return super().get(key, default)
|
|
2294
2293
|
|
|
2295
2294
|
def __init__(__self__, *,
|
|
2296
|
-
metric_name: Optional[
|
|
2295
|
+
metric_name: Optional[_builtins.str] = None,
|
|
2297
2296
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None,
|
|
2298
|
-
target_average_value: Optional[
|
|
2297
|
+
target_average_value: Optional[_builtins.str] = None):
|
|
2299
2298
|
"""
|
|
2300
2299
|
PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
2301
|
-
:param
|
|
2300
|
+
:param _builtins.str metric_name: metricName is the name of the metric in question
|
|
2302
2301
|
:param '_meta.v1.LabelSelectorPatchArgs' selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping When unset, just the metricName will be used to gather metrics.
|
|
2303
|
-
:param
|
|
2302
|
+
:param _builtins.str target_average_value: targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2304
2303
|
"""
|
|
2305
2304
|
if metric_name is not None:
|
|
2306
2305
|
pulumi.set(__self__, "metric_name", metric_name)
|
|
@@ -2309,15 +2308,15 @@ class PodsMetricSourcePatch(dict):
|
|
|
2309
2308
|
if target_average_value is not None:
|
|
2310
2309
|
pulumi.set(__self__, "target_average_value", target_average_value)
|
|
2311
2310
|
|
|
2312
|
-
@property
|
|
2311
|
+
@_builtins.property
|
|
2313
2312
|
@pulumi.getter(name="metricName")
|
|
2314
|
-
def metric_name(self) -> Optional[
|
|
2313
|
+
def metric_name(self) -> Optional[_builtins.str]:
|
|
2315
2314
|
"""
|
|
2316
2315
|
metricName is the name of the metric in question
|
|
2317
2316
|
"""
|
|
2318
2317
|
return pulumi.get(self, "metric_name")
|
|
2319
2318
|
|
|
2320
|
-
@property
|
|
2319
|
+
@_builtins.property
|
|
2321
2320
|
@pulumi.getter
|
|
2322
2321
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
2323
2322
|
"""
|
|
@@ -2325,9 +2324,9 @@ class PodsMetricSourcePatch(dict):
|
|
|
2325
2324
|
"""
|
|
2326
2325
|
return pulumi.get(self, "selector")
|
|
2327
2326
|
|
|
2328
|
-
@property
|
|
2327
|
+
@_builtins.property
|
|
2329
2328
|
@pulumi.getter(name="targetAverageValue")
|
|
2330
|
-
def target_average_value(self) -> Optional[
|
|
2329
|
+
def target_average_value(self) -> Optional[_builtins.str]:
|
|
2331
2330
|
"""
|
|
2332
2331
|
targetAverageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2333
2332
|
"""
|
|
@@ -2359,13 +2358,13 @@ class PodsMetricStatus(dict):
|
|
|
2359
2358
|
return super().get(key, default)
|
|
2360
2359
|
|
|
2361
2360
|
def __init__(__self__, *,
|
|
2362
|
-
current_average_value:
|
|
2363
|
-
metric_name:
|
|
2361
|
+
current_average_value: _builtins.str,
|
|
2362
|
+
metric_name: _builtins.str,
|
|
2364
2363
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
2365
2364
|
"""
|
|
2366
2365
|
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
|
|
2367
|
-
:param
|
|
2368
|
-
:param
|
|
2366
|
+
:param _builtins.str current_average_value: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2367
|
+
:param _builtins.str metric_name: metricName is the name of the metric in question
|
|
2369
2368
|
:param '_meta.v1.LabelSelectorArgs' selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
2370
2369
|
"""
|
|
2371
2370
|
pulumi.set(__self__, "current_average_value", current_average_value)
|
|
@@ -2373,23 +2372,23 @@ class PodsMetricStatus(dict):
|
|
|
2373
2372
|
if selector is not None:
|
|
2374
2373
|
pulumi.set(__self__, "selector", selector)
|
|
2375
2374
|
|
|
2376
|
-
@property
|
|
2375
|
+
@_builtins.property
|
|
2377
2376
|
@pulumi.getter(name="currentAverageValue")
|
|
2378
|
-
def current_average_value(self) ->
|
|
2377
|
+
def current_average_value(self) -> _builtins.str:
|
|
2379
2378
|
"""
|
|
2380
2379
|
currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2381
2380
|
"""
|
|
2382
2381
|
return pulumi.get(self, "current_average_value")
|
|
2383
2382
|
|
|
2384
|
-
@property
|
|
2383
|
+
@_builtins.property
|
|
2385
2384
|
@pulumi.getter(name="metricName")
|
|
2386
|
-
def metric_name(self) ->
|
|
2385
|
+
def metric_name(self) -> _builtins.str:
|
|
2387
2386
|
"""
|
|
2388
2387
|
metricName is the name of the metric in question
|
|
2389
2388
|
"""
|
|
2390
2389
|
return pulumi.get(self, "metric_name")
|
|
2391
2390
|
|
|
2392
|
-
@property
|
|
2391
|
+
@_builtins.property
|
|
2393
2392
|
@pulumi.getter
|
|
2394
2393
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
2395
2394
|
"""
|
|
@@ -2423,13 +2422,13 @@ class PodsMetricStatusPatch(dict):
|
|
|
2423
2422
|
return super().get(key, default)
|
|
2424
2423
|
|
|
2425
2424
|
def __init__(__self__, *,
|
|
2426
|
-
current_average_value: Optional[
|
|
2427
|
-
metric_name: Optional[
|
|
2425
|
+
current_average_value: Optional[_builtins.str] = None,
|
|
2426
|
+
metric_name: Optional[_builtins.str] = None,
|
|
2428
2427
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None):
|
|
2429
2428
|
"""
|
|
2430
2429
|
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
|
|
2431
|
-
:param
|
|
2432
|
-
:param
|
|
2430
|
+
:param _builtins.str current_average_value: currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2431
|
+
:param _builtins.str metric_name: metricName is the name of the metric in question
|
|
2433
2432
|
:param '_meta.v1.LabelSelectorPatchArgs' selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set in the PodsMetricSource, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
2434
2433
|
"""
|
|
2435
2434
|
if current_average_value is not None:
|
|
@@ -2439,23 +2438,23 @@ class PodsMetricStatusPatch(dict):
|
|
|
2439
2438
|
if selector is not None:
|
|
2440
2439
|
pulumi.set(__self__, "selector", selector)
|
|
2441
2440
|
|
|
2442
|
-
@property
|
|
2441
|
+
@_builtins.property
|
|
2443
2442
|
@pulumi.getter(name="currentAverageValue")
|
|
2444
|
-
def current_average_value(self) -> Optional[
|
|
2443
|
+
def current_average_value(self) -> Optional[_builtins.str]:
|
|
2445
2444
|
"""
|
|
2446
2445
|
currentAverageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2447
2446
|
"""
|
|
2448
2447
|
return pulumi.get(self, "current_average_value")
|
|
2449
2448
|
|
|
2450
|
-
@property
|
|
2449
|
+
@_builtins.property
|
|
2451
2450
|
@pulumi.getter(name="metricName")
|
|
2452
|
-
def metric_name(self) -> Optional[
|
|
2451
|
+
def metric_name(self) -> Optional[_builtins.str]:
|
|
2453
2452
|
"""
|
|
2454
2453
|
metricName is the name of the metric in question
|
|
2455
2454
|
"""
|
|
2456
2455
|
return pulumi.get(self, "metric_name")
|
|
2457
2456
|
|
|
2458
|
-
@property
|
|
2457
|
+
@_builtins.property
|
|
2459
2458
|
@pulumi.getter
|
|
2460
2459
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
2461
2460
|
"""
|
|
@@ -2489,14 +2488,14 @@ class ResourceMetricSource(dict):
|
|
|
2489
2488
|
return super().get(key, default)
|
|
2490
2489
|
|
|
2491
2490
|
def __init__(__self__, *,
|
|
2492
|
-
name:
|
|
2493
|
-
target_average_utilization: Optional[
|
|
2494
|
-
target_average_value: Optional[
|
|
2491
|
+
name: _builtins.str,
|
|
2492
|
+
target_average_utilization: Optional[_builtins.int] = None,
|
|
2493
|
+
target_average_value: Optional[_builtins.str] = None):
|
|
2495
2494
|
"""
|
|
2496
2495
|
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.
|
|
2497
|
-
:param
|
|
2498
|
-
:param
|
|
2499
|
-
:param
|
|
2496
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
2497
|
+
:param _builtins.int target_average_utilization: targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2498
|
+
:param _builtins.str target_average_value: targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
2500
2499
|
"""
|
|
2501
2500
|
pulumi.set(__self__, "name", name)
|
|
2502
2501
|
if target_average_utilization is not None:
|
|
@@ -2504,25 +2503,25 @@ class ResourceMetricSource(dict):
|
|
|
2504
2503
|
if target_average_value is not None:
|
|
2505
2504
|
pulumi.set(__self__, "target_average_value", target_average_value)
|
|
2506
2505
|
|
|
2507
|
-
@property
|
|
2506
|
+
@_builtins.property
|
|
2508
2507
|
@pulumi.getter
|
|
2509
|
-
def name(self) ->
|
|
2508
|
+
def name(self) -> _builtins.str:
|
|
2510
2509
|
"""
|
|
2511
2510
|
name is the name of the resource in question.
|
|
2512
2511
|
"""
|
|
2513
2512
|
return pulumi.get(self, "name")
|
|
2514
2513
|
|
|
2515
|
-
@property
|
|
2514
|
+
@_builtins.property
|
|
2516
2515
|
@pulumi.getter(name="targetAverageUtilization")
|
|
2517
|
-
def target_average_utilization(self) -> Optional[
|
|
2516
|
+
def target_average_utilization(self) -> Optional[_builtins.int]:
|
|
2518
2517
|
"""
|
|
2519
2518
|
targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2520
2519
|
"""
|
|
2521
2520
|
return pulumi.get(self, "target_average_utilization")
|
|
2522
2521
|
|
|
2523
|
-
@property
|
|
2522
|
+
@_builtins.property
|
|
2524
2523
|
@pulumi.getter(name="targetAverageValue")
|
|
2525
|
-
def target_average_value(self) -> Optional[
|
|
2524
|
+
def target_average_value(self) -> Optional[_builtins.str]:
|
|
2526
2525
|
"""
|
|
2527
2526
|
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
2528
2527
|
"""
|
|
@@ -2554,14 +2553,14 @@ class ResourceMetricSourcePatch(dict):
|
|
|
2554
2553
|
return super().get(key, default)
|
|
2555
2554
|
|
|
2556
2555
|
def __init__(__self__, *,
|
|
2557
|
-
name: Optional[
|
|
2558
|
-
target_average_utilization: Optional[
|
|
2559
|
-
target_average_value: Optional[
|
|
2556
|
+
name: Optional[_builtins.str] = None,
|
|
2557
|
+
target_average_utilization: Optional[_builtins.int] = None,
|
|
2558
|
+
target_average_value: Optional[_builtins.str] = None):
|
|
2560
2559
|
"""
|
|
2561
2560
|
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.
|
|
2562
|
-
:param
|
|
2563
|
-
:param
|
|
2564
|
-
:param
|
|
2561
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
2562
|
+
:param _builtins.int target_average_utilization: targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2563
|
+
:param _builtins.str target_average_value: targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
2565
2564
|
"""
|
|
2566
2565
|
if name is not None:
|
|
2567
2566
|
pulumi.set(__self__, "name", name)
|
|
@@ -2570,25 +2569,25 @@ class ResourceMetricSourcePatch(dict):
|
|
|
2570
2569
|
if target_average_value is not None:
|
|
2571
2570
|
pulumi.set(__self__, "target_average_value", target_average_value)
|
|
2572
2571
|
|
|
2573
|
-
@property
|
|
2572
|
+
@_builtins.property
|
|
2574
2573
|
@pulumi.getter
|
|
2575
|
-
def name(self) -> Optional[
|
|
2574
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2576
2575
|
"""
|
|
2577
2576
|
name is the name of the resource in question.
|
|
2578
2577
|
"""
|
|
2579
2578
|
return pulumi.get(self, "name")
|
|
2580
2579
|
|
|
2581
|
-
@property
|
|
2580
|
+
@_builtins.property
|
|
2582
2581
|
@pulumi.getter(name="targetAverageUtilization")
|
|
2583
|
-
def target_average_utilization(self) -> Optional[
|
|
2582
|
+
def target_average_utilization(self) -> Optional[_builtins.int]:
|
|
2584
2583
|
"""
|
|
2585
2584
|
targetAverageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2586
2585
|
"""
|
|
2587
2586
|
return pulumi.get(self, "target_average_utilization")
|
|
2588
2587
|
|
|
2589
|
-
@property
|
|
2588
|
+
@_builtins.property
|
|
2590
2589
|
@pulumi.getter(name="targetAverageValue")
|
|
2591
|
-
def target_average_value(self) -> Optional[
|
|
2590
|
+
def target_average_value(self) -> Optional[_builtins.str]:
|
|
2592
2591
|
"""
|
|
2593
2592
|
targetAverageValue is the target value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type.
|
|
2594
2593
|
"""
|
|
@@ -2620,39 +2619,39 @@ class ResourceMetricStatus(dict):
|
|
|
2620
2619
|
return super().get(key, default)
|
|
2621
2620
|
|
|
2622
2621
|
def __init__(__self__, *,
|
|
2623
|
-
current_average_value:
|
|
2624
|
-
name:
|
|
2625
|
-
current_average_utilization: Optional[
|
|
2622
|
+
current_average_value: _builtins.str,
|
|
2623
|
+
name: _builtins.str,
|
|
2624
|
+
current_average_utilization: Optional[_builtins.int] = None):
|
|
2626
2625
|
"""
|
|
2627
2626
|
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.
|
|
2628
|
-
:param
|
|
2629
|
-
:param
|
|
2630
|
-
:param
|
|
2627
|
+
:param _builtins.str current_average_value: currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
2628
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
2629
|
+
:param _builtins.int current_average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
2631
2630
|
"""
|
|
2632
2631
|
pulumi.set(__self__, "current_average_value", current_average_value)
|
|
2633
2632
|
pulumi.set(__self__, "name", name)
|
|
2634
2633
|
if current_average_utilization is not None:
|
|
2635
2634
|
pulumi.set(__self__, "current_average_utilization", current_average_utilization)
|
|
2636
2635
|
|
|
2637
|
-
@property
|
|
2636
|
+
@_builtins.property
|
|
2638
2637
|
@pulumi.getter(name="currentAverageValue")
|
|
2639
|
-
def current_average_value(self) ->
|
|
2638
|
+
def current_average_value(self) -> _builtins.str:
|
|
2640
2639
|
"""
|
|
2641
2640
|
currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
2642
2641
|
"""
|
|
2643
2642
|
return pulumi.get(self, "current_average_value")
|
|
2644
2643
|
|
|
2645
|
-
@property
|
|
2644
|
+
@_builtins.property
|
|
2646
2645
|
@pulumi.getter
|
|
2647
|
-
def name(self) ->
|
|
2646
|
+
def name(self) -> _builtins.str:
|
|
2648
2647
|
"""
|
|
2649
2648
|
name is the name of the resource in question.
|
|
2650
2649
|
"""
|
|
2651
2650
|
return pulumi.get(self, "name")
|
|
2652
2651
|
|
|
2653
|
-
@property
|
|
2652
|
+
@_builtins.property
|
|
2654
2653
|
@pulumi.getter(name="currentAverageUtilization")
|
|
2655
|
-
def current_average_utilization(self) -> Optional[
|
|
2654
|
+
def current_average_utilization(self) -> Optional[_builtins.int]:
|
|
2656
2655
|
"""
|
|
2657
2656
|
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
2658
2657
|
"""
|
|
@@ -2684,14 +2683,14 @@ class ResourceMetricStatusPatch(dict):
|
|
|
2684
2683
|
return super().get(key, default)
|
|
2685
2684
|
|
|
2686
2685
|
def __init__(__self__, *,
|
|
2687
|
-
current_average_utilization: Optional[
|
|
2688
|
-
current_average_value: Optional[
|
|
2689
|
-
name: Optional[
|
|
2686
|
+
current_average_utilization: Optional[_builtins.int] = None,
|
|
2687
|
+
current_average_value: Optional[_builtins.str] = None,
|
|
2688
|
+
name: Optional[_builtins.str] = None):
|
|
2690
2689
|
"""
|
|
2691
2690
|
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.
|
|
2692
|
-
:param
|
|
2693
|
-
:param
|
|
2694
|
-
:param
|
|
2691
|
+
:param _builtins.int current_average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
2692
|
+
:param _builtins.str current_average_value: currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
2693
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
2695
2694
|
"""
|
|
2696
2695
|
if current_average_utilization is not None:
|
|
2697
2696
|
pulumi.set(__self__, "current_average_utilization", current_average_utilization)
|
|
@@ -2700,25 +2699,25 @@ class ResourceMetricStatusPatch(dict):
|
|
|
2700
2699
|
if name is not None:
|
|
2701
2700
|
pulumi.set(__self__, "name", name)
|
|
2702
2701
|
|
|
2703
|
-
@property
|
|
2702
|
+
@_builtins.property
|
|
2704
2703
|
@pulumi.getter(name="currentAverageUtilization")
|
|
2705
|
-
def current_average_utilization(self) -> Optional[
|
|
2704
|
+
def current_average_utilization(self) -> Optional[_builtins.int]:
|
|
2706
2705
|
"""
|
|
2707
2706
|
currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. It will only be present if `targetAverageValue` was set in the corresponding metric specification.
|
|
2708
2707
|
"""
|
|
2709
2708
|
return pulumi.get(self, "current_average_utilization")
|
|
2710
2709
|
|
|
2711
|
-
@property
|
|
2710
|
+
@_builtins.property
|
|
2712
2711
|
@pulumi.getter(name="currentAverageValue")
|
|
2713
|
-
def current_average_value(self) -> Optional[
|
|
2712
|
+
def current_average_value(self) -> Optional[_builtins.str]:
|
|
2714
2713
|
"""
|
|
2715
2714
|
currentAverageValue is the current value of the average of the resource metric across all relevant pods, as a raw value (instead of as a percentage of the request), similar to the "pods" metric source type. It will always be set, regardless of the corresponding metric specification.
|
|
2716
2715
|
"""
|
|
2717
2716
|
return pulumi.get(self, "current_average_value")
|
|
2718
2717
|
|
|
2719
|
-
@property
|
|
2718
|
+
@_builtins.property
|
|
2720
2719
|
@pulumi.getter
|
|
2721
|
-
def name(self) -> Optional[
|
|
2720
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2722
2721
|
"""
|
|
2723
2722
|
name is the name of the resource in question.
|
|
2724
2723
|
"""
|