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