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
|
|
@@ -70,13 +71,13 @@ class ContainerResourceMetricSource(dict):
|
|
|
70
71
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
71
72
|
"""
|
|
72
73
|
def __init__(__self__, *,
|
|
73
|
-
container: str,
|
|
74
|
-
name: str,
|
|
74
|
+
container: builtins.str,
|
|
75
|
+
name: builtins.str,
|
|
75
76
|
target: 'outputs.MetricTarget'):
|
|
76
77
|
"""
|
|
77
78
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
78
|
-
:param str container: container is the name of the container in the pods of the scaling target
|
|
79
|
-
:param str name: name is the name of the resource in question.
|
|
79
|
+
:param builtins.str container: container is the name of the container in the pods of the scaling target
|
|
80
|
+
:param builtins.str name: name is the name of the resource in question.
|
|
80
81
|
:param 'MetricTargetArgs' target: target specifies the target value for the given metric
|
|
81
82
|
"""
|
|
82
83
|
pulumi.set(__self__, "container", container)
|
|
@@ -85,7 +86,7 @@ class ContainerResourceMetricSource(dict):
|
|
|
85
86
|
|
|
86
87
|
@property
|
|
87
88
|
@pulumi.getter
|
|
88
|
-
def container(self) -> str:
|
|
89
|
+
def container(self) -> builtins.str:
|
|
89
90
|
"""
|
|
90
91
|
container is the name of the container in the pods of the scaling target
|
|
91
92
|
"""
|
|
@@ -93,7 +94,7 @@ class ContainerResourceMetricSource(dict):
|
|
|
93
94
|
|
|
94
95
|
@property
|
|
95
96
|
@pulumi.getter
|
|
96
|
-
def name(self) -> str:
|
|
97
|
+
def name(self) -> builtins.str:
|
|
97
98
|
"""
|
|
98
99
|
name is the name of the resource in question.
|
|
99
100
|
"""
|
|
@@ -114,13 +115,13 @@ class ContainerResourceMetricSourcePatch(dict):
|
|
|
114
115
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
115
116
|
"""
|
|
116
117
|
def __init__(__self__, *,
|
|
117
|
-
container: Optional[str] = None,
|
|
118
|
-
name: Optional[str] = None,
|
|
118
|
+
container: Optional[builtins.str] = None,
|
|
119
|
+
name: Optional[builtins.str] = None,
|
|
119
120
|
target: Optional['outputs.MetricTargetPatch'] = None):
|
|
120
121
|
"""
|
|
121
122
|
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
122
|
-
:param str container: container is the name of the container in the pods of the scaling target
|
|
123
|
-
:param str name: name is the name of the resource in question.
|
|
123
|
+
:param builtins.str container: container is the name of the container in the pods of the scaling target
|
|
124
|
+
:param builtins.str name: name is the name of the resource in question.
|
|
124
125
|
:param 'MetricTargetPatchArgs' target: target specifies the target value for the given metric
|
|
125
126
|
"""
|
|
126
127
|
if container is not None:
|
|
@@ -132,7 +133,7 @@ class ContainerResourceMetricSourcePatch(dict):
|
|
|
132
133
|
|
|
133
134
|
@property
|
|
134
135
|
@pulumi.getter
|
|
135
|
-
def container(self) -> Optional[str]:
|
|
136
|
+
def container(self) -> Optional[builtins.str]:
|
|
136
137
|
"""
|
|
137
138
|
container is the name of the container in the pods of the scaling target
|
|
138
139
|
"""
|
|
@@ -140,7 +141,7 @@ class ContainerResourceMetricSourcePatch(dict):
|
|
|
140
141
|
|
|
141
142
|
@property
|
|
142
143
|
@pulumi.getter
|
|
143
|
-
def name(self) -> Optional[str]:
|
|
144
|
+
def name(self) -> Optional[builtins.str]:
|
|
144
145
|
"""
|
|
145
146
|
name is the name of the resource in question.
|
|
146
147
|
"""
|
|
@@ -161,14 +162,14 @@ class ContainerResourceMetricStatus(dict):
|
|
|
161
162
|
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
162
163
|
"""
|
|
163
164
|
def __init__(__self__, *,
|
|
164
|
-
container: str,
|
|
165
|
+
container: builtins.str,
|
|
165
166
|
current: 'outputs.MetricValueStatus',
|
|
166
|
-
name: str):
|
|
167
|
+
name: builtins.str):
|
|
167
168
|
"""
|
|
168
169
|
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
169
|
-
:param str container: container is the name of the container in the pods of the scaling target
|
|
170
|
+
:param builtins.str container: container is the name of the container in the pods of the scaling target
|
|
170
171
|
:param 'MetricValueStatusArgs' current: current contains the current value for the given metric
|
|
171
|
-
:param str name: name is the name of the resource in question.
|
|
172
|
+
:param builtins.str name: name is the name of the resource in question.
|
|
172
173
|
"""
|
|
173
174
|
pulumi.set(__self__, "container", container)
|
|
174
175
|
pulumi.set(__self__, "current", current)
|
|
@@ -176,7 +177,7 @@ class ContainerResourceMetricStatus(dict):
|
|
|
176
177
|
|
|
177
178
|
@property
|
|
178
179
|
@pulumi.getter
|
|
179
|
-
def container(self) -> str:
|
|
180
|
+
def container(self) -> builtins.str:
|
|
180
181
|
"""
|
|
181
182
|
container is the name of the container in the pods of the scaling target
|
|
182
183
|
"""
|
|
@@ -192,7 +193,7 @@ class ContainerResourceMetricStatus(dict):
|
|
|
192
193
|
|
|
193
194
|
@property
|
|
194
195
|
@pulumi.getter
|
|
195
|
-
def name(self) -> str:
|
|
196
|
+
def name(self) -> builtins.str:
|
|
196
197
|
"""
|
|
197
198
|
name is the name of the resource in question.
|
|
198
199
|
"""
|
|
@@ -205,14 +206,14 @@ class ContainerResourceMetricStatusPatch(dict):
|
|
|
205
206
|
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
206
207
|
"""
|
|
207
208
|
def __init__(__self__, *,
|
|
208
|
-
container: Optional[str] = None,
|
|
209
|
+
container: Optional[builtins.str] = None,
|
|
209
210
|
current: Optional['outputs.MetricValueStatusPatch'] = None,
|
|
210
|
-
name: Optional[str] = None):
|
|
211
|
+
name: Optional[builtins.str] = None):
|
|
211
212
|
"""
|
|
212
213
|
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
213
|
-
:param str container: container is the name of the container in the pods of the scaling target
|
|
214
|
+
:param builtins.str container: container is the name of the container in the pods of the scaling target
|
|
214
215
|
:param 'MetricValueStatusPatchArgs' current: current contains the current value for the given metric
|
|
215
|
-
:param str name: name is the name of the resource in question.
|
|
216
|
+
:param builtins.str name: name is the name of the resource in question.
|
|
216
217
|
"""
|
|
217
218
|
if container is not None:
|
|
218
219
|
pulumi.set(__self__, "container", container)
|
|
@@ -223,7 +224,7 @@ class ContainerResourceMetricStatusPatch(dict):
|
|
|
223
224
|
|
|
224
225
|
@property
|
|
225
226
|
@pulumi.getter
|
|
226
|
-
def container(self) -> Optional[str]:
|
|
227
|
+
def container(self) -> Optional[builtins.str]:
|
|
227
228
|
"""
|
|
228
229
|
container is the name of the container in the pods of the scaling target
|
|
229
230
|
"""
|
|
@@ -239,7 +240,7 @@ class ContainerResourceMetricStatusPatch(dict):
|
|
|
239
240
|
|
|
240
241
|
@property
|
|
241
242
|
@pulumi.getter
|
|
242
|
-
def name(self) -> Optional[str]:
|
|
243
|
+
def name(self) -> Optional[builtins.str]:
|
|
243
244
|
"""
|
|
244
245
|
name is the name of the resource in question.
|
|
245
246
|
"""
|
|
@@ -269,14 +270,14 @@ class CrossVersionObjectReference(dict):
|
|
|
269
270
|
return super().get(key, default)
|
|
270
271
|
|
|
271
272
|
def __init__(__self__, *,
|
|
272
|
-
kind: str,
|
|
273
|
-
name: str,
|
|
274
|
-
api_version: Optional[str] = None):
|
|
273
|
+
kind: builtins.str,
|
|
274
|
+
name: builtins.str,
|
|
275
|
+
api_version: Optional[builtins.str] = None):
|
|
275
276
|
"""
|
|
276
277
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
277
|
-
:param 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
|
|
278
|
-
:param str name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
279
|
-
:param str api_version: apiVersion is the API version of the referent
|
|
278
|
+
:param 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
|
|
279
|
+
:param builtins.str name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
280
|
+
:param builtins.str api_version: apiVersion is the API version of the referent
|
|
280
281
|
"""
|
|
281
282
|
pulumi.set(__self__, "kind", kind)
|
|
282
283
|
pulumi.set(__self__, "name", name)
|
|
@@ -285,7 +286,7 @@ class CrossVersionObjectReference(dict):
|
|
|
285
286
|
|
|
286
287
|
@property
|
|
287
288
|
@pulumi.getter
|
|
288
|
-
def kind(self) -> str:
|
|
289
|
+
def kind(self) -> builtins.str:
|
|
289
290
|
"""
|
|
290
291
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
291
292
|
"""
|
|
@@ -293,7 +294,7 @@ class CrossVersionObjectReference(dict):
|
|
|
293
294
|
|
|
294
295
|
@property
|
|
295
296
|
@pulumi.getter
|
|
296
|
-
def name(self) -> str:
|
|
297
|
+
def name(self) -> builtins.str:
|
|
297
298
|
"""
|
|
298
299
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
299
300
|
"""
|
|
@@ -301,7 +302,7 @@ class CrossVersionObjectReference(dict):
|
|
|
301
302
|
|
|
302
303
|
@property
|
|
303
304
|
@pulumi.getter(name="apiVersion")
|
|
304
|
-
def api_version(self) -> Optional[str]:
|
|
305
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
305
306
|
"""
|
|
306
307
|
apiVersion is the API version of the referent
|
|
307
308
|
"""
|
|
@@ -331,14 +332,14 @@ class CrossVersionObjectReferencePatch(dict):
|
|
|
331
332
|
return super().get(key, default)
|
|
332
333
|
|
|
333
334
|
def __init__(__self__, *,
|
|
334
|
-
api_version: Optional[str] = None,
|
|
335
|
-
kind: Optional[str] = None,
|
|
336
|
-
name: Optional[str] = None):
|
|
335
|
+
api_version: Optional[builtins.str] = None,
|
|
336
|
+
kind: Optional[builtins.str] = None,
|
|
337
|
+
name: Optional[builtins.str] = None):
|
|
337
338
|
"""
|
|
338
339
|
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
339
|
-
:param str api_version: apiVersion is the API version of the referent
|
|
340
|
-
:param 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
|
|
341
|
-
:param str name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
340
|
+
:param builtins.str api_version: apiVersion is the API version of the referent
|
|
341
|
+
:param 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
|
|
342
|
+
:param builtins.str name: name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
342
343
|
"""
|
|
343
344
|
if api_version is not None:
|
|
344
345
|
pulumi.set(__self__, "api_version", api_version)
|
|
@@ -349,7 +350,7 @@ class CrossVersionObjectReferencePatch(dict):
|
|
|
349
350
|
|
|
350
351
|
@property
|
|
351
352
|
@pulumi.getter(name="apiVersion")
|
|
352
|
-
def api_version(self) -> Optional[str]:
|
|
353
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
353
354
|
"""
|
|
354
355
|
apiVersion is the API version of the referent
|
|
355
356
|
"""
|
|
@@ -357,7 +358,7 @@ class CrossVersionObjectReferencePatch(dict):
|
|
|
357
358
|
|
|
358
359
|
@property
|
|
359
360
|
@pulumi.getter
|
|
360
|
-
def kind(self) -> Optional[str]:
|
|
361
|
+
def kind(self) -> Optional[builtins.str]:
|
|
361
362
|
"""
|
|
362
363
|
kind is the kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
363
364
|
"""
|
|
@@ -365,7 +366,7 @@ class CrossVersionObjectReferencePatch(dict):
|
|
|
365
366
|
|
|
366
367
|
@property
|
|
367
368
|
@pulumi.getter
|
|
368
|
-
def name(self) -> Optional[str]:
|
|
369
|
+
def name(self) -> Optional[builtins.str]:
|
|
369
370
|
"""
|
|
370
371
|
name is the name of the referent; More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
371
372
|
"""
|
|
@@ -531,14 +532,14 @@ class HPAScalingPolicy(dict):
|
|
|
531
532
|
return super().get(key, default)
|
|
532
533
|
|
|
533
534
|
def __init__(__self__, *,
|
|
534
|
-
period_seconds: int,
|
|
535
|
-
type: str,
|
|
536
|
-
value: int):
|
|
535
|
+
period_seconds: builtins.int,
|
|
536
|
+
type: builtins.str,
|
|
537
|
+
value: builtins.int):
|
|
537
538
|
"""
|
|
538
539
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
539
|
-
:param int period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
540
|
-
:param str type: type is used to specify the scaling policy.
|
|
541
|
-
:param int value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
540
|
+
:param builtins.int period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
541
|
+
:param builtins.str type: type is used to specify the scaling policy.
|
|
542
|
+
:param builtins.int value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
542
543
|
"""
|
|
543
544
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
544
545
|
pulumi.set(__self__, "type", type)
|
|
@@ -546,7 +547,7 @@ class HPAScalingPolicy(dict):
|
|
|
546
547
|
|
|
547
548
|
@property
|
|
548
549
|
@pulumi.getter(name="periodSeconds")
|
|
549
|
-
def period_seconds(self) -> int:
|
|
550
|
+
def period_seconds(self) -> builtins.int:
|
|
550
551
|
"""
|
|
551
552
|
periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
552
553
|
"""
|
|
@@ -554,7 +555,7 @@ class HPAScalingPolicy(dict):
|
|
|
554
555
|
|
|
555
556
|
@property
|
|
556
557
|
@pulumi.getter
|
|
557
|
-
def type(self) -> str:
|
|
558
|
+
def type(self) -> builtins.str:
|
|
558
559
|
"""
|
|
559
560
|
type is used to specify the scaling policy.
|
|
560
561
|
"""
|
|
@@ -562,7 +563,7 @@ class HPAScalingPolicy(dict):
|
|
|
562
563
|
|
|
563
564
|
@property
|
|
564
565
|
@pulumi.getter
|
|
565
|
-
def value(self) -> int:
|
|
566
|
+
def value(self) -> builtins.int:
|
|
566
567
|
"""
|
|
567
568
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
568
569
|
"""
|
|
@@ -592,14 +593,14 @@ class HPAScalingPolicyPatch(dict):
|
|
|
592
593
|
return super().get(key, default)
|
|
593
594
|
|
|
594
595
|
def __init__(__self__, *,
|
|
595
|
-
period_seconds: Optional[int] = None,
|
|
596
|
-
type: Optional[str] = None,
|
|
597
|
-
value: Optional[int] = None):
|
|
596
|
+
period_seconds: Optional[builtins.int] = None,
|
|
597
|
+
type: Optional[builtins.str] = None,
|
|
598
|
+
value: Optional[builtins.int] = None):
|
|
598
599
|
"""
|
|
599
600
|
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
600
|
-
:param int period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
601
|
-
:param str type: type is used to specify the scaling policy.
|
|
602
|
-
:param int value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
601
|
+
:param builtins.int period_seconds: periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
602
|
+
:param builtins.str type: type is used to specify the scaling policy.
|
|
603
|
+
:param builtins.int value: value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
603
604
|
"""
|
|
604
605
|
if period_seconds is not None:
|
|
605
606
|
pulumi.set(__self__, "period_seconds", period_seconds)
|
|
@@ -610,7 +611,7 @@ class HPAScalingPolicyPatch(dict):
|
|
|
610
611
|
|
|
611
612
|
@property
|
|
612
613
|
@pulumi.getter(name="periodSeconds")
|
|
613
|
-
def period_seconds(self) -> Optional[int]:
|
|
614
|
+
def period_seconds(self) -> Optional[builtins.int]:
|
|
614
615
|
"""
|
|
615
616
|
periodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
616
617
|
"""
|
|
@@ -618,7 +619,7 @@ class HPAScalingPolicyPatch(dict):
|
|
|
618
619
|
|
|
619
620
|
@property
|
|
620
621
|
@pulumi.getter
|
|
621
|
-
def type(self) -> Optional[str]:
|
|
622
|
+
def type(self) -> Optional[builtins.str]:
|
|
622
623
|
"""
|
|
623
624
|
type is used to specify the scaling policy.
|
|
624
625
|
"""
|
|
@@ -626,7 +627,7 @@ class HPAScalingPolicyPatch(dict):
|
|
|
626
627
|
|
|
627
628
|
@property
|
|
628
629
|
@pulumi.getter
|
|
629
|
-
def value(self) -> Optional[int]:
|
|
630
|
+
def value(self) -> Optional[builtins.int]:
|
|
630
631
|
"""
|
|
631
632
|
value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
632
633
|
"""
|
|
@@ -636,7 +637,11 @@ class HPAScalingPolicyPatch(dict):
|
|
|
636
637
|
@pulumi.output_type
|
|
637
638
|
class HPAScalingRules(dict):
|
|
638
639
|
"""
|
|
639
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
640
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
641
|
+
|
|
642
|
+
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.
|
|
643
|
+
|
|
644
|
+
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.)
|
|
640
645
|
"""
|
|
641
646
|
@staticmethod
|
|
642
647
|
def __key_warning(key: str):
|
|
@@ -659,13 +664,23 @@ class HPAScalingRules(dict):
|
|
|
659
664
|
|
|
660
665
|
def __init__(__self__, *,
|
|
661
666
|
policies: Optional[Sequence['outputs.HPAScalingPolicy']] = None,
|
|
662
|
-
select_policy: Optional[str] = None,
|
|
663
|
-
stabilization_window_seconds: Optional[int] = None
|
|
667
|
+
select_policy: Optional[builtins.str] = None,
|
|
668
|
+
stabilization_window_seconds: Optional[builtins.int] = None,
|
|
669
|
+
tolerance: Optional[builtins.str] = None):
|
|
664
670
|
"""
|
|
665
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
671
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
672
|
+
|
|
673
|
+
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.
|
|
674
|
+
|
|
675
|
+
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.)
|
|
676
|
+
:param Sequence['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.
|
|
677
|
+
:param builtins.str select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
678
|
+
:param builtins.int stabilization_window_seconds: stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
679
|
+
:param 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%).
|
|
680
|
+
|
|
681
|
+
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.
|
|
682
|
+
|
|
683
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
669
684
|
"""
|
|
670
685
|
if policies is not None:
|
|
671
686
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -673,18 +688,20 @@ class HPAScalingRules(dict):
|
|
|
673
688
|
pulumi.set(__self__, "select_policy", select_policy)
|
|
674
689
|
if stabilization_window_seconds is not None:
|
|
675
690
|
pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
|
|
691
|
+
if tolerance is not None:
|
|
692
|
+
pulumi.set(__self__, "tolerance", tolerance)
|
|
676
693
|
|
|
677
694
|
@property
|
|
678
695
|
@pulumi.getter
|
|
679
696
|
def policies(self) -> Optional[Sequence['outputs.HPAScalingPolicy']]:
|
|
680
697
|
"""
|
|
681
|
-
policies is a list of potential scaling polices which can be used during scaling.
|
|
698
|
+
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.
|
|
682
699
|
"""
|
|
683
700
|
return pulumi.get(self, "policies")
|
|
684
701
|
|
|
685
702
|
@property
|
|
686
703
|
@pulumi.getter(name="selectPolicy")
|
|
687
|
-
def select_policy(self) -> Optional[str]:
|
|
704
|
+
def select_policy(self) -> Optional[builtins.str]:
|
|
688
705
|
"""
|
|
689
706
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
690
707
|
"""
|
|
@@ -692,17 +709,33 @@ class HPAScalingRules(dict):
|
|
|
692
709
|
|
|
693
710
|
@property
|
|
694
711
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
695
|
-
def stabilization_window_seconds(self) -> Optional[int]:
|
|
712
|
+
def stabilization_window_seconds(self) -> Optional[builtins.int]:
|
|
696
713
|
"""
|
|
697
714
|
stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
698
715
|
"""
|
|
699
716
|
return pulumi.get(self, "stabilization_window_seconds")
|
|
700
717
|
|
|
718
|
+
@property
|
|
719
|
+
@pulumi.getter
|
|
720
|
+
def tolerance(self) -> Optional[builtins.str]:
|
|
721
|
+
"""
|
|
722
|
+
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%).
|
|
723
|
+
|
|
724
|
+
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.
|
|
725
|
+
|
|
726
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
727
|
+
"""
|
|
728
|
+
return pulumi.get(self, "tolerance")
|
|
729
|
+
|
|
701
730
|
|
|
702
731
|
@pulumi.output_type
|
|
703
732
|
class HPAScalingRulesPatch(dict):
|
|
704
733
|
"""
|
|
705
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
734
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
735
|
+
|
|
736
|
+
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.
|
|
737
|
+
|
|
738
|
+
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.)
|
|
706
739
|
"""
|
|
707
740
|
@staticmethod
|
|
708
741
|
def __key_warning(key: str):
|
|
@@ -725,13 +758,23 @@ class HPAScalingRulesPatch(dict):
|
|
|
725
758
|
|
|
726
759
|
def __init__(__self__, *,
|
|
727
760
|
policies: Optional[Sequence['outputs.HPAScalingPolicyPatch']] = None,
|
|
728
|
-
select_policy: Optional[str] = None,
|
|
729
|
-
stabilization_window_seconds: Optional[int] = None
|
|
761
|
+
select_policy: Optional[builtins.str] = None,
|
|
762
|
+
stabilization_window_seconds: Optional[builtins.int] = None,
|
|
763
|
+
tolerance: Optional[builtins.str] = None):
|
|
730
764
|
"""
|
|
731
|
-
HPAScalingRules configures the scaling behavior for one direction
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
765
|
+
HPAScalingRules configures the scaling behavior for one direction via scaling Policy Rules and a configurable metric tolerance.
|
|
766
|
+
|
|
767
|
+
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.
|
|
768
|
+
|
|
769
|
+
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.)
|
|
770
|
+
:param Sequence['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.
|
|
771
|
+
:param builtins.str select_policy: selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
772
|
+
:param builtins.int stabilization_window_seconds: stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
773
|
+
:param 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%).
|
|
774
|
+
|
|
775
|
+
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.
|
|
776
|
+
|
|
777
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
735
778
|
"""
|
|
736
779
|
if policies is not None:
|
|
737
780
|
pulumi.set(__self__, "policies", policies)
|
|
@@ -739,18 +782,20 @@ class HPAScalingRulesPatch(dict):
|
|
|
739
782
|
pulumi.set(__self__, "select_policy", select_policy)
|
|
740
783
|
if stabilization_window_seconds is not None:
|
|
741
784
|
pulumi.set(__self__, "stabilization_window_seconds", stabilization_window_seconds)
|
|
785
|
+
if tolerance is not None:
|
|
786
|
+
pulumi.set(__self__, "tolerance", tolerance)
|
|
742
787
|
|
|
743
788
|
@property
|
|
744
789
|
@pulumi.getter
|
|
745
790
|
def policies(self) -> Optional[Sequence['outputs.HPAScalingPolicyPatch']]:
|
|
746
791
|
"""
|
|
747
|
-
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.
|
|
748
793
|
"""
|
|
749
794
|
return pulumi.get(self, "policies")
|
|
750
795
|
|
|
751
796
|
@property
|
|
752
797
|
@pulumi.getter(name="selectPolicy")
|
|
753
|
-
def select_policy(self) -> Optional[str]:
|
|
798
|
+
def select_policy(self) -> Optional[builtins.str]:
|
|
754
799
|
"""
|
|
755
800
|
selectPolicy is used to specify which policy should be used. If not set, the default value Max is used.
|
|
756
801
|
"""
|
|
@@ -758,12 +803,24 @@ class HPAScalingRulesPatch(dict):
|
|
|
758
803
|
|
|
759
804
|
@property
|
|
760
805
|
@pulumi.getter(name="stabilizationWindowSeconds")
|
|
761
|
-
def stabilization_window_seconds(self) -> Optional[int]:
|
|
806
|
+
def stabilization_window_seconds(self) -> Optional[builtins.int]:
|
|
762
807
|
"""
|
|
763
808
|
stabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
764
809
|
"""
|
|
765
810
|
return pulumi.get(self, "stabilization_window_seconds")
|
|
766
811
|
|
|
812
|
+
@property
|
|
813
|
+
@pulumi.getter
|
|
814
|
+
def tolerance(self) -> Optional[builtins.str]:
|
|
815
|
+
"""
|
|
816
|
+
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%).
|
|
817
|
+
|
|
818
|
+
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.
|
|
819
|
+
|
|
820
|
+
This is an alpha field and requires enabling the HPAConfigurableTolerance feature gate.
|
|
821
|
+
"""
|
|
822
|
+
return pulumi.get(self, "tolerance")
|
|
823
|
+
|
|
767
824
|
|
|
768
825
|
@pulumi.output_type
|
|
769
826
|
class HorizontalPodAutoscaler(dict):
|
|
@@ -788,15 +845,15 @@ class HorizontalPodAutoscaler(dict):
|
|
|
788
845
|
return super().get(key, default)
|
|
789
846
|
|
|
790
847
|
def __init__(__self__, *,
|
|
791
|
-
api_version: Optional[str] = None,
|
|
792
|
-
kind: Optional[str] = None,
|
|
848
|
+
api_version: Optional[builtins.str] = None,
|
|
849
|
+
kind: Optional[builtins.str] = None,
|
|
793
850
|
metadata: Optional['_meta.v1.outputs.ObjectMeta'] = None,
|
|
794
851
|
spec: Optional['outputs.HorizontalPodAutoscalerSpec'] = None,
|
|
795
852
|
status: Optional['outputs.HorizontalPodAutoscalerStatus'] = None):
|
|
796
853
|
"""
|
|
797
854
|
HorizontalPodAutoscaler is the configuration for a horizontal pod autoscaler, which automatically manages the replica count of any resource implementing the scale subresource based on the metrics specified.
|
|
798
|
-
:param str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
799
|
-
:param str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
855
|
+
:param builtins.str api_version: APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
856
|
+
:param builtins.str kind: Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
800
857
|
:param '_meta.v1.ObjectMetaArgs' metadata: metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
801
858
|
:param 'HorizontalPodAutoscalerSpecArgs' spec: spec is the specification for the behaviour of the autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
|
|
802
859
|
:param 'HorizontalPodAutoscalerStatusArgs' status: status is the current information about the autoscaler.
|
|
@@ -814,7 +871,7 @@ class HorizontalPodAutoscaler(dict):
|
|
|
814
871
|
|
|
815
872
|
@property
|
|
816
873
|
@pulumi.getter(name="apiVersion")
|
|
817
|
-
def api_version(self) -> Optional[str]:
|
|
874
|
+
def api_version(self) -> Optional[builtins.str]:
|
|
818
875
|
"""
|
|
819
876
|
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
|
|
820
877
|
"""
|
|
@@ -822,7 +879,7 @@ class HorizontalPodAutoscaler(dict):
|
|
|
822
879
|
|
|
823
880
|
@property
|
|
824
881
|
@pulumi.getter
|
|
825
|
-
def kind(self) -> Optional[str]:
|
|
882
|
+
def kind(self) -> Optional[builtins.str]:
|
|
826
883
|
"""
|
|
827
884
|
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
|
|
828
885
|
"""
|
|
@@ -996,18 +1053,18 @@ class HorizontalPodAutoscalerCondition(dict):
|
|
|
996
1053
|
return super().get(key, default)
|
|
997
1054
|
|
|
998
1055
|
def __init__(__self__, *,
|
|
999
|
-
status: str,
|
|
1000
|
-
type: str,
|
|
1001
|
-
last_transition_time: Optional[str] = None,
|
|
1002
|
-
message: Optional[str] = None,
|
|
1003
|
-
reason: Optional[str] = None):
|
|
1056
|
+
status: builtins.str,
|
|
1057
|
+
type: builtins.str,
|
|
1058
|
+
last_transition_time: Optional[builtins.str] = None,
|
|
1059
|
+
message: Optional[builtins.str] = None,
|
|
1060
|
+
reason: Optional[builtins.str] = None):
|
|
1004
1061
|
"""
|
|
1005
1062
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1006
|
-
:param str status: status is the status of the condition (True, False, Unknown)
|
|
1007
|
-
:param str type: type describes the current condition
|
|
1008
|
-
:param str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1009
|
-
:param str message: message is a human-readable explanation containing details about the transition
|
|
1010
|
-
:param str reason: reason is the reason for the condition's last transition.
|
|
1063
|
+
:param builtins.str status: status is the status of the condition (True, False, Unknown)
|
|
1064
|
+
:param builtins.str type: type describes the current condition
|
|
1065
|
+
:param builtins.str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1066
|
+
:param builtins.str message: message is a human-readable explanation containing details about the transition
|
|
1067
|
+
:param builtins.str reason: reason is the reason for the condition's last transition.
|
|
1011
1068
|
"""
|
|
1012
1069
|
pulumi.set(__self__, "status", status)
|
|
1013
1070
|
pulumi.set(__self__, "type", type)
|
|
@@ -1020,7 +1077,7 @@ class HorizontalPodAutoscalerCondition(dict):
|
|
|
1020
1077
|
|
|
1021
1078
|
@property
|
|
1022
1079
|
@pulumi.getter
|
|
1023
|
-
def status(self) -> str:
|
|
1080
|
+
def status(self) -> builtins.str:
|
|
1024
1081
|
"""
|
|
1025
1082
|
status is the status of the condition (True, False, Unknown)
|
|
1026
1083
|
"""
|
|
@@ -1028,7 +1085,7 @@ class HorizontalPodAutoscalerCondition(dict):
|
|
|
1028
1085
|
|
|
1029
1086
|
@property
|
|
1030
1087
|
@pulumi.getter
|
|
1031
|
-
def type(self) -> str:
|
|
1088
|
+
def type(self) -> builtins.str:
|
|
1032
1089
|
"""
|
|
1033
1090
|
type describes the current condition
|
|
1034
1091
|
"""
|
|
@@ -1036,7 +1093,7 @@ class HorizontalPodAutoscalerCondition(dict):
|
|
|
1036
1093
|
|
|
1037
1094
|
@property
|
|
1038
1095
|
@pulumi.getter(name="lastTransitionTime")
|
|
1039
|
-
def last_transition_time(self) -> Optional[str]:
|
|
1096
|
+
def last_transition_time(self) -> Optional[builtins.str]:
|
|
1040
1097
|
"""
|
|
1041
1098
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1042
1099
|
"""
|
|
@@ -1044,7 +1101,7 @@ class HorizontalPodAutoscalerCondition(dict):
|
|
|
1044
1101
|
|
|
1045
1102
|
@property
|
|
1046
1103
|
@pulumi.getter
|
|
1047
|
-
def message(self) -> Optional[str]:
|
|
1104
|
+
def message(self) -> Optional[builtins.str]:
|
|
1048
1105
|
"""
|
|
1049
1106
|
message is a human-readable explanation containing details about the transition
|
|
1050
1107
|
"""
|
|
@@ -1052,7 +1109,7 @@ class HorizontalPodAutoscalerCondition(dict):
|
|
|
1052
1109
|
|
|
1053
1110
|
@property
|
|
1054
1111
|
@pulumi.getter
|
|
1055
|
-
def reason(self) -> Optional[str]:
|
|
1112
|
+
def reason(self) -> Optional[builtins.str]:
|
|
1056
1113
|
"""
|
|
1057
1114
|
reason is the reason for the condition's last transition.
|
|
1058
1115
|
"""
|
|
@@ -1082,18 +1139,18 @@ class HorizontalPodAutoscalerConditionPatch(dict):
|
|
|
1082
1139
|
return super().get(key, default)
|
|
1083
1140
|
|
|
1084
1141
|
def __init__(__self__, *,
|
|
1085
|
-
last_transition_time: Optional[str] = None,
|
|
1086
|
-
message: Optional[str] = None,
|
|
1087
|
-
reason: Optional[str] = None,
|
|
1088
|
-
status: Optional[str] = None,
|
|
1089
|
-
type: Optional[str] = None):
|
|
1142
|
+
last_transition_time: Optional[builtins.str] = None,
|
|
1143
|
+
message: Optional[builtins.str] = None,
|
|
1144
|
+
reason: Optional[builtins.str] = None,
|
|
1145
|
+
status: Optional[builtins.str] = None,
|
|
1146
|
+
type: Optional[builtins.str] = None):
|
|
1090
1147
|
"""
|
|
1091
1148
|
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1092
|
-
:param str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1093
|
-
:param str message: message is a human-readable explanation containing details about the transition
|
|
1094
|
-
:param str reason: reason is the reason for the condition's last transition.
|
|
1095
|
-
:param str status: status is the status of the condition (True, False, Unknown)
|
|
1096
|
-
:param str type: type describes the current condition
|
|
1149
|
+
:param builtins.str last_transition_time: lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1150
|
+
:param builtins.str message: message is a human-readable explanation containing details about the transition
|
|
1151
|
+
:param builtins.str reason: reason is the reason for the condition's last transition.
|
|
1152
|
+
:param builtins.str status: status is the status of the condition (True, False, Unknown)
|
|
1153
|
+
:param builtins.str type: type describes the current condition
|
|
1097
1154
|
"""
|
|
1098
1155
|
if last_transition_time is not None:
|
|
1099
1156
|
pulumi.set(__self__, "last_transition_time", last_transition_time)
|
|
@@ -1108,7 +1165,7 @@ class HorizontalPodAutoscalerConditionPatch(dict):
|
|
|
1108
1165
|
|
|
1109
1166
|
@property
|
|
1110
1167
|
@pulumi.getter(name="lastTransitionTime")
|
|
1111
|
-
def last_transition_time(self) -> Optional[str]:
|
|
1168
|
+
def last_transition_time(self) -> Optional[builtins.str]:
|
|
1112
1169
|
"""
|
|
1113
1170
|
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1114
1171
|
"""
|
|
@@ -1116,7 +1173,7 @@ class HorizontalPodAutoscalerConditionPatch(dict):
|
|
|
1116
1173
|
|
|
1117
1174
|
@property
|
|
1118
1175
|
@pulumi.getter
|
|
1119
|
-
def message(self) -> Optional[str]:
|
|
1176
|
+
def message(self) -> Optional[builtins.str]:
|
|
1120
1177
|
"""
|
|
1121
1178
|
message is a human-readable explanation containing details about the transition
|
|
1122
1179
|
"""
|
|
@@ -1124,7 +1181,7 @@ class HorizontalPodAutoscalerConditionPatch(dict):
|
|
|
1124
1181
|
|
|
1125
1182
|
@property
|
|
1126
1183
|
@pulumi.getter
|
|
1127
|
-
def reason(self) -> Optional[str]:
|
|
1184
|
+
def reason(self) -> Optional[builtins.str]:
|
|
1128
1185
|
"""
|
|
1129
1186
|
reason is the reason for the condition's last transition.
|
|
1130
1187
|
"""
|
|
@@ -1132,7 +1189,7 @@ class HorizontalPodAutoscalerConditionPatch(dict):
|
|
|
1132
1189
|
|
|
1133
1190
|
@property
|
|
1134
1191
|
@pulumi.getter
|
|
1135
|
-
def status(self) -> Optional[str]:
|
|
1192
|
+
def status(self) -> Optional[builtins.str]:
|
|
1136
1193
|
"""
|
|
1137
1194
|
status is the status of the condition (True, False, Unknown)
|
|
1138
1195
|
"""
|
|
@@ -1140,7 +1197,7 @@ class HorizontalPodAutoscalerConditionPatch(dict):
|
|
|
1140
1197
|
|
|
1141
1198
|
@property
|
|
1142
1199
|
@pulumi.getter
|
|
1143
|
-
def type(self) -> Optional[str]:
|
|
1200
|
+
def type(self) -> Optional[builtins.str]:
|
|
1144
1201
|
"""
|
|
1145
1202
|
type describes the current condition
|
|
1146
1203
|
"""
|
|
@@ -1174,18 +1231,18 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1174
1231
|
return super().get(key, default)
|
|
1175
1232
|
|
|
1176
1233
|
def __init__(__self__, *,
|
|
1177
|
-
max_replicas: int,
|
|
1234
|
+
max_replicas: builtins.int,
|
|
1178
1235
|
scale_target_ref: 'outputs.CrossVersionObjectReference',
|
|
1179
1236
|
behavior: Optional['outputs.HorizontalPodAutoscalerBehavior'] = None,
|
|
1180
1237
|
metrics: Optional[Sequence['outputs.MetricSpec']] = None,
|
|
1181
|
-
min_replicas: Optional[int] = None):
|
|
1238
|
+
min_replicas: Optional[builtins.int] = None):
|
|
1182
1239
|
"""
|
|
1183
1240
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1184
|
-
:param int max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1241
|
+
:param builtins.int max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1185
1242
|
:param 'CrossVersionObjectReferenceArgs' scale_target_ref: scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
|
|
1186
1243
|
:param 'HorizontalPodAutoscalerBehaviorArgs' behavior: behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1187
1244
|
:param Sequence['MetricSpecArgs'] metrics: metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1188
|
-
:param int min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1245
|
+
:param builtins.int min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1189
1246
|
"""
|
|
1190
1247
|
pulumi.set(__self__, "max_replicas", max_replicas)
|
|
1191
1248
|
pulumi.set(__self__, "scale_target_ref", scale_target_ref)
|
|
@@ -1198,7 +1255,7 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1198
1255
|
|
|
1199
1256
|
@property
|
|
1200
1257
|
@pulumi.getter(name="maxReplicas")
|
|
1201
|
-
def max_replicas(self) -> int:
|
|
1258
|
+
def max_replicas(self) -> builtins.int:
|
|
1202
1259
|
"""
|
|
1203
1260
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1204
1261
|
"""
|
|
@@ -1230,7 +1287,7 @@ class HorizontalPodAutoscalerSpec(dict):
|
|
|
1230
1287
|
|
|
1231
1288
|
@property
|
|
1232
1289
|
@pulumi.getter(name="minReplicas")
|
|
1233
|
-
def min_replicas(self) -> Optional[int]:
|
|
1290
|
+
def min_replicas(self) -> Optional[builtins.int]:
|
|
1234
1291
|
"""
|
|
1235
1292
|
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1236
1293
|
"""
|
|
@@ -1265,16 +1322,16 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1265
1322
|
|
|
1266
1323
|
def __init__(__self__, *,
|
|
1267
1324
|
behavior: Optional['outputs.HorizontalPodAutoscalerBehaviorPatch'] = None,
|
|
1268
|
-
max_replicas: Optional[int] = None,
|
|
1325
|
+
max_replicas: Optional[builtins.int] = None,
|
|
1269
1326
|
metrics: Optional[Sequence['outputs.MetricSpecPatch']] = None,
|
|
1270
|
-
min_replicas: Optional[int] = None,
|
|
1327
|
+
min_replicas: Optional[builtins.int] = None,
|
|
1271
1328
|
scale_target_ref: Optional['outputs.CrossVersionObjectReferencePatch'] = None):
|
|
1272
1329
|
"""
|
|
1273
1330
|
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1274
1331
|
:param 'HorizontalPodAutoscalerBehaviorPatchArgs' behavior: behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1275
|
-
:param int max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1332
|
+
:param builtins.int max_replicas: maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1276
1333
|
:param Sequence['MetricSpecPatchArgs'] metrics: metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1277
|
-
:param int min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1334
|
+
:param builtins.int min_replicas: minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1278
1335
|
:param 'CrossVersionObjectReferencePatchArgs' scale_target_ref: scaleTargetRef points to the target resource to scale, and is used to the pods for which metrics should be collected, as well as to actually change the replica count.
|
|
1279
1336
|
"""
|
|
1280
1337
|
if behavior is not None:
|
|
@@ -1298,7 +1355,7 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1298
1355
|
|
|
1299
1356
|
@property
|
|
1300
1357
|
@pulumi.getter(name="maxReplicas")
|
|
1301
|
-
def max_replicas(self) -> Optional[int]:
|
|
1358
|
+
def max_replicas(self) -> Optional[builtins.int]:
|
|
1302
1359
|
"""
|
|
1303
1360
|
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1304
1361
|
"""
|
|
@@ -1314,7 +1371,7 @@ class HorizontalPodAutoscalerSpecPatch(dict):
|
|
|
1314
1371
|
|
|
1315
1372
|
@property
|
|
1316
1373
|
@pulumi.getter(name="minReplicas")
|
|
1317
|
-
def min_replicas(self) -> Optional[int]:
|
|
1374
|
+
def min_replicas(self) -> Optional[builtins.int]:
|
|
1318
1375
|
"""
|
|
1319
1376
|
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1320
1377
|
"""
|
|
@@ -1360,20 +1417,20 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1360
1417
|
return super().get(key, default)
|
|
1361
1418
|
|
|
1362
1419
|
def __init__(__self__, *,
|
|
1363
|
-
desired_replicas: int,
|
|
1420
|
+
desired_replicas: builtins.int,
|
|
1364
1421
|
conditions: Optional[Sequence['outputs.HorizontalPodAutoscalerCondition']] = None,
|
|
1365
1422
|
current_metrics: Optional[Sequence['outputs.MetricStatus']] = None,
|
|
1366
|
-
current_replicas: Optional[int] = None,
|
|
1367
|
-
last_scale_time: Optional[str] = None,
|
|
1368
|
-
observed_generation: Optional[int] = None):
|
|
1423
|
+
current_replicas: Optional[builtins.int] = None,
|
|
1424
|
+
last_scale_time: Optional[builtins.str] = None,
|
|
1425
|
+
observed_generation: Optional[builtins.int] = None):
|
|
1369
1426
|
"""
|
|
1370
1427
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1371
|
-
:param int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1428
|
+
:param builtins.int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1372
1429
|
:param Sequence['HorizontalPodAutoscalerConditionArgs'] conditions: conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
|
|
1373
1430
|
:param Sequence['MetricStatusArgs'] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1374
|
-
:param int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1375
|
-
:param str last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1376
|
-
:param int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1431
|
+
:param builtins.int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1432
|
+
:param builtins.str last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1433
|
+
:param builtins.int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1377
1434
|
"""
|
|
1378
1435
|
pulumi.set(__self__, "desired_replicas", desired_replicas)
|
|
1379
1436
|
if conditions is not None:
|
|
@@ -1389,7 +1446,7 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1389
1446
|
|
|
1390
1447
|
@property
|
|
1391
1448
|
@pulumi.getter(name="desiredReplicas")
|
|
1392
|
-
def desired_replicas(self) -> int:
|
|
1449
|
+
def desired_replicas(self) -> builtins.int:
|
|
1393
1450
|
"""
|
|
1394
1451
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1395
1452
|
"""
|
|
@@ -1413,7 +1470,7 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1413
1470
|
|
|
1414
1471
|
@property
|
|
1415
1472
|
@pulumi.getter(name="currentReplicas")
|
|
1416
|
-
def current_replicas(self) -> Optional[int]:
|
|
1473
|
+
def current_replicas(self) -> Optional[builtins.int]:
|
|
1417
1474
|
"""
|
|
1418
1475
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1419
1476
|
"""
|
|
@@ -1421,7 +1478,7 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1421
1478
|
|
|
1422
1479
|
@property
|
|
1423
1480
|
@pulumi.getter(name="lastScaleTime")
|
|
1424
|
-
def last_scale_time(self) -> Optional[str]:
|
|
1481
|
+
def last_scale_time(self) -> Optional[builtins.str]:
|
|
1425
1482
|
"""
|
|
1426
1483
|
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.
|
|
1427
1484
|
"""
|
|
@@ -1429,7 +1486,7 @@ class HorizontalPodAutoscalerStatus(dict):
|
|
|
1429
1486
|
|
|
1430
1487
|
@property
|
|
1431
1488
|
@pulumi.getter(name="observedGeneration")
|
|
1432
|
-
def observed_generation(self) -> Optional[int]:
|
|
1489
|
+
def observed_generation(self) -> Optional[builtins.int]:
|
|
1433
1490
|
"""
|
|
1434
1491
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1435
1492
|
"""
|
|
@@ -1469,18 +1526,18 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1469
1526
|
def __init__(__self__, *,
|
|
1470
1527
|
conditions: Optional[Sequence['outputs.HorizontalPodAutoscalerConditionPatch']] = None,
|
|
1471
1528
|
current_metrics: Optional[Sequence['outputs.MetricStatusPatch']] = None,
|
|
1472
|
-
current_replicas: Optional[int] = None,
|
|
1473
|
-
desired_replicas: Optional[int] = None,
|
|
1474
|
-
last_scale_time: Optional[str] = None,
|
|
1475
|
-
observed_generation: Optional[int] = None):
|
|
1529
|
+
current_replicas: Optional[builtins.int] = None,
|
|
1530
|
+
desired_replicas: Optional[builtins.int] = None,
|
|
1531
|
+
last_scale_time: Optional[builtins.str] = None,
|
|
1532
|
+
observed_generation: Optional[builtins.int] = None):
|
|
1476
1533
|
"""
|
|
1477
1534
|
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1478
1535
|
:param Sequence['HorizontalPodAutoscalerConditionPatchArgs'] conditions: conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
|
|
1479
1536
|
:param Sequence['MetricStatusPatchArgs'] current_metrics: currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1480
|
-
:param int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1481
|
-
:param int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1482
|
-
:param str last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1483
|
-
:param int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1537
|
+
:param builtins.int current_replicas: currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1538
|
+
:param builtins.int desired_replicas: desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1539
|
+
:param builtins.str last_scale_time: lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1540
|
+
:param builtins.int observed_generation: observedGeneration is the most recent generation observed by this autoscaler.
|
|
1484
1541
|
"""
|
|
1485
1542
|
if conditions is not None:
|
|
1486
1543
|
pulumi.set(__self__, "conditions", conditions)
|
|
@@ -1513,7 +1570,7 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1513
1570
|
|
|
1514
1571
|
@property
|
|
1515
1572
|
@pulumi.getter(name="currentReplicas")
|
|
1516
|
-
def current_replicas(self) -> Optional[int]:
|
|
1573
|
+
def current_replicas(self) -> Optional[builtins.int]:
|
|
1517
1574
|
"""
|
|
1518
1575
|
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1519
1576
|
"""
|
|
@@ -1521,7 +1578,7 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1521
1578
|
|
|
1522
1579
|
@property
|
|
1523
1580
|
@pulumi.getter(name="desiredReplicas")
|
|
1524
|
-
def desired_replicas(self) -> Optional[int]:
|
|
1581
|
+
def desired_replicas(self) -> Optional[builtins.int]:
|
|
1525
1582
|
"""
|
|
1526
1583
|
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1527
1584
|
"""
|
|
@@ -1529,7 +1586,7 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1529
1586
|
|
|
1530
1587
|
@property
|
|
1531
1588
|
@pulumi.getter(name="lastScaleTime")
|
|
1532
|
-
def last_scale_time(self) -> Optional[str]:
|
|
1589
|
+
def last_scale_time(self) -> Optional[builtins.str]:
|
|
1533
1590
|
"""
|
|
1534
1591
|
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
1592
|
"""
|
|
@@ -1537,7 +1594,7 @@ class HorizontalPodAutoscalerStatusPatch(dict):
|
|
|
1537
1594
|
|
|
1538
1595
|
@property
|
|
1539
1596
|
@pulumi.getter(name="observedGeneration")
|
|
1540
|
-
def observed_generation(self) -> Optional[int]:
|
|
1597
|
+
def observed_generation(self) -> Optional[builtins.int]:
|
|
1541
1598
|
"""
|
|
1542
1599
|
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1543
1600
|
"""
|
|
@@ -1550,11 +1607,11 @@ class MetricIdentifier(dict):
|
|
|
1550
1607
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1551
1608
|
"""
|
|
1552
1609
|
def __init__(__self__, *,
|
|
1553
|
-
name: str,
|
|
1610
|
+
name: builtins.str,
|
|
1554
1611
|
selector: Optional['_meta.v1.outputs.LabelSelector'] = None):
|
|
1555
1612
|
"""
|
|
1556
1613
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1557
|
-
:param str name: name is the name of the given metric
|
|
1614
|
+
:param builtins.str name: name is the name of the given metric
|
|
1558
1615
|
:param '_meta.v1.LabelSelectorArgs' selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
1559
1616
|
"""
|
|
1560
1617
|
pulumi.set(__self__, "name", name)
|
|
@@ -1563,7 +1620,7 @@ class MetricIdentifier(dict):
|
|
|
1563
1620
|
|
|
1564
1621
|
@property
|
|
1565
1622
|
@pulumi.getter
|
|
1566
|
-
def name(self) -> str:
|
|
1623
|
+
def name(self) -> builtins.str:
|
|
1567
1624
|
"""
|
|
1568
1625
|
name is the name of the given metric
|
|
1569
1626
|
"""
|
|
@@ -1584,11 +1641,11 @@ class MetricIdentifierPatch(dict):
|
|
|
1584
1641
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1585
1642
|
"""
|
|
1586
1643
|
def __init__(__self__, *,
|
|
1587
|
-
name: Optional[str] = None,
|
|
1644
|
+
name: Optional[builtins.str] = None,
|
|
1588
1645
|
selector: Optional['_meta.v1.outputs.LabelSelectorPatch'] = None):
|
|
1589
1646
|
"""
|
|
1590
1647
|
MetricIdentifier defines the name and optionally selector for a metric
|
|
1591
|
-
:param str name: name is the name of the given metric
|
|
1648
|
+
:param builtins.str name: name is the name of the given metric
|
|
1592
1649
|
:param '_meta.v1.LabelSelectorPatchArgs' selector: selector is the string-encoded form of a standard kubernetes label selector for the given metric When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping. When unset, just the metricName will be used to gather metrics.
|
|
1593
1650
|
"""
|
|
1594
1651
|
if name is not None:
|
|
@@ -1598,7 +1655,7 @@ class MetricIdentifierPatch(dict):
|
|
|
1598
1655
|
|
|
1599
1656
|
@property
|
|
1600
1657
|
@pulumi.getter
|
|
1601
|
-
def name(self) -> Optional[str]:
|
|
1658
|
+
def name(self) -> Optional[builtins.str]:
|
|
1602
1659
|
"""
|
|
1603
1660
|
name is the name of the given metric
|
|
1604
1661
|
"""
|
|
@@ -1636,7 +1693,7 @@ class MetricSpec(dict):
|
|
|
1636
1693
|
return super().get(key, default)
|
|
1637
1694
|
|
|
1638
1695
|
def __init__(__self__, *,
|
|
1639
|
-
type: str,
|
|
1696
|
+
type: builtins.str,
|
|
1640
1697
|
container_resource: Optional['outputs.ContainerResourceMetricSource'] = None,
|
|
1641
1698
|
external: Optional['outputs.ExternalMetricSource'] = None,
|
|
1642
1699
|
object: Optional['outputs.ObjectMetricSource'] = None,
|
|
@@ -1644,7 +1701,7 @@ class MetricSpec(dict):
|
|
|
1644
1701
|
resource: Optional['outputs.ResourceMetricSource'] = None):
|
|
1645
1702
|
"""
|
|
1646
1703
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1647
|
-
:param 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.
|
|
1704
|
+
:param 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.
|
|
1648
1705
|
:param '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.
|
|
1649
1706
|
:param 'ExternalMetricSourceArgs' external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
1650
1707
|
:param 'ObjectMetricSourceArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -1665,7 +1722,7 @@ class MetricSpec(dict):
|
|
|
1665
1722
|
|
|
1666
1723
|
@property
|
|
1667
1724
|
@pulumi.getter
|
|
1668
|
-
def type(self) -> str:
|
|
1725
|
+
def type(self) -> builtins.str:
|
|
1669
1726
|
"""
|
|
1670
1727
|
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.
|
|
1671
1728
|
"""
|
|
@@ -1740,7 +1797,7 @@ class MetricSpecPatch(dict):
|
|
|
1740
1797
|
object: Optional['outputs.ObjectMetricSourcePatch'] = None,
|
|
1741
1798
|
pods: Optional['outputs.PodsMetricSourcePatch'] = None,
|
|
1742
1799
|
resource: Optional['outputs.ResourceMetricSourcePatch'] = None,
|
|
1743
|
-
type: Optional[str] = None):
|
|
1800
|
+
type: Optional[builtins.str] = None):
|
|
1744
1801
|
"""
|
|
1745
1802
|
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1746
1803
|
:param '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.
|
|
@@ -1748,7 +1805,7 @@ class MetricSpecPatch(dict):
|
|
|
1748
1805
|
:param 'ObjectMetricSourcePatchArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1749
1806
|
:param 'PodsMetricSourcePatchArgs' pods: pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
1750
1807
|
:param 'ResourceMetricSourcePatchArgs' resource: resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1751
|
-
:param 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.
|
|
1808
|
+
:param 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.
|
|
1752
1809
|
"""
|
|
1753
1810
|
if container_resource is not None:
|
|
1754
1811
|
pulumi.set(__self__, "container_resource", container_resource)
|
|
@@ -1805,7 +1862,7 @@ class MetricSpecPatch(dict):
|
|
|
1805
1862
|
|
|
1806
1863
|
@property
|
|
1807
1864
|
@pulumi.getter
|
|
1808
|
-
def type(self) -> Optional[str]:
|
|
1865
|
+
def type(self) -> Optional[builtins.str]:
|
|
1809
1866
|
"""
|
|
1810
1867
|
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.
|
|
1811
1868
|
"""
|
|
@@ -1835,7 +1892,7 @@ class MetricStatus(dict):
|
|
|
1835
1892
|
return super().get(key, default)
|
|
1836
1893
|
|
|
1837
1894
|
def __init__(__self__, *,
|
|
1838
|
-
type: str,
|
|
1895
|
+
type: builtins.str,
|
|
1839
1896
|
container_resource: Optional['outputs.ContainerResourceMetricStatus'] = None,
|
|
1840
1897
|
external: Optional['outputs.ExternalMetricStatus'] = None,
|
|
1841
1898
|
object: Optional['outputs.ObjectMetricStatus'] = None,
|
|
@@ -1843,7 +1900,7 @@ class MetricStatus(dict):
|
|
|
1843
1900
|
resource: Optional['outputs.ResourceMetricStatus'] = None):
|
|
1844
1901
|
"""
|
|
1845
1902
|
MetricStatus describes the last-read state of a single metric.
|
|
1846
|
-
:param 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.
|
|
1903
|
+
:param 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.
|
|
1847
1904
|
:param 'ContainerResourceMetricStatusArgs' container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1848
1905
|
:param 'ExternalMetricStatusArgs' external: external refers to a global metric that is not associated with any Kubernetes object. It allows autoscaling based on information coming from components running outside of cluster (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
1849
1906
|
:param 'ObjectMetricStatusArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
@@ -1864,7 +1921,7 @@ class MetricStatus(dict):
|
|
|
1864
1921
|
|
|
1865
1922
|
@property
|
|
1866
1923
|
@pulumi.getter
|
|
1867
|
-
def type(self) -> str:
|
|
1924
|
+
def type(self) -> builtins.str:
|
|
1868
1925
|
"""
|
|
1869
1926
|
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.
|
|
1870
1927
|
"""
|
|
@@ -1939,7 +1996,7 @@ class MetricStatusPatch(dict):
|
|
|
1939
1996
|
object: Optional['outputs.ObjectMetricStatusPatch'] = None,
|
|
1940
1997
|
pods: Optional['outputs.PodsMetricStatusPatch'] = None,
|
|
1941
1998
|
resource: Optional['outputs.ResourceMetricStatusPatch'] = None,
|
|
1942
|
-
type: Optional[str] = None):
|
|
1999
|
+
type: Optional[builtins.str] = None):
|
|
1943
2000
|
"""
|
|
1944
2001
|
MetricStatus describes the last-read state of a single metric.
|
|
1945
2002
|
:param 'ContainerResourceMetricStatusPatchArgs' container_resource: container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
@@ -1947,7 +2004,7 @@ class MetricStatusPatch(dict):
|
|
|
1947
2004
|
:param 'ObjectMetricStatusPatchArgs' object: object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1948
2005
|
:param 'PodsMetricStatusPatchArgs' pods: pods refers to a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
1949
2006
|
:param 'ResourceMetricStatusPatchArgs' resource: resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
1950
|
-
:param 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.
|
|
2007
|
+
:param 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.
|
|
1951
2008
|
"""
|
|
1952
2009
|
if container_resource is not None:
|
|
1953
2010
|
pulumi.set(__self__, "container_resource", container_resource)
|
|
@@ -2004,7 +2061,7 @@ class MetricStatusPatch(dict):
|
|
|
2004
2061
|
|
|
2005
2062
|
@property
|
|
2006
2063
|
@pulumi.getter
|
|
2007
|
-
def type(self) -> Optional[str]:
|
|
2064
|
+
def type(self) -> Optional[builtins.str]:
|
|
2008
2065
|
"""
|
|
2009
2066
|
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.
|
|
2010
2067
|
"""
|
|
@@ -2036,16 +2093,16 @@ class MetricTarget(dict):
|
|
|
2036
2093
|
return super().get(key, default)
|
|
2037
2094
|
|
|
2038
2095
|
def __init__(__self__, *,
|
|
2039
|
-
type: str,
|
|
2040
|
-
average_utilization: Optional[int] = None,
|
|
2041
|
-
average_value: Optional[str] = None,
|
|
2042
|
-
value: Optional[str] = None):
|
|
2096
|
+
type: builtins.str,
|
|
2097
|
+
average_utilization: Optional[builtins.int] = None,
|
|
2098
|
+
average_value: Optional[builtins.str] = None,
|
|
2099
|
+
value: Optional[builtins.str] = None):
|
|
2043
2100
|
"""
|
|
2044
2101
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2045
|
-
:param str type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2046
|
-
:param int average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2047
|
-
:param str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2048
|
-
:param str value: value is the target value of the metric (as a quantity).
|
|
2102
|
+
:param builtins.str type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2103
|
+
:param builtins.int average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2104
|
+
:param builtins.str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2105
|
+
:param builtins.str value: value is the target value of the metric (as a quantity).
|
|
2049
2106
|
"""
|
|
2050
2107
|
pulumi.set(__self__, "type", type)
|
|
2051
2108
|
if average_utilization is not None:
|
|
@@ -2057,7 +2114,7 @@ class MetricTarget(dict):
|
|
|
2057
2114
|
|
|
2058
2115
|
@property
|
|
2059
2116
|
@pulumi.getter
|
|
2060
|
-
def type(self) -> str:
|
|
2117
|
+
def type(self) -> builtins.str:
|
|
2061
2118
|
"""
|
|
2062
2119
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2063
2120
|
"""
|
|
@@ -2065,7 +2122,7 @@ class MetricTarget(dict):
|
|
|
2065
2122
|
|
|
2066
2123
|
@property
|
|
2067
2124
|
@pulumi.getter(name="averageUtilization")
|
|
2068
|
-
def average_utilization(self) -> Optional[int]:
|
|
2125
|
+
def average_utilization(self) -> Optional[builtins.int]:
|
|
2069
2126
|
"""
|
|
2070
2127
|
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
|
|
2071
2128
|
"""
|
|
@@ -2073,7 +2130,7 @@ class MetricTarget(dict):
|
|
|
2073
2130
|
|
|
2074
2131
|
@property
|
|
2075
2132
|
@pulumi.getter(name="averageValue")
|
|
2076
|
-
def average_value(self) -> Optional[str]:
|
|
2133
|
+
def average_value(self) -> Optional[builtins.str]:
|
|
2077
2134
|
"""
|
|
2078
2135
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2079
2136
|
"""
|
|
@@ -2081,7 +2138,7 @@ class MetricTarget(dict):
|
|
|
2081
2138
|
|
|
2082
2139
|
@property
|
|
2083
2140
|
@pulumi.getter
|
|
2084
|
-
def value(self) -> Optional[str]:
|
|
2141
|
+
def value(self) -> Optional[builtins.str]:
|
|
2085
2142
|
"""
|
|
2086
2143
|
value is the target value of the metric (as a quantity).
|
|
2087
2144
|
"""
|
|
@@ -2113,16 +2170,16 @@ class MetricTargetPatch(dict):
|
|
|
2113
2170
|
return super().get(key, default)
|
|
2114
2171
|
|
|
2115
2172
|
def __init__(__self__, *,
|
|
2116
|
-
average_utilization: Optional[int] = None,
|
|
2117
|
-
average_value: Optional[str] = None,
|
|
2118
|
-
type: Optional[str] = None,
|
|
2119
|
-
value: Optional[str] = None):
|
|
2173
|
+
average_utilization: Optional[builtins.int] = None,
|
|
2174
|
+
average_value: Optional[builtins.str] = None,
|
|
2175
|
+
type: Optional[builtins.str] = None,
|
|
2176
|
+
value: Optional[builtins.str] = None):
|
|
2120
2177
|
"""
|
|
2121
2178
|
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2122
|
-
:param int average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2123
|
-
:param str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2124
|
-
:param str type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2125
|
-
:param str value: value is the target value of the metric (as a quantity).
|
|
2179
|
+
:param builtins.int average_utilization: averageUtilization is the target value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods. Currently only valid for Resource metric source type
|
|
2180
|
+
:param builtins.str average_value: averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2181
|
+
:param builtins.str type: type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2182
|
+
:param builtins.str value: value is the target value of the metric (as a quantity).
|
|
2126
2183
|
"""
|
|
2127
2184
|
if average_utilization is not None:
|
|
2128
2185
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2135,7 +2192,7 @@ class MetricTargetPatch(dict):
|
|
|
2135
2192
|
|
|
2136
2193
|
@property
|
|
2137
2194
|
@pulumi.getter(name="averageUtilization")
|
|
2138
|
-
def average_utilization(self) -> Optional[int]:
|
|
2195
|
+
def average_utilization(self) -> Optional[builtins.int]:
|
|
2139
2196
|
"""
|
|
2140
2197
|
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
|
|
2141
2198
|
"""
|
|
@@ -2143,7 +2200,7 @@ class MetricTargetPatch(dict):
|
|
|
2143
2200
|
|
|
2144
2201
|
@property
|
|
2145
2202
|
@pulumi.getter(name="averageValue")
|
|
2146
|
-
def average_value(self) -> Optional[str]:
|
|
2203
|
+
def average_value(self) -> Optional[builtins.str]:
|
|
2147
2204
|
"""
|
|
2148
2205
|
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2149
2206
|
"""
|
|
@@ -2151,7 +2208,7 @@ class MetricTargetPatch(dict):
|
|
|
2151
2208
|
|
|
2152
2209
|
@property
|
|
2153
2210
|
@pulumi.getter
|
|
2154
|
-
def type(self) -> Optional[str]:
|
|
2211
|
+
def type(self) -> Optional[builtins.str]:
|
|
2155
2212
|
"""
|
|
2156
2213
|
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2157
2214
|
"""
|
|
@@ -2159,7 +2216,7 @@ class MetricTargetPatch(dict):
|
|
|
2159
2216
|
|
|
2160
2217
|
@property
|
|
2161
2218
|
@pulumi.getter
|
|
2162
|
-
def value(self) -> Optional[str]:
|
|
2219
|
+
def value(self) -> Optional[builtins.str]:
|
|
2163
2220
|
"""
|
|
2164
2221
|
value is the target value of the metric (as a quantity).
|
|
2165
2222
|
"""
|
|
@@ -2191,14 +2248,14 @@ class MetricValueStatus(dict):
|
|
|
2191
2248
|
return super().get(key, default)
|
|
2192
2249
|
|
|
2193
2250
|
def __init__(__self__, *,
|
|
2194
|
-
average_utilization: Optional[int] = None,
|
|
2195
|
-
average_value: Optional[str] = None,
|
|
2196
|
-
value: Optional[str] = None):
|
|
2251
|
+
average_utilization: Optional[builtins.int] = None,
|
|
2252
|
+
average_value: Optional[builtins.str] = None,
|
|
2253
|
+
value: Optional[builtins.str] = None):
|
|
2197
2254
|
"""
|
|
2198
2255
|
MetricValueStatus holds the current value for a metric
|
|
2199
|
-
:param int average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2200
|
-
:param str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2201
|
-
:param str value: value is the current value of the metric (as a quantity).
|
|
2256
|
+
:param builtins.int average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2257
|
+
:param builtins.str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2258
|
+
:param builtins.str value: value is the current value of the metric (as a quantity).
|
|
2202
2259
|
"""
|
|
2203
2260
|
if average_utilization is not None:
|
|
2204
2261
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2209,7 +2266,7 @@ class MetricValueStatus(dict):
|
|
|
2209
2266
|
|
|
2210
2267
|
@property
|
|
2211
2268
|
@pulumi.getter(name="averageUtilization")
|
|
2212
|
-
def average_utilization(self) -> Optional[int]:
|
|
2269
|
+
def average_utilization(self) -> Optional[builtins.int]:
|
|
2213
2270
|
"""
|
|
2214
2271
|
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.
|
|
2215
2272
|
"""
|
|
@@ -2217,7 +2274,7 @@ class MetricValueStatus(dict):
|
|
|
2217
2274
|
|
|
2218
2275
|
@property
|
|
2219
2276
|
@pulumi.getter(name="averageValue")
|
|
2220
|
-
def average_value(self) -> Optional[str]:
|
|
2277
|
+
def average_value(self) -> Optional[builtins.str]:
|
|
2221
2278
|
"""
|
|
2222
2279
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2223
2280
|
"""
|
|
@@ -2225,7 +2282,7 @@ class MetricValueStatus(dict):
|
|
|
2225
2282
|
|
|
2226
2283
|
@property
|
|
2227
2284
|
@pulumi.getter
|
|
2228
|
-
def value(self) -> Optional[str]:
|
|
2285
|
+
def value(self) -> Optional[builtins.str]:
|
|
2229
2286
|
"""
|
|
2230
2287
|
value is the current value of the metric (as a quantity).
|
|
2231
2288
|
"""
|
|
@@ -2257,14 +2314,14 @@ class MetricValueStatusPatch(dict):
|
|
|
2257
2314
|
return super().get(key, default)
|
|
2258
2315
|
|
|
2259
2316
|
def __init__(__self__, *,
|
|
2260
|
-
average_utilization: Optional[int] = None,
|
|
2261
|
-
average_value: Optional[str] = None,
|
|
2262
|
-
value: Optional[str] = None):
|
|
2317
|
+
average_utilization: Optional[builtins.int] = None,
|
|
2318
|
+
average_value: Optional[builtins.str] = None,
|
|
2319
|
+
value: Optional[builtins.str] = None):
|
|
2263
2320
|
"""
|
|
2264
2321
|
MetricValueStatus holds the current value for a metric
|
|
2265
|
-
:param int average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2266
|
-
:param str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2267
|
-
:param str value: value is the current value of the metric (as a quantity).
|
|
2322
|
+
:param builtins.int average_utilization: currentAverageUtilization is the current value of the average of the resource metric across all relevant pods, represented as a percentage of the requested value of the resource for the pods.
|
|
2323
|
+
:param builtins.str average_value: averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2324
|
+
:param builtins.str value: value is the current value of the metric (as a quantity).
|
|
2268
2325
|
"""
|
|
2269
2326
|
if average_utilization is not None:
|
|
2270
2327
|
pulumi.set(__self__, "average_utilization", average_utilization)
|
|
@@ -2275,7 +2332,7 @@ class MetricValueStatusPatch(dict):
|
|
|
2275
2332
|
|
|
2276
2333
|
@property
|
|
2277
2334
|
@pulumi.getter(name="averageUtilization")
|
|
2278
|
-
def average_utilization(self) -> Optional[int]:
|
|
2335
|
+
def average_utilization(self) -> Optional[builtins.int]:
|
|
2279
2336
|
"""
|
|
2280
2337
|
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.
|
|
2281
2338
|
"""
|
|
@@ -2283,7 +2340,7 @@ class MetricValueStatusPatch(dict):
|
|
|
2283
2340
|
|
|
2284
2341
|
@property
|
|
2285
2342
|
@pulumi.getter(name="averageValue")
|
|
2286
|
-
def average_value(self) -> Optional[str]:
|
|
2343
|
+
def average_value(self) -> Optional[builtins.str]:
|
|
2287
2344
|
"""
|
|
2288
2345
|
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2289
2346
|
"""
|
|
@@ -2291,7 +2348,7 @@ class MetricValueStatusPatch(dict):
|
|
|
2291
2348
|
|
|
2292
2349
|
@property
|
|
2293
2350
|
@pulumi.getter
|
|
2294
|
-
def value(self) -> Optional[str]:
|
|
2351
|
+
def value(self) -> Optional[builtins.str]:
|
|
2295
2352
|
"""
|
|
2296
2353
|
value is the current value of the metric (as a quantity).
|
|
2297
2354
|
"""
|
|
@@ -2690,11 +2747,11 @@ class ResourceMetricSource(dict):
|
|
|
2690
2747
|
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.
|
|
2691
2748
|
"""
|
|
2692
2749
|
def __init__(__self__, *,
|
|
2693
|
-
name: str,
|
|
2750
|
+
name: builtins.str,
|
|
2694
2751
|
target: 'outputs.MetricTarget'):
|
|
2695
2752
|
"""
|
|
2696
2753
|
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.
|
|
2697
|
-
:param str name: name is the name of the resource in question.
|
|
2754
|
+
:param builtins.str name: name is the name of the resource in question.
|
|
2698
2755
|
:param 'MetricTargetArgs' target: target specifies the target value for the given metric
|
|
2699
2756
|
"""
|
|
2700
2757
|
pulumi.set(__self__, "name", name)
|
|
@@ -2702,7 +2759,7 @@ class ResourceMetricSource(dict):
|
|
|
2702
2759
|
|
|
2703
2760
|
@property
|
|
2704
2761
|
@pulumi.getter
|
|
2705
|
-
def name(self) -> str:
|
|
2762
|
+
def name(self) -> builtins.str:
|
|
2706
2763
|
"""
|
|
2707
2764
|
name is the name of the resource in question.
|
|
2708
2765
|
"""
|
|
@@ -2723,11 +2780,11 @@ class ResourceMetricSourcePatch(dict):
|
|
|
2723
2780
|
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.
|
|
2724
2781
|
"""
|
|
2725
2782
|
def __init__(__self__, *,
|
|
2726
|
-
name: Optional[str] = None,
|
|
2783
|
+
name: Optional[builtins.str] = None,
|
|
2727
2784
|
target: Optional['outputs.MetricTargetPatch'] = None):
|
|
2728
2785
|
"""
|
|
2729
2786
|
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.
|
|
2730
|
-
:param str name: name is the name of the resource in question.
|
|
2787
|
+
:param builtins.str name: name is the name of the resource in question.
|
|
2731
2788
|
:param 'MetricTargetPatchArgs' target: target specifies the target value for the given metric
|
|
2732
2789
|
"""
|
|
2733
2790
|
if name is not None:
|
|
@@ -2737,7 +2794,7 @@ class ResourceMetricSourcePatch(dict):
|
|
|
2737
2794
|
|
|
2738
2795
|
@property
|
|
2739
2796
|
@pulumi.getter
|
|
2740
|
-
def name(self) -> Optional[str]:
|
|
2797
|
+
def name(self) -> Optional[builtins.str]:
|
|
2741
2798
|
"""
|
|
2742
2799
|
name is the name of the resource in question.
|
|
2743
2800
|
"""
|
|
@@ -2759,11 +2816,11 @@ class ResourceMetricStatus(dict):
|
|
|
2759
2816
|
"""
|
|
2760
2817
|
def __init__(__self__, *,
|
|
2761
2818
|
current: 'outputs.MetricValueStatus',
|
|
2762
|
-
name: str):
|
|
2819
|
+
name: builtins.str):
|
|
2763
2820
|
"""
|
|
2764
2821
|
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.
|
|
2765
2822
|
:param 'MetricValueStatusArgs' current: current contains the current value for the given metric
|
|
2766
|
-
:param str name: name is the name of the resource in question.
|
|
2823
|
+
:param builtins.str name: name is the name of the resource in question.
|
|
2767
2824
|
"""
|
|
2768
2825
|
pulumi.set(__self__, "current", current)
|
|
2769
2826
|
pulumi.set(__self__, "name", name)
|
|
@@ -2778,7 +2835,7 @@ class ResourceMetricStatus(dict):
|
|
|
2778
2835
|
|
|
2779
2836
|
@property
|
|
2780
2837
|
@pulumi.getter
|
|
2781
|
-
def name(self) -> str:
|
|
2838
|
+
def name(self) -> builtins.str:
|
|
2782
2839
|
"""
|
|
2783
2840
|
name is the name of the resource in question.
|
|
2784
2841
|
"""
|
|
@@ -2792,11 +2849,11 @@ class ResourceMetricStatusPatch(dict):
|
|
|
2792
2849
|
"""
|
|
2793
2850
|
def __init__(__self__, *,
|
|
2794
2851
|
current: Optional['outputs.MetricValueStatusPatch'] = None,
|
|
2795
|
-
name: Optional[str] = None):
|
|
2852
|
+
name: Optional[builtins.str] = None):
|
|
2796
2853
|
"""
|
|
2797
2854
|
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.
|
|
2798
2855
|
:param 'MetricValueStatusPatchArgs' current: current contains the current value for the given metric
|
|
2799
|
-
:param str name: name is the name of the resource in question.
|
|
2856
|
+
:param builtins.str name: name is the name of the resource in question.
|
|
2800
2857
|
"""
|
|
2801
2858
|
if current is not None:
|
|
2802
2859
|
pulumi.set(__self__, "current", current)
|
|
@@ -2813,7 +2870,7 @@ class ResourceMetricStatusPatch(dict):
|
|
|
2813
2870
|
|
|
2814
2871
|
@property
|
|
2815
2872
|
@pulumi.getter
|
|
2816
|
-
def name(self) -> Optional[str]:
|
|
2873
|
+
def name(self) -> Optional[builtins.str]:
|
|
2817
2874
|
"""
|
|
2818
2875
|
name is the name of the resource in question.
|
|
2819
2876
|
"""
|