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