pulumi-kubernetes 4.22.1__py3-none-any.whl → 4.23.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of pulumi-kubernetes might be problematic. Click here for more details.
- pulumi_kubernetes/__init__.py +37 -2
- pulumi_kubernetes/_inputs.py +41 -40
- pulumi_kubernetes/admissionregistration/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1/outputs.py +337 -336
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +396 -395
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +249 -248
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +18 -16
- pulumi_kubernetes/admissionregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +546 -545
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +337 -336
- pulumi_kubernetes/apiextensions/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +18 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +18 -16
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +18 -16
- pulumi_kubernetes/apiextensions/v1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1/_inputs.py +699 -698
- pulumi_kubernetes/apiextensions/v1/outputs.py +405 -404
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +18 -16
- pulumi_kubernetes/apiextensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +639 -638
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +369 -368
- pulumi_kubernetes/apiregistration/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +18 -16
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +18 -16
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +18 -16
- pulumi_kubernetes/apiregistration/v1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1/outputs.py +91 -90
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +18 -16
- pulumi_kubernetes/apiregistration/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +91 -90
- pulumi_kubernetes/apps/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1/DaemonSet.py +18 -16
- pulumi_kubernetes/apps/v1/DaemonSetList.py +18 -16
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1/ReplicaSet.py +18 -16
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +22 -20
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1/_inputs.py +664 -610
- pulumi_kubernetes/apps/v1/outputs.py +582 -508
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1beta1/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta1/_inputs.py +316 -315
- pulumi_kubernetes/apps/v1beta1/outputs.py +260 -259
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +26 -24
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +26 -24
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/Deployment.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +18 -16
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +18 -16
- pulumi_kubernetes/apps/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/apps/v1beta2/_inputs.py +506 -505
- pulumi_kubernetes/apps/v1beta2/outputs.py +442 -441
- pulumi_kubernetes/auditregistration/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +18 -16
- pulumi_kubernetes/auditregistration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +111 -110
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/autoscaling/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v1/_inputs.py +96 -95
- pulumi_kubernetes/autoscaling/v1/outputs.py +73 -72
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2/_inputs.py +371 -290
- pulumi_kubernetes/autoscaling/v2/outputs.py +281 -224
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta1/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +346 -345
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +283 -282
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +18 -16
- pulumi_kubernetes/autoscaling/v2beta2/__init__.py +1 -0
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +281 -280
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +217 -216
- pulumi_kubernetes/batch/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v1/Job.py +18 -16
- pulumi_kubernetes/batch/v1/JobList.py +18 -16
- pulumi_kubernetes/batch/v1/JobPatch.py +18 -16
- pulumi_kubernetes/batch/v1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1/_inputs.py +394 -423
- pulumi_kubernetes/batch/v1/outputs.py +293 -316
- pulumi_kubernetes/batch/v1beta1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/batch/v1beta1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v1beta1/outputs.py +49 -48
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +18 -16
- pulumi_kubernetes/batch/v2alpha1/__init__.py +1 -0
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +76 -75
- pulumi_kubernetes/batch/v2alpha1/outputs.py +49 -48
- pulumi_kubernetes/certificates/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +18 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +18 -16
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +18 -16
- pulumi_kubernetes/certificates/v1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1/_inputs.py +126 -125
- pulumi_kubernetes/certificates/v1/outputs.py +97 -96
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +20 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +18 -16
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +20 -16
- pulumi_kubernetes/certificates/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +18 -16
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundle.py +227 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundleList.py +217 -0
- pulumi_kubernetes/certificates/v1beta1/ClusterTrustBundlePatch.py +238 -0
- pulumi_kubernetes/certificates/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +409 -116
- pulumi_kubernetes/certificates/v1beta1/outputs.py +334 -92
- pulumi_kubernetes/coordination/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/Lease.py +18 -16
- pulumi_kubernetes/coordination/v1/LeaseList.py +18 -16
- pulumi_kubernetes/coordination/v1/LeasePatch.py +18 -16
- pulumi_kubernetes/coordination/v1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1/_inputs.py +81 -80
- pulumi_kubernetes/coordination/v1/outputs.py +49 -48
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +19 -17
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +18 -16
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +19 -17
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +71 -70
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +43 -42
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +19 -17
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +18 -16
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +19 -17
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +75 -74
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +45 -44
- pulumi_kubernetes/coordination/v1beta1/Lease.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidate.py +218 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidateList.py +217 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseCandidatePatch.py +230 -0
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +18 -16
- pulumi_kubernetes/coordination/v1beta1/__init__.py +4 -0
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +432 -60
- pulumi_kubernetes/coordination/v1beta1/outputs.py +329 -36
- pulumi_kubernetes/core/__init__.py +1 -0
- pulumi_kubernetes/core/v1/Binding.py +18 -16
- pulumi_kubernetes/core/v1/BindingPatch.py +18 -16
- pulumi_kubernetes/core/v1/ConfigMap.py +42 -40
- pulumi_kubernetes/core/v1/ConfigMapList.py +18 -16
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +42 -40
- pulumi_kubernetes/core/v1/Endpoints.py +26 -16
- pulumi_kubernetes/core/v1/EndpointsList.py +20 -18
- pulumi_kubernetes/core/v1/EndpointsPatch.py +26 -16
- pulumi_kubernetes/core/v1/Event.py +98 -96
- pulumi_kubernetes/core/v1/EventList.py +18 -16
- pulumi_kubernetes/core/v1/EventPatch.py +98 -96
- pulumi_kubernetes/core/v1/LimitRange.py +18 -16
- pulumi_kubernetes/core/v1/LimitRangeList.py +18 -16
- pulumi_kubernetes/core/v1/LimitRangePatch.py +18 -16
- pulumi_kubernetes/core/v1/Namespace.py +18 -16
- pulumi_kubernetes/core/v1/NamespaceList.py +18 -16
- pulumi_kubernetes/core/v1/NamespacePatch.py +18 -16
- pulumi_kubernetes/core/v1/Node.py +18 -16
- pulumi_kubernetes/core/v1/NodeList.py +18 -16
- pulumi_kubernetes/core/v1/NodePatch.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolume.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +18 -16
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +18 -16
- pulumi_kubernetes/core/v1/Pod.py +18 -16
- pulumi_kubernetes/core/v1/PodList.py +18 -16
- pulumi_kubernetes/core/v1/PodPatch.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplate.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplateList.py +18 -16
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationController.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +18 -16
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuota.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +18 -16
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +18 -16
- pulumi_kubernetes/core/v1/Secret.py +50 -48
- pulumi_kubernetes/core/v1/SecretList.py +18 -16
- pulumi_kubernetes/core/v1/SecretPatch.py +50 -48
- pulumi_kubernetes/core/v1/Service.py +18 -16
- pulumi_kubernetes/core/v1/ServiceAccount.py +26 -24
- pulumi_kubernetes/core/v1/ServiceAccountList.py +18 -16
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +26 -24
- pulumi_kubernetes/core/v1/ServiceList.py +18 -16
- pulumi_kubernetes/core/v1/ServicePatch.py +18 -16
- pulumi_kubernetes/core/v1/__init__.py +1 -0
- pulumi_kubernetes/core/v1/_enums.py +4 -1
- pulumi_kubernetes/core/v1/_inputs.py +5736 -5561
- pulumi_kubernetes/core/v1/outputs.py +3853 -3652
- pulumi_kubernetes/discovery/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +34 -32
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +18 -16
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +34 -32
- pulumi_kubernetes/discovery/v1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1/_inputs.py +294 -178
- pulumi_kubernetes/discovery/v1/outputs.py +184 -108
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +26 -24
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +18 -16
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +26 -24
- pulumi_kubernetes/discovery/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +126 -125
- pulumi_kubernetes/discovery/v1beta1/outputs.py +76 -75
- pulumi_kubernetes/events/__init__.py +1 -0
- pulumi_kubernetes/events/v1/Event.py +98 -96
- pulumi_kubernetes/events/v1/EventList.py +18 -16
- pulumi_kubernetes/events/v1/EventPatch.py +98 -96
- pulumi_kubernetes/events/v1/__init__.py +1 -0
- pulumi_kubernetes/events/v1/_inputs.py +81 -80
- pulumi_kubernetes/events/v1/outputs.py +49 -48
- pulumi_kubernetes/events/v1beta1/Event.py +98 -96
- pulumi_kubernetes/events/v1beta1/EventList.py +18 -16
- pulumi_kubernetes/events/v1beta1/EventPatch.py +98 -96
- pulumi_kubernetes/events/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/events/v1beta1/_inputs.py +91 -90
- pulumi_kubernetes/events/v1beta1/outputs.py +55 -54
- pulumi_kubernetes/extensions/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +18 -16
- pulumi_kubernetes/extensions/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +826 -825
- pulumi_kubernetes/extensions/v1beta1/outputs.py +587 -586
- pulumi_kubernetes/flowcontrol/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +281 -280
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +199 -198
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta2/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +223 -222
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +18 -16
- pulumi_kubernetes/flowcontrol/v1beta3/__init__.py +1 -0
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +321 -320
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +223 -222
- pulumi_kubernetes/helm/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/Release.py +247 -245
- pulumi_kubernetes/helm/v3/__init__.py +1 -0
- pulumi_kubernetes/helm/v3/_inputs.py +31 -30
- pulumi_kubernetes/helm/v3/outputs.py +41 -40
- pulumi_kubernetes/helm/v4/Chart.py +72 -70
- pulumi_kubernetes/helm/v4/__init__.py +1 -0
- pulumi_kubernetes/helm/v4/_inputs.py +26 -25
- pulumi_kubernetes/kustomize/__init__.py +1 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +31 -29
- pulumi_kubernetes/kustomize/v2/__init__.py +1 -0
- pulumi_kubernetes/meta/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/Status.py +43 -41
- pulumi_kubernetes/meta/v1/StatusPatch.py +43 -41
- pulumi_kubernetes/meta/v1/__init__.py +1 -0
- pulumi_kubernetes/meta/v1/_inputs.py +451 -450
- pulumi_kubernetes/meta/v1/outputs.py +289 -288
- pulumi_kubernetes/networking/__init__.py +1 -0
- pulumi_kubernetes/networking/v1/IPAddress.py +218 -0
- pulumi_kubernetes/networking/v1/IPAddressList.py +217 -0
- pulumi_kubernetes/networking/v1/IPAddressPatch.py +230 -0
- pulumi_kubernetes/networking/v1/Ingress.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClass.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClassList.py +18 -16
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +18 -16
- pulumi_kubernetes/networking/v1/IngressList.py +18 -16
- pulumi_kubernetes/networking/v1/IngressPatch.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +18 -16
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +18 -16
- pulumi_kubernetes/networking/v1/ServiceCIDR.py +228 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRList.py +217 -0
- pulumi_kubernetes/networking/v1/ServiceCIDRPatch.py +240 -0
- pulumi_kubernetes/networking/v1/__init__.py +7 -0
- pulumi_kubernetes/networking/v1/_inputs.py +865 -265
- pulumi_kubernetes/networking/v1/outputs.py +632 -170
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +19 -17
- pulumi_kubernetes/networking/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +121 -120
- pulumi_kubernetes/networking/v1alpha1/outputs.py +73 -72
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +19 -17
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +19 -17
- pulumi_kubernetes/networking/v1beta1/Ingress.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +18 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +19 -17
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +18 -16
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +19 -17
- pulumi_kubernetes/networking/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +181 -180
- pulumi_kubernetes/networking/v1beta1/outputs.py +105 -104
- pulumi_kubernetes/node/__init__.py +1 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +26 -24
- pulumi_kubernetes/node/v1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +26 -24
- pulumi_kubernetes/node/v1/__init__.py +1 -0
- pulumi_kubernetes/node/v1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1/outputs.py +22 -21
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +18 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +18 -16
- pulumi_kubernetes/node/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/node/v1alpha1/_inputs.py +41 -40
- pulumi_kubernetes/node/v1alpha1/outputs.py +25 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +26 -24
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +18 -16
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +26 -24
- pulumi_kubernetes/node/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/node/v1beta1/_inputs.py +36 -35
- pulumi_kubernetes/node/v1beta1/outputs.py +22 -21
- pulumi_kubernetes/policy/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +18 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +18 -16
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +18 -16
- pulumi_kubernetes/policy/v1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1/_inputs.py +71 -82
- pulumi_kubernetes/policy/v1/outputs.py +53 -60
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +18 -16
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +18 -16
- pulumi_kubernetes/policy/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/policy/v1beta1/_inputs.py +361 -360
- pulumi_kubernetes/policy/v1beta1/outputs.py +227 -226
- pulumi_kubernetes/provider.py +93 -91
- pulumi_kubernetes/pulumi-plugin.json +1 -1
- pulumi_kubernetes/rbac/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +97 -96
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/Role.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +18 -16
- pulumi_kubernetes/rbac/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +161 -160
- pulumi_kubernetes/rbac/v1beta1/outputs.py +97 -96
- pulumi_kubernetes/resource/__init__.py +4 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +26 -24
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +26 -24
- pulumi_kubernetes/resource/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +206 -205
- pulumi_kubernetes/resource/v1alpha1/outputs.py +154 -153
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +26 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +26 -24
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +34 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +34 -32
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +35 -33
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +35 -33
- pulumi_kubernetes/resource/v1alpha2/__init__.py +1 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +411 -410
- pulumi_kubernetes/resource/v1alpha2/outputs.py +286 -285
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRule.py +225 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRuleList.py +217 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceTaintRulePatch.py +236 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +19 -17
- pulumi_kubernetes/resource/v1alpha3/__init__.py +4 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +2999 -652
- pulumi_kubernetes/resource/v1alpha3/outputs.py +2286 -504
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +19 -17
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +19 -17
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +18 -16
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +19 -17
- pulumi_kubernetes/resource/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +2481 -612
- pulumi_kubernetes/resource/v1beta1/outputs.py +1782 -379
- pulumi_kubernetes/resource/v1beta2/DeviceClass.py +239 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/DeviceClassPatch.py +250 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaim.py +234 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimList.py +218 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimPatch.py +245 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplate.py +231 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplateList.py +217 -0
- pulumi_kubernetes/resource/v1beta2/ResourceClaimTemplatePatch.py +242 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlice.py +248 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSliceList.py +218 -0
- pulumi_kubernetes/resource/v1beta2/ResourceSlicePatch.py +259 -0
- pulumi_kubernetes/resource/v1beta2/__init__.py +22 -0
- pulumi_kubernetes/resource/v1beta2/_inputs.py +5681 -0
- pulumi_kubernetes/resource/v1beta2/outputs.py +4726 -0
- pulumi_kubernetes/scheduling/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +19 -18
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +50 -48
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +18 -16
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +50 -48
- pulumi_kubernetes/scheduling/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +31 -30
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +19 -18
- pulumi_kubernetes/settings/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +18 -16
- pulumi_kubernetes/settings/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +11 -10
- pulumi_kubernetes/settings/v1alpha1/outputs.py +7 -6
- pulumi_kubernetes/storage/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +18 -16
- pulumi_kubernetes/storage/v1/CSIDriverList.py +18 -16
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +18 -16
- pulumi_kubernetes/storage/v1/CSINode.py +18 -16
- pulumi_kubernetes/storage/v1/CSINodeList.py +18 -16
- pulumi_kubernetes/storage/v1/CSINodePatch.py +18 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +42 -40
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +18 -16
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +42 -40
- pulumi_kubernetes/storage/v1/StorageClass.py +66 -64
- pulumi_kubernetes/storage/v1/StorageClassList.py +18 -16
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +66 -64
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1/_inputs.py +366 -275
- pulumi_kubernetes/storage/v1/outputs.py +288 -177
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +34 -32
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +18 -16
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +34 -32
- pulumi_kubernetes/storage/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storage/v1alpha1/outputs.py +61 -60
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINode.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +42 -40
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +42 -40
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +66 -64
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +66 -64
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +34 -32
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +18 -16
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +34 -32
- pulumi_kubernetes/storage/v1beta1/__init__.py +1 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +286 -285
- pulumi_kubernetes/storage/v1beta1/outputs.py +184 -183
- pulumi_kubernetes/storagemigration/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +18 -16
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +1 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +81 -80
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +67 -66
- pulumi_kubernetes/yaml/__init__.py +1 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +23 -21
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +30 -28
- pulumi_kubernetes/yaml/v2/__init__.py +1 -0
- pulumi_kubernetes/yaml/yaml.py +108 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/METADATA +4 -4
- pulumi_kubernetes-4.23.0.dist-info/RECORD +709 -0
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.22.1.dist-info/RECORD +0 -679
- {pulumi_kubernetes-4.22.1.dist-info → pulumi_kubernetes-4.23.0.dist-info}/top_level.txt +0 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumigen. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
+
import builtins
|
|
5
6
|
import copy
|
|
6
7
|
import warnings
|
|
7
8
|
import sys
|
|
@@ -97,11 +98,11 @@ if not MYPY:
|
|
|
97
98
|
"""
|
|
98
99
|
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.
|
|
99
100
|
"""
|
|
100
|
-
container: NotRequired[pulumi.Input[str]]
|
|
101
|
+
container: NotRequired[pulumi.Input[builtins.str]]
|
|
101
102
|
"""
|
|
102
103
|
container is the name of the container in the pods of the scaling target
|
|
103
104
|
"""
|
|
104
|
-
name: NotRequired[pulumi.Input[str]]
|
|
105
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
105
106
|
"""
|
|
106
107
|
name is the name of the resource in question.
|
|
107
108
|
"""
|
|
@@ -115,13 +116,13 @@ elif False:
|
|
|
115
116
|
@pulumi.input_type
|
|
116
117
|
class ContainerResourceMetricSourcePatchArgs:
|
|
117
118
|
def __init__(__self__, *,
|
|
118
|
-
container: Optional[pulumi.Input[str]] = None,
|
|
119
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
119
|
+
container: Optional[pulumi.Input[builtins.str]] = None,
|
|
120
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
120
121
|
target: Optional[pulumi.Input['MetricTargetPatchArgs']] = None):
|
|
121
122
|
"""
|
|
122
123
|
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.
|
|
123
|
-
:param pulumi.Input[str] container: container is the name of the container in the pods of the scaling target
|
|
124
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
124
|
+
:param pulumi.Input[builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
125
|
+
:param pulumi.Input[builtins.str] name: name is the name of the resource in question.
|
|
125
126
|
:param pulumi.Input['MetricTargetPatchArgs'] target: target specifies the target value for the given metric
|
|
126
127
|
"""
|
|
127
128
|
if container is not None:
|
|
@@ -133,26 +134,26 @@ class ContainerResourceMetricSourcePatchArgs:
|
|
|
133
134
|
|
|
134
135
|
@property
|
|
135
136
|
@pulumi.getter
|
|
136
|
-
def container(self) -> Optional[pulumi.Input[str]]:
|
|
137
|
+
def container(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
137
138
|
"""
|
|
138
139
|
container is the name of the container in the pods of the scaling target
|
|
139
140
|
"""
|
|
140
141
|
return pulumi.get(self, "container")
|
|
141
142
|
|
|
142
143
|
@container.setter
|
|
143
|
-
def container(self, value: Optional[pulumi.Input[str]]):
|
|
144
|
+
def container(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
144
145
|
pulumi.set(self, "container", value)
|
|
145
146
|
|
|
146
147
|
@property
|
|
147
148
|
@pulumi.getter
|
|
148
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
149
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
149
150
|
"""
|
|
150
151
|
name is the name of the resource in question.
|
|
151
152
|
"""
|
|
152
153
|
return pulumi.get(self, "name")
|
|
153
154
|
|
|
154
155
|
@name.setter
|
|
155
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
156
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
156
157
|
pulumi.set(self, "name", value)
|
|
157
158
|
|
|
158
159
|
@property
|
|
@@ -173,11 +174,11 @@ if not MYPY:
|
|
|
173
174
|
"""
|
|
174
175
|
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.
|
|
175
176
|
"""
|
|
176
|
-
container: pulumi.Input[str]
|
|
177
|
+
container: pulumi.Input[builtins.str]
|
|
177
178
|
"""
|
|
178
179
|
container is the name of the container in the pods of the scaling target
|
|
179
180
|
"""
|
|
180
|
-
name: pulumi.Input[str]
|
|
181
|
+
name: pulumi.Input[builtins.str]
|
|
181
182
|
"""
|
|
182
183
|
name is the name of the resource in question.
|
|
183
184
|
"""
|
|
@@ -191,13 +192,13 @@ elif False:
|
|
|
191
192
|
@pulumi.input_type
|
|
192
193
|
class ContainerResourceMetricSourceArgs:
|
|
193
194
|
def __init__(__self__, *,
|
|
194
|
-
container: pulumi.Input[str],
|
|
195
|
-
name: pulumi.Input[str],
|
|
195
|
+
container: pulumi.Input[builtins.str],
|
|
196
|
+
name: pulumi.Input[builtins.str],
|
|
196
197
|
target: pulumi.Input['MetricTargetArgs']):
|
|
197
198
|
"""
|
|
198
199
|
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.
|
|
199
|
-
:param pulumi.Input[str] container: container is the name of the container in the pods of the scaling target
|
|
200
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
200
|
+
:param pulumi.Input[builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
201
|
+
:param pulumi.Input[builtins.str] name: name is the name of the resource in question.
|
|
201
202
|
:param pulumi.Input['MetricTargetArgs'] target: target specifies the target value for the given metric
|
|
202
203
|
"""
|
|
203
204
|
pulumi.set(__self__, "container", container)
|
|
@@ -206,26 +207,26 @@ class ContainerResourceMetricSourceArgs:
|
|
|
206
207
|
|
|
207
208
|
@property
|
|
208
209
|
@pulumi.getter
|
|
209
|
-
def container(self) -> pulumi.Input[str]:
|
|
210
|
+
def container(self) -> pulumi.Input[builtins.str]:
|
|
210
211
|
"""
|
|
211
212
|
container is the name of the container in the pods of the scaling target
|
|
212
213
|
"""
|
|
213
214
|
return pulumi.get(self, "container")
|
|
214
215
|
|
|
215
216
|
@container.setter
|
|
216
|
-
def container(self, value: pulumi.Input[str]):
|
|
217
|
+
def container(self, value: pulumi.Input[builtins.str]):
|
|
217
218
|
pulumi.set(self, "container", value)
|
|
218
219
|
|
|
219
220
|
@property
|
|
220
221
|
@pulumi.getter
|
|
221
|
-
def name(self) -> pulumi.Input[str]:
|
|
222
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
222
223
|
"""
|
|
223
224
|
name is the name of the resource in question.
|
|
224
225
|
"""
|
|
225
226
|
return pulumi.get(self, "name")
|
|
226
227
|
|
|
227
228
|
@name.setter
|
|
228
|
-
def name(self, value: pulumi.Input[str]):
|
|
229
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
229
230
|
pulumi.set(self, "name", value)
|
|
230
231
|
|
|
231
232
|
@property
|
|
@@ -246,7 +247,7 @@ if not MYPY:
|
|
|
246
247
|
"""
|
|
247
248
|
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.
|
|
248
249
|
"""
|
|
249
|
-
container: pulumi.Input[str]
|
|
250
|
+
container: pulumi.Input[builtins.str]
|
|
250
251
|
"""
|
|
251
252
|
container is the name of the container in the pods of the scaling target
|
|
252
253
|
"""
|
|
@@ -254,7 +255,7 @@ if not MYPY:
|
|
|
254
255
|
"""
|
|
255
256
|
current contains the current value for the given metric
|
|
256
257
|
"""
|
|
257
|
-
name: pulumi.Input[str]
|
|
258
|
+
name: pulumi.Input[builtins.str]
|
|
258
259
|
"""
|
|
259
260
|
name is the name of the resource in question.
|
|
260
261
|
"""
|
|
@@ -264,14 +265,14 @@ elif False:
|
|
|
264
265
|
@pulumi.input_type
|
|
265
266
|
class ContainerResourceMetricStatusArgs:
|
|
266
267
|
def __init__(__self__, *,
|
|
267
|
-
container: pulumi.Input[str],
|
|
268
|
+
container: pulumi.Input[builtins.str],
|
|
268
269
|
current: pulumi.Input['MetricValueStatusArgs'],
|
|
269
|
-
name: pulumi.Input[str]):
|
|
270
|
+
name: pulumi.Input[builtins.str]):
|
|
270
271
|
"""
|
|
271
272
|
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.
|
|
272
|
-
:param pulumi.Input[str] container: container is the name of the container in the pods of the scaling target
|
|
273
|
+
:param pulumi.Input[builtins.str] container: container is the name of the container in the pods of the scaling target
|
|
273
274
|
:param pulumi.Input['MetricValueStatusArgs'] current: current contains the current value for the given metric
|
|
274
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
275
|
+
:param pulumi.Input[builtins.str] name: name is the name of the resource in question.
|
|
275
276
|
"""
|
|
276
277
|
pulumi.set(__self__, "container", container)
|
|
277
278
|
pulumi.set(__self__, "current", current)
|
|
@@ -279,14 +280,14 @@ class ContainerResourceMetricStatusArgs:
|
|
|
279
280
|
|
|
280
281
|
@property
|
|
281
282
|
@pulumi.getter
|
|
282
|
-
def container(self) -> pulumi.Input[str]:
|
|
283
|
+
def container(self) -> pulumi.Input[builtins.str]:
|
|
283
284
|
"""
|
|
284
285
|
container is the name of the container in the pods of the scaling target
|
|
285
286
|
"""
|
|
286
287
|
return pulumi.get(self, "container")
|
|
287
288
|
|
|
288
289
|
@container.setter
|
|
289
|
-
def container(self, value: pulumi.Input[str]):
|
|
290
|
+
def container(self, value: pulumi.Input[builtins.str]):
|
|
290
291
|
pulumi.set(self, "container", value)
|
|
291
292
|
|
|
292
293
|
@property
|
|
@@ -303,14 +304,14 @@ class ContainerResourceMetricStatusArgs:
|
|
|
303
304
|
|
|
304
305
|
@property
|
|
305
306
|
@pulumi.getter
|
|
306
|
-
def name(self) -> pulumi.Input[str]:
|
|
307
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
307
308
|
"""
|
|
308
309
|
name is the name of the resource in question.
|
|
309
310
|
"""
|
|
310
311
|
return pulumi.get(self, "name")
|
|
311
312
|
|
|
312
313
|
@name.setter
|
|
313
|
-
def name(self, value: pulumi.Input[str]):
|
|
314
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
314
315
|
pulumi.set(self, "name", value)
|
|
315
316
|
|
|
316
317
|
|
|
@@ -319,15 +320,15 @@ if not MYPY:
|
|
|
319
320
|
"""
|
|
320
321
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
321
322
|
"""
|
|
322
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
323
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
323
324
|
"""
|
|
324
325
|
apiVersion is the API version of the referent
|
|
325
326
|
"""
|
|
326
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
327
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
327
328
|
"""
|
|
328
329
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
329
330
|
"""
|
|
330
|
-
name: NotRequired[pulumi.Input[str]]
|
|
331
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
331
332
|
"""
|
|
332
333
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
333
334
|
"""
|
|
@@ -337,14 +338,14 @@ elif False:
|
|
|
337
338
|
@pulumi.input_type
|
|
338
339
|
class CrossVersionObjectReferencePatchArgs:
|
|
339
340
|
def __init__(__self__, *,
|
|
340
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
341
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
342
|
-
name: Optional[pulumi.Input[str]] = None):
|
|
341
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
342
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
343
|
+
name: Optional[pulumi.Input[builtins.str]] = None):
|
|
343
344
|
"""
|
|
344
345
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
345
|
-
:param pulumi.Input[str] api_version: apiVersion is the API version of the referent
|
|
346
|
-
:param pulumi.Input[str] kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
347
|
-
:param pulumi.Input[str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
346
|
+
:param pulumi.Input[builtins.str] api_version: apiVersion is the API version of the referent
|
|
347
|
+
:param pulumi.Input[builtins.str] kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
348
|
+
:param pulumi.Input[builtins.str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
348
349
|
"""
|
|
349
350
|
if api_version is not None:
|
|
350
351
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -355,38 +356,38 @@ class CrossVersionObjectReferencePatchArgs:
|
|
|
355
356
|
|
|
356
357
|
@property
|
|
357
358
|
@pulumi.getter(name="apiVersion")
|
|
358
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
359
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
359
360
|
"""
|
|
360
361
|
apiVersion is the API version of the referent
|
|
361
362
|
"""
|
|
362
363
|
return pulumi.get(self, "api_version")
|
|
363
364
|
|
|
364
365
|
@api_version.setter
|
|
365
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
366
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
366
367
|
pulumi.set(self, "api_version", value)
|
|
367
368
|
|
|
368
369
|
@property
|
|
369
370
|
@pulumi.getter
|
|
370
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
371
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
371
372
|
"""
|
|
372
373
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
373
374
|
"""
|
|
374
375
|
return pulumi.get(self, "kind")
|
|
375
376
|
|
|
376
377
|
@kind.setter
|
|
377
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
378
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
378
379
|
pulumi.set(self, "kind", value)
|
|
379
380
|
|
|
380
381
|
@property
|
|
381
382
|
@pulumi.getter
|
|
382
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
383
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
383
384
|
"""
|
|
384
385
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
385
386
|
"""
|
|
386
387
|
return pulumi.get(self, "name")
|
|
387
388
|
|
|
388
389
|
@name.setter
|
|
389
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
390
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
390
391
|
pulumi.set(self, "name", value)
|
|
391
392
|
|
|
392
393
|
|
|
@@ -395,15 +396,15 @@ if not MYPY:
|
|
|
395
396
|
"""
|
|
396
397
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
397
398
|
"""
|
|
398
|
-
kind: pulumi.Input[str]
|
|
399
|
+
kind: pulumi.Input[builtins.str]
|
|
399
400
|
"""
|
|
400
401
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
401
402
|
"""
|
|
402
|
-
name: pulumi.Input[str]
|
|
403
|
+
name: pulumi.Input[builtins.str]
|
|
403
404
|
"""
|
|
404
405
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
405
406
|
"""
|
|
406
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
407
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
407
408
|
"""
|
|
408
409
|
apiVersion is the API version of the referent
|
|
409
410
|
"""
|
|
@@ -413,14 +414,14 @@ elif False:
|
|
|
413
414
|
@pulumi.input_type
|
|
414
415
|
class CrossVersionObjectReferenceArgs:
|
|
415
416
|
def __init__(__self__, *,
|
|
416
|
-
kind: pulumi.Input[str],
|
|
417
|
-
name: pulumi.Input[str],
|
|
418
|
-
api_version: Optional[pulumi.Input[str]] = None):
|
|
417
|
+
kind: pulumi.Input[builtins.str],
|
|
418
|
+
name: pulumi.Input[builtins.str],
|
|
419
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None):
|
|
419
420
|
"""
|
|
420
421
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
421
|
-
:param pulumi.Input[str] kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
422
|
-
:param pulumi.Input[str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
423
|
-
:param pulumi.Input[str] api_version: apiVersion is the API version of the referent
|
|
422
|
+
:param pulumi.Input[builtins.str] kind: kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
423
|
+
:param pulumi.Input[builtins.str] name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
424
|
+
:param pulumi.Input[builtins.str] api_version: apiVersion is the API version of the referent
|
|
424
425
|
"""
|
|
425
426
|
pulumi.set(__self__, "kind", kind)
|
|
426
427
|
pulumi.set(__self__, "name", name)
|
|
@@ -429,38 +430,38 @@ class CrossVersionObjectReferenceArgs:
|
|
|
429
430
|
|
|
430
431
|
@property
|
|
431
432
|
@pulumi.getter
|
|
432
|
-
def kind(self) -> pulumi.Input[str]:
|
|
433
|
+
def kind(self) -> pulumi.Input[builtins.str]:
|
|
433
434
|
"""
|
|
434
435
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
435
436
|
"""
|
|
436
437
|
return pulumi.get(self, "kind")
|
|
437
438
|
|
|
438
439
|
@kind.setter
|
|
439
|
-
def kind(self, value: pulumi.Input[str]):
|
|
440
|
+
def kind(self, value: pulumi.Input[builtins.str]):
|
|
440
441
|
pulumi.set(self, "kind", value)
|
|
441
442
|
|
|
442
443
|
@property
|
|
443
444
|
@pulumi.getter
|
|
444
|
-
def name(self) -> pulumi.Input[str]:
|
|
445
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
445
446
|
"""
|
|
446
447
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
447
448
|
"""
|
|
448
449
|
return pulumi.get(self, "name")
|
|
449
450
|
|
|
450
451
|
@name.setter
|
|
451
|
-
def name(self, value: pulumi.Input[str]):
|
|
452
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
452
453
|
pulumi.set(self, "name", value)
|
|
453
454
|
|
|
454
455
|
@property
|
|
455
456
|
@pulumi.getter(name="apiVersion")
|
|
456
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
457
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
457
458
|
"""
|
|
458
459
|
apiVersion is the API version of the referent
|
|
459
460
|
"""
|
|
460
461
|
return pulumi.get(self, "api_version")
|
|
461
462
|
|
|
462
463
|
@api_version.setter
|
|
463
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
464
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
464
465
|
pulumi.set(self, "api_version", value)
|
|
465
466
|
|
|
466
467
|
|
|
@@ -633,15 +634,15 @@ if not MYPY:
|
|
|
633
634
|
"""
|
|
634
635
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
635
636
|
"""
|
|
636
|
-
period_seconds: NotRequired[pulumi.Input[int]]
|
|
637
|
+
period_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
637
638
|
"""
|
|
638
639
|
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).
|
|
639
640
|
"""
|
|
640
|
-
type: NotRequired[pulumi.Input[str]]
|
|
641
|
+
type: NotRequired[pulumi.Input[builtins.str]]
|
|
641
642
|
"""
|
|
642
643
|
type is used to specify the scaling policy.
|
|
643
644
|
"""
|
|
644
|
-
value: NotRequired[pulumi.Input[int]]
|
|
645
|
+
value: NotRequired[pulumi.Input[builtins.int]]
|
|
645
646
|
"""
|
|
646
647
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
647
648
|
"""
|
|
@@ -651,14 +652,14 @@ elif False:
|
|
|
651
652
|
@pulumi.input_type
|
|
652
653
|
class HPAScalingPolicyPatchArgs:
|
|
653
654
|
def __init__(__self__, *,
|
|
654
|
-
period_seconds: Optional[pulumi.Input[int]] = None,
|
|
655
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
656
|
-
value: Optional[pulumi.Input[int]] = None):
|
|
655
|
+
period_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
656
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
657
|
+
value: Optional[pulumi.Input[builtins.int]] = None):
|
|
657
658
|
"""
|
|
658
659
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
659
|
-
:param pulumi.Input[int] period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
660
|
-
:param pulumi.Input[str] type: type is used to specify the scaling policy.
|
|
661
|
-
:param pulumi.Input[int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
660
|
+
:param pulumi.Input[builtins.int] period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
661
|
+
:param pulumi.Input[builtins.str] type: type is used to specify the scaling policy.
|
|
662
|
+
:param pulumi.Input[builtins.int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
662
663
|
"""
|
|
663
664
|
if period_seconds is not None:
|
|
664
665
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
@@ -669,38 +670,38 @@ class HPAScalingPolicyPatchArgs:
|
|
|
669
670
|
|
|
670
671
|
@property
|
|
671
672
|
@pulumi.getter(name="periodSeconds")
|
|
672
|
-
def period_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
673
|
+
def period_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
673
674
|
"""
|
|
674
675
|
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).
|
|
675
676
|
"""
|
|
676
677
|
return pulumi.get(self, "period_seconds")
|
|
677
678
|
|
|
678
679
|
@period_seconds.setter
|
|
679
|
-
def period_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
680
|
+
def period_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
680
681
|
pulumi.set(self, "period_seconds", value)
|
|
681
682
|
|
|
682
683
|
@property
|
|
683
684
|
@pulumi.getter
|
|
684
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
685
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
685
686
|
"""
|
|
686
687
|
type is used to specify the scaling policy.
|
|
687
688
|
"""
|
|
688
689
|
return pulumi.get(self, "type")
|
|
689
690
|
|
|
690
691
|
@type.setter
|
|
691
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
692
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
692
693
|
pulumi.set(self, "type", value)
|
|
693
694
|
|
|
694
695
|
@property
|
|
695
696
|
@pulumi.getter
|
|
696
|
-
def value(self) -> Optional[pulumi.Input[int]]:
|
|
697
|
+
def value(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
697
698
|
"""
|
|
698
699
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
699
700
|
"""
|
|
700
701
|
return pulumi.get(self, "value")
|
|
701
702
|
|
|
702
703
|
@value.setter
|
|
703
|
-
def value(self, value: Optional[pulumi.Input[int]]):
|
|
704
|
+
def value(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
704
705
|
pulumi.set(self, "value", value)
|
|
705
706
|
|
|
706
707
|
|
|
@@ -709,15 +710,15 @@ if not MYPY:
|
|
|
709
710
|
"""
|
|
710
711
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
711
712
|
"""
|
|
712
|
-
period_seconds: pulumi.Input[int]
|
|
713
|
+
period_seconds: pulumi.Input[builtins.int]
|
|
713
714
|
"""
|
|
714
715
|
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).
|
|
715
716
|
"""
|
|
716
|
-
type: pulumi.Input[str]
|
|
717
|
+
type: pulumi.Input[builtins.str]
|
|
717
718
|
"""
|
|
718
719
|
type is used to specify the scaling policy.
|
|
719
720
|
"""
|
|
720
|
-
value: pulumi.Input[int]
|
|
721
|
+
value: pulumi.Input[builtins.int]
|
|
721
722
|
"""
|
|
722
723
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
723
724
|
"""
|
|
@@ -727,14 +728,14 @@ elif False:
|
|
|
727
728
|
@pulumi.input_type
|
|
728
729
|
class HPAScalingPolicyArgs:
|
|
729
730
|
def __init__(__self__, *,
|
|
730
|
-
period_seconds: pulumi.Input[int],
|
|
731
|
-
type: pulumi.Input[str],
|
|
732
|
-
value: pulumi.Input[int]):
|
|
731
|
+
period_seconds: pulumi.Input[builtins.int],
|
|
732
|
+
type: pulumi.Input[builtins.str],
|
|
733
|
+
value: pulumi.Input[builtins.int]):
|
|
733
734
|
"""
|
|
734
735
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
735
|
-
:param pulumi.Input[int] period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
736
|
-
:param pulumi.Input[str] type: type is used to specify the scaling policy.
|
|
737
|
-
:param pulumi.Input[int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
736
|
+
:param pulumi.Input[builtins.int] period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
737
|
+
:param pulumi.Input[builtins.str] type: type is used to specify the scaling policy.
|
|
738
|
+
:param pulumi.Input[builtins.int] value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
738
739
|
"""
|
|
739
740
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
740
741
|
pulumi.set(__self__, "type", type)
|
|
@@ -742,58 +743,70 @@ class HPAScalingPolicyArgs:
|
|
|
742
743
|
|
|
743
744
|
@property
|
|
744
745
|
@pulumi.getter(name="periodSeconds")
|
|
745
|
-
def period_seconds(self) -> pulumi.Input[int]:
|
|
746
|
+
def period_seconds(self) -> pulumi.Input[builtins.int]:
|
|
746
747
|
"""
|
|
747
748
|
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).
|
|
748
749
|
"""
|
|
749
750
|
return pulumi.get(self, "period_seconds")
|
|
750
751
|
|
|
751
752
|
@period_seconds.setter
|
|
752
|
-
def period_seconds(self, value: pulumi.Input[int]):
|
|
753
|
+
def period_seconds(self, value: pulumi.Input[builtins.int]):
|
|
753
754
|
pulumi.set(self, "period_seconds", value)
|
|
754
755
|
|
|
755
756
|
@property
|
|
756
757
|
@pulumi.getter
|
|
757
|
-
def type(self) -> pulumi.Input[str]:
|
|
758
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
758
759
|
"""
|
|
759
760
|
type is used to specify the scaling policy.
|
|
760
761
|
"""
|
|
761
762
|
return pulumi.get(self, "type")
|
|
762
763
|
|
|
763
764
|
@type.setter
|
|
764
|
-
def type(self, value: pulumi.Input[str]):
|
|
765
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
765
766
|
pulumi.set(self, "type", value)
|
|
766
767
|
|
|
767
768
|
@property
|
|
768
769
|
@pulumi.getter
|
|
769
|
-
def value(self) -> pulumi.Input[int]:
|
|
770
|
+
def value(self) -> pulumi.Input[builtins.int]:
|
|
770
771
|
"""
|
|
771
772
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
772
773
|
"""
|
|
773
774
|
return pulumi.get(self, "value")
|
|
774
775
|
|
|
775
776
|
@value.setter
|
|
776
|
-
def value(self, value: pulumi.Input[int]):
|
|
777
|
+
def value(self, value: pulumi.Input[builtins.int]):
|
|
777
778
|
pulumi.set(self, "value", value)
|
|
778
779
|
|
|
779
780
|
|
|
780
781
|
if not MYPY:
|
|
781
782
|
class HPAScalingRulesPatchArgsDict(TypedDict):
|
|
782
783
|
"""
|
|
783
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
784
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
785
|
+
|
|
786
|
+
Scaling Policy 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.
|
|
787
|
+
|
|
788
|
+
The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
|
|
784
789
|
"""
|
|
785
790
|
policies: NotRequired[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgsDict']]]]
|
|
786
791
|
"""
|
|
787
|
-
policies is a list of potential scaling polices which can be used during scaling.
|
|
792
|
+
policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
788
793
|
"""
|
|
789
|
-
select_policy: NotRequired[pulumi.Input[str]]
|
|
794
|
+
select_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
790
795
|
"""
|
|
791
796
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
792
797
|
"""
|
|
793
|
-
stabilization_window_seconds: NotRequired[pulumi.Input[int]]
|
|
798
|
+
stabilization_window_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
794
799
|
"""
|
|
795
800
|
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).
|
|
796
801
|
"""
|
|
802
|
+
tolerance: NotRequired[pulumi.Input[builtins.str]]
|
|
803
|
+
"""
|
|
804
|
+
tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
805
|
+
|
|
806
|
+
For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
|
|
807
|
+
|
|
808
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
809
|
+
"""
|
|
797
810
|
elif False:
|
|
798
811
|
HPAScalingRulesPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
799
812
|
|
|
@@ -801,13 +814,23 @@ elif False:
|
|
|
801
814
|
class HPAScalingRulesPatchArgs:
|
|
802
815
|
def __init__(__self__, *,
|
|
803
816
|
policies: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]]] = None,
|
|
804
|
-
select_policy: Optional[pulumi.Input[str]] = None,
|
|
805
|
-
stabilization_window_seconds: Optional[pulumi.Input[int]] = None
|
|
817
|
+
select_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
818
|
+
stabilization_window_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
819
|
+
tolerance: Optional[pulumi.Input[builtins.str]] = None):
|
|
806
820
|
"""
|
|
807
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
821
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
822
|
+
|
|
823
|
+
Scaling Policy 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.
|
|
824
|
+
|
|
825
|
+
The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
|
|
826
|
+
:param pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]] policies: policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
827
|
+
:param pulumi.Input[builtins.str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
828
|
+
:param pulumi.Input[builtins.int] stabilization_window_seconds: stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
829
|
+
:param pulumi.Input[builtins.str] tolerance: tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
830
|
+
|
|
831
|
+
For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
|
|
832
|
+
|
|
833
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
811
834
|
"""
|
|
812
835
|
if policies is not None:
|
|
813
836
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -815,12 +838,14 @@ class HPAScalingRulesPatchArgs:
|
|
|
815
838
|
pulumi.set(__self__, "select_policy", select_policy)
|
|
816
839
|
if stabilization_window_seconds is not None:
|
|
817
840
|
pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
|
|
841
|
+
if tolerance is not None:
|
|
842
|
+
pulumi.set(__self__, "tolerance", tolerance)
|
|
818
843
|
|
|
819
844
|
@property
|
|
820
845
|
@pulumi.getter
|
|
821
846
|
def policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgs']]]]:
|
|
822
847
|
"""
|
|
823
|
-
policies is a list of potential scaling polices which can be used during scaling.
|
|
848
|
+
policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
824
849
|
"""
|
|
825
850
|
return pulumi.get(self, "policies")
|
|
826
851
|
|
|
@@ -830,46 +855,74 @@ class HPAScalingRulesPatchArgs:
|
|
|
830
855
|
|
|
831
856
|
@property
|
|
832
857
|
@pulumi.getter(name="selectPolicy")
|
|
833
|
-
def select_policy(self) -> Optional[pulumi.Input[str]]:
|
|
858
|
+
def select_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
834
859
|
"""
|
|
835
860
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
836
861
|
"""
|
|
837
862
|
return pulumi.get(self, "select_policy")
|
|
838
863
|
|
|
839
864
|
@select_policy.setter
|
|
840
|
-
def select_policy(self, value: Optional[pulumi.Input[str]]):
|
|
865
|
+
def select_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
841
866
|
pulumi.set(self, "select_policy", value)
|
|
842
867
|
|
|
843
868
|
@property
|
|
844
869
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
845
|
-
def stabilization_window_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
870
|
+
def stabilization_window_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
846
871
|
"""
|
|
847
872
|
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).
|
|
848
873
|
"""
|
|
849
874
|
return pulumi.get(self, "stabilization_window_seconds")
|
|
850
875
|
|
|
851
876
|
@stabilization_window_seconds.setter
|
|
852
|
-
def stabilization_window_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
877
|
+
def stabilization_window_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
853
878
|
pulumi.set(self, "stabilization_window_seconds", value)
|
|
854
879
|
|
|
880
|
+
@property
|
|
881
|
+
@pulumi.getter
|
|
882
|
+
def tolerance(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
883
|
+
"""
|
|
884
|
+
tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
885
|
+
|
|
886
|
+
For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
|
|
887
|
+
|
|
888
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
889
|
+
"""
|
|
890
|
+
return pulumi.get(self, "tolerance")
|
|
891
|
+
|
|
892
|
+
@tolerance.setter
|
|
893
|
+
def tolerance(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
894
|
+
pulumi.set(self, "tolerance", value)
|
|
895
|
+
|
|
855
896
|
|
|
856
897
|
if not MYPY:
|
|
857
898
|
class HPAScalingRulesArgsDict(TypedDict):
|
|
858
899
|
"""
|
|
859
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
900
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
901
|
+
|
|
902
|
+
Scaling Policy 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.
|
|
903
|
+
|
|
904
|
+
The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
|
|
860
905
|
"""
|
|
861
906
|
policies: NotRequired[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgsDict']]]]
|
|
862
907
|
"""
|
|
863
|
-
policies is a list of potential scaling polices which can be used during scaling.
|
|
908
|
+
policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
864
909
|
"""
|
|
865
|
-
select_policy: NotRequired[pulumi.Input[str]]
|
|
910
|
+
select_policy: NotRequired[pulumi.Input[builtins.str]]
|
|
866
911
|
"""
|
|
867
912
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
868
913
|
"""
|
|
869
|
-
stabilization_window_seconds: NotRequired[pulumi.Input[int]]
|
|
914
|
+
stabilization_window_seconds: NotRequired[pulumi.Input[builtins.int]]
|
|
870
915
|
"""
|
|
871
916
|
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).
|
|
872
917
|
"""
|
|
918
|
+
tolerance: NotRequired[pulumi.Input[builtins.str]]
|
|
919
|
+
"""
|
|
920
|
+
tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
921
|
+
|
|
922
|
+
For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
|
|
923
|
+
|
|
924
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
925
|
+
"""
|
|
873
926
|
elif False:
|
|
874
927
|
HPAScalingRulesArgsDict: TypeAlias = Mapping[str, Any]
|
|
875
928
|
|
|
@@ -877,13 +930,23 @@ elif False:
|
|
|
877
930
|
class HPAScalingRulesArgs:
|
|
878
931
|
def __init__(__self__, *,
|
|
879
932
|
policies: Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]]] = None,
|
|
880
|
-
select_policy: Optional[pulumi.Input[str]] = None,
|
|
881
|
-
stabilization_window_seconds: Optional[pulumi.Input[int]] = None
|
|
933
|
+
select_policy: Optional[pulumi.Input[builtins.str]] = None,
|
|
934
|
+
stabilization_window_seconds: Optional[pulumi.Input[builtins.int]] = None,
|
|
935
|
+
tolerance: Optional[pulumi.Input[builtins.str]] = None):
|
|
882
936
|
"""
|
|
883
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
937
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
938
|
+
|
|
939
|
+
Scaling Policy 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.
|
|
940
|
+
|
|
941
|
+
The tolerance is applied to the metric values and prevents scaling too eagerly for small metric variations. (Note that setting a tolerance requires enabling the alpha HPAConfigurableTolerance feature gate.)
|
|
942
|
+
:param pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]] policies: policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
943
|
+
:param pulumi.Input[builtins.str] select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
944
|
+
:param pulumi.Input[builtins.int] stabilization_window_seconds: stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
945
|
+
:param pulumi.Input[builtins.str] tolerance: tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
946
|
+
|
|
947
|
+
For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
|
|
948
|
+
|
|
949
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
887
950
|
"""
|
|
888
951
|
if policies is not None:
|
|
889
952
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -891,12 +954,14 @@ class HPAScalingRulesArgs:
|
|
|
891
954
|
pulumi.set(__self__, "select_policy", select_policy)
|
|
892
955
|
if stabilization_window_seconds is not None:
|
|
893
956
|
pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
|
|
957
|
+
if tolerance is not None:
|
|
958
|
+
pulumi.set(__self__, "tolerance", tolerance)
|
|
894
959
|
|
|
895
960
|
@property
|
|
896
961
|
@pulumi.getter
|
|
897
962
|
def policies(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgs']]]]:
|
|
898
963
|
"""
|
|
899
|
-
policies is a list of potential scaling polices which can be used during scaling.
|
|
964
|
+
policies is a list of potential scaling polices which can be used during scaling. If not set, use the default values: - For scale up: allow doubling the number of pods, or an absolute change of 4 pods in a 15s window. - For scale down: allow all pods to be removed in a 15s window.
|
|
900
965
|
"""
|
|
901
966
|
return pulumi.get(self, "policies")
|
|
902
967
|
|
|
@@ -906,28 +971,44 @@ class HPAScalingRulesArgs:
|
|
|
906
971
|
|
|
907
972
|
@property
|
|
908
973
|
@pulumi.getter(name="selectPolicy")
|
|
909
|
-
def select_policy(self) -> Optional[pulumi.Input[str]]:
|
|
974
|
+
def select_policy(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
910
975
|
"""
|
|
911
976
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
912
977
|
"""
|
|
913
978
|
return pulumi.get(self, "select_policy")
|
|
914
979
|
|
|
915
980
|
@select_policy.setter
|
|
916
|
-
def select_policy(self, value: Optional[pulumi.Input[str]]):
|
|
981
|
+
def select_policy(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
917
982
|
pulumi.set(self, "select_policy", value)
|
|
918
983
|
|
|
919
984
|
@property
|
|
920
985
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
921
|
-
def stabilization_window_seconds(self) -> Optional[pulumi.Input[int]]:
|
|
986
|
+
def stabilization_window_seconds(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
922
987
|
"""
|
|
923
988
|
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).
|
|
924
989
|
"""
|
|
925
990
|
return pulumi.get(self, "stabilization_window_seconds")
|
|
926
991
|
|
|
927
992
|
@stabilization_window_seconds.setter
|
|
928
|
-
def stabilization_window_seconds(self, value: Optional[pulumi.Input[int]]):
|
|
993
|
+
def stabilization_window_seconds(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
929
994
|
pulumi.set(self, "stabilization_window_seconds", value)
|
|
930
995
|
|
|
996
|
+
@property
|
|
997
|
+
@pulumi.getter
|
|
998
|
+
def tolerance(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
999
|
+
"""
|
|
1000
|
+
tolerance is the tolerance on the ratio between the current and desired metric value under which no updates are made to the desired number of replicas (e.g. 0.01 for 1%). Must be greater than or equal to zero. If not set, the default cluster-wide tolerance is applied (by default 10%).
|
|
1001
|
+
|
|
1002
|
+
For example, if autoscaling is configured with a memory consumption target of 100Mi, and scale-down and scale-up tolerances of 5% and 1% respectively, scaling will be triggered when the actual consumption falls below 95Mi or exceeds 101Mi.
|
|
1003
|
+
|
|
1004
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
1005
|
+
"""
|
|
1006
|
+
return pulumi.get(self, "tolerance")
|
|
1007
|
+
|
|
1008
|
+
@tolerance.setter
|
|
1009
|
+
def tolerance(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1010
|
+
pulumi.set(self, "tolerance", value)
|
|
1011
|
+
|
|
931
1012
|
|
|
932
1013
|
if not MYPY:
|
|
933
1014
|
class HorizontalPodAutoscalerBehaviorPatchArgsDict(TypedDict):
|
|
@@ -1064,23 +1145,23 @@ if not MYPY:
|
|
|
1064
1145
|
"""
|
|
1065
1146
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1066
1147
|
"""
|
|
1067
|
-
status: pulumi.Input[str]
|
|
1148
|
+
status: pulumi.Input[builtins.str]
|
|
1068
1149
|
"""
|
|
1069
1150
|
status is the status of the condition (True, False, Unknown)
|
|
1070
1151
|
"""
|
|
1071
|
-
type: pulumi.Input[str]
|
|
1152
|
+
type: pulumi.Input[builtins.str]
|
|
1072
1153
|
"""
|
|
1073
1154
|
type describes the current condition
|
|
1074
1155
|
"""
|
|
1075
|
-
last_transition_time: NotRequired[pulumi.Input[str]]
|
|
1156
|
+
last_transition_time: NotRequired[pulumi.Input[builtins.str]]
|
|
1076
1157
|
"""
|
|
1077
1158
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1078
1159
|
"""
|
|
1079
|
-
message: NotRequired[pulumi.Input[str]]
|
|
1160
|
+
message: NotRequired[pulumi.Input[builtins.str]]
|
|
1080
1161
|
"""
|
|
1081
1162
|
message is a human-readable explanation containing details about the transition
|
|
1082
1163
|
"""
|
|
1083
|
-
reason: NotRequired[pulumi.Input[str]]
|
|
1164
|
+
reason: NotRequired[pulumi.Input[builtins.str]]
|
|
1084
1165
|
"""
|
|
1085
1166
|
reason is the reason for the condition's last transition.
|
|
1086
1167
|
"""
|
|
@@ -1090,18 +1171,18 @@ elif False:
|
|
|
1090
1171
|
@pulumi.input_type
|
|
1091
1172
|
class HorizontalPodAutoscalerConditionArgs:
|
|
1092
1173
|
def __init__(__self__, *,
|
|
1093
|
-
status: pulumi.Input[str],
|
|
1094
|
-
type: pulumi.Input[str],
|
|
1095
|
-
last_transition_time: Optional[pulumi.Input[str]] = None,
|
|
1096
|
-
message: Optional[pulumi.Input[str]] = None,
|
|
1097
|
-
reason: Optional[pulumi.Input[str]] = None):
|
|
1174
|
+
status: pulumi.Input[builtins.str],
|
|
1175
|
+
type: pulumi.Input[builtins.str],
|
|
1176
|
+
last_transition_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1177
|
+
message: Optional[pulumi.Input[builtins.str]] = None,
|
|
1178
|
+
reason: Optional[pulumi.Input[builtins.str]] = None):
|
|
1098
1179
|
"""
|
|
1099
1180
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1100
|
-
:param pulumi.Input[str] status: status is the status of the condition (True, False, Unknown)
|
|
1101
|
-
:param pulumi.Input[str] type: type describes the current condition
|
|
1102
|
-
:param pulumi.Input[str] last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1103
|
-
:param pulumi.Input[str] message: message is a human-readable explanation containing details about the transition
|
|
1104
|
-
:param pulumi.Input[str] reason: reason is the reason for the condition's last transition.
|
|
1181
|
+
:param pulumi.Input[builtins.str] status: status is the status of the condition (True, False, Unknown)
|
|
1182
|
+
:param pulumi.Input[builtins.str] type: type describes the current condition
|
|
1183
|
+
:param pulumi.Input[builtins.str] last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1184
|
+
:param pulumi.Input[builtins.str] message: message is a human-readable explanation containing details about the transition
|
|
1185
|
+
:param pulumi.Input[builtins.str] reason: reason is the reason for the condition's last transition.
|
|
1105
1186
|
"""
|
|
1106
1187
|
pulumi.set(__self__, "status", status)
|
|
1107
1188
|
pulumi.set(__self__, "type", type)
|
|
@@ -1114,62 +1195,62 @@ class HorizontalPodAutoscalerConditionArgs:
|
|
|
1114
1195
|
|
|
1115
1196
|
@property
|
|
1116
1197
|
@pulumi.getter
|
|
1117
|
-
def status(self) -> pulumi.Input[str]:
|
|
1198
|
+
def status(self) -> pulumi.Input[builtins.str]:
|
|
1118
1199
|
"""
|
|
1119
1200
|
status is the status of the condition (True, False, Unknown)
|
|
1120
1201
|
"""
|
|
1121
1202
|
return pulumi.get(self, "status")
|
|
1122
1203
|
|
|
1123
1204
|
@status.setter
|
|
1124
|
-
def status(self, value: pulumi.Input[str]):
|
|
1205
|
+
def status(self, value: pulumi.Input[builtins.str]):
|
|
1125
1206
|
pulumi.set(self, "status", value)
|
|
1126
1207
|
|
|
1127
1208
|
@property
|
|
1128
1209
|
@pulumi.getter
|
|
1129
|
-
def type(self) -> pulumi.Input[str]:
|
|
1210
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
1130
1211
|
"""
|
|
1131
1212
|
type describes the current condition
|
|
1132
1213
|
"""
|
|
1133
1214
|
return pulumi.get(self, "type")
|
|
1134
1215
|
|
|
1135
1216
|
@type.setter
|
|
1136
|
-
def type(self, value: pulumi.Input[str]):
|
|
1217
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
1137
1218
|
pulumi.set(self, "type", value)
|
|
1138
1219
|
|
|
1139
1220
|
@property
|
|
1140
1221
|
@pulumi.getter(name="lastTransitionTime")
|
|
1141
|
-
def last_transition_time(self) -> Optional[pulumi.Input[str]]:
|
|
1222
|
+
def last_transition_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1142
1223
|
"""
|
|
1143
1224
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1144
1225
|
"""
|
|
1145
1226
|
return pulumi.get(self, "last_transition_time")
|
|
1146
1227
|
|
|
1147
1228
|
@last_transition_time.setter
|
|
1148
|
-
def last_transition_time(self, value: Optional[pulumi.Input[str]]):
|
|
1229
|
+
def last_transition_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1149
1230
|
pulumi.set(self, "last_transition_time", value)
|
|
1150
1231
|
|
|
1151
1232
|
@property
|
|
1152
1233
|
@pulumi.getter
|
|
1153
|
-
def message(self) -> Optional[pulumi.Input[str]]:
|
|
1234
|
+
def message(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1154
1235
|
"""
|
|
1155
1236
|
message is a human-readable explanation containing details about the transition
|
|
1156
1237
|
"""
|
|
1157
1238
|
return pulumi.get(self, "message")
|
|
1158
1239
|
|
|
1159
1240
|
@message.setter
|
|
1160
|
-
def message(self, value: Optional[pulumi.Input[str]]):
|
|
1241
|
+
def message(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1161
1242
|
pulumi.set(self, "message", value)
|
|
1162
1243
|
|
|
1163
1244
|
@property
|
|
1164
1245
|
@pulumi.getter
|
|
1165
|
-
def reason(self) -> Optional[pulumi.Input[str]]:
|
|
1246
|
+
def reason(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1166
1247
|
"""
|
|
1167
1248
|
reason is the reason for the condition's last transition.
|
|
1168
1249
|
"""
|
|
1169
1250
|
return pulumi.get(self, "reason")
|
|
1170
1251
|
|
|
1171
1252
|
@reason.setter
|
|
1172
|
-
def reason(self, value: Optional[pulumi.Input[str]]):
|
|
1253
|
+
def reason(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1173
1254
|
pulumi.set(self, "reason", value)
|
|
1174
1255
|
|
|
1175
1256
|
|
|
@@ -1182,7 +1263,7 @@ if not MYPY:
|
|
|
1182
1263
|
"""
|
|
1183
1264
|
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.
|
|
1184
1265
|
"""
|
|
1185
|
-
max_replicas: NotRequired[pulumi.Input[int]]
|
|
1266
|
+
max_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1186
1267
|
"""
|
|
1187
1268
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1188
1269
|
"""
|
|
@@ -1190,7 +1271,7 @@ if not MYPY:
|
|
|
1190
1271
|
"""
|
|
1191
1272
|
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.
|
|
1192
1273
|
"""
|
|
1193
|
-
min_replicas: NotRequired[pulumi.Input[int]]
|
|
1274
|
+
min_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1194
1275
|
"""
|
|
1195
1276
|
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.
|
|
1196
1277
|
"""
|
|
@@ -1205,16 +1286,16 @@ elif False:
|
|
|
1205
1286
|
class HorizontalPodAutoscalerSpecPatchArgs:
|
|
1206
1287
|
def __init__(__self__, *,
|
|
1207
1288
|
behavior: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs']] = None,
|
|
1208
|
-
max_replicas: Optional[pulumi.Input[int]] = None,
|
|
1289
|
+
max_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1209
1290
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]]] = None,
|
|
1210
|
-
min_replicas: Optional[pulumi.Input[int]] = None,
|
|
1291
|
+
min_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1211
1292
|
scale_target_ref: Optional[pulumi.Input['CrossVersionObjectReferencePatchArgs']] = None):
|
|
1212
1293
|
"""
|
|
1213
1294
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1214
1295
|
:param pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgs'] behavior: behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1215
|
-
:param pulumi.Input[int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1296
|
+
:param pulumi.Input[builtins.int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1216
1297
|
:param pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgs']]] metrics: metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1217
|
-
:param pulumi.Input[int] min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1298
|
+
:param pulumi.Input[builtins.int] min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1218
1299
|
:param pulumi.Input['CrossVersionObjectReferencePatchArgs'] scale_target_ref: scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
|
|
1219
1300
|
"""
|
|
1220
1301
|
if behavior is not None:
|
|
@@ -1242,14 +1323,14 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
1242
1323
|
|
|
1243
1324
|
@property
|
|
1244
1325
|
@pulumi.getter(name="maxReplicas")
|
|
1245
|
-
def max_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1326
|
+
def max_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1246
1327
|
"""
|
|
1247
1328
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1248
1329
|
"""
|
|
1249
1330
|
return pulumi.get(self, "max_replicas")
|
|
1250
1331
|
|
|
1251
1332
|
@max_replicas.setter
|
|
1252
|
-
def max_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1333
|
+
def max_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1253
1334
|
pulumi.set(self, "max_replicas", value)
|
|
1254
1335
|
|
|
1255
1336
|
@property
|
|
@@ -1266,14 +1347,14 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
1266
1347
|
|
|
1267
1348
|
@property
|
|
1268
1349
|
@pulumi.getter(name="minReplicas")
|
|
1269
|
-
def min_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1350
|
+
def min_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1270
1351
|
"""
|
|
1271
1352
|
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.
|
|
1272
1353
|
"""
|
|
1273
1354
|
return pulumi.get(self, "min_replicas")
|
|
1274
1355
|
|
|
1275
1356
|
@min_replicas.setter
|
|
1276
|
-
def min_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1357
|
+
def min_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1277
1358
|
pulumi.set(self, "min_replicas", value)
|
|
1278
1359
|
|
|
1279
1360
|
@property
|
|
@@ -1294,7 +1375,7 @@ if not MYPY:
|
|
|
1294
1375
|
"""
|
|
1295
1376
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1296
1377
|
"""
|
|
1297
|
-
max_replicas: pulumi.Input[int]
|
|
1378
|
+
max_replicas: pulumi.Input[builtins.int]
|
|
1298
1379
|
"""
|
|
1299
1380
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1300
1381
|
"""
|
|
@@ -1310,7 +1391,7 @@ if not MYPY:
|
|
|
1310
1391
|
"""
|
|
1311
1392
|
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.
|
|
1312
1393
|
"""
|
|
1313
|
-
min_replicas: NotRequired[pulumi.Input[int]]
|
|
1394
|
+
min_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1314
1395
|
"""
|
|
1315
1396
|
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.
|
|
1316
1397
|
"""
|
|
@@ -1320,18 +1401,18 @@ elif False:
|
|
|
1320
1401
|
@pulumi.input_type
|
|
1321
1402
|
class HorizontalPodAutoscalerSpecArgs:
|
|
1322
1403
|
def __init__(__self__, *,
|
|
1323
|
-
max_replicas: pulumi.Input[int],
|
|
1404
|
+
max_replicas: pulumi.Input[builtins.int],
|
|
1324
1405
|
scale_target_ref: pulumi.Input['CrossVersionObjectReferenceArgs'],
|
|
1325
1406
|
behavior: Optional[pulumi.Input['HorizontalPodAutoscalerBehaviorArgs']] = None,
|
|
1326
1407
|
metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]]] = None,
|
|
1327
|
-
min_replicas: Optional[pulumi.Input[int]] = None):
|
|
1408
|
+
min_replicas: Optional[pulumi.Input[builtins.int]] = None):
|
|
1328
1409
|
"""
|
|
1329
1410
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1330
|
-
:param pulumi.Input[int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1411
|
+
:param pulumi.Input[builtins.int] max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1331
1412
|
:param pulumi.Input['CrossVersionObjectReferenceArgs'] scale_target_ref: scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
|
|
1332
1413
|
:param pulumi.Input['HorizontalPodAutoscalerBehaviorArgs'] behavior: behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1333
1414
|
:param pulumi.Input[Sequence[pulumi.Input['MetricSpecArgs']]] metrics: metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1334
|
-
:param pulumi.Input[int] min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1415
|
+
:param pulumi.Input[builtins.int] min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1335
1416
|
"""
|
|
1336
1417
|
pulumi.set(__self__, "max_replicas", max_replicas)
|
|
1337
1418
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
@@ -1344,14 +1425,14 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1344
1425
|
|
|
1345
1426
|
@property
|
|
1346
1427
|
@pulumi.getter(name="maxReplicas")
|
|
1347
|
-
def max_replicas(self) -> pulumi.Input[int]:
|
|
1428
|
+
def max_replicas(self) -> pulumi.Input[builtins.int]:
|
|
1348
1429
|
"""
|
|
1349
1430
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1350
1431
|
"""
|
|
1351
1432
|
return pulumi.get(self, "max_replicas")
|
|
1352
1433
|
|
|
1353
1434
|
@max_replicas.setter
|
|
1354
|
-
def max_replicas(self, value: pulumi.Input[int]):
|
|
1435
|
+
def max_replicas(self, value: pulumi.Input[builtins.int]):
|
|
1355
1436
|
pulumi.set(self, "max_replicas", value)
|
|
1356
1437
|
|
|
1357
1438
|
@property
|
|
@@ -1392,14 +1473,14 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1392
1473
|
|
|
1393
1474
|
@property
|
|
1394
1475
|
@pulumi.getter(name="minReplicas")
|
|
1395
|
-
def min_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1476
|
+
def min_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1396
1477
|
"""
|
|
1397
1478
|
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.
|
|
1398
1479
|
"""
|
|
1399
1480
|
return pulumi.get(self, "min_replicas")
|
|
1400
1481
|
|
|
1401
1482
|
@min_replicas.setter
|
|
1402
|
-
def min_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1483
|
+
def min_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1403
1484
|
pulumi.set(self, "min_replicas", value)
|
|
1404
1485
|
|
|
1405
1486
|
|
|
@@ -1408,7 +1489,7 @@ if not MYPY:
|
|
|
1408
1489
|
"""
|
|
1409
1490
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1410
1491
|
"""
|
|
1411
|
-
desired_replicas: pulumi.Input[int]
|
|
1492
|
+
desired_replicas: pulumi.Input[builtins.int]
|
|
1412
1493
|
"""
|
|
1413
1494
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1414
1495
|
"""
|
|
@@ -1420,15 +1501,15 @@ if not MYPY:
|
|
|
1420
1501
|
"""
|
|
1421
1502
|
currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1422
1503
|
"""
|
|
1423
|
-
current_replicas: NotRequired[pulumi.Input[int]]
|
|
1504
|
+
current_replicas: NotRequired[pulumi.Input[builtins.int]]
|
|
1424
1505
|
"""
|
|
1425
1506
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1426
1507
|
"""
|
|
1427
|
-
last_scale_time: NotRequired[pulumi.Input[str]]
|
|
1508
|
+
last_scale_time: NotRequired[pulumi.Input[builtins.str]]
|
|
1428
1509
|
"""
|
|
1429
1510
|
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.
|
|
1430
1511
|
"""
|
|
1431
|
-
observed_generation: NotRequired[pulumi.Input[int]]
|
|
1512
|
+
observed_generation: NotRequired[pulumi.Input[builtins.int]]
|
|
1432
1513
|
"""
|
|
1433
1514
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1434
1515
|
"""
|
|
@@ -1438,20 +1519,20 @@ elif False:
|
|
|
1438
1519
|
@pulumi.input_type
|
|
1439
1520
|
class HorizontalPodAutoscalerStatusArgs:
|
|
1440
1521
|
def __init__(__self__, *,
|
|
1441
|
-
desired_replicas: pulumi.Input[int],
|
|
1522
|
+
desired_replicas: pulumi.Input[builtins.int],
|
|
1442
1523
|
conditions: Optional[pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]]] = None,
|
|
1443
1524
|
current_metrics: Optional[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]]] = None,
|
|
1444
|
-
current_replicas: Optional[pulumi.Input[int]] = None,
|
|
1445
|
-
last_scale_time: Optional[pulumi.Input[str]] = None,
|
|
1446
|
-
observed_generation: Optional[pulumi.Input[int]] = None):
|
|
1525
|
+
current_replicas: Optional[pulumi.Input[builtins.int]] = None,
|
|
1526
|
+
last_scale_time: Optional[pulumi.Input[builtins.str]] = None,
|
|
1527
|
+
observed_generation: Optional[pulumi.Input[builtins.int]] = None):
|
|
1447
1528
|
"""
|
|
1448
1529
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1449
|
-
:param pulumi.Input[int] desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1530
|
+
:param pulumi.Input[builtins.int] desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1450
1531
|
:param pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgs']]] conditions: conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
|
|
1451
1532
|
:param pulumi.Input[Sequence[pulumi.Input['MetricStatusArgs']]] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1452
|
-
:param pulumi.Input[int] current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1453
|
-
:param pulumi.Input[str] last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1454
|
-
:param pulumi.Input[int] observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1533
|
+
:param pulumi.Input[builtins.int] current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1534
|
+
:param pulumi.Input[builtins.str] last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1535
|
+
:param pulumi.Input[builtins.int] observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1455
1536
|
"""
|
|
1456
1537
|
pulumi.set(__self__, "desired_replicas", desired_replicas)
|
|
1457
1538
|
if conditions is not None:
|
|
@@ -1467,14 +1548,14 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1467
1548
|
|
|
1468
1549
|
@property
|
|
1469
1550
|
@pulumi.getter(name="desiredReplicas")
|
|
1470
|
-
def desired_replicas(self) -> pulumi.Input[int]:
|
|
1551
|
+
def desired_replicas(self) -> pulumi.Input[builtins.int]:
|
|
1471
1552
|
"""
|
|
1472
1553
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1473
1554
|
"""
|
|
1474
1555
|
return pulumi.get(self, "desired_replicas")
|
|
1475
1556
|
|
|
1476
1557
|
@desired_replicas.setter
|
|
1477
|
-
def desired_replicas(self, value: pulumi.Input[int]):
|
|
1558
|
+
def desired_replicas(self, value: pulumi.Input[builtins.int]):
|
|
1478
1559
|
pulumi.set(self, "desired_replicas", value)
|
|
1479
1560
|
|
|
1480
1561
|
@property
|
|
@@ -1503,38 +1584,38 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1503
1584
|
|
|
1504
1585
|
@property
|
|
1505
1586
|
@pulumi.getter(name="currentReplicas")
|
|
1506
|
-
def current_replicas(self) -> Optional[pulumi.Input[int]]:
|
|
1587
|
+
def current_replicas(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1507
1588
|
"""
|
|
1508
1589
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1509
1590
|
"""
|
|
1510
1591
|
return pulumi.get(self, "current_replicas")
|
|
1511
1592
|
|
|
1512
1593
|
@current_replicas.setter
|
|
1513
|
-
def current_replicas(self, value: Optional[pulumi.Input[int]]):
|
|
1594
|
+
def current_replicas(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1514
1595
|
pulumi.set(self, "current_replicas", value)
|
|
1515
1596
|
|
|
1516
1597
|
@property
|
|
1517
1598
|
@pulumi.getter(name="lastScaleTime")
|
|
1518
|
-
def last_scale_time(self) -> Optional[pulumi.Input[str]]:
|
|
1599
|
+
def last_scale_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1519
1600
|
"""
|
|
1520
1601
|
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.
|
|
1521
1602
|
"""
|
|
1522
1603
|
return pulumi.get(self, "last_scale_time")
|
|
1523
1604
|
|
|
1524
1605
|
@last_scale_time.setter
|
|
1525
|
-
def last_scale_time(self, value: Optional[pulumi.Input[str]]):
|
|
1606
|
+
def last_scale_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1526
1607
|
pulumi.set(self, "last_scale_time", value)
|
|
1527
1608
|
|
|
1528
1609
|
@property
|
|
1529
1610
|
@pulumi.getter(name="observedGeneration")
|
|
1530
|
-
def observed_generation(self) -> Optional[pulumi.Input[int]]:
|
|
1611
|
+
def observed_generation(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
1531
1612
|
"""
|
|
1532
1613
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1533
1614
|
"""
|
|
1534
1615
|
return pulumi.get(self, "observed_generation")
|
|
1535
1616
|
|
|
1536
1617
|
@observed_generation.setter
|
|
1537
|
-
def observed_generation(self, value: Optional[pulumi.Input[int]]):
|
|
1618
|
+
def observed_generation(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
1538
1619
|
pulumi.set(self, "observed_generation", value)
|
|
1539
1620
|
|
|
1540
1621
|
|
|
@@ -1543,11 +1624,11 @@ if not MYPY:
|
|
|
1543
1624
|
"""
|
|
1544
1625
|
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.
|
|
1545
1626
|
"""
|
|
1546
|
-
api_version: NotRequired[pulumi.Input[str]]
|
|
1627
|
+
api_version: NotRequired[pulumi.Input[builtins.str]]
|
|
1547
1628
|
"""
|
|
1548
1629
|
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
|
|
1549
1630
|
"""
|
|
1550
|
-
kind: NotRequired[pulumi.Input[str]]
|
|
1631
|
+
kind: NotRequired[pulumi.Input[builtins.str]]
|
|
1551
1632
|
"""
|
|
1552
1633
|
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
|
|
1553
1634
|
"""
|
|
@@ -1569,15 +1650,15 @@ elif False:
|
|
|
1569
1650
|
@pulumi.input_type
|
|
1570
1651
|
class HorizontalPodAutoscalerArgs:
|
|
1571
1652
|
def __init__(__self__, *,
|
|
1572
|
-
api_version: Optional[pulumi.Input[str]] = None,
|
|
1573
|
-
kind: Optional[pulumi.Input[str]] = None,
|
|
1653
|
+
api_version: Optional[pulumi.Input[builtins.str]] = None,
|
|
1654
|
+
kind: Optional[pulumi.Input[builtins.str]] = None,
|
|
1574
1655
|
metadata: Optional[pulumi.Input['_meta.v1.ObjectMetaArgs']] = None,
|
|
1575
1656
|
spec: Optional[pulumi.Input['HorizontalPodAutoscalerSpecArgs']] = None,
|
|
1576
1657
|
status: Optional[pulumi.Input['HorizontalPodAutoscalerStatusArgs']] = None):
|
|
1577
1658
|
"""
|
|
1578
1659
|
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.
|
|
1579
|
-
:param pulumi.Input[str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1580
|
-
:param pulumi.Input[str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1660
|
+
:param pulumi.Input[builtins.str] api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
1661
|
+
:param pulumi.Input[builtins.str] kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
1581
1662
|
:param pulumi.Input['_meta.v1.ObjectMetaArgs'] metadata: metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1582
1663
|
:param pulumi.Input['HorizontalPodAutoscalerSpecArgs'] spec: spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
|
|
1583
1664
|
:param pulumi.Input['HorizontalPodAutoscalerStatusArgs'] status: status is the current information about the autoscaler.
|
|
@@ -1595,26 +1676,26 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1595
1676
|
|
|
1596
1677
|
@property
|
|
1597
1678
|
@pulumi.getter(name="apiVersion")
|
|
1598
|
-
def api_version(self) -> Optional[pulumi.Input[str]]:
|
|
1679
|
+
def api_version(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1599
1680
|
"""
|
|
1600
1681
|
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
|
|
1601
1682
|
"""
|
|
1602
1683
|
return pulumi.get(self, "api_version")
|
|
1603
1684
|
|
|
1604
1685
|
@api_version.setter
|
|
1605
|
-
def api_version(self, value: Optional[pulumi.Input[str]]):
|
|
1686
|
+
def api_version(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1606
1687
|
pulumi.set(self, "api_version", value)
|
|
1607
1688
|
|
|
1608
1689
|
@property
|
|
1609
1690
|
@pulumi.getter
|
|
1610
|
-
def kind(self) -> Optional[pulumi.Input[str]]:
|
|
1691
|
+
def kind(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1611
1692
|
"""
|
|
1612
1693
|
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
|
|
1613
1694
|
"""
|
|
1614
1695
|
return pulumi.get(self, "kind")
|
|
1615
1696
|
|
|
1616
1697
|
@kind.setter
|
|
1617
|
-
def kind(self, value: Optional[pulumi.Input[str]]):
|
|
1698
|
+
def kind(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1618
1699
|
pulumi.set(self, "kind", value)
|
|
1619
1700
|
|
|
1620
1701
|
@property
|
|
@@ -1659,7 +1740,7 @@ if not MYPY:
|
|
|
1659
1740
|
"""
|
|
1660
1741
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1661
1742
|
"""
|
|
1662
|
-
name: NotRequired[pulumi.Input[str]]
|
|
1743
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
1663
1744
|
"""
|
|
1664
1745
|
name is the name of the given metric
|
|
1665
1746
|
"""
|
|
@@ -1673,11 +1754,11 @@ elif False:
|
|
|
1673
1754
|
@pulumi.input_type
|
|
1674
1755
|
class MetricIdentifierPatchArgs:
|
|
1675
1756
|
def __init__(__self__, *,
|
|
1676
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
1757
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
1677
1758
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorPatchArgs']] = None):
|
|
1678
1759
|
"""
|
|
1679
1760
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1680
|
-
:param pulumi.Input[str] name: name is the name of the given metric
|
|
1761
|
+
:param pulumi.Input[builtins.str] name: name is the name of the given metric
|
|
1681
1762
|
:param pulumi.Input['_meta.v1.LabelSelectorPatchArgs'] selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
1682
1763
|
"""
|
|
1683
1764
|
if name is not None:
|
|
@@ -1687,14 +1768,14 @@ class MetricIdentifierPatchArgs:
|
|
|
1687
1768
|
|
|
1688
1769
|
@property
|
|
1689
1770
|
@pulumi.getter
|
|
1690
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
1771
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1691
1772
|
"""
|
|
1692
1773
|
name is the name of the given metric
|
|
1693
1774
|
"""
|
|
1694
1775
|
return pulumi.get(self, "name")
|
|
1695
1776
|
|
|
1696
1777
|
@name.setter
|
|
1697
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
1778
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1698
1779
|
pulumi.set(self, "name", value)
|
|
1699
1780
|
|
|
1700
1781
|
@property
|
|
@@ -1715,7 +1796,7 @@ if not MYPY:
|
|
|
1715
1796
|
"""
|
|
1716
1797
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1717
1798
|
"""
|
|
1718
|
-
name: pulumi.Input[str]
|
|
1799
|
+
name: pulumi.Input[builtins.str]
|
|
1719
1800
|
"""
|
|
1720
1801
|
name is the name of the given metric
|
|
1721
1802
|
"""
|
|
@@ -1729,11 +1810,11 @@ elif False:
|
|
|
1729
1810
|
@pulumi.input_type
|
|
1730
1811
|
class MetricIdentifierArgs:
|
|
1731
1812
|
def __init__(__self__, *,
|
|
1732
|
-
name: pulumi.Input[str],
|
|
1813
|
+
name: pulumi.Input[builtins.str],
|
|
1733
1814
|
selector: Optional[pulumi.Input['_meta.v1.LabelSelectorArgs']] = None):
|
|
1734
1815
|
"""
|
|
1735
1816
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1736
|
-
:param pulumi.Input[str] name: name is the name of the given metric
|
|
1817
|
+
:param pulumi.Input[builtins.str] name: name is the name of the given metric
|
|
1737
1818
|
:param pulumi.Input['_meta.v1.LabelSelectorArgs'] selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
1738
1819
|
"""
|
|
1739
1820
|
pulumi.set(__self__, "name", name)
|
|
@@ -1742,14 +1823,14 @@ class MetricIdentifierArgs:
|
|
|
1742
1823
|
|
|
1743
1824
|
@property
|
|
1744
1825
|
@pulumi.getter
|
|
1745
|
-
def name(self) -> pulumi.Input[str]:
|
|
1826
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
1746
1827
|
"""
|
|
1747
1828
|
name is the name of the given metric
|
|
1748
1829
|
"""
|
|
1749
1830
|
return pulumi.get(self, "name")
|
|
1750
1831
|
|
|
1751
1832
|
@name.setter
|
|
1752
|
-
def name(self, value: pulumi.Input[str]):
|
|
1833
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
1753
1834
|
pulumi.set(self, "name", value)
|
|
1754
1835
|
|
|
1755
1836
|
@property
|
|
@@ -1790,7 +1871,7 @@ if not MYPY:
|
|
|
1790
1871
|
"""
|
|
1791
1872
|
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.
|
|
1792
1873
|
"""
|
|
1793
|
-
type: NotRequired[pulumi.Input[str]]
|
|
1874
|
+
type: NotRequired[pulumi.Input[builtins.str]]
|
|
1794
1875
|
"""
|
|
1795
1876
|
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1796
1877
|
"""
|
|
@@ -1805,7 +1886,7 @@ class MetricSpecPatchArgs:
|
|
|
1805
1886
|
object: Optional[pulumi.Input['ObjectMetricSourcePatchArgs']] = None,
|
|
1806
1887
|
pods: Optional[pulumi.Input['PodsMetricSourcePatchArgs']] = None,
|
|
1807
1888
|
resource: Optional[pulumi.Input['ResourceMetricSourcePatchArgs']] = None,
|
|
1808
|
-
type: Optional[pulumi.Input[str]] = None):
|
|
1889
|
+
type: Optional[pulumi.Input[builtins.str]] = None):
|
|
1809
1890
|
"""
|
|
1810
1891
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1811
1892
|
:param pulumi.Input['ContainerResourceMetricSourcePatchArgs'] container_resource: containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
@@ -1813,7 +1894,7 @@ class MetricSpecPatchArgs:
|
|
|
1813
1894
|
:param pulumi.Input['ObjectMetricSourcePatchArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1814
1895
|
:param pulumi.Input['PodsMetricSourcePatchArgs'] pods: pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
1815
1896
|
:param pulumi.Input['ResourceMetricSourcePatchArgs'] resource: resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1816
|
-
:param pulumi.Input[str] type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1897
|
+
:param pulumi.Input[builtins.str] type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1817
1898
|
"""
|
|
1818
1899
|
if container_resource is not None:
|
|
1819
1900
|
pulumi.set(__self__, "container_resource", container_resource)
|
|
@@ -1890,14 +1971,14 @@ class MetricSpecPatchArgs:
|
|
|
1890
1971
|
|
|
1891
1972
|
@property
|
|
1892
1973
|
@pulumi.getter
|
|
1893
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
1974
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
1894
1975
|
"""
|
|
1895
1976
|
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1896
1977
|
"""
|
|
1897
1978
|
return pulumi.get(self, "type")
|
|
1898
1979
|
|
|
1899
1980
|
@type.setter
|
|
1900
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
1981
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
1901
1982
|
pulumi.set(self, "type", value)
|
|
1902
1983
|
|
|
1903
1984
|
|
|
@@ -1906,7 +1987,7 @@ if not MYPY:
|
|
|
1906
1987
|
"""
|
|
1907
1988
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1908
1989
|
"""
|
|
1909
|
-
type: pulumi.Input[str]
|
|
1990
|
+
type: pulumi.Input[builtins.str]
|
|
1910
1991
|
"""
|
|
1911
1992
|
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1912
1993
|
"""
|
|
@@ -1936,7 +2017,7 @@ elif False:
|
|
|
1936
2017
|
@pulumi.input_type
|
|
1937
2018
|
class MetricSpecArgs:
|
|
1938
2019
|
def __init__(__self__, *,
|
|
1939
|
-
type: pulumi.Input[str],
|
|
2020
|
+
type: pulumi.Input[builtins.str],
|
|
1940
2021
|
container_resource: Optional[pulumi.Input['ContainerResourceMetricSourceArgs']] = None,
|
|
1941
2022
|
external: Optional[pulumi.Input['ExternalMetricSourceArgs']] = None,
|
|
1942
2023
|
object: Optional[pulumi.Input['ObjectMetricSourceArgs']] = None,
|
|
@@ -1944,7 +2025,7 @@ class MetricSpecArgs:
|
|
|
1944
2025
|
resource: Optional[pulumi.Input['ResourceMetricSourceArgs']] = None):
|
|
1945
2026
|
"""
|
|
1946
2027
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1947
|
-
:param pulumi.Input[str] type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
2028
|
+
:param pulumi.Input[builtins.str] type: type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1948
2029
|
:param pulumi.Input['ContainerResourceMetricSourceArgs'] container_resource: containerResource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1949
2030
|
:param pulumi.Input['ExternalMetricSourceArgs'] external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
1950
2031
|
:param pulumi.Input['ObjectMetricSourceArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -1965,14 +2046,14 @@ class MetricSpecArgs:
|
|
|
1965
2046
|
|
|
1966
2047
|
@property
|
|
1967
2048
|
@pulumi.getter
|
|
1968
|
-
def type(self) -> pulumi.Input[str]:
|
|
2049
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
1969
2050
|
"""
|
|
1970
2051
|
type is the type of metric source. It should be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1971
2052
|
"""
|
|
1972
2053
|
return pulumi.get(self, "type")
|
|
1973
2054
|
|
|
1974
2055
|
@type.setter
|
|
1975
|
-
def type(self, value: pulumi.Input[str]):
|
|
2056
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
1976
2057
|
pulumi.set(self, "type", value)
|
|
1977
2058
|
|
|
1978
2059
|
@property
|
|
@@ -2041,7 +2122,7 @@ if not MYPY:
|
|
|
2041
2122
|
"""
|
|
2042
2123
|
MetricStatus describes the last-read state of a single metric.
|
|
2043
2124
|
"""
|
|
2044
|
-
type: pulumi.Input[str]
|
|
2125
|
+
type: pulumi.Input[builtins.str]
|
|
2045
2126
|
"""
|
|
2046
2127
|
type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2047
2128
|
"""
|
|
@@ -2071,7 +2152,7 @@ elif False:
|
|
|
2071
2152
|
@pulumi.input_type
|
|
2072
2153
|
class MetricStatusArgs:
|
|
2073
2154
|
def __init__(__self__, *,
|
|
2074
|
-
type: pulumi.Input[str],
|
|
2155
|
+
type: pulumi.Input[builtins.str],
|
|
2075
2156
|
container_resource: Optional[pulumi.Input['ContainerResourceMetricStatusArgs']] = None,
|
|
2076
2157
|
external: Optional[pulumi.Input['ExternalMetricStatusArgs']] = None,
|
|
2077
2158
|
object: Optional[pulumi.Input['ObjectMetricStatusArgs']] = None,
|
|
@@ -2079,7 +2160,7 @@ class MetricStatusArgs:
|
|
|
2079
2160
|
resource: Optional[pulumi.Input['ResourceMetricStatusArgs']] = None):
|
|
2080
2161
|
"""
|
|
2081
2162
|
MetricStatus describes the last-read state of a single metric.
|
|
2082
|
-
:param pulumi.Input[str] type: type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2163
|
+
:param pulumi.Input[builtins.str] type: type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2083
2164
|
:param pulumi.Input['ContainerResourceMetricStatusArgs'] container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
2084
2165
|
:param pulumi.Input['ExternalMetricStatusArgs'] external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
2085
2166
|
:param pulumi.Input['ObjectMetricStatusArgs'] object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -2100,14 +2181,14 @@ class MetricStatusArgs:
|
|
|
2100
2181
|
|
|
2101
2182
|
@property
|
|
2102
2183
|
@pulumi.getter
|
|
2103
|
-
def type(self) -> pulumi.Input[str]:
|
|
2184
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
2104
2185
|
"""
|
|
2105
2186
|
type is the type of metric source. It will be one of "ContainerResource", "External", "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2106
2187
|
"""
|
|
2107
2188
|
return pulumi.get(self, "type")
|
|
2108
2189
|
|
|
2109
2190
|
@type.setter
|
|
2110
|
-
def type(self, value: pulumi.Input[str]):
|
|
2191
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
2111
2192
|
pulumi.set(self, "type", value)
|
|
2112
2193
|
|
|
2113
2194
|
@property
|
|
@@ -2176,19 +2257,19 @@ if not MYPY:
|
|
|
2176
2257
|
"""
|
|
2177
2258
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2178
2259
|
"""
|
|
2179
|
-
average_utilization: NotRequired[pulumi.Input[int]]
|
|
2260
|
+
average_utilization: NotRequired[pulumi.Input[builtins.int]]
|
|
2180
2261
|
"""
|
|
2181
2262
|
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
|
|
2182
2263
|
"""
|
|
2183
|
-
average_value: NotRequired[pulumi.Input[str]]
|
|
2264
|
+
average_value: NotRequired[pulumi.Input[builtins.str]]
|
|
2184
2265
|
"""
|
|
2185
2266
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2186
2267
|
"""
|
|
2187
|
-
type: NotRequired[pulumi.Input[str]]
|
|
2268
|
+
type: NotRequired[pulumi.Input[builtins.str]]
|
|
2188
2269
|
"""
|
|
2189
2270
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2190
2271
|
"""
|
|
2191
|
-
value: NotRequired[pulumi.Input[str]]
|
|
2272
|
+
value: NotRequired[pulumi.Input[builtins.str]]
|
|
2192
2273
|
"""
|
|
2193
2274
|
value is the target value of the metric (as a quantity).
|
|
2194
2275
|
"""
|
|
@@ -2198,16 +2279,16 @@ elif False:
|
|
|
2198
2279
|
@pulumi.input_type
|
|
2199
2280
|
class MetricTargetPatchArgs:
|
|
2200
2281
|
def __init__(__self__, *,
|
|
2201
|
-
average_utilization: Optional[pulumi.Input[int]] = None,
|
|
2202
|
-
average_value: Optional[pulumi.Input[str]] = None,
|
|
2203
|
-
type: Optional[pulumi.Input[str]] = None,
|
|
2204
|
-
value: Optional[pulumi.Input[str]] = None):
|
|
2282
|
+
average_utilization: Optional[pulumi.Input[builtins.int]] = None,
|
|
2283
|
+
average_value: Optional[pulumi.Input[builtins.str]] = None,
|
|
2284
|
+
type: Optional[pulumi.Input[builtins.str]] = None,
|
|
2285
|
+
value: Optional[pulumi.Input[builtins.str]] = None):
|
|
2205
2286
|
"""
|
|
2206
2287
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2207
|
-
:param pulumi.Input[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
|
|
2208
|
-
:param pulumi.Input[str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2209
|
-
:param pulumi.Input[str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2210
|
-
:param pulumi.Input[str] value: value is the target value of the metric (as a quantity).
|
|
2288
|
+
:param pulumi.Input[builtins.int] average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2289
|
+
:param pulumi.Input[builtins.str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2290
|
+
:param pulumi.Input[builtins.str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2291
|
+
:param pulumi.Input[builtins.str] value: value is the target value of the metric (as a quantity).
|
|
2211
2292
|
"""
|
|
2212
2293
|
if average_utilization is not None:
|
|
2213
2294
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2220,50 +2301,50 @@ class MetricTargetPatchArgs:
|
|
|
2220
2301
|
|
|
2221
2302
|
@property
|
|
2222
2303
|
@pulumi.getter(name="averageUtilization")
|
|
2223
|
-
def average_utilization(self) -> Optional[pulumi.Input[int]]:
|
|
2304
|
+
def average_utilization(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2224
2305
|
"""
|
|
2225
2306
|
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
|
|
2226
2307
|
"""
|
|
2227
2308
|
return pulumi.get(self, "average_utilization")
|
|
2228
2309
|
|
|
2229
2310
|
@average_utilization.setter
|
|
2230
|
-
def average_utilization(self, value: Optional[pulumi.Input[int]]):
|
|
2311
|
+
def average_utilization(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2231
2312
|
pulumi.set(self, "average_utilization", value)
|
|
2232
2313
|
|
|
2233
2314
|
@property
|
|
2234
2315
|
@pulumi.getter(name="averageValue")
|
|
2235
|
-
def average_value(self) -> Optional[pulumi.Input[str]]:
|
|
2316
|
+
def average_value(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2236
2317
|
"""
|
|
2237
2318
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2238
2319
|
"""
|
|
2239
2320
|
return pulumi.get(self, "average_value")
|
|
2240
2321
|
|
|
2241
2322
|
@average_value.setter
|
|
2242
|
-
def average_value(self, value: Optional[pulumi.Input[str]]):
|
|
2323
|
+
def average_value(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2243
2324
|
pulumi.set(self, "average_value", value)
|
|
2244
2325
|
|
|
2245
2326
|
@property
|
|
2246
2327
|
@pulumi.getter
|
|
2247
|
-
def type(self) -> Optional[pulumi.Input[str]]:
|
|
2328
|
+
def type(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2248
2329
|
"""
|
|
2249
2330
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2250
2331
|
"""
|
|
2251
2332
|
return pulumi.get(self, "type")
|
|
2252
2333
|
|
|
2253
2334
|
@type.setter
|
|
2254
|
-
def type(self, value: Optional[pulumi.Input[str]]):
|
|
2335
|
+
def type(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2255
2336
|
pulumi.set(self, "type", value)
|
|
2256
2337
|
|
|
2257
2338
|
@property
|
|
2258
2339
|
@pulumi.getter
|
|
2259
|
-
def value(self) -> Optional[pulumi.Input[str]]:
|
|
2340
|
+
def value(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2260
2341
|
"""
|
|
2261
2342
|
value is the target value of the metric (as a quantity).
|
|
2262
2343
|
"""
|
|
2263
2344
|
return pulumi.get(self, "value")
|
|
2264
2345
|
|
|
2265
2346
|
@value.setter
|
|
2266
|
-
def value(self, value: Optional[pulumi.Input[str]]):
|
|
2347
|
+
def value(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2267
2348
|
pulumi.set(self, "value", value)
|
|
2268
2349
|
|
|
2269
2350
|
|
|
@@ -2272,19 +2353,19 @@ if not MYPY:
|
|
|
2272
2353
|
"""
|
|
2273
2354
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2274
2355
|
"""
|
|
2275
|
-
type: pulumi.Input[str]
|
|
2356
|
+
type: pulumi.Input[builtins.str]
|
|
2276
2357
|
"""
|
|
2277
2358
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2278
2359
|
"""
|
|
2279
|
-
average_utilization: NotRequired[pulumi.Input[int]]
|
|
2360
|
+
average_utilization: NotRequired[pulumi.Input[builtins.int]]
|
|
2280
2361
|
"""
|
|
2281
2362
|
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
|
|
2282
2363
|
"""
|
|
2283
|
-
average_value: NotRequired[pulumi.Input[str]]
|
|
2364
|
+
average_value: NotRequired[pulumi.Input[builtins.str]]
|
|
2284
2365
|
"""
|
|
2285
2366
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2286
2367
|
"""
|
|
2287
|
-
value: NotRequired[pulumi.Input[str]]
|
|
2368
|
+
value: NotRequired[pulumi.Input[builtins.str]]
|
|
2288
2369
|
"""
|
|
2289
2370
|
value is the target value of the metric (as a quantity).
|
|
2290
2371
|
"""
|
|
@@ -2294,16 +2375,16 @@ elif False:
|
|
|
2294
2375
|
@pulumi.input_type
|
|
2295
2376
|
class MetricTargetArgs:
|
|
2296
2377
|
def __init__(__self__, *,
|
|
2297
|
-
type: pulumi.Input[str],
|
|
2298
|
-
average_utilization: Optional[pulumi.Input[int]] = None,
|
|
2299
|
-
average_value: Optional[pulumi.Input[str]] = None,
|
|
2300
|
-
value: Optional[pulumi.Input[str]] = None):
|
|
2378
|
+
type: pulumi.Input[builtins.str],
|
|
2379
|
+
average_utilization: Optional[pulumi.Input[builtins.int]] = None,
|
|
2380
|
+
average_value: Optional[pulumi.Input[builtins.str]] = None,
|
|
2381
|
+
value: Optional[pulumi.Input[builtins.str]] = None):
|
|
2301
2382
|
"""
|
|
2302
2383
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2303
|
-
:param pulumi.Input[str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2304
|
-
:param pulumi.Input[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
|
|
2305
|
-
:param pulumi.Input[str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2306
|
-
:param pulumi.Input[str] value: value is the target value of the metric (as a quantity).
|
|
2384
|
+
:param pulumi.Input[builtins.str] type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2385
|
+
:param pulumi.Input[builtins.int] average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2386
|
+
:param pulumi.Input[builtins.str] average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2387
|
+
:param pulumi.Input[builtins.str] value: value is the target value of the metric (as a quantity).
|
|
2307
2388
|
"""
|
|
2308
2389
|
pulumi.set(__self__, "type", type)
|
|
2309
2390
|
if average_utilization is not None:
|
|
@@ -2315,50 +2396,50 @@ class MetricTargetArgs:
|
|
|
2315
2396
|
|
|
2316
2397
|
@property
|
|
2317
2398
|
@pulumi.getter
|
|
2318
|
-
def type(self) -> pulumi.Input[str]:
|
|
2399
|
+
def type(self) -> pulumi.Input[builtins.str]:
|
|
2319
2400
|
"""
|
|
2320
2401
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2321
2402
|
"""
|
|
2322
2403
|
return pulumi.get(self, "type")
|
|
2323
2404
|
|
|
2324
2405
|
@type.setter
|
|
2325
|
-
def type(self, value: pulumi.Input[str]):
|
|
2406
|
+
def type(self, value: pulumi.Input[builtins.str]):
|
|
2326
2407
|
pulumi.set(self, "type", value)
|
|
2327
2408
|
|
|
2328
2409
|
@property
|
|
2329
2410
|
@pulumi.getter(name="averageUtilization")
|
|
2330
|
-
def average_utilization(self) -> Optional[pulumi.Input[int]]:
|
|
2411
|
+
def average_utilization(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2331
2412
|
"""
|
|
2332
2413
|
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
|
|
2333
2414
|
"""
|
|
2334
2415
|
return pulumi.get(self, "average_utilization")
|
|
2335
2416
|
|
|
2336
2417
|
@average_utilization.setter
|
|
2337
|
-
def average_utilization(self, value: Optional[pulumi.Input[int]]):
|
|
2418
|
+
def average_utilization(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2338
2419
|
pulumi.set(self, "average_utilization", value)
|
|
2339
2420
|
|
|
2340
2421
|
@property
|
|
2341
2422
|
@pulumi.getter(name="averageValue")
|
|
2342
|
-
def average_value(self) -> Optional[pulumi.Input[str]]:
|
|
2423
|
+
def average_value(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2343
2424
|
"""
|
|
2344
2425
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2345
2426
|
"""
|
|
2346
2427
|
return pulumi.get(self, "average_value")
|
|
2347
2428
|
|
|
2348
2429
|
@average_value.setter
|
|
2349
|
-
def average_value(self, value: Optional[pulumi.Input[str]]):
|
|
2430
|
+
def average_value(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2350
2431
|
pulumi.set(self, "average_value", value)
|
|
2351
2432
|
|
|
2352
2433
|
@property
|
|
2353
2434
|
@pulumi.getter
|
|
2354
|
-
def value(self) -> Optional[pulumi.Input[str]]:
|
|
2435
|
+
def value(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2355
2436
|
"""
|
|
2356
2437
|
value is the target value of the metric (as a quantity).
|
|
2357
2438
|
"""
|
|
2358
2439
|
return pulumi.get(self, "value")
|
|
2359
2440
|
|
|
2360
2441
|
@value.setter
|
|
2361
|
-
def value(self, value: Optional[pulumi.Input[str]]):
|
|
2442
|
+
def value(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2362
2443
|
pulumi.set(self, "value", value)
|
|
2363
2444
|
|
|
2364
2445
|
|
|
@@ -2367,15 +2448,15 @@ if not MYPY:
|
|
|
2367
2448
|
"""
|
|
2368
2449
|
MetricValueStatus holds the current value for a metric
|
|
2369
2450
|
"""
|
|
2370
|
-
average_utilization: NotRequired[pulumi.Input[int]]
|
|
2451
|
+
average_utilization: NotRequired[pulumi.Input[builtins.int]]
|
|
2371
2452
|
"""
|
|
2372
2453
|
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.
|
|
2373
2454
|
"""
|
|
2374
|
-
average_value: NotRequired[pulumi.Input[str]]
|
|
2455
|
+
average_value: NotRequired[pulumi.Input[builtins.str]]
|
|
2375
2456
|
"""
|
|
2376
2457
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2377
2458
|
"""
|
|
2378
|
-
value: NotRequired[pulumi.Input[str]]
|
|
2459
|
+
value: NotRequired[pulumi.Input[builtins.str]]
|
|
2379
2460
|
"""
|
|
2380
2461
|
value is the current value of the metric (as a quantity).
|
|
2381
2462
|
"""
|
|
@@ -2385,14 +2466,14 @@ elif False:
|
|
|
2385
2466
|
@pulumi.input_type
|
|
2386
2467
|
class MetricValueStatusArgs:
|
|
2387
2468
|
def __init__(__self__, *,
|
|
2388
|
-
average_utilization: Optional[pulumi.Input[int]] = None,
|
|
2389
|
-
average_value: Optional[pulumi.Input[str]] = None,
|
|
2390
|
-
value: Optional[pulumi.Input[str]] = None):
|
|
2469
|
+
average_utilization: Optional[pulumi.Input[builtins.int]] = None,
|
|
2470
|
+
average_value: Optional[pulumi.Input[builtins.str]] = None,
|
|
2471
|
+
value: Optional[pulumi.Input[builtins.str]] = None):
|
|
2391
2472
|
"""
|
|
2392
2473
|
MetricValueStatus holds the current value for a metric
|
|
2393
|
-
:param pulumi.Input[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.
|
|
2394
|
-
:param pulumi.Input[str] average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2395
|
-
:param pulumi.Input[str] value: value is the current value of the metric (as a quantity).
|
|
2474
|
+
:param pulumi.Input[builtins.int] average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2475
|
+
:param pulumi.Input[builtins.str] average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2476
|
+
:param pulumi.Input[builtins.str] value: value is the current value of the metric (as a quantity).
|
|
2396
2477
|
"""
|
|
2397
2478
|
if average_utilization is not None:
|
|
2398
2479
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2403,38 +2484,38 @@ class MetricValueStatusArgs:
|
|
|
2403
2484
|
|
|
2404
2485
|
@property
|
|
2405
2486
|
@pulumi.getter(name="averageUtilization")
|
|
2406
|
-
def average_utilization(self) -> Optional[pulumi.Input[int]]:
|
|
2487
|
+
def average_utilization(self) -> Optional[pulumi.Input[builtins.int]]:
|
|
2407
2488
|
"""
|
|
2408
2489
|
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.
|
|
2409
2490
|
"""
|
|
2410
2491
|
return pulumi.get(self, "average_utilization")
|
|
2411
2492
|
|
|
2412
2493
|
@average_utilization.setter
|
|
2413
|
-
def average_utilization(self, value: Optional[pulumi.Input[int]]):
|
|
2494
|
+
def average_utilization(self, value: Optional[pulumi.Input[builtins.int]]):
|
|
2414
2495
|
pulumi.set(self, "average_utilization", value)
|
|
2415
2496
|
|
|
2416
2497
|
@property
|
|
2417
2498
|
@pulumi.getter(name="averageValue")
|
|
2418
|
-
def average_value(self) -> Optional[pulumi.Input[str]]:
|
|
2499
|
+
def average_value(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2419
2500
|
"""
|
|
2420
2501
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2421
2502
|
"""
|
|
2422
2503
|
return pulumi.get(self, "average_value")
|
|
2423
2504
|
|
|
2424
2505
|
@average_value.setter
|
|
2425
|
-
def average_value(self, value: Optional[pulumi.Input[str]]):
|
|
2506
|
+
def average_value(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2426
2507
|
pulumi.set(self, "average_value", value)
|
|
2427
2508
|
|
|
2428
2509
|
@property
|
|
2429
2510
|
@pulumi.getter
|
|
2430
|
-
def value(self) -> Optional[pulumi.Input[str]]:
|
|
2511
|
+
def value(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2431
2512
|
"""
|
|
2432
2513
|
value is the current value of the metric (as a quantity).
|
|
2433
2514
|
"""
|
|
2434
2515
|
return pulumi.get(self, "value")
|
|
2435
2516
|
|
|
2436
2517
|
@value.setter
|
|
2437
|
-
def value(self, value: Optional[pulumi.Input[str]]):
|
|
2518
|
+
def value(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2438
2519
|
pulumi.set(self, "value", value)
|
|
2439
2520
|
|
|
2440
2521
|
|
|
@@ -2829,7 +2910,7 @@ if not MYPY:
|
|
|
2829
2910
|
"""
|
|
2830
2911
|
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.
|
|
2831
2912
|
"""
|
|
2832
|
-
name: NotRequired[pulumi.Input[str]]
|
|
2913
|
+
name: NotRequired[pulumi.Input[builtins.str]]
|
|
2833
2914
|
"""
|
|
2834
2915
|
name is the name of the resource in question.
|
|
2835
2916
|
"""
|
|
@@ -2843,11 +2924,11 @@ elif False:
|
|
|
2843
2924
|
@pulumi.input_type
|
|
2844
2925
|
class ResourceMetricSourcePatchArgs:
|
|
2845
2926
|
def __init__(__self__, *,
|
|
2846
|
-
name: Optional[pulumi.Input[str]] = None,
|
|
2927
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
|
2847
2928
|
target: Optional[pulumi.Input['MetricTargetPatchArgs']] = None):
|
|
2848
2929
|
"""
|
|
2849
2930
|
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.
|
|
2850
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
2931
|
+
:param pulumi.Input[builtins.str] name: name is the name of the resource in question.
|
|
2851
2932
|
:param pulumi.Input['MetricTargetPatchArgs'] target: target specifies the target value for the given metric
|
|
2852
2933
|
"""
|
|
2853
2934
|
if name is not None:
|
|
@@ -2857,14 +2938,14 @@ class ResourceMetricSourcePatchArgs:
|
|
|
2857
2938
|
|
|
2858
2939
|
@property
|
|
2859
2940
|
@pulumi.getter
|
|
2860
|
-
def name(self) -> Optional[pulumi.Input[str]]:
|
|
2941
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
|
2861
2942
|
"""
|
|
2862
2943
|
name is the name of the resource in question.
|
|
2863
2944
|
"""
|
|
2864
2945
|
return pulumi.get(self, "name")
|
|
2865
2946
|
|
|
2866
2947
|
@name.setter
|
|
2867
|
-
def name(self, value: Optional[pulumi.Input[str]]):
|
|
2948
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
|
2868
2949
|
pulumi.set(self, "name", value)
|
|
2869
2950
|
|
|
2870
2951
|
@property
|
|
@@ -2885,7 +2966,7 @@ if not MYPY:
|
|
|
2885
2966
|
"""
|
|
2886
2967
|
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.
|
|
2887
2968
|
"""
|
|
2888
|
-
name: pulumi.Input[str]
|
|
2969
|
+
name: pulumi.Input[builtins.str]
|
|
2889
2970
|
"""
|
|
2890
2971
|
name is the name of the resource in question.
|
|
2891
2972
|
"""
|
|
@@ -2899,11 +2980,11 @@ elif False:
|
|
|
2899
2980
|
@pulumi.input_type
|
|
2900
2981
|
class ResourceMetricSourceArgs:
|
|
2901
2982
|
def __init__(__self__, *,
|
|
2902
|
-
name: pulumi.Input[str],
|
|
2983
|
+
name: pulumi.Input[builtins.str],
|
|
2903
2984
|
target: pulumi.Input['MetricTargetArgs']):
|
|
2904
2985
|
"""
|
|
2905
2986
|
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.
|
|
2906
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
2987
|
+
:param pulumi.Input[builtins.str] name: name is the name of the resource in question.
|
|
2907
2988
|
:param pulumi.Input['MetricTargetArgs'] target: target specifies the target value for the given metric
|
|
2908
2989
|
"""
|
|
2909
2990
|
pulumi.set(__self__, "name", name)
|
|
@@ -2911,14 +2992,14 @@ class ResourceMetricSourceArgs:
|
|
|
2911
2992
|
|
|
2912
2993
|
@property
|
|
2913
2994
|
@pulumi.getter
|
|
2914
|
-
def name(self) -> pulumi.Input[str]:
|
|
2995
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
2915
2996
|
"""
|
|
2916
2997
|
name is the name of the resource in question.
|
|
2917
2998
|
"""
|
|
2918
2999
|
return pulumi.get(self, "name")
|
|
2919
3000
|
|
|
2920
3001
|
@name.setter
|
|
2921
|
-
def name(self, value: pulumi.Input[str]):
|
|
3002
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
2922
3003
|
pulumi.set(self, "name", value)
|
|
2923
3004
|
|
|
2924
3005
|
@property
|
|
@@ -2943,7 +3024,7 @@ if not MYPY:
|
|
|
2943
3024
|
"""
|
|
2944
3025
|
current contains the current value for the given metric
|
|
2945
3026
|
"""
|
|
2946
|
-
name: pulumi.Input[str]
|
|
3027
|
+
name: pulumi.Input[builtins.str]
|
|
2947
3028
|
"""
|
|
2948
3029
|
name is the name of the resource in question.
|
|
2949
3030
|
"""
|
|
@@ -2954,11 +3035,11 @@ elif False:
|
|
|
2954
3035
|
class ResourceMetricStatusArgs:
|
|
2955
3036
|
def __init__(__self__, *,
|
|
2956
3037
|
current: pulumi.Input['MetricValueStatusArgs'],
|
|
2957
|
-
name: pulumi.Input[str]):
|
|
3038
|
+
name: pulumi.Input[builtins.str]):
|
|
2958
3039
|
"""
|
|
2959
3040
|
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.
|
|
2960
3041
|
:param pulumi.Input['MetricValueStatusArgs'] current: current contains the current value for the given metric
|
|
2961
|
-
:param pulumi.Input[str] name: name is the name of the resource in question.
|
|
3042
|
+
:param pulumi.Input[builtins.str] name: name is the name of the resource in question.
|
|
2962
3043
|
"""
|
|
2963
3044
|
pulumi.set(__self__, "current", current)
|
|
2964
3045
|
pulumi.set(__self__, "name", name)
|
|
@@ -2977,14 +3058,14 @@ class ResourceMetricStatusArgs:
|
|
|
2977
3058
|
|
|
2978
3059
|
@property
|
|
2979
3060
|
@pulumi.getter
|
|
2980
|
-
def name(self) -> pulumi.Input[str]:
|
|
3061
|
+
def name(self) -> pulumi.Input[builtins.str]:
|
|
2981
3062
|
"""
|
|
2982
3063
|
name is the name of the resource in question.
|
|
2983
3064
|
"""
|
|
2984
3065
|
return pulumi.get(self, "name")
|
|
2985
3066
|
|
|
2986
3067
|
@name.setter
|
|
2987
|
-
def name(self, value: pulumi.Input[str]):
|
|
3068
|
+
def name(self, value: pulumi.Input[builtins.str]):
|
|
2988
3069
|
pulumi.set(self, "name", value)
|
|
2989
3070
|
|
|
2990
3071
|
|