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
|
|
@@ -70,36 +70,36 @@ class ContainerResourceMetricSource(dict):
|
|
|
70
70
|
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.
|
|
71
71
|
"""
|
|
72
72
|
def __init__(__self__, *,
|
|
73
|
-
container: str,
|
|
74
|
-
name: str,
|
|
73
|
+
container: _builtins.str,
|
|
74
|
+
name: _builtins.str,
|
|
75
75
|
target: 'outputs.MetricTarget'):
|
|
76
76
|
"""
|
|
77
77
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
78
|
-
:param str container: container is the name of the container in the pods of the scaling target
|
|
79
|
-
:param str name: name is the name of the resource in question.
|
|
78
|
+
:param _builtins.str container: container is the name of the container in the pods of the scaling target
|
|
79
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
80
80
|
:param 'MetricTargetArgs' target: target specifies the target value for the given metric
|
|
81
81
|
"""
|
|
82
82
|
pulumi.set(__self__, "container", container)
|
|
83
83
|
pulumi.set(__self__, "name", name)
|
|
84
84
|
pulumi.set(__self__, "target", target)
|
|
85
85
|
|
|
86
|
-
@property
|
|
86
|
+
@_builtins.property
|
|
87
87
|
@pulumi.getter
|
|
88
|
-
def container(self) -> str:
|
|
88
|
+
def container(self) -> _builtins.str:
|
|
89
89
|
"""
|
|
90
90
|
container is the name of the container in the pods of the scaling target
|
|
91
91
|
"""
|
|
92
92
|
return pulumi.get(self, "container")
|
|
93
93
|
|
|
94
|
-
@property
|
|
94
|
+
@_builtins.property
|
|
95
95
|
@pulumi.getter
|
|
96
|
-
def name(self) -> str:
|
|
96
|
+
def name(self) -> _builtins.str:
|
|
97
97
|
"""
|
|
98
98
|
name is the name of the resource in question.
|
|
99
99
|
"""
|
|
100
100
|
return pulumi.get(self, "name")
|
|
101
101
|
|
|
102
|
-
@property
|
|
102
|
+
@_builtins.property
|
|
103
103
|
@pulumi.getter
|
|
104
104
|
def target(self) -> 'outputs.MetricTarget':
|
|
105
105
|
"""
|
|
@@ -114,13 +114,13 @@ class ContainerResourceMetricSourcePatch(dict):
|
|
|
114
114
|
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.
|
|
115
115
|
"""
|
|
116
116
|
def __init__(__self__, *,
|
|
117
|
-
container: Optional[str] = None,
|
|
118
|
-
name: Optional[str] = None,
|
|
117
|
+
container: Optional[_builtins.str] = None,
|
|
118
|
+
name: Optional[_builtins.str] = None,
|
|
119
119
|
target: Optional['outputs.MetricTargetPatch'] = None):
|
|
120
120
|
"""
|
|
121
121
|
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.
|
|
122
|
-
:param str container: container is the name of the container in the pods of the scaling target
|
|
123
|
-
:param str name: name is the name of the resource in question.
|
|
122
|
+
:param _builtins.str container: container is the name of the container in the pods of the scaling target
|
|
123
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
124
124
|
:param 'MetricTargetPatchArgs' target: target specifies the target value for the given metric
|
|
125
125
|
"""
|
|
126
126
|
if container is not None:
|
|
@@ -130,23 +130,23 @@ class ContainerResourceMetricSourcePatch(dict):
|
|
|
130
130
|
if target is not None:
|
|
131
131
|
pulumi.set(__self__, "target", target)
|
|
132
132
|
|
|
133
|
-
@property
|
|
133
|
+
@_builtins.property
|
|
134
134
|
@pulumi.getter
|
|
135
|
-
def container(self) -> Optional[str]:
|
|
135
|
+
def container(self) -> Optional[_builtins.str]:
|
|
136
136
|
"""
|
|
137
137
|
container is the name of the container in the pods of the scaling target
|
|
138
138
|
"""
|
|
139
139
|
return pulumi.get(self, "container")
|
|
140
140
|
|
|
141
|
-
@property
|
|
141
|
+
@_builtins.property
|
|
142
142
|
@pulumi.getter
|
|
143
|
-
def name(self) -> Optional[str]:
|
|
143
|
+
def name(self) -> Optional[_builtins.str]:
|
|
144
144
|
"""
|
|
145
145
|
name is the name of the resource in question.
|
|
146
146
|
"""
|
|
147
147
|
return pulumi.get(self, "name")
|
|
148
148
|
|
|
149
|
-
@property
|
|
149
|
+
@_builtins.property
|
|
150
150
|
@pulumi.getter
|
|
151
151
|
def target(self) -> Optional['outputs.MetricTargetPatch']:
|
|
152
152
|
"""
|
|
@@ -161,28 +161,28 @@ class ContainerResourceMetricStatus(dict):
|
|
|
161
161
|
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.
|
|
162
162
|
"""
|
|
163
163
|
def __init__(__self__, *,
|
|
164
|
-
container: str,
|
|
164
|
+
container: _builtins.str,
|
|
165
165
|
current: 'outputs.MetricValueStatus',
|
|
166
|
-
name: str):
|
|
166
|
+
name: _builtins.str):
|
|
167
167
|
"""
|
|
168
168
|
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.
|
|
169
|
-
:param str container: Container is the name of the container in the pods of the scaling target
|
|
169
|
+
:param _builtins.str container: Container is the name of the container in the pods of the scaling target
|
|
170
170
|
:param 'MetricValueStatusArgs' current: current contains the current value for the given metric
|
|
171
|
-
:param str name: Name is the name of the resource in question.
|
|
171
|
+
:param _builtins.str name: Name is the name of the resource in question.
|
|
172
172
|
"""
|
|
173
173
|
pulumi.set(__self__, "container", container)
|
|
174
174
|
pulumi.set(__self__, "current", current)
|
|
175
175
|
pulumi.set(__self__, "name", name)
|
|
176
176
|
|
|
177
|
-
@property
|
|
177
|
+
@_builtins.property
|
|
178
178
|
@pulumi.getter
|
|
179
|
-
def container(self) -> str:
|
|
179
|
+
def container(self) -> _builtins.str:
|
|
180
180
|
"""
|
|
181
181
|
Container is the name of the container in the pods of the scaling target
|
|
182
182
|
"""
|
|
183
183
|
return pulumi.get(self, "container")
|
|
184
184
|
|
|
185
|
-
@property
|
|
185
|
+
@_builtins.property
|
|
186
186
|
@pulumi.getter
|
|
187
187
|
def current(self) -> 'outputs.MetricValueStatus':
|
|
188
188
|
"""
|
|
@@ -190,9 +190,9 @@ class ContainerResourceMetricStatus(dict):
|
|
|
190
190
|
"""
|
|
191
191
|
return pulumi.get(self, "current")
|
|
192
192
|
|
|
193
|
-
@property
|
|
193
|
+
@_builtins.property
|
|
194
194
|
@pulumi.getter
|
|
195
|
-
def name(self) -> str:
|
|
195
|
+
def name(self) -> _builtins.str:
|
|
196
196
|
"""
|
|
197
197
|
Name is the name of the resource in question.
|
|
198
198
|
"""
|
|
@@ -205,14 +205,14 @@ class ContainerResourceMetricStatusPatch(dict):
|
|
|
205
205
|
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.
|
|
206
206
|
"""
|
|
207
207
|
def __init__(__self__, *,
|
|
208
|
-
container: Optional[str] = None,
|
|
208
|
+
container: Optional[_builtins.str] = None,
|
|
209
209
|
current: Optional['outputs.MetricValueStatusPatch'] = None,
|
|
210
|
-
name: Optional[str] = None):
|
|
210
|
+
name: Optional[_builtins.str] = None):
|
|
211
211
|
"""
|
|
212
212
|
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.
|
|
213
|
-
:param str container: Container is the name of the container in the pods of the scaling target
|
|
213
|
+
:param _builtins.str container: Container is the name of the container in the pods of the scaling target
|
|
214
214
|
:param 'MetricValueStatusPatchArgs' current: current contains the current value for the given metric
|
|
215
|
-
:param str name: Name is the name of the resource in question.
|
|
215
|
+
:param _builtins.str name: Name is the name of the resource in question.
|
|
216
216
|
"""
|
|
217
217
|
if container is not None:
|
|
218
218
|
pulumi.set(__self__, "container", container)
|
|
@@ -221,15 +221,15 @@ class ContainerResourceMetricStatusPatch(dict):
|
|
|
221
221
|
if name is not None:
|
|
222
222
|
pulumi.set(__self__, "name", name)
|
|
223
223
|
|
|
224
|
-
@property
|
|
224
|
+
@_builtins.property
|
|
225
225
|
@pulumi.getter
|
|
226
|
-
def container(self) -> Optional[str]:
|
|
226
|
+
def container(self) -> Optional[_builtins.str]:
|
|
227
227
|
"""
|
|
228
228
|
Container is the name of the container in the pods of the scaling target
|
|
229
229
|
"""
|
|
230
230
|
return pulumi.get(self, "container")
|
|
231
231
|
|
|
232
|
-
@property
|
|
232
|
+
@_builtins.property
|
|
233
233
|
@pulumi.getter
|
|
234
234
|
def current(self) -> Optional['outputs.MetricValueStatusPatch']:
|
|
235
235
|
"""
|
|
@@ -237,9 +237,9 @@ class ContainerResourceMetricStatusPatch(dict):
|
|
|
237
237
|
"""
|
|
238
238
|
return pulumi.get(self, "current")
|
|
239
239
|
|
|
240
|
-
@property
|
|
240
|
+
@_builtins.property
|
|
241
241
|
@pulumi.getter
|
|
242
|
-
def name(self) -> Optional[str]:
|
|
242
|
+
def name(self) -> Optional[_builtins.str]:
|
|
243
243
|
"""
|
|
244
244
|
Name is the name of the resource in question.
|
|
245
245
|
"""
|
|
@@ -269,39 +269,39 @@ class CrossVersionObjectReference(dict):
|
|
|
269
269
|
return super().get(key, default)
|
|
270
270
|
|
|
271
271
|
def __init__(__self__, *,
|
|
272
|
-
kind: str,
|
|
273
|
-
name: str,
|
|
274
|
-
api_version: Optional[str] = None):
|
|
272
|
+
kind: _builtins.str,
|
|
273
|
+
name: _builtins.str,
|
|
274
|
+
api_version: Optional[_builtins.str] = None):
|
|
275
275
|
"""
|
|
276
276
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
277
|
-
:param str kind: Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
278
|
-
:param str name: Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
279
|
-
:param str api_version: API version of the referent
|
|
277
|
+
:param _builtins.str kind: Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
278
|
+
:param _builtins.str name: Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
279
|
+
:param _builtins.str api_version: API version of the referent
|
|
280
280
|
"""
|
|
281
281
|
pulumi.set(__self__, "kind", kind)
|
|
282
282
|
pulumi.set(__self__, "name", name)
|
|
283
283
|
if api_version is not None:
|
|
284
284
|
pulumi.set(__self__, "api_version", api_version)
|
|
285
285
|
|
|
286
|
-
@property
|
|
286
|
+
@_builtins.property
|
|
287
287
|
@pulumi.getter
|
|
288
|
-
def kind(self) -> str:
|
|
288
|
+
def kind(self) -> _builtins.str:
|
|
289
289
|
"""
|
|
290
290
|
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
291
291
|
"""
|
|
292
292
|
return pulumi.get(self, "kind")
|
|
293
293
|
|
|
294
|
-
@property
|
|
294
|
+
@_builtins.property
|
|
295
295
|
@pulumi.getter
|
|
296
|
-
def name(self) -> str:
|
|
296
|
+
def name(self) -> _builtins.str:
|
|
297
297
|
"""
|
|
298
298
|
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
299
299
|
"""
|
|
300
300
|
return pulumi.get(self, "name")
|
|
301
301
|
|
|
302
|
-
@property
|
|
302
|
+
@_builtins.property
|
|
303
303
|
@pulumi.getter(name="apiVersion")
|
|
304
|
-
def api_version(self) -> Optional[str]:
|
|
304
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
305
305
|
"""
|
|
306
306
|
API version of the referent
|
|
307
307
|
"""
|
|
@@ -331,14 +331,14 @@ class CrossVersionObjectReferencePatch(dict):
|
|
|
331
331
|
return super().get(key, default)
|
|
332
332
|
|
|
333
333
|
def __init__(__self__, *,
|
|
334
|
-
api_version: Optional[str] = None,
|
|
335
|
-
kind: Optional[str] = None,
|
|
336
|
-
name: Optional[str] = None):
|
|
334
|
+
api_version: Optional[_builtins.str] = None,
|
|
335
|
+
kind: Optional[_builtins.str] = None,
|
|
336
|
+
name: Optional[_builtins.str] = None):
|
|
337
337
|
"""
|
|
338
338
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
339
|
-
:param str api_version: API version of the referent
|
|
340
|
-
:param str kind: Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
341
|
-
:param str name: Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
339
|
+
:param _builtins.str api_version: API version of the referent
|
|
340
|
+
:param _builtins.str kind: Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
341
|
+
:param _builtins.str name: Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
342
342
|
"""
|
|
343
343
|
if api_version is not None:
|
|
344
344
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -347,25 +347,25 @@ class CrossVersionObjectReferencePatch(dict):
|
|
|
347
347
|
if name is not None:
|
|
348
348
|
pulumi.set(__self__, "name", name)
|
|
349
349
|
|
|
350
|
-
@property
|
|
350
|
+
@_builtins.property
|
|
351
351
|
@pulumi.getter(name="apiVersion")
|
|
352
|
-
def api_version(self) -> Optional[str]:
|
|
352
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
353
353
|
"""
|
|
354
354
|
API version of the referent
|
|
355
355
|
"""
|
|
356
356
|
return pulumi.get(self, "api_version")
|
|
357
357
|
|
|
358
|
-
@property
|
|
358
|
+
@_builtins.property
|
|
359
359
|
@pulumi.getter
|
|
360
|
-
def kind(self) -> Optional[str]:
|
|
360
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
361
361
|
"""
|
|
362
362
|
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
363
363
|
"""
|
|
364
364
|
return pulumi.get(self, "kind")
|
|
365
365
|
|
|
366
|
-
@property
|
|
366
|
+
@_builtins.property
|
|
367
367
|
@pulumi.getter
|
|
368
|
-
def name(self) -> Optional[str]:
|
|
368
|
+
def name(self) -> Optional[_builtins.str]:
|
|
369
369
|
"""
|
|
370
370
|
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
371
371
|
"""
|
|
@@ -388,7 +388,7 @@ class ExternalMetricSource(dict):
|
|
|
388
388
|
pulumi.set(__self__, "metric", metric)
|
|
389
389
|
pulumi.set(__self__, "target", target)
|
|
390
390
|
|
|
391
|
-
@property
|
|
391
|
+
@_builtins.property
|
|
392
392
|
@pulumi.getter
|
|
393
393
|
def metric(self) -> 'outputs.MetricIdentifier':
|
|
394
394
|
"""
|
|
@@ -396,7 +396,7 @@ class ExternalMetricSource(dict):
|
|
|
396
396
|
"""
|
|
397
397
|
return pulumi.get(self, "metric")
|
|
398
398
|
|
|
399
|
-
@property
|
|
399
|
+
@_builtins.property
|
|
400
400
|
@pulumi.getter
|
|
401
401
|
def target(self) -> 'outputs.MetricTarget':
|
|
402
402
|
"""
|
|
@@ -423,7 +423,7 @@ class ExternalMetricSourcePatch(dict):
|
|
|
423
423
|
if target is not None:
|
|
424
424
|
pulumi.set(__self__, "target", target)
|
|
425
425
|
|
|
426
|
-
@property
|
|
426
|
+
@_builtins.property
|
|
427
427
|
@pulumi.getter
|
|
428
428
|
def metric(self) -> Optional['outputs.MetricIdentifierPatch']:
|
|
429
429
|
"""
|
|
@@ -431,7 +431,7 @@ class ExternalMetricSourcePatch(dict):
|
|
|
431
431
|
"""
|
|
432
432
|
return pulumi.get(self, "metric")
|
|
433
433
|
|
|
434
|
-
@property
|
|
434
|
+
@_builtins.property
|
|
435
435
|
@pulumi.getter
|
|
436
436
|
def target(self) -> Optional['outputs.MetricTargetPatch']:
|
|
437
437
|
"""
|
|
@@ -456,7 +456,7 @@ class ExternalMetricStatus(dict):
|
|
|
456
456
|
pulumi.set(__self__, "current", current)
|
|
457
457
|
pulumi.set(__self__, "metric", metric)
|
|
458
458
|
|
|
459
|
-
@property
|
|
459
|
+
@_builtins.property
|
|
460
460
|
@pulumi.getter
|
|
461
461
|
def current(self) -> 'outputs.MetricValueStatus':
|
|
462
462
|
"""
|
|
@@ -464,7 +464,7 @@ class ExternalMetricStatus(dict):
|
|
|
464
464
|
"""
|
|
465
465
|
return pulumi.get(self, "current")
|
|
466
466
|
|
|
467
|
-
@property
|
|
467
|
+
@_builtins.property
|
|
468
468
|
@pulumi.getter
|
|
469
469
|
def metric(self) -> 'outputs.MetricIdentifier':
|
|
470
470
|
"""
|
|
@@ -491,7 +491,7 @@ class ExternalMetricStatusPatch(dict):
|
|
|
491
491
|
if metric is not None:
|
|
492
492
|
pulumi.set(__self__, "metric", metric)
|
|
493
493
|
|
|
494
|
-
@property
|
|
494
|
+
@_builtins.property
|
|
495
495
|
@pulumi.getter
|
|
496
496
|
def current(self) -> Optional['outputs.MetricValueStatusPatch']:
|
|
497
497
|
"""
|
|
@@ -499,7 +499,7 @@ class ExternalMetricStatusPatch(dict):
|
|
|
499
499
|
"""
|
|
500
500
|
return pulumi.get(self, "current")
|
|
501
501
|
|
|
502
|
-
@property
|
|
502
|
+
@_builtins.property
|
|
503
503
|
@pulumi.getter
|
|
504
504
|
def metric(self) -> Optional['outputs.MetricIdentifierPatch']:
|
|
505
505
|
"""
|
|
@@ -531,38 +531,38 @@ class HPAScalingPolicy(dict):
|
|
|
531
531
|
return super().get(key, default)
|
|
532
532
|
|
|
533
533
|
def __init__(__self__, *,
|
|
534
|
-
period_seconds: int,
|
|
535
|
-
type: str,
|
|
536
|
-
value: int):
|
|
534
|
+
period_seconds: _builtins.int,
|
|
535
|
+
type: _builtins.str,
|
|
536
|
+
value: _builtins.int):
|
|
537
537
|
"""
|
|
538
538
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
539
|
-
:param int period_seconds: PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
540
|
-
:param str type: Type is used to specify the scaling policy.
|
|
541
|
-
:param int value: Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
539
|
+
:param _builtins.int period_seconds: PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
540
|
+
:param _builtins.str type: Type is used to specify the scaling policy.
|
|
541
|
+
:param _builtins.int value: Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
542
542
|
"""
|
|
543
543
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
544
544
|
pulumi.set(__self__, "type", type)
|
|
545
545
|
pulumi.set(__self__, "value", value)
|
|
546
546
|
|
|
547
|
-
@property
|
|
547
|
+
@_builtins.property
|
|
548
548
|
@pulumi.getter(name="periodSeconds")
|
|
549
|
-
def period_seconds(self) -> int:
|
|
549
|
+
def period_seconds(self) -> _builtins.int:
|
|
550
550
|
"""
|
|
551
551
|
PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
552
552
|
"""
|
|
553
553
|
return pulumi.get(self, "period_seconds")
|
|
554
554
|
|
|
555
|
-
@property
|
|
555
|
+
@_builtins.property
|
|
556
556
|
@pulumi.getter
|
|
557
|
-
def type(self) -> str:
|
|
557
|
+
def type(self) -> _builtins.str:
|
|
558
558
|
"""
|
|
559
559
|
Type is used to specify the scaling policy.
|
|
560
560
|
"""
|
|
561
561
|
return pulumi.get(self, "type")
|
|
562
562
|
|
|
563
|
-
@property
|
|
563
|
+
@_builtins.property
|
|
564
564
|
@pulumi.getter
|
|
565
|
-
def value(self) -> int:
|
|
565
|
+
def value(self) -> _builtins.int:
|
|
566
566
|
"""
|
|
567
567
|
Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
568
568
|
"""
|
|
@@ -592,14 +592,14 @@ class HPAScalingPolicyPatch(dict):
|
|
|
592
592
|
return super().get(key, default)
|
|
593
593
|
|
|
594
594
|
def __init__(__self__, *,
|
|
595
|
-
period_seconds: Optional[int] = None,
|
|
596
|
-
type: Optional[str] = None,
|
|
597
|
-
value: Optional[int] = None):
|
|
595
|
+
period_seconds: Optional[_builtins.int] = None,
|
|
596
|
+
type: Optional[_builtins.str] = None,
|
|
597
|
+
value: Optional[_builtins.int] = None):
|
|
598
598
|
"""
|
|
599
599
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
600
|
-
:param int period_seconds: PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
601
|
-
:param str type: Type is used to specify the scaling policy.
|
|
602
|
-
:param int value: Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
600
|
+
:param _builtins.int period_seconds: PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
601
|
+
:param _builtins.str type: Type is used to specify the scaling policy.
|
|
602
|
+
:param _builtins.int value: Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
603
603
|
"""
|
|
604
604
|
if period_seconds is not None:
|
|
605
605
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
@@ -608,25 +608,25 @@ class HPAScalingPolicyPatch(dict):
|
|
|
608
608
|
if value is not None:
|
|
609
609
|
pulumi.set(__self__, "value", value)
|
|
610
610
|
|
|
611
|
-
@property
|
|
611
|
+
@_builtins.property
|
|
612
612
|
@pulumi.getter(name="periodSeconds")
|
|
613
|
-
def period_seconds(self) -> Optional[int]:
|
|
613
|
+
def period_seconds(self) -> Optional[_builtins.int]:
|
|
614
614
|
"""
|
|
615
615
|
PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
616
616
|
"""
|
|
617
617
|
return pulumi.get(self, "period_seconds")
|
|
618
618
|
|
|
619
|
-
@property
|
|
619
|
+
@_builtins.property
|
|
620
620
|
@pulumi.getter
|
|
621
|
-
def type(self) -> Optional[str]:
|
|
621
|
+
def type(self) -> Optional[_builtins.str]:
|
|
622
622
|
"""
|
|
623
623
|
Type is used to specify the scaling policy.
|
|
624
624
|
"""
|
|
625
625
|
return pulumi.get(self, "type")
|
|
626
626
|
|
|
627
|
-
@property
|
|
627
|
+
@_builtins.property
|
|
628
628
|
@pulumi.getter
|
|
629
|
-
def value(self) -> Optional[int]:
|
|
629
|
+
def value(self) -> Optional[_builtins.int]:
|
|
630
630
|
"""
|
|
631
631
|
Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
632
632
|
"""
|
|
@@ -659,13 +659,13 @@ class HPAScalingRules(dict):
|
|
|
659
659
|
|
|
660
660
|
def __init__(__self__, *,
|
|
661
661
|
policies: Optional[Sequence['outputs.HPAScalingPolicy']] = None,
|
|
662
|
-
select_policy: Optional[str] = None,
|
|
663
|
-
stabilization_window_seconds: Optional[int] = None):
|
|
662
|
+
select_policy: Optional[_builtins.str] = None,
|
|
663
|
+
stabilization_window_seconds: Optional[_builtins.int] = None):
|
|
664
664
|
"""
|
|
665
665
|
HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
|
|
666
666
|
:param Sequence['HPAScalingPolicyArgs'] policies: policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
|
|
667
|
-
:param str select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
668
|
-
:param int stabilization_window_seconds: StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
667
|
+
:param _builtins.str select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
668
|
+
:param _builtins.int stabilization_window_seconds: StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
669
669
|
"""
|
|
670
670
|
if policies is not None:
|
|
671
671
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -674,7 +674,7 @@ class HPAScalingRules(dict):
|
|
|
674
674
|
if stabilization_window_seconds is not None:
|
|
675
675
|
pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
|
|
676
676
|
|
|
677
|
-
@property
|
|
677
|
+
@_builtins.property
|
|
678
678
|
@pulumi.getter
|
|
679
679
|
def policies(self) -> Optional[Sequence['outputs.HPAScalingPolicy']]:
|
|
680
680
|
"""
|
|
@@ -682,17 +682,17 @@ class HPAScalingRules(dict):
|
|
|
682
682
|
"""
|
|
683
683
|
return pulumi.get(self, "policies")
|
|
684
684
|
|
|
685
|
-
@property
|
|
685
|
+
@_builtins.property
|
|
686
686
|
@pulumi.getter(name="selectPolicy")
|
|
687
|
-
def select_policy(self) -> Optional[str]:
|
|
687
|
+
def select_policy(self) -> Optional[_builtins.str]:
|
|
688
688
|
"""
|
|
689
689
|
selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
690
690
|
"""
|
|
691
691
|
return pulumi.get(self, "select_policy")
|
|
692
692
|
|
|
693
|
-
@property
|
|
693
|
+
@_builtins.property
|
|
694
694
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
695
|
-
def stabilization_window_seconds(self) -> Optional[int]:
|
|
695
|
+
def stabilization_window_seconds(self) -> Optional[_builtins.int]:
|
|
696
696
|
"""
|
|
697
697
|
StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
698
698
|
"""
|
|
@@ -725,13 +725,13 @@ class HPAScalingRulesPatch(dict):
|
|
|
725
725
|
|
|
726
726
|
def __init__(__self__, *,
|
|
727
727
|
policies: Optional[Sequence['outputs.HPAScalingPolicyPatch']] = None,
|
|
728
|
-
select_policy: Optional[str] = None,
|
|
729
|
-
stabilization_window_seconds: Optional[int] = None):
|
|
728
|
+
select_policy: Optional[_builtins.str] = None,
|
|
729
|
+
stabilization_window_seconds: Optional[_builtins.int] = None):
|
|
730
730
|
"""
|
|
731
731
|
HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
|
|
732
732
|
:param Sequence['HPAScalingPolicyPatchArgs'] policies: policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
|
|
733
|
-
:param str select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
734
|
-
:param int stabilization_window_seconds: StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
733
|
+
:param _builtins.str select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
734
|
+
:param _builtins.int stabilization_window_seconds: StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
735
735
|
"""
|
|
736
736
|
if policies is not None:
|
|
737
737
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -740,7 +740,7 @@ class HPAScalingRulesPatch(dict):
|
|
|
740
740
|
if stabilization_window_seconds is not None:
|
|
741
741
|
pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
|
|
742
742
|
|
|
743
|
-
@property
|
|
743
|
+
@_builtins.property
|
|
744
744
|
@pulumi.getter
|
|
745
745
|
def policies(self) -> Optional[Sequence['outputs.HPAScalingPolicyPatch']]:
|
|
746
746
|
"""
|
|
@@ -748,17 +748,17 @@ class HPAScalingRulesPatch(dict):
|
|
|
748
748
|
"""
|
|
749
749
|
return pulumi.get(self, "policies")
|
|
750
750
|
|
|
751
|
-
@property
|
|
751
|
+
@_builtins.property
|
|
752
752
|
@pulumi.getter(name="selectPolicy")
|
|
753
|
-
def select_policy(self) -> Optional[str]:
|
|
753
|
+
def select_policy(self) -> Optional[_builtins.str]:
|
|
754
754
|
"""
|
|
755
755
|
selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
756
756
|
"""
|
|
757
757
|
return pulumi.get(self, "select_policy")
|
|
758
758
|
|
|
759
|
-
@property
|
|
759
|
+
@_builtins.property
|
|
760
760
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
761
|
-
def stabilization_window_seconds(self) -> Optional[int]:
|
|
761
|
+
def stabilization_window_seconds(self) -> Optional[_builtins.int]:
|
|
762
762
|
"""
|
|
763
763
|
StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
764
764
|
"""
|
|
@@ -788,15 +788,15 @@ class HorizontalPodAutoscaler(dict):
|
|
|
788
788
|
return super().get(key, default)
|
|
789
789
|
|
|
790
790
|
def __init__(__self__, *,
|
|
791
|
-
api_version: Optional[str] = None,
|
|
792
|
-
kind: Optional[str] = None,
|
|
791
|
+
api_version: Optional[_builtins.str] = None,
|
|
792
|
+
kind: Optional[_builtins.str] = None,
|
|
793
793
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
794
794
|
spec: Optional['outputs.HorizontalPodAutoscalerSpec'] = None,
|
|
795
795
|
status: Optional['outputs.HorizontalPodAutoscalerStatus'] = None):
|
|
796
796
|
"""
|
|
797
797
|
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.
|
|
798
|
-
: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
|
|
799
|
-
: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
|
|
798
|
+
: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
|
|
799
|
+
: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
|
|
800
800
|
: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
|
|
801
801
|
: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.
|
|
802
802
|
:param 'HorizontalPodAutoscalerStatusArgs' status: status is the current information about the autoscaler.
|
|
@@ -812,23 +812,23 @@ class HorizontalPodAutoscaler(dict):
|
|
|
812
812
|
if status is not None:
|
|
813
813
|
pulumi.set(__self__, "status", status)
|
|
814
814
|
|
|
815
|
-
@property
|
|
815
|
+
@_builtins.property
|
|
816
816
|
@pulumi.getter(name="apiVersion")
|
|
817
|
-
def api_version(self) -> Optional[str]:
|
|
817
|
+
def api_version(self) -> Optional[_builtins.str]:
|
|
818
818
|
"""
|
|
819
819
|
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
|
|
820
820
|
"""
|
|
821
821
|
return pulumi.get(self, "api_version")
|
|
822
822
|
|
|
823
|
-
@property
|
|
823
|
+
@_builtins.property
|
|
824
824
|
@pulumi.getter
|
|
825
|
-
def kind(self) -> Optional[str]:
|
|
825
|
+
def kind(self) -> Optional[_builtins.str]:
|
|
826
826
|
"""
|
|
827
827
|
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
|
|
828
828
|
"""
|
|
829
829
|
return pulumi.get(self, "kind")
|
|
830
830
|
|
|
831
|
-
@property
|
|
831
|
+
@_builtins.property
|
|
832
832
|
@pulumi.getter
|
|
833
833
|
def metadata(self) -> Optional['_meta.v1.outputs.ObjectMeta']:
|
|
834
834
|
"""
|
|
@@ -836,7 +836,7 @@ class HorizontalPodAutoscaler(dict):
|
|
|
836
836
|
"""
|
|
837
837
|
return pulumi.get(self, "metadata")
|
|
838
838
|
|
|
839
|
-
@property
|
|
839
|
+
@_builtins.property
|
|
840
840
|
@pulumi.getter
|
|
841
841
|
def spec(self) -> Optional['outputs.HorizontalPodAutoscalerSpec']:
|
|
842
842
|
"""
|
|
@@ -844,7 +844,7 @@ class HorizontalPodAutoscaler(dict):
|
|
|
844
844
|
"""
|
|
845
845
|
return pulumi.get(self, "spec")
|
|
846
846
|
|
|
847
|
-
@property
|
|
847
|
+
@_builtins.property
|
|
848
848
|
@pulumi.getter
|
|
849
849
|
def status(self) -> Optional['outputs.HorizontalPodAutoscalerStatus']:
|
|
850
850
|
"""
|
|
@@ -893,7 +893,7 @@ class HorizontalPodAutoscalerBehavior(dict):
|
|
|
893
893
|
if scale_up is not None:
|
|
894
894
|
pulumi.set(__self__, "scale_up", scale_up)
|
|
895
895
|
|
|
896
|
-
@property
|
|
896
|
+
@_builtins.property
|
|
897
897
|
@pulumi.getter(name="scaleDown")
|
|
898
898
|
def scale_down(self) -> Optional['outputs.HPAScalingRules']:
|
|
899
899
|
"""
|
|
@@ -901,7 +901,7 @@ class HorizontalPodAutoscalerBehavior(dict):
|
|
|
901
901
|
"""
|
|
902
902
|
return pulumi.get(self, "scale_down")
|
|
903
903
|
|
|
904
|
-
@property
|
|
904
|
+
@_builtins.property
|
|
905
905
|
@pulumi.getter(name="scaleUp")
|
|
906
906
|
def scale_up(self) -> Optional['outputs.HPAScalingRules']:
|
|
907
907
|
"""
|
|
@@ -953,7 +953,7 @@ class HorizontalPodAutoscalerBehaviorPatch(dict):
|
|
|
953
953
|
if scale_up is not None:
|
|
954
954
|
pulumi.set(__self__, "scale_up", scale_up)
|
|
955
955
|
|
|
956
|
-
@property
|
|
956
|
+
@_builtins.property
|
|
957
957
|
@pulumi.getter(name="scaleDown")
|
|
958
958
|
def scale_down(self) -> Optional['outputs.HPAScalingRulesPatch']:
|
|
959
959
|
"""
|
|
@@ -961,7 +961,7 @@ class HorizontalPodAutoscalerBehaviorPatch(dict):
|
|
|
961
961
|
"""
|
|
962
962
|
return pulumi.get(self, "scale_down")
|
|
963
963
|
|
|
964
|
-
@property
|
|
964
|
+
@_builtins.property
|
|
965
965
|
@pulumi.getter(name="scaleUp")
|
|
966
966
|
def scale_up(self) -> Optional['outputs.HPAScalingRulesPatch']:
|
|
967
967
|
"""
|
|
@@ -996,18 +996,18 @@ class HorizontalPodAutoscalerCondition(dict):
|
|
|
996
996
|
return super().get(key, default)
|
|
997
997
|
|
|
998
998
|
def __init__(__self__, *,
|
|
999
|
-
status: str,
|
|
1000
|
-
type: str,
|
|
1001
|
-
last_transition_time: Optional[str] = None,
|
|
1002
|
-
message: Optional[str] = None,
|
|
1003
|
-
reason: Optional[str] = None):
|
|
999
|
+
status: _builtins.str,
|
|
1000
|
+
type: _builtins.str,
|
|
1001
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
1002
|
+
message: Optional[_builtins.str] = None,
|
|
1003
|
+
reason: Optional[_builtins.str] = None):
|
|
1004
1004
|
"""
|
|
1005
1005
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1006
|
-
:param str status: status is the status of the condition (True, False, Unknown)
|
|
1007
|
-
:param str type: type describes the current condition
|
|
1008
|
-
:param str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1009
|
-
:param str message: message is a human-readable explanation containing details about the transition
|
|
1010
|
-
:param str reason: reason is the reason for the condition's last transition.
|
|
1006
|
+
:param _builtins.str status: status is the status of the condition (True, False, Unknown)
|
|
1007
|
+
:param _builtins.str type: type describes the current condition
|
|
1008
|
+
:param _builtins.str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1009
|
+
:param _builtins.str message: message is a human-readable explanation containing details about the transition
|
|
1010
|
+
:param _builtins.str reason: reason is the reason for the condition's last transition.
|
|
1011
1011
|
"""
|
|
1012
1012
|
pulumi.set(__self__, "status", status)
|
|
1013
1013
|
pulumi.set(__self__, "type", type)
|
|
@@ -1018,41 +1018,41 @@ class HorizontalPodAutoscalerCondition(dict):
|
|
|
1018
1018
|
if reason is not None:
|
|
1019
1019
|
pulumi.set(__self__, "reason", reason)
|
|
1020
1020
|
|
|
1021
|
-
@property
|
|
1021
|
+
@_builtins.property
|
|
1022
1022
|
@pulumi.getter
|
|
1023
|
-
def status(self) -> str:
|
|
1023
|
+
def status(self) -> _builtins.str:
|
|
1024
1024
|
"""
|
|
1025
1025
|
status is the status of the condition (True, False, Unknown)
|
|
1026
1026
|
"""
|
|
1027
1027
|
return pulumi.get(self, "status")
|
|
1028
1028
|
|
|
1029
|
-
@property
|
|
1029
|
+
@_builtins.property
|
|
1030
1030
|
@pulumi.getter
|
|
1031
|
-
def type(self) -> str:
|
|
1031
|
+
def type(self) -> _builtins.str:
|
|
1032
1032
|
"""
|
|
1033
1033
|
type describes the current condition
|
|
1034
1034
|
"""
|
|
1035
1035
|
return pulumi.get(self, "type")
|
|
1036
1036
|
|
|
1037
|
-
@property
|
|
1037
|
+
@_builtins.property
|
|
1038
1038
|
@pulumi.getter(name="lastTransitionTime")
|
|
1039
|
-
def last_transition_time(self) -> Optional[str]:
|
|
1039
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
1040
1040
|
"""
|
|
1041
1041
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1042
1042
|
"""
|
|
1043
1043
|
return pulumi.get(self, "last_transition_time")
|
|
1044
1044
|
|
|
1045
|
-
@property
|
|
1045
|
+
@_builtins.property
|
|
1046
1046
|
@pulumi.getter
|
|
1047
|
-
def message(self) -> Optional[str]:
|
|
1047
|
+
def message(self) -> Optional[_builtins.str]:
|
|
1048
1048
|
"""
|
|
1049
1049
|
message is a human-readable explanation containing details about the transition
|
|
1050
1050
|
"""
|
|
1051
1051
|
return pulumi.get(self, "message")
|
|
1052
1052
|
|
|
1053
|
-
@property
|
|
1053
|
+
@_builtins.property
|
|
1054
1054
|
@pulumi.getter
|
|
1055
|
-
def reason(self) -> Optional[str]:
|
|
1055
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
1056
1056
|
"""
|
|
1057
1057
|
reason is the reason for the condition's last transition.
|
|
1058
1058
|
"""
|
|
@@ -1082,18 +1082,18 @@ class HorizontalPodAutoscalerConditionPatch(dict):
|
|
|
1082
1082
|
return super().get(key, default)
|
|
1083
1083
|
|
|
1084
1084
|
def __init__(__self__, *,
|
|
1085
|
-
last_transition_time: Optional[str] = None,
|
|
1086
|
-
message: Optional[str] = None,
|
|
1087
|
-
reason: Optional[str] = None,
|
|
1088
|
-
status: Optional[str] = None,
|
|
1089
|
-
type: Optional[str] = None):
|
|
1085
|
+
last_transition_time: Optional[_builtins.str] = None,
|
|
1086
|
+
message: Optional[_builtins.str] = None,
|
|
1087
|
+
reason: Optional[_builtins.str] = None,
|
|
1088
|
+
status: Optional[_builtins.str] = None,
|
|
1089
|
+
type: Optional[_builtins.str] = None):
|
|
1090
1090
|
"""
|
|
1091
1091
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1092
|
-
:param str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1093
|
-
:param str message: message is a human-readable explanation containing details about the transition
|
|
1094
|
-
:param str reason: reason is the reason for the condition's last transition.
|
|
1095
|
-
:param str status: status is the status of the condition (True, False, Unknown)
|
|
1096
|
-
:param str type: type describes the current condition
|
|
1092
|
+
:param _builtins.str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1093
|
+
:param _builtins.str message: message is a human-readable explanation containing details about the transition
|
|
1094
|
+
:param _builtins.str reason: reason is the reason for the condition's last transition.
|
|
1095
|
+
:param _builtins.str status: status is the status of the condition (True, False, Unknown)
|
|
1096
|
+
:param _builtins.str type: type describes the current condition
|
|
1097
1097
|
"""
|
|
1098
1098
|
if last_transition_time is not None:
|
|
1099
1099
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
|
@@ -1106,41 +1106,41 @@ class HorizontalPodAutoscalerConditionPatch(dict):
|
|
|
1106
1106
|
if type is not None:
|
|
1107
1107
|
pulumi.set(__self__, "type", type)
|
|
1108
1108
|
|
|
1109
|
-
@property
|
|
1109
|
+
@_builtins.property
|
|
1110
1110
|
@pulumi.getter(name="lastTransitionTime")
|
|
1111
|
-
def last_transition_time(self) -> Optional[str]:
|
|
1111
|
+
def last_transition_time(self) -> Optional[_builtins.str]:
|
|
1112
1112
|
"""
|
|
1113
1113
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1114
1114
|
"""
|
|
1115
1115
|
return pulumi.get(self, "last_transition_time")
|
|
1116
1116
|
|
|
1117
|
-
@property
|
|
1117
|
+
@_builtins.property
|
|
1118
1118
|
@pulumi.getter
|
|
1119
|
-
def message(self) -> Optional[str]:
|
|
1119
|
+
def message(self) -> Optional[_builtins.str]:
|
|
1120
1120
|
"""
|
|
1121
1121
|
message is a human-readable explanation containing details about the transition
|
|
1122
1122
|
"""
|
|
1123
1123
|
return pulumi.get(self, "message")
|
|
1124
1124
|
|
|
1125
|
-
@property
|
|
1125
|
+
@_builtins.property
|
|
1126
1126
|
@pulumi.getter
|
|
1127
|
-
def reason(self) -> Optional[str]:
|
|
1127
|
+
def reason(self) -> Optional[_builtins.str]:
|
|
1128
1128
|
"""
|
|
1129
1129
|
reason is the reason for the condition's last transition.
|
|
1130
1130
|
"""
|
|
1131
1131
|
return pulumi.get(self, "reason")
|
|
1132
1132
|
|
|
1133
|
-
@property
|
|
1133
|
+
@_builtins.property
|
|
1134
1134
|
@pulumi.getter
|
|
1135
|
-
def status(self) -> Optional[str]:
|
|
1135
|
+
def status(self) -> Optional[_builtins.str]:
|
|
1136
1136
|
"""
|
|
1137
1137
|
status is the status of the condition (True, False, Unknown)
|
|
1138
1138
|
"""
|
|
1139
1139
|
return pulumi.get(self, "status")
|
|
1140
1140
|
|
|
1141
|
-
@property
|
|
1141
|
+
@_builtins.property
|
|
1142
1142
|
@pulumi.getter
|
|
1143
|
-
def type(self) -> Optional[str]:
|
|
1143
|
+
def type(self) -> Optional[_builtins.str]:
|
|
1144
1144
|
"""
|
|
1145
1145
|
type describes the current condition
|
|
1146
1146
|
"""
|
|
@@ -1174,18 +1174,18 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1174
1174
|
return super().get(key, default)
|
|
1175
1175
|
|
|
1176
1176
|
def __init__(__self__, *,
|
|
1177
|
-
max_replicas: int,
|
|
1177
|
+
max_replicas: _builtins.int,
|
|
1178
1178
|
scale_target_ref: 'outputs.CrossVersionObjectReference',
|
|
1179
1179
|
behavior: Optional['outputs.HorizontalPodAutoscalerBehavior'] = None,
|
|
1180
1180
|
metrics: Optional[Sequence['outputs.MetricSpec']] = None,
|
|
1181
|
-
min_replicas: Optional[int] = None):
|
|
1181
|
+
min_replicas: Optional[_builtins.int] = None):
|
|
1182
1182
|
"""
|
|
1183
1183
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1184
|
-
: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.
|
|
1184
|
+
: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.
|
|
1185
1185
|
: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.
|
|
1186
1186
|
:param 'HorizontalPodAutoscalerBehaviorArgs' behavior: behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1187
1187
|
: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. If not set, the default metric will be set to 80% average CPU utilization.
|
|
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
|
"""
|
|
1190
1190
|
pulumi.set(__self__, "max_replicas", max_replicas)
|
|
1191
1191
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
@@ -1196,15 +1196,15 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1196
1196
|
if min_replicas is not None:
|
|
1197
1197
|
pulumi.set(__self__, "min_replicas", min_replicas)
|
|
1198
1198
|
|
|
1199
|
-
@property
|
|
1199
|
+
@_builtins.property
|
|
1200
1200
|
@pulumi.getter(name="maxReplicas")
|
|
1201
|
-
def max_replicas(self) -> int:
|
|
1201
|
+
def max_replicas(self) -> _builtins.int:
|
|
1202
1202
|
"""
|
|
1203
1203
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1204
1204
|
"""
|
|
1205
1205
|
return pulumi.get(self, "max_replicas")
|
|
1206
1206
|
|
|
1207
|
-
@property
|
|
1207
|
+
@_builtins.property
|
|
1208
1208
|
@pulumi.getter(name="scaleTargetRef")
|
|
1209
1209
|
def scale_target_ref(self) -> 'outputs.CrossVersionObjectReference':
|
|
1210
1210
|
"""
|
|
@@ -1212,7 +1212,7 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1212
1212
|
"""
|
|
1213
1213
|
return pulumi.get(self, "scale_target_ref")
|
|
1214
1214
|
|
|
1215
|
-
@property
|
|
1215
|
+
@_builtins.property
|
|
1216
1216
|
@pulumi.getter
|
|
1217
1217
|
def behavior(self) -> Optional['outputs.HorizontalPodAutoscalerBehavior']:
|
|
1218
1218
|
"""
|
|
@@ -1220,7 +1220,7 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1220
1220
|
"""
|
|
1221
1221
|
return pulumi.get(self, "behavior")
|
|
1222
1222
|
|
|
1223
|
-
@property
|
|
1223
|
+
@_builtins.property
|
|
1224
1224
|
@pulumi.getter
|
|
1225
1225
|
def metrics(self) -> Optional[Sequence['outputs.MetricSpec']]:
|
|
1226
1226
|
"""
|
|
@@ -1228,9 +1228,9 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1228
1228
|
"""
|
|
1229
1229
|
return pulumi.get(self, "metrics")
|
|
1230
1230
|
|
|
1231
|
-
@property
|
|
1231
|
+
@_builtins.property
|
|
1232
1232
|
@pulumi.getter(name="minReplicas")
|
|
1233
|
-
def min_replicas(self) -> Optional[int]:
|
|
1233
|
+
def min_replicas(self) -> Optional[_builtins.int]:
|
|
1234
1234
|
"""
|
|
1235
1235
|
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.
|
|
1236
1236
|
"""
|
|
@@ -1265,16 +1265,16 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1265
1265
|
|
|
1266
1266
|
def __init__(__self__, *,
|
|
1267
1267
|
behavior: Optional['outputs.HorizontalPodAutoscalerBehaviorPatch'] = None,
|
|
1268
|
-
max_replicas: Optional[int] = None,
|
|
1268
|
+
max_replicas: Optional[_builtins.int] = None,
|
|
1269
1269
|
metrics: Optional[Sequence['outputs.MetricSpecPatch']] = None,
|
|
1270
|
-
min_replicas: Optional[int] = None,
|
|
1270
|
+
min_replicas: Optional[_builtins.int] = None,
|
|
1271
1271
|
scale_target_ref: Optional['outputs.CrossVersionObjectReferencePatch'] = None):
|
|
1272
1272
|
"""
|
|
1273
1273
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1274
1274
|
:param 'HorizontalPodAutoscalerBehaviorPatchArgs' behavior: behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1275
|
-
: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.
|
|
1275
|
+
: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.
|
|
1276
1276
|
: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. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1277
|
-
: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.
|
|
1277
|
+
: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.
|
|
1278
1278
|
: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.
|
|
1279
1279
|
"""
|
|
1280
1280
|
if behavior is not None:
|
|
@@ -1288,7 +1288,7 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1288
1288
|
if scale_target_ref is not None:
|
|
1289
1289
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
1290
1290
|
|
|
1291
|
-
@property
|
|
1291
|
+
@_builtins.property
|
|
1292
1292
|
@pulumi.getter
|
|
1293
1293
|
def behavior(self) -> Optional['outputs.HorizontalPodAutoscalerBehaviorPatch']:
|
|
1294
1294
|
"""
|
|
@@ -1296,15 +1296,15 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1296
1296
|
"""
|
|
1297
1297
|
return pulumi.get(self, "behavior")
|
|
1298
1298
|
|
|
1299
|
-
@property
|
|
1299
|
+
@_builtins.property
|
|
1300
1300
|
@pulumi.getter(name="maxReplicas")
|
|
1301
|
-
def max_replicas(self) -> Optional[int]:
|
|
1301
|
+
def max_replicas(self) -> Optional[_builtins.int]:
|
|
1302
1302
|
"""
|
|
1303
1303
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1304
1304
|
"""
|
|
1305
1305
|
return pulumi.get(self, "max_replicas")
|
|
1306
1306
|
|
|
1307
|
-
@property
|
|
1307
|
+
@_builtins.property
|
|
1308
1308
|
@pulumi.getter
|
|
1309
1309
|
def metrics(self) -> Optional[Sequence['outputs.MetricSpecPatch']]:
|
|
1310
1310
|
"""
|
|
@@ -1312,15 +1312,15 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1312
1312
|
"""
|
|
1313
1313
|
return pulumi.get(self, "metrics")
|
|
1314
1314
|
|
|
1315
|
-
@property
|
|
1315
|
+
@_builtins.property
|
|
1316
1316
|
@pulumi.getter(name="minReplicas")
|
|
1317
|
-
def min_replicas(self) -> Optional[int]:
|
|
1317
|
+
def min_replicas(self) -> Optional[_builtins.int]:
|
|
1318
1318
|
"""
|
|
1319
1319
|
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.
|
|
1320
1320
|
"""
|
|
1321
1321
|
return pulumi.get(self, "min_replicas")
|
|
1322
1322
|
|
|
1323
|
-
@property
|
|
1323
|
+
@_builtins.property
|
|
1324
1324
|
@pulumi.getter(name="scaleTargetRef")
|
|
1325
1325
|
def scale_target_ref(self) -> Optional['outputs.CrossVersionObjectReferencePatch']:
|
|
1326
1326
|
"""
|
|
@@ -1361,19 +1361,19 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1361
1361
|
|
|
1362
1362
|
def __init__(__self__, *,
|
|
1363
1363
|
conditions: Sequence['outputs.HorizontalPodAutoscalerCondition'],
|
|
1364
|
-
current_replicas: int,
|
|
1365
|
-
desired_replicas: int,
|
|
1364
|
+
current_replicas: _builtins.int,
|
|
1365
|
+
desired_replicas: _builtins.int,
|
|
1366
1366
|
current_metrics: Optional[Sequence['outputs.MetricStatus']] = None,
|
|
1367
|
-
last_scale_time: Optional[str] = None,
|
|
1368
|
-
observed_generation: Optional[int] = None):
|
|
1367
|
+
last_scale_time: Optional[_builtins.str] = None,
|
|
1368
|
+
observed_generation: Optional[_builtins.int] = None):
|
|
1369
1369
|
"""
|
|
1370
1370
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1371
1371
|
: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.
|
|
1372
|
-
:param int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1373
|
-
:param int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1372
|
+
:param _builtins.int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1373
|
+
:param _builtins.int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1374
1374
|
:param Sequence['MetricStatusArgs'] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1375
|
-
: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.
|
|
1376
|
-
:param int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1375
|
+
: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.
|
|
1376
|
+
:param _builtins.int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1377
1377
|
"""
|
|
1378
1378
|
pulumi.set(__self__, "conditions", conditions)
|
|
1379
1379
|
pulumi.set(__self__, "current_replicas", current_replicas)
|
|
@@ -1385,7 +1385,7 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1385
1385
|
if observed_generation is not None:
|
|
1386
1386
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
1387
1387
|
|
|
1388
|
-
@property
|
|
1388
|
+
@_builtins.property
|
|
1389
1389
|
@pulumi.getter
|
|
1390
1390
|
def conditions(self) -> Sequence['outputs.HorizontalPodAutoscalerCondition']:
|
|
1391
1391
|
"""
|
|
@@ -1393,23 +1393,23 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1393
1393
|
"""
|
|
1394
1394
|
return pulumi.get(self, "conditions")
|
|
1395
1395
|
|
|
1396
|
-
@property
|
|
1396
|
+
@_builtins.property
|
|
1397
1397
|
@pulumi.getter(name="currentReplicas")
|
|
1398
|
-
def current_replicas(self) -> int:
|
|
1398
|
+
def current_replicas(self) -> _builtins.int:
|
|
1399
1399
|
"""
|
|
1400
1400
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1401
1401
|
"""
|
|
1402
1402
|
return pulumi.get(self, "current_replicas")
|
|
1403
1403
|
|
|
1404
|
-
@property
|
|
1404
|
+
@_builtins.property
|
|
1405
1405
|
@pulumi.getter(name="desiredReplicas")
|
|
1406
|
-
def desired_replicas(self) -> int:
|
|
1406
|
+
def desired_replicas(self) -> _builtins.int:
|
|
1407
1407
|
"""
|
|
1408
1408
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1409
1409
|
"""
|
|
1410
1410
|
return pulumi.get(self, "desired_replicas")
|
|
1411
1411
|
|
|
1412
|
-
@property
|
|
1412
|
+
@_builtins.property
|
|
1413
1413
|
@pulumi.getter(name="currentMetrics")
|
|
1414
1414
|
def current_metrics(self) -> Optional[Sequence['outputs.MetricStatus']]:
|
|
1415
1415
|
"""
|
|
@@ -1417,17 +1417,17 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1417
1417
|
"""
|
|
1418
1418
|
return pulumi.get(self, "current_metrics")
|
|
1419
1419
|
|
|
1420
|
-
@property
|
|
1420
|
+
@_builtins.property
|
|
1421
1421
|
@pulumi.getter(name="lastScaleTime")
|
|
1422
|
-
def last_scale_time(self) -> Optional[str]:
|
|
1422
|
+
def last_scale_time(self) -> Optional[_builtins.str]:
|
|
1423
1423
|
"""
|
|
1424
1424
|
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.
|
|
1425
1425
|
"""
|
|
1426
1426
|
return pulumi.get(self, "last_scale_time")
|
|
1427
1427
|
|
|
1428
|
-
@property
|
|
1428
|
+
@_builtins.property
|
|
1429
1429
|
@pulumi.getter(name="observedGeneration")
|
|
1430
|
-
def observed_generation(self) -> Optional[int]:
|
|
1430
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
1431
1431
|
"""
|
|
1432
1432
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1433
1433
|
"""
|
|
@@ -1467,18 +1467,18 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1467
1467
|
def __init__(__self__, *,
|
|
1468
1468
|
conditions: Optional[Sequence['outputs.HorizontalPodAutoscalerConditionPatch']] = None,
|
|
1469
1469
|
current_metrics: Optional[Sequence['outputs.MetricStatusPatch']] = None,
|
|
1470
|
-
current_replicas: Optional[int] = None,
|
|
1471
|
-
desired_replicas: Optional[int] = None,
|
|
1472
|
-
last_scale_time: Optional[str] = None,
|
|
1473
|
-
observed_generation: Optional[int] = None):
|
|
1470
|
+
current_replicas: Optional[_builtins.int] = None,
|
|
1471
|
+
desired_replicas: Optional[_builtins.int] = None,
|
|
1472
|
+
last_scale_time: Optional[_builtins.str] = None,
|
|
1473
|
+
observed_generation: Optional[_builtins.int] = None):
|
|
1474
1474
|
"""
|
|
1475
1475
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1476
1476
|
: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.
|
|
1477
1477
|
:param Sequence['MetricStatusPatchArgs'] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1478
|
-
:param int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1479
|
-
:param int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1480
|
-
: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.
|
|
1481
|
-
:param int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1478
|
+
:param _builtins.int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1479
|
+
:param _builtins.int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1480
|
+
: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.
|
|
1481
|
+
:param _builtins.int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1482
1482
|
"""
|
|
1483
1483
|
if conditions is not None:
|
|
1484
1484
|
pulumi.set(__self__, "conditions", conditions)
|
|
@@ -1493,7 +1493,7 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1493
1493
|
if observed_generation is not None:
|
|
1494
1494
|
pulumi.set(__self__, "observed_generation", observed_generation)
|
|
1495
1495
|
|
|
1496
|
-
@property
|
|
1496
|
+
@_builtins.property
|
|
1497
1497
|
@pulumi.getter
|
|
1498
1498
|
def conditions(self) -> Optional[Sequence['outputs.HorizontalPodAutoscalerConditionPatch']]:
|
|
1499
1499
|
"""
|
|
@@ -1501,7 +1501,7 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1501
1501
|
"""
|
|
1502
1502
|
return pulumi.get(self, "conditions")
|
|
1503
1503
|
|
|
1504
|
-
@property
|
|
1504
|
+
@_builtins.property
|
|
1505
1505
|
@pulumi.getter(name="currentMetrics")
|
|
1506
1506
|
def current_metrics(self) -> Optional[Sequence['outputs.MetricStatusPatch']]:
|
|
1507
1507
|
"""
|
|
@@ -1509,33 +1509,33 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1509
1509
|
"""
|
|
1510
1510
|
return pulumi.get(self, "current_metrics")
|
|
1511
1511
|
|
|
1512
|
-
@property
|
|
1512
|
+
@_builtins.property
|
|
1513
1513
|
@pulumi.getter(name="currentReplicas")
|
|
1514
|
-
def current_replicas(self) -> Optional[int]:
|
|
1514
|
+
def current_replicas(self) -> Optional[_builtins.int]:
|
|
1515
1515
|
"""
|
|
1516
1516
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1517
1517
|
"""
|
|
1518
1518
|
return pulumi.get(self, "current_replicas")
|
|
1519
1519
|
|
|
1520
|
-
@property
|
|
1520
|
+
@_builtins.property
|
|
1521
1521
|
@pulumi.getter(name="desiredReplicas")
|
|
1522
|
-
def desired_replicas(self) -> Optional[int]:
|
|
1522
|
+
def desired_replicas(self) -> Optional[_builtins.int]:
|
|
1523
1523
|
"""
|
|
1524
1524
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1525
1525
|
"""
|
|
1526
1526
|
return pulumi.get(self, "desired_replicas")
|
|
1527
1527
|
|
|
1528
|
-
@property
|
|
1528
|
+
@_builtins.property
|
|
1529
1529
|
@pulumi.getter(name="lastScaleTime")
|
|
1530
|
-
def last_scale_time(self) -> Optional[str]:
|
|
1530
|
+
def last_scale_time(self) -> Optional[_builtins.str]:
|
|
1531
1531
|
"""
|
|
1532
1532
|
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.
|
|
1533
1533
|
"""
|
|
1534
1534
|
return pulumi.get(self, "last_scale_time")
|
|
1535
1535
|
|
|
1536
|
-
@property
|
|
1536
|
+
@_builtins.property
|
|
1537
1537
|
@pulumi.getter(name="observedGeneration")
|
|
1538
|
-
def observed_generation(self) -> Optional[int]:
|
|
1538
|
+
def observed_generation(self) -> Optional[_builtins.int]:
|
|
1539
1539
|
"""
|
|
1540
1540
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1541
1541
|
"""
|
|
@@ -1548,26 +1548,26 @@ class MetricIdentifier(dict):
|
|
|
1548
1548
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1549
1549
|
"""
|
|
1550
1550
|
def __init__(__self__, *,
|
|
1551
|
-
name: str,
|
|
1551
|
+
name: _builtins.str,
|
|
1552
1552
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
1553
1553
|
"""
|
|
1554
1554
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1555
|
-
:param str name: name is the name of the given metric
|
|
1555
|
+
:param _builtins.str name: name is the name of the given metric
|
|
1556
1556
|
: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.
|
|
1557
1557
|
"""
|
|
1558
1558
|
pulumi.set(__self__, "name", name)
|
|
1559
1559
|
if selector is not None:
|
|
1560
1560
|
pulumi.set(__self__, "selector", selector)
|
|
1561
1561
|
|
|
1562
|
-
@property
|
|
1562
|
+
@_builtins.property
|
|
1563
1563
|
@pulumi.getter
|
|
1564
|
-
def name(self) -> str:
|
|
1564
|
+
def name(self) -> _builtins.str:
|
|
1565
1565
|
"""
|
|
1566
1566
|
name is the name of the given metric
|
|
1567
1567
|
"""
|
|
1568
1568
|
return pulumi.get(self, "name")
|
|
1569
1569
|
|
|
1570
|
-
@property
|
|
1570
|
+
@_builtins.property
|
|
1571
1571
|
@pulumi.getter
|
|
1572
1572
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelector']:
|
|
1573
1573
|
"""
|
|
@@ -1582,11 +1582,11 @@ class MetricIdentifierPatch(dict):
|
|
|
1582
1582
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1583
1583
|
"""
|
|
1584
1584
|
def __init__(__self__, *,
|
|
1585
|
-
name: Optional[str] = None,
|
|
1585
|
+
name: Optional[_builtins.str] = None,
|
|
1586
1586
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None):
|
|
1587
1587
|
"""
|
|
1588
1588
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1589
|
-
:param str name: name is the name of the given metric
|
|
1589
|
+
:param _builtins.str name: name is the name of the given metric
|
|
1590
1590
|
: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.
|
|
1591
1591
|
"""
|
|
1592
1592
|
if name is not None:
|
|
@@ -1594,15 +1594,15 @@ class MetricIdentifierPatch(dict):
|
|
|
1594
1594
|
if selector is not None:
|
|
1595
1595
|
pulumi.set(__self__, "selector", selector)
|
|
1596
1596
|
|
|
1597
|
-
@property
|
|
1597
|
+
@_builtins.property
|
|
1598
1598
|
@pulumi.getter
|
|
1599
|
-
def name(self) -> Optional[str]:
|
|
1599
|
+
def name(self) -> Optional[_builtins.str]:
|
|
1600
1600
|
"""
|
|
1601
1601
|
name is the name of the given metric
|
|
1602
1602
|
"""
|
|
1603
1603
|
return pulumi.get(self, "name")
|
|
1604
1604
|
|
|
1605
|
-
@property
|
|
1605
|
+
@_builtins.property
|
|
1606
1606
|
@pulumi.getter
|
|
1607
1607
|
def selector(self) -> Optional['_meta.v1.outputs.LabelSelectorPatch']:
|
|
1608
1608
|
"""
|
|
@@ -1634,7 +1634,7 @@ class MetricSpec(dict):
|
|
|
1634
1634
|
return super().get(key, default)
|
|
1635
1635
|
|
|
1636
1636
|
def __init__(__self__, *,
|
|
1637
|
-
type: str,
|
|
1637
|
+
type: _builtins.str,
|
|
1638
1638
|
container_resource: Optional['outputs.ContainerResourceMetricSource'] = None,
|
|
1639
1639
|
external: Optional['outputs.ExternalMetricSource'] = None,
|
|
1640
1640
|
object: Optional['outputs.ObjectMetricSource'] = None,
|
|
@@ -1642,7 +1642,7 @@ class MetricSpec(dict):
|
|
|
1642
1642
|
resource: Optional['outputs.ResourceMetricSource'] = None):
|
|
1643
1643
|
"""
|
|
1644
1644
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1645
|
-
: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.
|
|
1645
|
+
: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.
|
|
1646
1646
|
: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.
|
|
1647
1647
|
: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).
|
|
1648
1648
|
:param 'ObjectMetricSourceArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -1661,15 +1661,15 @@ class MetricSpec(dict):
|
|
|
1661
1661
|
if resource is not None:
|
|
1662
1662
|
pulumi.set(__self__, "resource", resource)
|
|
1663
1663
|
|
|
1664
|
-
@property
|
|
1664
|
+
@_builtins.property
|
|
1665
1665
|
@pulumi.getter
|
|
1666
|
-
def type(self) -> str:
|
|
1666
|
+
def type(self) -> _builtins.str:
|
|
1667
1667
|
"""
|
|
1668
1668
|
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.
|
|
1669
1669
|
"""
|
|
1670
1670
|
return pulumi.get(self, "type")
|
|
1671
1671
|
|
|
1672
|
-
@property
|
|
1672
|
+
@_builtins.property
|
|
1673
1673
|
@pulumi.getter(name="containerResource")
|
|
1674
1674
|
def container_resource(self) -> Optional['outputs.ContainerResourceMetricSource']:
|
|
1675
1675
|
"""
|
|
@@ -1677,7 +1677,7 @@ class MetricSpec(dict):
|
|
|
1677
1677
|
"""
|
|
1678
1678
|
return pulumi.get(self, "container_resource")
|
|
1679
1679
|
|
|
1680
|
-
@property
|
|
1680
|
+
@_builtins.property
|
|
1681
1681
|
@pulumi.getter
|
|
1682
1682
|
def external(self) -> Optional['outputs.ExternalMetricSource']:
|
|
1683
1683
|
"""
|
|
@@ -1685,7 +1685,7 @@ class MetricSpec(dict):
|
|
|
1685
1685
|
"""
|
|
1686
1686
|
return pulumi.get(self, "external")
|
|
1687
1687
|
|
|
1688
|
-
@property
|
|
1688
|
+
@_builtins.property
|
|
1689
1689
|
@pulumi.getter
|
|
1690
1690
|
def object(self) -> Optional['outputs.ObjectMetricSource']:
|
|
1691
1691
|
"""
|
|
@@ -1693,7 +1693,7 @@ class MetricSpec(dict):
|
|
|
1693
1693
|
"""
|
|
1694
1694
|
return pulumi.get(self, "object")
|
|
1695
1695
|
|
|
1696
|
-
@property
|
|
1696
|
+
@_builtins.property
|
|
1697
1697
|
@pulumi.getter
|
|
1698
1698
|
def pods(self) -> Optional['outputs.PodsMetricSource']:
|
|
1699
1699
|
"""
|
|
@@ -1701,7 +1701,7 @@ class MetricSpec(dict):
|
|
|
1701
1701
|
"""
|
|
1702
1702
|
return pulumi.get(self, "pods")
|
|
1703
1703
|
|
|
1704
|
-
@property
|
|
1704
|
+
@_builtins.property
|
|
1705
1705
|
@pulumi.getter
|
|
1706
1706
|
def resource(self) -> Optional['outputs.ResourceMetricSource']:
|
|
1707
1707
|
"""
|
|
@@ -1738,7 +1738,7 @@ class MetricSpecPatch(dict):
|
|
|
1738
1738
|
object: Optional['outputs.ObjectMetricSourcePatch'] = None,
|
|
1739
1739
|
pods: Optional['outputs.PodsMetricSourcePatch'] = None,
|
|
1740
1740
|
resource: Optional['outputs.ResourceMetricSourcePatch'] = None,
|
|
1741
|
-
type: Optional[str] = None):
|
|
1741
|
+
type: Optional[_builtins.str] = None):
|
|
1742
1742
|
"""
|
|
1743
1743
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1744
1744
|
: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.
|
|
@@ -1746,7 +1746,7 @@ class MetricSpecPatch(dict):
|
|
|
1746
1746
|
:param 'ObjectMetricSourcePatchArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1747
1747
|
: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.
|
|
1748
1748
|
: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.
|
|
1749
|
-
: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.
|
|
1749
|
+
: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.
|
|
1750
1750
|
"""
|
|
1751
1751
|
if container_resource is not None:
|
|
1752
1752
|
pulumi.set(__self__, "container_resource", container_resource)
|
|
@@ -1761,7 +1761,7 @@ class MetricSpecPatch(dict):
|
|
|
1761
1761
|
if type is not None:
|
|
1762
1762
|
pulumi.set(__self__, "type", type)
|
|
1763
1763
|
|
|
1764
|
-
@property
|
|
1764
|
+
@_builtins.property
|
|
1765
1765
|
@pulumi.getter(name="containerResource")
|
|
1766
1766
|
def container_resource(self) -> Optional['outputs.ContainerResourceMetricSourcePatch']:
|
|
1767
1767
|
"""
|
|
@@ -1769,7 +1769,7 @@ class MetricSpecPatch(dict):
|
|
|
1769
1769
|
"""
|
|
1770
1770
|
return pulumi.get(self, "container_resource")
|
|
1771
1771
|
|
|
1772
|
-
@property
|
|
1772
|
+
@_builtins.property
|
|
1773
1773
|
@pulumi.getter
|
|
1774
1774
|
def external(self) -> Optional['outputs.ExternalMetricSourcePatch']:
|
|
1775
1775
|
"""
|
|
@@ -1777,7 +1777,7 @@ class MetricSpecPatch(dict):
|
|
|
1777
1777
|
"""
|
|
1778
1778
|
return pulumi.get(self, "external")
|
|
1779
1779
|
|
|
1780
|
-
@property
|
|
1780
|
+
@_builtins.property
|
|
1781
1781
|
@pulumi.getter
|
|
1782
1782
|
def object(self) -> Optional['outputs.ObjectMetricSourcePatch']:
|
|
1783
1783
|
"""
|
|
@@ -1785,7 +1785,7 @@ class MetricSpecPatch(dict):
|
|
|
1785
1785
|
"""
|
|
1786
1786
|
return pulumi.get(self, "object")
|
|
1787
1787
|
|
|
1788
|
-
@property
|
|
1788
|
+
@_builtins.property
|
|
1789
1789
|
@pulumi.getter
|
|
1790
1790
|
def pods(self) -> Optional['outputs.PodsMetricSourcePatch']:
|
|
1791
1791
|
"""
|
|
@@ -1793,7 +1793,7 @@ class MetricSpecPatch(dict):
|
|
|
1793
1793
|
"""
|
|
1794
1794
|
return pulumi.get(self, "pods")
|
|
1795
1795
|
|
|
1796
|
-
@property
|
|
1796
|
+
@_builtins.property
|
|
1797
1797
|
@pulumi.getter
|
|
1798
1798
|
def resource(self) -> Optional['outputs.ResourceMetricSourcePatch']:
|
|
1799
1799
|
"""
|
|
@@ -1801,9 +1801,9 @@ class MetricSpecPatch(dict):
|
|
|
1801
1801
|
"""
|
|
1802
1802
|
return pulumi.get(self, "resource")
|
|
1803
1803
|
|
|
1804
|
-
@property
|
|
1804
|
+
@_builtins.property
|
|
1805
1805
|
@pulumi.getter
|
|
1806
|
-
def type(self) -> Optional[str]:
|
|
1806
|
+
def type(self) -> Optional[_builtins.str]:
|
|
1807
1807
|
"""
|
|
1808
1808
|
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.
|
|
1809
1809
|
"""
|
|
@@ -1833,7 +1833,7 @@ class MetricStatus(dict):
|
|
|
1833
1833
|
return super().get(key, default)
|
|
1834
1834
|
|
|
1835
1835
|
def __init__(__self__, *,
|
|
1836
|
-
type: str,
|
|
1836
|
+
type: _builtins.str,
|
|
1837
1837
|
container_resource: Optional['outputs.ContainerResourceMetricStatus'] = None,
|
|
1838
1838
|
external: Optional['outputs.ExternalMetricStatus'] = None,
|
|
1839
1839
|
object: Optional['outputs.ObjectMetricStatus'] = None,
|
|
@@ -1841,7 +1841,7 @@ class MetricStatus(dict):
|
|
|
1841
1841
|
resource: Optional['outputs.ResourceMetricStatus'] = None):
|
|
1842
1842
|
"""
|
|
1843
1843
|
MetricStatus describes the last-read state of a single metric.
|
|
1844
|
-
: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.
|
|
1844
|
+
: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.
|
|
1845
1845
|
: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.
|
|
1846
1846
|
: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).
|
|
1847
1847
|
:param 'ObjectMetricStatusArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -1860,15 +1860,15 @@ class MetricStatus(dict):
|
|
|
1860
1860
|
if resource is not None:
|
|
1861
1861
|
pulumi.set(__self__, "resource", resource)
|
|
1862
1862
|
|
|
1863
|
-
@property
|
|
1863
|
+
@_builtins.property
|
|
1864
1864
|
@pulumi.getter
|
|
1865
|
-
def type(self) -> str:
|
|
1865
|
+
def type(self) -> _builtins.str:
|
|
1866
1866
|
"""
|
|
1867
1867
|
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.
|
|
1868
1868
|
"""
|
|
1869
1869
|
return pulumi.get(self, "type")
|
|
1870
1870
|
|
|
1871
|
-
@property
|
|
1871
|
+
@_builtins.property
|
|
1872
1872
|
@pulumi.getter(name="containerResource")
|
|
1873
1873
|
def container_resource(self) -> Optional['outputs.ContainerResourceMetricStatus']:
|
|
1874
1874
|
"""
|
|
@@ -1876,7 +1876,7 @@ class MetricStatus(dict):
|
|
|
1876
1876
|
"""
|
|
1877
1877
|
return pulumi.get(self, "container_resource")
|
|
1878
1878
|
|
|
1879
|
-
@property
|
|
1879
|
+
@_builtins.property
|
|
1880
1880
|
@pulumi.getter
|
|
1881
1881
|
def external(self) -> Optional['outputs.ExternalMetricStatus']:
|
|
1882
1882
|
"""
|
|
@@ -1884,7 +1884,7 @@ class MetricStatus(dict):
|
|
|
1884
1884
|
"""
|
|
1885
1885
|
return pulumi.get(self, "external")
|
|
1886
1886
|
|
|
1887
|
-
@property
|
|
1887
|
+
@_builtins.property
|
|
1888
1888
|
@pulumi.getter
|
|
1889
1889
|
def object(self) -> Optional['outputs.ObjectMetricStatus']:
|
|
1890
1890
|
"""
|
|
@@ -1892,7 +1892,7 @@ class MetricStatus(dict):
|
|
|
1892
1892
|
"""
|
|
1893
1893
|
return pulumi.get(self, "object")
|
|
1894
1894
|
|
|
1895
|
-
@property
|
|
1895
|
+
@_builtins.property
|
|
1896
1896
|
@pulumi.getter
|
|
1897
1897
|
def pods(self) -> Optional['outputs.PodsMetricStatus']:
|
|
1898
1898
|
"""
|
|
@@ -1900,7 +1900,7 @@ class MetricStatus(dict):
|
|
|
1900
1900
|
"""
|
|
1901
1901
|
return pulumi.get(self, "pods")
|
|
1902
1902
|
|
|
1903
|
-
@property
|
|
1903
|
+
@_builtins.property
|
|
1904
1904
|
@pulumi.getter
|
|
1905
1905
|
def resource(self) -> Optional['outputs.ResourceMetricStatus']:
|
|
1906
1906
|
"""
|
|
@@ -1937,7 +1937,7 @@ class MetricStatusPatch(dict):
|
|
|
1937
1937
|
object: Optional['outputs.ObjectMetricStatusPatch'] = None,
|
|
1938
1938
|
pods: Optional['outputs.PodsMetricStatusPatch'] = None,
|
|
1939
1939
|
resource: Optional['outputs.ResourceMetricStatusPatch'] = None,
|
|
1940
|
-
type: Optional[str] = None):
|
|
1940
|
+
type: Optional[_builtins.str] = None):
|
|
1941
1941
|
"""
|
|
1942
1942
|
MetricStatus describes the last-read state of a single metric.
|
|
1943
1943
|
: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.
|
|
@@ -1945,7 +1945,7 @@ class MetricStatusPatch(dict):
|
|
|
1945
1945
|
:param 'ObjectMetricStatusPatchArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1946
1946
|
: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.
|
|
1947
1947
|
: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.
|
|
1948
|
-
: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.
|
|
1948
|
+
: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.
|
|
1949
1949
|
"""
|
|
1950
1950
|
if container_resource is not None:
|
|
1951
1951
|
pulumi.set(__self__, "container_resource", container_resource)
|
|
@@ -1960,7 +1960,7 @@ class MetricStatusPatch(dict):
|
|
|
1960
1960
|
if type is not None:
|
|
1961
1961
|
pulumi.set(__self__, "type", type)
|
|
1962
1962
|
|
|
1963
|
-
@property
|
|
1963
|
+
@_builtins.property
|
|
1964
1964
|
@pulumi.getter(name="containerResource")
|
|
1965
1965
|
def container_resource(self) -> Optional['outputs.ContainerResourceMetricStatusPatch']:
|
|
1966
1966
|
"""
|
|
@@ -1968,7 +1968,7 @@ class MetricStatusPatch(dict):
|
|
|
1968
1968
|
"""
|
|
1969
1969
|
return pulumi.get(self, "container_resource")
|
|
1970
1970
|
|
|
1971
|
-
@property
|
|
1971
|
+
@_builtins.property
|
|
1972
1972
|
@pulumi.getter
|
|
1973
1973
|
def external(self) -> Optional['outputs.ExternalMetricStatusPatch']:
|
|
1974
1974
|
"""
|
|
@@ -1976,7 +1976,7 @@ class MetricStatusPatch(dict):
|
|
|
1976
1976
|
"""
|
|
1977
1977
|
return pulumi.get(self, "external")
|
|
1978
1978
|
|
|
1979
|
-
@property
|
|
1979
|
+
@_builtins.property
|
|
1980
1980
|
@pulumi.getter
|
|
1981
1981
|
def object(self) -> Optional['outputs.ObjectMetricStatusPatch']:
|
|
1982
1982
|
"""
|
|
@@ -1984,7 +1984,7 @@ class MetricStatusPatch(dict):
|
|
|
1984
1984
|
"""
|
|
1985
1985
|
return pulumi.get(self, "object")
|
|
1986
1986
|
|
|
1987
|
-
@property
|
|
1987
|
+
@_builtins.property
|
|
1988
1988
|
@pulumi.getter
|
|
1989
1989
|
def pods(self) -> Optional['outputs.PodsMetricStatusPatch']:
|
|
1990
1990
|
"""
|
|
@@ -1992,7 +1992,7 @@ class MetricStatusPatch(dict):
|
|
|
1992
1992
|
"""
|
|
1993
1993
|
return pulumi.get(self, "pods")
|
|
1994
1994
|
|
|
1995
|
-
@property
|
|
1995
|
+
@_builtins.property
|
|
1996
1996
|
@pulumi.getter
|
|
1997
1997
|
def resource(self) -> Optional['outputs.ResourceMetricStatusPatch']:
|
|
1998
1998
|
"""
|
|
@@ -2000,9 +2000,9 @@ class MetricStatusPatch(dict):
|
|
|
2000
2000
|
"""
|
|
2001
2001
|
return pulumi.get(self, "resource")
|
|
2002
2002
|
|
|
2003
|
-
@property
|
|
2003
|
+
@_builtins.property
|
|
2004
2004
|
@pulumi.getter
|
|
2005
|
-
def type(self) -> Optional[str]:
|
|
2005
|
+
def type(self) -> Optional[_builtins.str]:
|
|
2006
2006
|
"""
|
|
2007
2007
|
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.
|
|
2008
2008
|
"""
|
|
@@ -2034,16 +2034,16 @@ class MetricTarget(dict):
|
|
|
2034
2034
|
return super().get(key, default)
|
|
2035
2035
|
|
|
2036
2036
|
def __init__(__self__, *,
|
|
2037
|
-
type: str,
|
|
2038
|
-
average_utilization: Optional[int] = None,
|
|
2039
|
-
average_value: Optional[str] = None,
|
|
2040
|
-
value: Optional[str] = None):
|
|
2037
|
+
type: _builtins.str,
|
|
2038
|
+
average_utilization: Optional[_builtins.int] = None,
|
|
2039
|
+
average_value: Optional[_builtins.str] = None,
|
|
2040
|
+
value: Optional[_builtins.str] = None):
|
|
2041
2041
|
"""
|
|
2042
2042
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2043
|
-
:param str type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2044
|
-
:param int average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2045
|
-
:param str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2046
|
-
:param str value: value is the target value of the metric (as a quantity).
|
|
2043
|
+
:param _builtins.str type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2044
|
+
:param _builtins.int average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2045
|
+
:param _builtins.str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2046
|
+
:param _builtins.str value: value is the target value of the metric (as a quantity).
|
|
2047
2047
|
"""
|
|
2048
2048
|
pulumi.set(__self__, "type", type)
|
|
2049
2049
|
if average_utilization is not None:
|
|
@@ -2053,33 +2053,33 @@ class MetricTarget(dict):
|
|
|
2053
2053
|
if value is not None:
|
|
2054
2054
|
pulumi.set(__self__, "value", value)
|
|
2055
2055
|
|
|
2056
|
-
@property
|
|
2056
|
+
@_builtins.property
|
|
2057
2057
|
@pulumi.getter
|
|
2058
|
-
def type(self) -> str:
|
|
2058
|
+
def type(self) -> _builtins.str:
|
|
2059
2059
|
"""
|
|
2060
2060
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2061
2061
|
"""
|
|
2062
2062
|
return pulumi.get(self, "type")
|
|
2063
2063
|
|
|
2064
|
-
@property
|
|
2064
|
+
@_builtins.property
|
|
2065
2065
|
@pulumi.getter(name="averageUtilization")
|
|
2066
|
-
def average_utilization(self) -> Optional[int]:
|
|
2066
|
+
def average_utilization(self) -> Optional[_builtins.int]:
|
|
2067
2067
|
"""
|
|
2068
2068
|
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2069
2069
|
"""
|
|
2070
2070
|
return pulumi.get(self, "average_utilization")
|
|
2071
2071
|
|
|
2072
|
-
@property
|
|
2072
|
+
@_builtins.property
|
|
2073
2073
|
@pulumi.getter(name="averageValue")
|
|
2074
|
-
def average_value(self) -> Optional[str]:
|
|
2074
|
+
def average_value(self) -> Optional[_builtins.str]:
|
|
2075
2075
|
"""
|
|
2076
2076
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2077
2077
|
"""
|
|
2078
2078
|
return pulumi.get(self, "average_value")
|
|
2079
2079
|
|
|
2080
|
-
@property
|
|
2080
|
+
@_builtins.property
|
|
2081
2081
|
@pulumi.getter
|
|
2082
|
-
def value(self) -> Optional[str]:
|
|
2082
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2083
2083
|
"""
|
|
2084
2084
|
value is the target value of the metric (as a quantity).
|
|
2085
2085
|
"""
|
|
@@ -2111,16 +2111,16 @@ class MetricTargetPatch(dict):
|
|
|
2111
2111
|
return super().get(key, default)
|
|
2112
2112
|
|
|
2113
2113
|
def __init__(__self__, *,
|
|
2114
|
-
average_utilization: Optional[int] = None,
|
|
2115
|
-
average_value: Optional[str] = None,
|
|
2116
|
-
type: Optional[str] = None,
|
|
2117
|
-
value: Optional[str] = None):
|
|
2114
|
+
average_utilization: Optional[_builtins.int] = None,
|
|
2115
|
+
average_value: Optional[_builtins.str] = None,
|
|
2116
|
+
type: Optional[_builtins.str] = None,
|
|
2117
|
+
value: Optional[_builtins.str] = None):
|
|
2118
2118
|
"""
|
|
2119
2119
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2120
|
-
:param int average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2121
|
-
:param str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2122
|
-
:param str type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2123
|
-
:param str value: value is the target value of the metric (as a quantity).
|
|
2120
|
+
:param _builtins.int average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2121
|
+
:param _builtins.str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2122
|
+
:param _builtins.str type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2123
|
+
:param _builtins.str value: value is the target value of the metric (as a quantity).
|
|
2124
2124
|
"""
|
|
2125
2125
|
if average_utilization is not None:
|
|
2126
2126
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2131,33 +2131,33 @@ class MetricTargetPatch(dict):
|
|
|
2131
2131
|
if value is not None:
|
|
2132
2132
|
pulumi.set(__self__, "value", value)
|
|
2133
2133
|
|
|
2134
|
-
@property
|
|
2134
|
+
@_builtins.property
|
|
2135
2135
|
@pulumi.getter(name="averageUtilization")
|
|
2136
|
-
def average_utilization(self) -> Optional[int]:
|
|
2136
|
+
def average_utilization(self) -> Optional[_builtins.int]:
|
|
2137
2137
|
"""
|
|
2138
2138
|
averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2139
2139
|
"""
|
|
2140
2140
|
return pulumi.get(self, "average_utilization")
|
|
2141
2141
|
|
|
2142
|
-
@property
|
|
2142
|
+
@_builtins.property
|
|
2143
2143
|
@pulumi.getter(name="averageValue")
|
|
2144
|
-
def average_value(self) -> Optional[str]:
|
|
2144
|
+
def average_value(self) -> Optional[_builtins.str]:
|
|
2145
2145
|
"""
|
|
2146
2146
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2147
2147
|
"""
|
|
2148
2148
|
return pulumi.get(self, "average_value")
|
|
2149
2149
|
|
|
2150
|
-
@property
|
|
2150
|
+
@_builtins.property
|
|
2151
2151
|
@pulumi.getter
|
|
2152
|
-
def type(self) -> Optional[str]:
|
|
2152
|
+
def type(self) -> Optional[_builtins.str]:
|
|
2153
2153
|
"""
|
|
2154
2154
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2155
2155
|
"""
|
|
2156
2156
|
return pulumi.get(self, "type")
|
|
2157
2157
|
|
|
2158
|
-
@property
|
|
2158
|
+
@_builtins.property
|
|
2159
2159
|
@pulumi.getter
|
|
2160
|
-
def value(self) -> Optional[str]:
|
|
2160
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2161
2161
|
"""
|
|
2162
2162
|
value is the target value of the metric (as a quantity).
|
|
2163
2163
|
"""
|
|
@@ -2189,14 +2189,14 @@ class MetricValueStatus(dict):
|
|
|
2189
2189
|
return super().get(key, default)
|
|
2190
2190
|
|
|
2191
2191
|
def __init__(__self__, *,
|
|
2192
|
-
average_utilization: Optional[int] = None,
|
|
2193
|
-
average_value: Optional[str] = None,
|
|
2194
|
-
value: Optional[str] = None):
|
|
2192
|
+
average_utilization: Optional[_builtins.int] = None,
|
|
2193
|
+
average_value: Optional[_builtins.str] = None,
|
|
2194
|
+
value: Optional[_builtins.str] = None):
|
|
2195
2195
|
"""
|
|
2196
2196
|
MetricValueStatus holds the current value for a metric
|
|
2197
|
-
:param int average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2198
|
-
:param str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2199
|
-
:param str value: value is the current value of the metric (as a quantity).
|
|
2197
|
+
:param _builtins.int average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2198
|
+
:param _builtins.str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2199
|
+
:param _builtins.str value: value is the current value of the metric (as a quantity).
|
|
2200
2200
|
"""
|
|
2201
2201
|
if average_utilization is not None:
|
|
2202
2202
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2205,25 +2205,25 @@ class MetricValueStatus(dict):
|
|
|
2205
2205
|
if value is not None:
|
|
2206
2206
|
pulumi.set(__self__, "value", value)
|
|
2207
2207
|
|
|
2208
|
-
@property
|
|
2208
|
+
@_builtins.property
|
|
2209
2209
|
@pulumi.getter(name="averageUtilization")
|
|
2210
|
-
def average_utilization(self) -> Optional[int]:
|
|
2210
|
+
def average_utilization(self) -> Optional[_builtins.int]:
|
|
2211
2211
|
"""
|
|
2212
2212
|
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.
|
|
2213
2213
|
"""
|
|
2214
2214
|
return pulumi.get(self, "average_utilization")
|
|
2215
2215
|
|
|
2216
|
-
@property
|
|
2216
|
+
@_builtins.property
|
|
2217
2217
|
@pulumi.getter(name="averageValue")
|
|
2218
|
-
def average_value(self) -> Optional[str]:
|
|
2218
|
+
def average_value(self) -> Optional[_builtins.str]:
|
|
2219
2219
|
"""
|
|
2220
2220
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2221
2221
|
"""
|
|
2222
2222
|
return pulumi.get(self, "average_value")
|
|
2223
2223
|
|
|
2224
|
-
@property
|
|
2224
|
+
@_builtins.property
|
|
2225
2225
|
@pulumi.getter
|
|
2226
|
-
def value(self) -> Optional[str]:
|
|
2226
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2227
2227
|
"""
|
|
2228
2228
|
value is the current value of the metric (as a quantity).
|
|
2229
2229
|
"""
|
|
@@ -2255,14 +2255,14 @@ class MetricValueStatusPatch(dict):
|
|
|
2255
2255
|
return super().get(key, default)
|
|
2256
2256
|
|
|
2257
2257
|
def __init__(__self__, *,
|
|
2258
|
-
average_utilization: Optional[int] = None,
|
|
2259
|
-
average_value: Optional[str] = None,
|
|
2260
|
-
value: Optional[str] = None):
|
|
2258
|
+
average_utilization: Optional[_builtins.int] = None,
|
|
2259
|
+
average_value: Optional[_builtins.str] = None,
|
|
2260
|
+
value: Optional[_builtins.str] = None):
|
|
2261
2261
|
"""
|
|
2262
2262
|
MetricValueStatus holds the current value for a metric
|
|
2263
|
-
:param int average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2264
|
-
:param str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2265
|
-
:param str value: value is the current value of the metric (as a quantity).
|
|
2263
|
+
:param _builtins.int average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2264
|
+
:param _builtins.str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2265
|
+
:param _builtins.str value: value is the current value of the metric (as a quantity).
|
|
2266
2266
|
"""
|
|
2267
2267
|
if average_utilization is not None:
|
|
2268
2268
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2271,25 +2271,25 @@ class MetricValueStatusPatch(dict):
|
|
|
2271
2271
|
if value is not None:
|
|
2272
2272
|
pulumi.set(__self__, "value", value)
|
|
2273
2273
|
|
|
2274
|
-
@property
|
|
2274
|
+
@_builtins.property
|
|
2275
2275
|
@pulumi.getter(name="averageUtilization")
|
|
2276
|
-
def average_utilization(self) -> Optional[int]:
|
|
2276
|
+
def average_utilization(self) -> Optional[_builtins.int]:
|
|
2277
2277
|
"""
|
|
2278
2278
|
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.
|
|
2279
2279
|
"""
|
|
2280
2280
|
return pulumi.get(self, "average_utilization")
|
|
2281
2281
|
|
|
2282
|
-
@property
|
|
2282
|
+
@_builtins.property
|
|
2283
2283
|
@pulumi.getter(name="averageValue")
|
|
2284
|
-
def average_value(self) -> Optional[str]:
|
|
2284
|
+
def average_value(self) -> Optional[_builtins.str]:
|
|
2285
2285
|
"""
|
|
2286
2286
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2287
2287
|
"""
|
|
2288
2288
|
return pulumi.get(self, "average_value")
|
|
2289
2289
|
|
|
2290
|
-
@property
|
|
2290
|
+
@_builtins.property
|
|
2291
2291
|
@pulumi.getter
|
|
2292
|
-
def value(self) -> Optional[str]:
|
|
2292
|
+
def value(self) -> Optional[_builtins.str]:
|
|
2293
2293
|
"""
|
|
2294
2294
|
value is the current value of the metric (as a quantity).
|
|
2295
2295
|
"""
|
|
@@ -2331,12 +2331,12 @@ class ObjectMetricSource(dict):
|
|
|
2331
2331
|
pulumi.set(__self__, "metric", metric)
|
|
2332
2332
|
pulumi.set(__self__, "target", target)
|
|
2333
2333
|
|
|
2334
|
-
@property
|
|
2334
|
+
@_builtins.property
|
|
2335
2335
|
@pulumi.getter(name="describedObject")
|
|
2336
2336
|
def described_object(self) -> 'outputs.CrossVersionObjectReference':
|
|
2337
2337
|
return pulumi.get(self, "described_object")
|
|
2338
2338
|
|
|
2339
|
-
@property
|
|
2339
|
+
@_builtins.property
|
|
2340
2340
|
@pulumi.getter
|
|
2341
2341
|
def metric(self) -> 'outputs.MetricIdentifier':
|
|
2342
2342
|
"""
|
|
@@ -2344,7 +2344,7 @@ class ObjectMetricSource(dict):
|
|
|
2344
2344
|
"""
|
|
2345
2345
|
return pulumi.get(self, "metric")
|
|
2346
2346
|
|
|
2347
|
-
@property
|
|
2347
|
+
@_builtins.property
|
|
2348
2348
|
@pulumi.getter
|
|
2349
2349
|
def target(self) -> 'outputs.MetricTarget':
|
|
2350
2350
|
"""
|
|
@@ -2391,12 +2391,12 @@ class ObjectMetricSourcePatch(dict):
|
|
|
2391
2391
|
if target is not None:
|
|
2392
2392
|
pulumi.set(__self__, "target", target)
|
|
2393
2393
|
|
|
2394
|
-
@property
|
|
2394
|
+
@_builtins.property
|
|
2395
2395
|
@pulumi.getter(name="describedObject")
|
|
2396
2396
|
def described_object(self) -> Optional['outputs.CrossVersionObjectReferencePatch']:
|
|
2397
2397
|
return pulumi.get(self, "described_object")
|
|
2398
2398
|
|
|
2399
|
-
@property
|
|
2399
|
+
@_builtins.property
|
|
2400
2400
|
@pulumi.getter
|
|
2401
2401
|
def metric(self) -> Optional['outputs.MetricIdentifierPatch']:
|
|
2402
2402
|
"""
|
|
@@ -2404,7 +2404,7 @@ class ObjectMetricSourcePatch(dict):
|
|
|
2404
2404
|
"""
|
|
2405
2405
|
return pulumi.get(self, "metric")
|
|
2406
2406
|
|
|
2407
|
-
@property
|
|
2407
|
+
@_builtins.property
|
|
2408
2408
|
@pulumi.getter
|
|
2409
2409
|
def target(self) -> Optional['outputs.MetricTargetPatch']:
|
|
2410
2410
|
"""
|
|
@@ -2448,7 +2448,7 @@ class ObjectMetricStatus(dict):
|
|
|
2448
2448
|
pulumi.set(__self__, "described_object", described_object)
|
|
2449
2449
|
pulumi.set(__self__, "metric", metric)
|
|
2450
2450
|
|
|
2451
|
-
@property
|
|
2451
|
+
@_builtins.property
|
|
2452
2452
|
@pulumi.getter
|
|
2453
2453
|
def current(self) -> 'outputs.MetricValueStatus':
|
|
2454
2454
|
"""
|
|
@@ -2456,12 +2456,12 @@ class ObjectMetricStatus(dict):
|
|
|
2456
2456
|
"""
|
|
2457
2457
|
return pulumi.get(self, "current")
|
|
2458
2458
|
|
|
2459
|
-
@property
|
|
2459
|
+
@_builtins.property
|
|
2460
2460
|
@pulumi.getter(name="describedObject")
|
|
2461
2461
|
def described_object(self) -> 'outputs.CrossVersionObjectReference':
|
|
2462
2462
|
return pulumi.get(self, "described_object")
|
|
2463
2463
|
|
|
2464
|
-
@property
|
|
2464
|
+
@_builtins.property
|
|
2465
2465
|
@pulumi.getter
|
|
2466
2466
|
def metric(self) -> 'outputs.MetricIdentifier':
|
|
2467
2467
|
"""
|
|
@@ -2508,7 +2508,7 @@ class ObjectMetricStatusPatch(dict):
|
|
|
2508
2508
|
if metric is not None:
|
|
2509
2509
|
pulumi.set(__self__, "metric", metric)
|
|
2510
2510
|
|
|
2511
|
-
@property
|
|
2511
|
+
@_builtins.property
|
|
2512
2512
|
@pulumi.getter
|
|
2513
2513
|
def current(self) -> Optional['outputs.MetricValueStatusPatch']:
|
|
2514
2514
|
"""
|
|
@@ -2516,12 +2516,12 @@ class ObjectMetricStatusPatch(dict):
|
|
|
2516
2516
|
"""
|
|
2517
2517
|
return pulumi.get(self, "current")
|
|
2518
2518
|
|
|
2519
|
-
@property
|
|
2519
|
+
@_builtins.property
|
|
2520
2520
|
@pulumi.getter(name="describedObject")
|
|
2521
2521
|
def described_object(self) -> Optional['outputs.CrossVersionObjectReferencePatch']:
|
|
2522
2522
|
return pulumi.get(self, "described_object")
|
|
2523
2523
|
|
|
2524
|
-
@property
|
|
2524
|
+
@_builtins.property
|
|
2525
2525
|
@pulumi.getter
|
|
2526
2526
|
def metric(self) -> Optional['outputs.MetricIdentifierPatch']:
|
|
2527
2527
|
"""
|
|
@@ -2546,7 +2546,7 @@ class PodsMetricSource(dict):
|
|
|
2546
2546
|
pulumi.set(__self__, "metric", metric)
|
|
2547
2547
|
pulumi.set(__self__, "target", target)
|
|
2548
2548
|
|
|
2549
|
-
@property
|
|
2549
|
+
@_builtins.property
|
|
2550
2550
|
@pulumi.getter
|
|
2551
2551
|
def metric(self) -> 'outputs.MetricIdentifier':
|
|
2552
2552
|
"""
|
|
@@ -2554,7 +2554,7 @@ class PodsMetricSource(dict):
|
|
|
2554
2554
|
"""
|
|
2555
2555
|
return pulumi.get(self, "metric")
|
|
2556
2556
|
|
|
2557
|
-
@property
|
|
2557
|
+
@_builtins.property
|
|
2558
2558
|
@pulumi.getter
|
|
2559
2559
|
def target(self) -> 'outputs.MetricTarget':
|
|
2560
2560
|
"""
|
|
@@ -2581,7 +2581,7 @@ class PodsMetricSourcePatch(dict):
|
|
|
2581
2581
|
if target is not None:
|
|
2582
2582
|
pulumi.set(__self__, "target", target)
|
|
2583
2583
|
|
|
2584
|
-
@property
|
|
2584
|
+
@_builtins.property
|
|
2585
2585
|
@pulumi.getter
|
|
2586
2586
|
def metric(self) -> Optional['outputs.MetricIdentifierPatch']:
|
|
2587
2587
|
"""
|
|
@@ -2589,7 +2589,7 @@ class PodsMetricSourcePatch(dict):
|
|
|
2589
2589
|
"""
|
|
2590
2590
|
return pulumi.get(self, "metric")
|
|
2591
2591
|
|
|
2592
|
-
@property
|
|
2592
|
+
@_builtins.property
|
|
2593
2593
|
@pulumi.getter
|
|
2594
2594
|
def target(self) -> Optional['outputs.MetricTargetPatch']:
|
|
2595
2595
|
"""
|
|
@@ -2614,7 +2614,7 @@ class PodsMetricStatus(dict):
|
|
|
2614
2614
|
pulumi.set(__self__, "current", current)
|
|
2615
2615
|
pulumi.set(__self__, "metric", metric)
|
|
2616
2616
|
|
|
2617
|
-
@property
|
|
2617
|
+
@_builtins.property
|
|
2618
2618
|
@pulumi.getter
|
|
2619
2619
|
def current(self) -> 'outputs.MetricValueStatus':
|
|
2620
2620
|
"""
|
|
@@ -2622,7 +2622,7 @@ class PodsMetricStatus(dict):
|
|
|
2622
2622
|
"""
|
|
2623
2623
|
return pulumi.get(self, "current")
|
|
2624
2624
|
|
|
2625
|
-
@property
|
|
2625
|
+
@_builtins.property
|
|
2626
2626
|
@pulumi.getter
|
|
2627
2627
|
def metric(self) -> 'outputs.MetricIdentifier':
|
|
2628
2628
|
"""
|
|
@@ -2649,7 +2649,7 @@ class PodsMetricStatusPatch(dict):
|
|
|
2649
2649
|
if metric is not None:
|
|
2650
2650
|
pulumi.set(__self__, "metric", metric)
|
|
2651
2651
|
|
|
2652
|
-
@property
|
|
2652
|
+
@_builtins.property
|
|
2653
2653
|
@pulumi.getter
|
|
2654
2654
|
def current(self) -> Optional['outputs.MetricValueStatusPatch']:
|
|
2655
2655
|
"""
|
|
@@ -2657,7 +2657,7 @@ class PodsMetricStatusPatch(dict):
|
|
|
2657
2657
|
"""
|
|
2658
2658
|
return pulumi.get(self, "current")
|
|
2659
2659
|
|
|
2660
|
-
@property
|
|
2660
|
+
@_builtins.property
|
|
2661
2661
|
@pulumi.getter
|
|
2662
2662
|
def metric(self) -> Optional['outputs.MetricIdentifierPatch']:
|
|
2663
2663
|
"""
|
|
@@ -2672,25 +2672,25 @@ class ResourceMetricSource(dict):
|
|
|
2672
2672
|
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.
|
|
2673
2673
|
"""
|
|
2674
2674
|
def __init__(__self__, *,
|
|
2675
|
-
name: str,
|
|
2675
|
+
name: _builtins.str,
|
|
2676
2676
|
target: 'outputs.MetricTarget'):
|
|
2677
2677
|
"""
|
|
2678
2678
|
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.
|
|
2679
|
-
:param str name: name is the name of the resource in question.
|
|
2679
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
2680
2680
|
:param 'MetricTargetArgs' target: target specifies the target value for the given metric
|
|
2681
2681
|
"""
|
|
2682
2682
|
pulumi.set(__self__, "name", name)
|
|
2683
2683
|
pulumi.set(__self__, "target", target)
|
|
2684
2684
|
|
|
2685
|
-
@property
|
|
2685
|
+
@_builtins.property
|
|
2686
2686
|
@pulumi.getter
|
|
2687
|
-
def name(self) -> str:
|
|
2687
|
+
def name(self) -> _builtins.str:
|
|
2688
2688
|
"""
|
|
2689
2689
|
name is the name of the resource in question.
|
|
2690
2690
|
"""
|
|
2691
2691
|
return pulumi.get(self, "name")
|
|
2692
2692
|
|
|
2693
|
-
@property
|
|
2693
|
+
@_builtins.property
|
|
2694
2694
|
@pulumi.getter
|
|
2695
2695
|
def target(self) -> 'outputs.MetricTarget':
|
|
2696
2696
|
"""
|
|
@@ -2705,11 +2705,11 @@ class ResourceMetricSourcePatch(dict):
|
|
|
2705
2705
|
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.
|
|
2706
2706
|
"""
|
|
2707
2707
|
def __init__(__self__, *,
|
|
2708
|
-
name: Optional[str] = None,
|
|
2708
|
+
name: Optional[_builtins.str] = None,
|
|
2709
2709
|
target: Optional['outputs.MetricTargetPatch'] = None):
|
|
2710
2710
|
"""
|
|
2711
2711
|
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.
|
|
2712
|
-
:param str name: name is the name of the resource in question.
|
|
2712
|
+
:param _builtins.str name: name is the name of the resource in question.
|
|
2713
2713
|
:param 'MetricTargetPatchArgs' target: target specifies the target value for the given metric
|
|
2714
2714
|
"""
|
|
2715
2715
|
if name is not None:
|
|
@@ -2717,15 +2717,15 @@ class ResourceMetricSourcePatch(dict):
|
|
|
2717
2717
|
if target is not None:
|
|
2718
2718
|
pulumi.set(__self__, "target", target)
|
|
2719
2719
|
|
|
2720
|
-
@property
|
|
2720
|
+
@_builtins.property
|
|
2721
2721
|
@pulumi.getter
|
|
2722
|
-
def name(self) -> Optional[str]:
|
|
2722
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2723
2723
|
"""
|
|
2724
2724
|
name is the name of the resource in question.
|
|
2725
2725
|
"""
|
|
2726
2726
|
return pulumi.get(self, "name")
|
|
2727
2727
|
|
|
2728
|
-
@property
|
|
2728
|
+
@_builtins.property
|
|
2729
2729
|
@pulumi.getter
|
|
2730
2730
|
def target(self) -> Optional['outputs.MetricTargetPatch']:
|
|
2731
2731
|
"""
|
|
@@ -2741,16 +2741,16 @@ class ResourceMetricStatus(dict):
|
|
|
2741
2741
|
"""
|
|
2742
2742
|
def __init__(__self__, *,
|
|
2743
2743
|
current: 'outputs.MetricValueStatus',
|
|
2744
|
-
name: str):
|
|
2744
|
+
name: _builtins.str):
|
|
2745
2745
|
"""
|
|
2746
2746
|
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.
|
|
2747
2747
|
:param 'MetricValueStatusArgs' current: current contains the current value for the given metric
|
|
2748
|
-
:param str name: Name is the name of the resource in question.
|
|
2748
|
+
:param _builtins.str name: Name is the name of the resource in question.
|
|
2749
2749
|
"""
|
|
2750
2750
|
pulumi.set(__self__, "current", current)
|
|
2751
2751
|
pulumi.set(__self__, "name", name)
|
|
2752
2752
|
|
|
2753
|
-
@property
|
|
2753
|
+
@_builtins.property
|
|
2754
2754
|
@pulumi.getter
|
|
2755
2755
|
def current(self) -> 'outputs.MetricValueStatus':
|
|
2756
2756
|
"""
|
|
@@ -2758,9 +2758,9 @@ class ResourceMetricStatus(dict):
|
|
|
2758
2758
|
"""
|
|
2759
2759
|
return pulumi.get(self, "current")
|
|
2760
2760
|
|
|
2761
|
-
@property
|
|
2761
|
+
@_builtins.property
|
|
2762
2762
|
@pulumi.getter
|
|
2763
|
-
def name(self) -> str:
|
|
2763
|
+
def name(self) -> _builtins.str:
|
|
2764
2764
|
"""
|
|
2765
2765
|
Name is the name of the resource in question.
|
|
2766
2766
|
"""
|
|
@@ -2774,18 +2774,18 @@ class ResourceMetricStatusPatch(dict):
|
|
|
2774
2774
|
"""
|
|
2775
2775
|
def __init__(__self__, *,
|
|
2776
2776
|
current: Optional['outputs.MetricValueStatusPatch'] = None,
|
|
2777
|
-
name: Optional[str] = None):
|
|
2777
|
+
name: Optional[_builtins.str] = None):
|
|
2778
2778
|
"""
|
|
2779
2779
|
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.
|
|
2780
2780
|
:param 'MetricValueStatusPatchArgs' current: current contains the current value for the given metric
|
|
2781
|
-
:param str name: Name is the name of the resource in question.
|
|
2781
|
+
:param _builtins.str name: Name is the name of the resource in question.
|
|
2782
2782
|
"""
|
|
2783
2783
|
if current is not None:
|
|
2784
2784
|
pulumi.set(__self__, "current", current)
|
|
2785
2785
|
if name is not None:
|
|
2786
2786
|
pulumi.set(__self__, "name", name)
|
|
2787
2787
|
|
|
2788
|
-
@property
|
|
2788
|
+
@_builtins.property
|
|
2789
2789
|
@pulumi.getter
|
|
2790
2790
|
def current(self) -> Optional['outputs.MetricValueStatusPatch']:
|
|
2791
2791
|
"""
|
|
@@ -2793,9 +2793,9 @@ class ResourceMetricStatusPatch(dict):
|
|
|
2793
2793
|
"""
|
|
2794
2794
|
return pulumi.get(self, "current")
|
|
2795
2795
|
|
|
2796
|
-
@property
|
|
2796
|
+
@_builtins.property
|
|
2797
2797
|
@pulumi.getter
|
|
2798
|
-
def name(self) -> Optional[str]:
|
|
2798
|
+
def name(self) -> Optional[_builtins.str]:
|
|
2799
2799
|
"""
|
|
2800
2800
|
Name is the name of the resource in question.
|
|
2801
2801
|
"""
|