pulumi-kubernetes 4.10.0a1710288589__py3-none-any.whl → 4.20.0a1736823142__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 +123 -3
- pulumi_kubernetes/_inputs.py +63 -6
- pulumi_kubernetes/_utilities.py +41 -5
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfiguration.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationList.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/MutatingWebhookConfigurationPatch.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicy.py +226 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBinding.py +224 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingList.py +215 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyBindingPatch.py +236 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyList.py +215 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingAdmissionPolicyPatch.py +238 -0
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfiguration.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationList.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/ValidatingWebhookConfigurationPatch.py +11 -6
- pulumi_kubernetes/admissionregistration/v1/__init__.py +6 -0
- pulumi_kubernetes/admissionregistration/v1/_inputs.py +4571 -939
- pulumi_kubernetes/admissionregistration/v1/outputs.py +2880 -470
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicy.py +214 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBinding.py +222 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingList.py +215 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyBindingPatch.py +234 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyList.py +215 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/MutatingAdmissionPolicyPatch.py +226 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicy.py +12 -7
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBinding.py +12 -15
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingList.py +29 -23
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyBindingPatch.py +12 -15
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyList.py +29 -23
- pulumi_kubernetes/admissionregistration/v1alpha1/ValidatingAdmissionPolicyPatch.py +12 -7
- pulumi_kubernetes/admissionregistration/v1alpha1/__init__.py +6 -0
- pulumi_kubernetes/admissionregistration/v1alpha1/_inputs.py +2514 -141
- pulumi_kubernetes/admissionregistration/v1alpha1/outputs.py +1370 -246
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfiguration.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationList.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/MutatingWebhookConfigurationPatch.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicy.py +12 -7
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBinding.py +12 -7
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingList.py +29 -23
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyBindingPatch.py +12 -7
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyList.py +29 -23
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingAdmissionPolicyPatch.py +12 -7
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfiguration.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationList.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/ValidatingWebhookConfigurationPatch.py +11 -6
- pulumi_kubernetes/admissionregistration/v1beta1/_inputs.py +1522 -42
- pulumi_kubernetes/admissionregistration/v1beta1/outputs.py +9 -4
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinition.py +11 -6
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionList.py +11 -6
- pulumi_kubernetes/apiextensions/v1/CustomResourceDefinitionPatch.py +11 -6
- pulumi_kubernetes/apiextensions/v1/_inputs.py +1175 -12
- pulumi_kubernetes/apiextensions/v1/outputs.py +122 -8
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinition.py +10 -5
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionList.py +10 -5
- pulumi_kubernetes/apiextensions/v1beta1/CustomResourceDefinitionPatch.py +10 -5
- pulumi_kubernetes/apiextensions/v1beta1/_inputs.py +903 -6
- pulumi_kubernetes/apiextensions/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/apiregistration/v1/APIService.py +11 -6
- pulumi_kubernetes/apiregistration/v1/APIServiceList.py +11 -6
- pulumi_kubernetes/apiregistration/v1/APIServicePatch.py +11 -6
- pulumi_kubernetes/apiregistration/v1/_inputs.py +194 -0
- pulumi_kubernetes/apiregistration/v1/outputs.py +5 -0
- pulumi_kubernetes/apiregistration/v1beta1/APIService.py +10 -5
- pulumi_kubernetes/apiregistration/v1beta1/APIServiceList.py +9 -4
- pulumi_kubernetes/apiregistration/v1beta1/APIServicePatch.py +10 -5
- pulumi_kubernetes/apiregistration/v1beta1/_inputs.py +191 -0
- pulumi_kubernetes/apiregistration/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/apps/v1/ControllerRevision.py +8 -3
- pulumi_kubernetes/apps/v1/ControllerRevisionList.py +11 -6
- pulumi_kubernetes/apps/v1/ControllerRevisionPatch.py +8 -3
- pulumi_kubernetes/apps/v1/DaemonSet.py +11 -6
- pulumi_kubernetes/apps/v1/DaemonSetList.py +11 -6
- pulumi_kubernetes/apps/v1/DaemonSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1/Deployment.py +11 -6
- pulumi_kubernetes/apps/v1/DeploymentList.py +11 -6
- pulumi_kubernetes/apps/v1/DeploymentPatch.py +11 -6
- pulumi_kubernetes/apps/v1/ReplicaSet.py +11 -6
- pulumi_kubernetes/apps/v1/ReplicaSetList.py +11 -6
- pulumi_kubernetes/apps/v1/ReplicaSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1/StatefulSet.py +11 -6
- pulumi_kubernetes/apps/v1/StatefulSetList.py +11 -6
- pulumi_kubernetes/apps/v1/StatefulSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1/_inputs.py +1057 -8
- pulumi_kubernetes/apps/v1/outputs.py +13 -8
- pulumi_kubernetes/apps/v1beta1/ControllerRevision.py +8 -3
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionList.py +11 -6
- pulumi_kubernetes/apps/v1beta1/ControllerRevisionPatch.py +8 -3
- pulumi_kubernetes/apps/v1beta1/Deployment.py +11 -6
- pulumi_kubernetes/apps/v1beta1/DeploymentList.py +11 -6
- pulumi_kubernetes/apps/v1beta1/DeploymentPatch.py +11 -6
- pulumi_kubernetes/apps/v1beta1/StatefulSet.py +10 -5
- pulumi_kubernetes/apps/v1beta1/StatefulSetList.py +9 -4
- pulumi_kubernetes/apps/v1beta1/StatefulSetPatch.py +10 -5
- pulumi_kubernetes/apps/v1beta1/_inputs.py +603 -0
- pulumi_kubernetes/apps/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/apps/v1beta2/ControllerRevision.py +8 -3
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionList.py +11 -6
- pulumi_kubernetes/apps/v1beta2/ControllerRevisionPatch.py +8 -3
- pulumi_kubernetes/apps/v1beta2/DaemonSet.py +11 -6
- pulumi_kubernetes/apps/v1beta2/DaemonSetList.py +11 -6
- pulumi_kubernetes/apps/v1beta2/DaemonSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1beta2/Deployment.py +11 -6
- pulumi_kubernetes/apps/v1beta2/DeploymentList.py +11 -6
- pulumi_kubernetes/apps/v1beta2/DeploymentPatch.py +11 -6
- pulumi_kubernetes/apps/v1beta2/ReplicaSet.py +11 -6
- pulumi_kubernetes/apps/v1beta2/ReplicaSetList.py +11 -6
- pulumi_kubernetes/apps/v1beta2/ReplicaSetPatch.py +11 -6
- pulumi_kubernetes/apps/v1beta2/StatefulSet.py +10 -5
- pulumi_kubernetes/apps/v1beta2/StatefulSetList.py +9 -4
- pulumi_kubernetes/apps/v1beta2/StatefulSetPatch.py +10 -5
- pulumi_kubernetes/apps/v1beta2/_inputs.py +935 -0
- pulumi_kubernetes/apps/v1beta2/outputs.py +5 -0
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSink.py +10 -5
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkList.py +10 -5
- pulumi_kubernetes/auditregistration/v1alpha1/AuditSinkPatch.py +10 -5
- pulumi_kubernetes/auditregistration/v1alpha1/_inputs.py +281 -0
- pulumi_kubernetes/auditregistration/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscaler.py +11 -6
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerList.py +11 -6
- pulumi_kubernetes/autoscaling/v1/HorizontalPodAutoscalerPatch.py +11 -6
- pulumi_kubernetes/autoscaling/v1/_inputs.py +157 -0
- pulumi_kubernetes/autoscaling/v1/outputs.py +5 -0
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscaler.py +11 -6
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerList.py +11 -6
- pulumi_kubernetes/autoscaling/v2/HorizontalPodAutoscalerPatch.py +11 -6
- pulumi_kubernetes/autoscaling/v2/_inputs.py +815 -10
- pulumi_kubernetes/autoscaling/v2/outputs.py +17 -12
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscaler.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerList.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta1/HorizontalPodAutoscalerPatch.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta1/_inputs.py +652 -0
- pulumi_kubernetes/autoscaling/v2beta1/outputs.py +5 -0
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscaler.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerList.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta2/HorizontalPodAutoscalerPatch.py +11 -6
- pulumi_kubernetes/autoscaling/v2beta2/_inputs.py +796 -0
- pulumi_kubernetes/autoscaling/v2beta2/outputs.py +5 -0
- pulumi_kubernetes/batch/v1/CronJob.py +11 -6
- pulumi_kubernetes/batch/v1/CronJobList.py +11 -6
- pulumi_kubernetes/batch/v1/CronJobPatch.py +11 -6
- pulumi_kubernetes/batch/v1/Job.py +11 -6
- pulumi_kubernetes/batch/v1/JobList.py +11 -6
- pulumi_kubernetes/batch/v1/JobPatch.py +11 -6
- pulumi_kubernetes/batch/v1/_inputs.py +1070 -85
- pulumi_kubernetes/batch/v1/outputs.py +298 -40
- pulumi_kubernetes/batch/v1beta1/CronJob.py +11 -6
- pulumi_kubernetes/batch/v1beta1/CronJobList.py +11 -6
- pulumi_kubernetes/batch/v1beta1/CronJobPatch.py +11 -6
- pulumi_kubernetes/batch/v1beta1/_inputs.py +161 -0
- pulumi_kubernetes/batch/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/batch/v2alpha1/CronJob.py +11 -6
- pulumi_kubernetes/batch/v2alpha1/CronJobList.py +11 -6
- pulumi_kubernetes/batch/v2alpha1/CronJobPatch.py +11 -6
- pulumi_kubernetes/batch/v2alpha1/_inputs.py +161 -0
- pulumi_kubernetes/batch/v2alpha1/outputs.py +5 -0
- pulumi_kubernetes/certificates/v1/CertificateSigningRequest.py +10 -5
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestList.py +10 -5
- pulumi_kubernetes/certificates/v1/CertificateSigningRequestPatch.py +10 -5
- pulumi_kubernetes/certificates/v1/_inputs.py +290 -0
- pulumi_kubernetes/certificates/v1/outputs.py +5 -0
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundle.py +11 -6
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundleList.py +11 -6
- pulumi_kubernetes/certificates/v1alpha1/ClusterTrustBundlePatch.py +11 -6
- pulumi_kubernetes/certificates/v1alpha1/_inputs.py +94 -0
- pulumi_kubernetes/certificates/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequest.py +10 -5
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestList.py +9 -4
- pulumi_kubernetes/certificates/v1beta1/CertificateSigningRequestPatch.py +10 -5
- pulumi_kubernetes/certificates/v1beta1/_inputs.py +165 -0
- pulumi_kubernetes/certificates/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/coordination/__init__.py +6 -0
- pulumi_kubernetes/coordination/v1/Lease.py +11 -6
- pulumi_kubernetes/coordination/v1/LeaseList.py +11 -6
- pulumi_kubernetes/coordination/v1/LeasePatch.py +11 -6
- pulumi_kubernetes/coordination/v1/_inputs.py +180 -10
- pulumi_kubernetes/coordination/v1/outputs.py +67 -10
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidate.py +216 -0
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidateList.py +215 -0
- pulumi_kubernetes/coordination/v1alpha1/LeaseCandidatePatch.py +228 -0
- pulumi_kubernetes/coordination/v1alpha1/__init__.py +12 -0
- pulumi_kubernetes/coordination/v1alpha1/_inputs.py +418 -0
- pulumi_kubernetes/coordination/v1alpha1/outputs.py +334 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidate.py +216 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidateList.py +215 -0
- pulumi_kubernetes/coordination/v1alpha2/LeaseCandidatePatch.py +228 -0
- pulumi_kubernetes/coordination/v1alpha2/__init__.py +12 -0
- pulumi_kubernetes/coordination/v1alpha2/_inputs.py +393 -0
- pulumi_kubernetes/coordination/v1alpha2/outputs.py +313 -0
- pulumi_kubernetes/coordination/v1beta1/Lease.py +11 -6
- pulumi_kubernetes/coordination/v1beta1/LeaseList.py +11 -6
- pulumi_kubernetes/coordination/v1beta1/LeasePatch.py +11 -6
- pulumi_kubernetes/coordination/v1beta1/_inputs.py +90 -0
- pulumi_kubernetes/coordination/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/core/v1/Binding.py +13 -8
- pulumi_kubernetes/core/v1/BindingPatch.py +13 -8
- pulumi_kubernetes/core/v1/ConfigMap.py +8 -3
- pulumi_kubernetes/core/v1/ConfigMapList.py +11 -6
- pulumi_kubernetes/core/v1/ConfigMapPatch.py +8 -3
- pulumi_kubernetes/core/v1/Endpoints.py +11 -6
- pulumi_kubernetes/core/v1/EndpointsList.py +11 -6
- pulumi_kubernetes/core/v1/EndpointsPatch.py +11 -6
- pulumi_kubernetes/core/v1/Event.py +20 -15
- pulumi_kubernetes/core/v1/EventList.py +11 -6
- pulumi_kubernetes/core/v1/EventPatch.py +20 -15
- pulumi_kubernetes/core/v1/LimitRange.py +11 -6
- pulumi_kubernetes/core/v1/LimitRangeList.py +11 -6
- pulumi_kubernetes/core/v1/LimitRangePatch.py +11 -6
- pulumi_kubernetes/core/v1/Namespace.py +11 -6
- pulumi_kubernetes/core/v1/NamespaceList.py +11 -6
- pulumi_kubernetes/core/v1/NamespacePatch.py +11 -6
- pulumi_kubernetes/core/v1/Node.py +11 -6
- pulumi_kubernetes/core/v1/NodeList.py +11 -6
- pulumi_kubernetes/core/v1/NodePatch.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolume.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumeClaim.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumeClaimList.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumeClaimPatch.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumeList.py +11 -6
- pulumi_kubernetes/core/v1/PersistentVolumePatch.py +11 -6
- pulumi_kubernetes/core/v1/Pod.py +11 -6
- pulumi_kubernetes/core/v1/PodList.py +11 -6
- pulumi_kubernetes/core/v1/PodPatch.py +11 -6
- pulumi_kubernetes/core/v1/PodTemplate.py +11 -6
- pulumi_kubernetes/core/v1/PodTemplateList.py +11 -6
- pulumi_kubernetes/core/v1/PodTemplatePatch.py +11 -6
- pulumi_kubernetes/core/v1/ReplicationController.py +11 -6
- pulumi_kubernetes/core/v1/ReplicationControllerList.py +11 -6
- pulumi_kubernetes/core/v1/ReplicationControllerPatch.py +11 -6
- pulumi_kubernetes/core/v1/ResourceQuota.py +11 -6
- pulumi_kubernetes/core/v1/ResourceQuotaList.py +11 -6
- pulumi_kubernetes/core/v1/ResourceQuotaPatch.py +11 -6
- pulumi_kubernetes/core/v1/Secret.py +8 -3
- pulumi_kubernetes/core/v1/SecretList.py +11 -6
- pulumi_kubernetes/core/v1/SecretPatch.py +8 -3
- pulumi_kubernetes/core/v1/Service.py +17 -28
- pulumi_kubernetes/core/v1/ServiceAccount.py +17 -12
- pulumi_kubernetes/core/v1/ServiceAccountList.py +11 -6
- pulumi_kubernetes/core/v1/ServiceAccountPatch.py +17 -12
- pulumi_kubernetes/core/v1/ServiceList.py +11 -6
- pulumi_kubernetes/core/v1/ServicePatch.py +17 -28
- pulumi_kubernetes/core/v1/_inputs.py +11760 -756
- pulumi_kubernetes/core/v1/outputs.py +2131 -448
- pulumi_kubernetes/discovery/v1/EndpointSlice.py +14 -9
- pulumi_kubernetes/discovery/v1/EndpointSliceList.py +11 -6
- pulumi_kubernetes/discovery/v1/EndpointSlicePatch.py +14 -9
- pulumi_kubernetes/discovery/v1/_inputs.py +284 -0
- pulumi_kubernetes/discovery/v1/outputs.py +5 -0
- pulumi_kubernetes/discovery/v1beta1/EndpointSlice.py +14 -9
- pulumi_kubernetes/discovery/v1beta1/EndpointSliceList.py +11 -6
- pulumi_kubernetes/discovery/v1beta1/EndpointSlicePatch.py +14 -9
- pulumi_kubernetes/discovery/v1beta1/_inputs.py +210 -0
- pulumi_kubernetes/discovery/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/events/v1/Event.py +20 -15
- pulumi_kubernetes/events/v1/EventList.py +11 -6
- pulumi_kubernetes/events/v1/EventPatch.py +20 -15
- pulumi_kubernetes/events/v1/_inputs.py +118 -0
- pulumi_kubernetes/events/v1/outputs.py +5 -0
- pulumi_kubernetes/events/v1beta1/Event.py +19 -14
- pulumi_kubernetes/events/v1beta1/EventList.py +11 -6
- pulumi_kubernetes/events/v1beta1/EventPatch.py +19 -14
- pulumi_kubernetes/events/v1beta1/_inputs.py +123 -0
- pulumi_kubernetes/events/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/extensions/v1beta1/DaemonSet.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/DaemonSetList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/DaemonSetPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/Deployment.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/DeploymentList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/DeploymentPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/Ingress.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/IngressList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/IngressPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicy.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/NetworkPolicyPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicy.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/PodSecurityPolicyPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/ReplicaSet.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetList.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/ReplicaSetPatch.py +11 -6
- pulumi_kubernetes/extensions/v1beta1/_inputs.py +1884 -26
- pulumi_kubernetes/extensions/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1/_inputs.py +779 -0
- pulumi_kubernetes/flowcontrol/v1/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1alpha1/_inputs.py +671 -0
- pulumi_kubernetes/flowcontrol/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta1/_inputs.py +671 -0
- pulumi_kubernetes/flowcontrol/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta2/_inputs.py +771 -0
- pulumi_kubernetes/flowcontrol/v1beta2/outputs.py +5 -0
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchema.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/FlowSchemaPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfiguration.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationList.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/PriorityLevelConfigurationPatch.py +11 -6
- pulumi_kubernetes/flowcontrol/v1beta3/_inputs.py +779 -8
- pulumi_kubernetes/flowcontrol/v1beta3/outputs.py +13 -8
- pulumi_kubernetes/helm/__init__.py +3 -0
- pulumi_kubernetes/helm/v3/Release.py +8 -3
- pulumi_kubernetes/helm/v3/_inputs.py +42 -2
- pulumi_kubernetes/helm/v3/outputs.py +7 -2
- pulumi_kubernetes/helm/v4/Chart.py +721 -0
- pulumi_kubernetes/helm/v4/__init__.py +9 -0
- pulumi_kubernetes/helm/v4/_inputs.py +216 -0
- pulumi_kubernetes/kustomize/__init__.py +8 -0
- pulumi_kubernetes/kustomize/v2/Directory.py +219 -0
- pulumi_kubernetes/kustomize/v2/__init__.py +8 -0
- pulumi_kubernetes/meta/v1/Status.py +11 -6
- pulumi_kubernetes/meta/v1/StatusPatch.py +11 -6
- pulumi_kubernetes/meta/v1/_inputs.py +596 -0
- pulumi_kubernetes/meta/v1/outputs.py +5 -0
- pulumi_kubernetes/networking/v1/Ingress.py +11 -6
- pulumi_kubernetes/networking/v1/IngressClass.py +11 -6
- pulumi_kubernetes/networking/v1/IngressClassList.py +11 -6
- pulumi_kubernetes/networking/v1/IngressClassPatch.py +11 -6
- pulumi_kubernetes/networking/v1/IngressList.py +11 -6
- pulumi_kubernetes/networking/v1/IngressPatch.py +11 -6
- pulumi_kubernetes/networking/v1/NetworkPolicy.py +11 -6
- pulumi_kubernetes/networking/v1/NetworkPolicyList.py +11 -6
- pulumi_kubernetes/networking/v1/NetworkPolicyPatch.py +11 -6
- pulumi_kubernetes/networking/v1/_inputs.py +840 -0
- pulumi_kubernetes/networking/v1/outputs.py +5 -0
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDR.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRList.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/ClusterCIDRPatch.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/IPAddress.py +13 -6
- pulumi_kubernetes/networking/v1alpha1/IPAddressList.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/IPAddressPatch.py +13 -6
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDR.py +13 -6
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRList.py +11 -6
- pulumi_kubernetes/networking/v1alpha1/ServiceCIDRPatch.py +13 -6
- pulumi_kubernetes/networking/v1alpha1/_inputs.py +293 -37
- pulumi_kubernetes/networking/v1alpha1/outputs.py +26 -24
- pulumi_kubernetes/networking/v1beta1/IPAddress.py +216 -0
- pulumi_kubernetes/networking/v1beta1/IPAddressList.py +215 -0
- pulumi_kubernetes/networking/v1beta1/IPAddressPatch.py +228 -0
- pulumi_kubernetes/networking/v1beta1/Ingress.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressClass.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressClassList.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressClassPatch.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressList.py +11 -6
- pulumi_kubernetes/networking/v1beta1/IngressPatch.py +11 -6
- pulumi_kubernetes/networking/v1beta1/ServiceCIDR.py +226 -0
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRList.py +215 -0
- pulumi_kubernetes/networking/v1beta1/ServiceCIDRPatch.py +238 -0
- pulumi_kubernetes/networking/v1beta1/__init__.py +6 -0
- pulumi_kubernetes/networking/v1beta1/_inputs.py +984 -11
- pulumi_kubernetes/networking/v1beta1/outputs.py +466 -0
- pulumi_kubernetes/node/v1/RuntimeClass.py +14 -9
- pulumi_kubernetes/node/v1/RuntimeClassList.py +11 -6
- pulumi_kubernetes/node/v1/RuntimeClassPatch.py +14 -9
- pulumi_kubernetes/node/v1/_inputs.py +101 -0
- pulumi_kubernetes/node/v1/outputs.py +5 -0
- pulumi_kubernetes/node/v1alpha1/RuntimeClass.py +11 -6
- pulumi_kubernetes/node/v1alpha1/RuntimeClassList.py +11 -6
- pulumi_kubernetes/node/v1alpha1/RuntimeClassPatch.py +11 -6
- pulumi_kubernetes/node/v1alpha1/_inputs.py +134 -0
- pulumi_kubernetes/node/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/node/v1beta1/RuntimeClass.py +14 -9
- pulumi_kubernetes/node/v1beta1/RuntimeClassList.py +11 -6
- pulumi_kubernetes/node/v1beta1/RuntimeClassPatch.py +14 -9
- pulumi_kubernetes/node/v1beta1/_inputs.py +100 -0
- pulumi_kubernetes/node/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/policy/v1/PodDisruptionBudget.py +11 -6
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetList.py +11 -6
- pulumi_kubernetes/policy/v1/PodDisruptionBudgetPatch.py +11 -6
- pulumi_kubernetes/policy/v1/_inputs.py +151 -0
- pulumi_kubernetes/policy/v1/outputs.py +5 -0
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudget.py +10 -5
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetList.py +9 -4
- pulumi_kubernetes/policy/v1beta1/PodDisruptionBudgetPatch.py +10 -5
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicy.py +11 -6
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyList.py +11 -6
- pulumi_kubernetes/policy/v1beta1/PodSecurityPolicyPatch.py +11 -6
- pulumi_kubernetes/policy/v1beta1/_inputs.py +713 -0
- pulumi_kubernetes/policy/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/provider.py +82 -6
- pulumi_kubernetes/pulumi-plugin.json +2 -1
- pulumi_kubernetes/rbac/v1/ClusterRole.py +14 -9
- pulumi_kubernetes/rbac/v1/ClusterRoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1/ClusterRoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1/ClusterRoleList.py +11 -6
- pulumi_kubernetes/rbac/v1/ClusterRolePatch.py +14 -9
- pulumi_kubernetes/rbac/v1/Role.py +11 -6
- pulumi_kubernetes/rbac/v1/RoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1/RoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1/RoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1/RoleList.py +11 -6
- pulumi_kubernetes/rbac/v1/RolePatch.py +11 -6
- pulumi_kubernetes/rbac/v1/_inputs.py +295 -0
- pulumi_kubernetes/rbac/v1/outputs.py +5 -0
- pulumi_kubernetes/rbac/v1alpha1/ClusterRole.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/ClusterRoleList.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/ClusterRolePatch.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/Role.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/RoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/RoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1alpha1/RoleList.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/RolePatch.py +11 -6
- pulumi_kubernetes/rbac/v1alpha1/_inputs.py +295 -0
- pulumi_kubernetes/rbac/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/rbac/v1beta1/ClusterRole.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/ClusterRoleList.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/ClusterRolePatch.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/Role.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/RoleBinding.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/RoleBindingList.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/RoleBindingPatch.py +14 -9
- pulumi_kubernetes/rbac/v1beta1/RoleList.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/RolePatch.py +11 -6
- pulumi_kubernetes/rbac/v1beta1/_inputs.py +295 -0
- pulumi_kubernetes/rbac/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/resource/__init__.py +6 -0
- pulumi_kubernetes/resource/v1alpha1/PodScheduling.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingList.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/PodSchedulingPatch.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/ResourceClaim.py +12 -7
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimList.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimPatch.py +12 -7
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplate.py +12 -7
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplateList.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/ResourceClaimTemplatePatch.py +12 -7
- pulumi_kubernetes/resource/v1alpha1/ResourceClass.py +14 -9
- pulumi_kubernetes/resource/v1alpha1/ResourceClassList.py +11 -6
- pulumi_kubernetes/resource/v1alpha1/ResourceClassPatch.py +14 -9
- pulumi_kubernetes/resource/v1alpha1/_inputs.py +458 -0
- pulumi_kubernetes/resource/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContext.py +13 -6
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextList.py +11 -6
- pulumi_kubernetes/resource/v1alpha2/PodSchedulingContextPatch.py +13 -6
- pulumi_kubernetes/resource/v1alpha2/ResourceClaim.py +12 -7
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimList.py +11 -6
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParameters.py +280 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersList.py +215 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimParametersPatch.py +292 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimPatch.py +12 -7
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplate.py +12 -7
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplateList.py +11 -6
- pulumi_kubernetes/resource/v1alpha2/ResourceClaimTemplatePatch.py +12 -7
- pulumi_kubernetes/resource/v1alpha2/ResourceClass.py +43 -9
- pulumi_kubernetes/resource/v1alpha2/ResourceClassList.py +11 -6
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParameters.py +272 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersList.py +215 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClassParametersPatch.py +284 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceClassPatch.py +43 -9
- pulumi_kubernetes/resource/v1alpha2/ResourceSlice.py +283 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceSliceList.py +215 -0
- pulumi_kubernetes/resource/v1alpha2/ResourceSlicePatch.py +294 -0
- pulumi_kubernetes/resource/v1alpha2/__init__.py +9 -0
- pulumi_kubernetes/resource/v1alpha2/_inputs.py +3177 -634
- pulumi_kubernetes/resource/v1alpha2/outputs.py +2628 -880
- pulumi_kubernetes/resource/v1alpha3/DeviceClass.py +238 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceClassList.py +216 -0
- pulumi_kubernetes/resource/v1alpha3/DeviceClassPatch.py +249 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContext.py +231 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextList.py +215 -0
- pulumi_kubernetes/resource/v1alpha3/PodSchedulingContextPatch.py +242 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaim.py +232 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimList.py +216 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimPatch.py +243 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplate.py +229 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplateList.py +215 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceClaimTemplatePatch.py +240 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceSlice.py +246 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceSliceList.py +245 -0
- pulumi_kubernetes/resource/v1alpha3/ResourceSlicePatch.py +257 -0
- pulumi_kubernetes/resource/v1alpha3/__init__.py +24 -0
- pulumi_kubernetes/resource/v1alpha3/_inputs.py +4372 -0
- pulumi_kubernetes/resource/v1alpha3/outputs.py +3914 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClass.py +237 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClassList.py +215 -0
- pulumi_kubernetes/resource/v1beta1/DeviceClassPatch.py +248 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaim.py +232 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimList.py +216 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimPatch.py +243 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplate.py +229 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplateList.py +215 -0
- pulumi_kubernetes/resource/v1beta1/ResourceClaimTemplatePatch.py +240 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSlice.py +246 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSliceList.py +216 -0
- pulumi_kubernetes/resource/v1beta1/ResourceSlicePatch.py +257 -0
- pulumi_kubernetes/resource/v1beta1/__init__.py +21 -0
- pulumi_kubernetes/resource/v1beta1/_inputs.py +3867 -0
- pulumi_kubernetes/resource/v1beta1/outputs.py +3334 -0
- pulumi_kubernetes/scheduling/v1/PriorityClass.py +8 -3
- pulumi_kubernetes/scheduling/v1/PriorityClassList.py +11 -6
- pulumi_kubernetes/scheduling/v1/PriorityClassPatch.py +8 -3
- pulumi_kubernetes/scheduling/v1/_inputs.py +44 -0
- pulumi_kubernetes/scheduling/v1/outputs.py +5 -0
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClass.py +8 -3
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassList.py +11 -6
- pulumi_kubernetes/scheduling/v1alpha1/PriorityClassPatch.py +8 -3
- pulumi_kubernetes/scheduling/v1alpha1/_inputs.py +44 -0
- pulumi_kubernetes/scheduling/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/scheduling/v1beta1/PriorityClass.py +8 -3
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassList.py +11 -6
- pulumi_kubernetes/scheduling/v1beta1/PriorityClassPatch.py +8 -3
- pulumi_kubernetes/scheduling/v1beta1/_inputs.py +44 -0
- pulumi_kubernetes/scheduling/v1beta1/outputs.py +5 -0
- pulumi_kubernetes/settings/v1alpha1/PodPreset.py +9 -4
- pulumi_kubernetes/settings/v1alpha1/PodPresetList.py +11 -6
- pulumi_kubernetes/settings/v1alpha1/PodPresetPatch.py +9 -4
- pulumi_kubernetes/settings/v1alpha1/_inputs.py +84 -0
- pulumi_kubernetes/settings/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/storage/v1/CSIDriver.py +11 -6
- pulumi_kubernetes/storage/v1/CSIDriverList.py +11 -6
- pulumi_kubernetes/storage/v1/CSIDriverPatch.py +11 -6
- pulumi_kubernetes/storage/v1/CSINode.py +11 -6
- pulumi_kubernetes/storage/v1/CSINodeList.py +11 -6
- pulumi_kubernetes/storage/v1/CSINodePatch.py +11 -6
- pulumi_kubernetes/storage/v1/CSIStorageCapacity.py +11 -6
- pulumi_kubernetes/storage/v1/CSIStorageCapacityList.py +11 -6
- pulumi_kubernetes/storage/v1/CSIStorageCapacityPatch.py +11 -6
- pulumi_kubernetes/storage/v1/StorageClass.py +11 -6
- pulumi_kubernetes/storage/v1/StorageClassList.py +11 -6
- pulumi_kubernetes/storage/v1/StorageClassPatch.py +11 -6
- pulumi_kubernetes/storage/v1/VolumeAttachment.py +11 -6
- pulumi_kubernetes/storage/v1/VolumeAttachmentList.py +11 -6
- pulumi_kubernetes/storage/v1/VolumeAttachmentPatch.py +11 -6
- pulumi_kubernetes/storage/v1/_inputs.py +624 -10
- pulumi_kubernetes/storage/v1/outputs.py +17 -12
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachment.py +11 -6
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentList.py +11 -6
- pulumi_kubernetes/storage/v1alpha1/VolumeAttachmentPatch.py +11 -6
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClass.py +10 -3
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassList.py +11 -6
- pulumi_kubernetes/storage/v1alpha1/VolumeAttributesClassPatch.py +10 -3
- pulumi_kubernetes/storage/v1alpha1/_inputs.py +187 -0
- pulumi_kubernetes/storage/v1alpha1/outputs.py +5 -0
- pulumi_kubernetes/storage/v1beta1/CSIDriver.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIDriverList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIDriverPatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSINode.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSINodeList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSINodePatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacity.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/CSIStorageCapacityPatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/StorageClass.py +11 -6
- pulumi_kubernetes/storage/v1beta1/StorageClassList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/StorageClassPatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/VolumeAttachment.py +11 -6
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentList.py +11 -6
- pulumi_kubernetes/storage/v1beta1/VolumeAttachmentPatch.py +11 -6
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClass.py +252 -0
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassList.py +215 -0
- pulumi_kubernetes/storage/v1beta1/VolumeAttributesClassPatch.py +263 -0
- pulumi_kubernetes/storage/v1beta1/__init__.py +3 -0
- pulumi_kubernetes/storage/v1beta1/_inputs.py +689 -0
- pulumi_kubernetes/storage/v1beta1/outputs.py +99 -0
- pulumi_kubernetes/storagemigration/__init__.py +14 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigration.py +224 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationList.py +215 -0
- pulumi_kubernetes/storagemigration/v1alpha1/StorageVersionMigrationPatch.py +236 -0
- pulumi_kubernetes/storagemigration/v1alpha1/__init__.py +12 -0
- pulumi_kubernetes/storagemigration/v1alpha1/_inputs.py +585 -0
- pulumi_kubernetes/storagemigration/v1alpha1/outputs.py +593 -0
- pulumi_kubernetes/yaml/v2/ConfigFile.py +81 -4
- pulumi_kubernetes/yaml/v2/ConfigGroup.py +123 -42
- pulumi_kubernetes/yaml/yaml.py +264 -0
- {pulumi_kubernetes-4.10.0a1710288589.dist-info → pulumi_kubernetes-4.20.0a1736823142.dist-info}/METADATA +8 -7
- pulumi_kubernetes-4.20.0a1736823142.dist-info/RECORD +679 -0
- {pulumi_kubernetes-4.10.0a1710288589.dist-info → pulumi_kubernetes-4.20.0a1736823142.dist-info}/WHEEL +1 -1
- pulumi_kubernetes-4.10.0a1710288589.dist-info/RECORD +0 -592
- {pulumi_kubernetes-4.10.0a1710288589.dist-info → pulumi_kubernetes-4.20.0a1736823142.dist-info}/top_level.txt +0 -0
|
@@ -4,51 +4,114 @@
|
|
|
4
4
|
|
|
5
5
|
import copy
|
|
6
6
|
import warnings
|
|
7
|
+
import sys
|
|
7
8
|
import pulumi
|
|
8
9
|
import pulumi.runtime
|
|
9
10
|
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
10
15
|
from ... import _utilities
|
|
11
16
|
from ... import meta as _meta
|
|
12
17
|
|
|
13
18
|
__all__ = [
|
|
14
19
|
'ContainerResourceMetricSourcePatchArgs',
|
|
20
|
+
'ContainerResourceMetricSourcePatchArgsDict',
|
|
15
21
|
'ContainerResourceMetricSourceArgs',
|
|
22
|
+
'ContainerResourceMetricSourceArgsDict',
|
|
16
23
|
'ContainerResourceMetricStatusArgs',
|
|
24
|
+
'ContainerResourceMetricStatusArgsDict',
|
|
17
25
|
'CrossVersionObjectReferencePatchArgs',
|
|
26
|
+
'CrossVersionObjectReferencePatchArgsDict',
|
|
18
27
|
'CrossVersionObjectReferenceArgs',
|
|
28
|
+
'CrossVersionObjectReferenceArgsDict',
|
|
19
29
|
'ExternalMetricSourcePatchArgs',
|
|
30
|
+
'ExternalMetricSourcePatchArgsDict',
|
|
20
31
|
'ExternalMetricSourceArgs',
|
|
32
|
+
'ExternalMetricSourceArgsDict',
|
|
21
33
|
'ExternalMetricStatusArgs',
|
|
34
|
+
'ExternalMetricStatusArgsDict',
|
|
22
35
|
'HPAScalingPolicyPatchArgs',
|
|
36
|
+
'HPAScalingPolicyPatchArgsDict',
|
|
23
37
|
'HPAScalingPolicyArgs',
|
|
38
|
+
'HPAScalingPolicyArgsDict',
|
|
24
39
|
'HPAScalingRulesPatchArgs',
|
|
40
|
+
'HPAScalingRulesPatchArgsDict',
|
|
25
41
|
'HPAScalingRulesArgs',
|
|
42
|
+
'HPAScalingRulesArgsDict',
|
|
26
43
|
'HorizontalPodAutoscalerBehaviorPatchArgs',
|
|
44
|
+
'HorizontalPodAutoscalerBehaviorPatchArgsDict',
|
|
27
45
|
'HorizontalPodAutoscalerBehaviorArgs',
|
|
46
|
+
'HorizontalPodAutoscalerBehaviorArgsDict',
|
|
28
47
|
'HorizontalPodAutoscalerConditionArgs',
|
|
48
|
+
'HorizontalPodAutoscalerConditionArgsDict',
|
|
29
49
|
'HorizontalPodAutoscalerSpecPatchArgs',
|
|
50
|
+
'HorizontalPodAutoscalerSpecPatchArgsDict',
|
|
30
51
|
'HorizontalPodAutoscalerSpecArgs',
|
|
52
|
+
'HorizontalPodAutoscalerSpecArgsDict',
|
|
31
53
|
'HorizontalPodAutoscalerStatusArgs',
|
|
54
|
+
'HorizontalPodAutoscalerStatusArgsDict',
|
|
32
55
|
'HorizontalPodAutoscalerArgs',
|
|
56
|
+
'HorizontalPodAutoscalerArgsDict',
|
|
33
57
|
'MetricIdentifierPatchArgs',
|
|
58
|
+
'MetricIdentifierPatchArgsDict',
|
|
34
59
|
'MetricIdentifierArgs',
|
|
60
|
+
'MetricIdentifierArgsDict',
|
|
35
61
|
'MetricSpecPatchArgs',
|
|
62
|
+
'MetricSpecPatchArgsDict',
|
|
36
63
|
'MetricSpecArgs',
|
|
64
|
+
'MetricSpecArgsDict',
|
|
37
65
|
'MetricStatusArgs',
|
|
66
|
+
'MetricStatusArgsDict',
|
|
38
67
|
'MetricTargetPatchArgs',
|
|
68
|
+
'MetricTargetPatchArgsDict',
|
|
39
69
|
'MetricTargetArgs',
|
|
70
|
+
'MetricTargetArgsDict',
|
|
40
71
|
'MetricValueStatusArgs',
|
|
72
|
+
'MetricValueStatusArgsDict',
|
|
41
73
|
'ObjectMetricSourcePatchArgs',
|
|
74
|
+
'ObjectMetricSourcePatchArgsDict',
|
|
42
75
|
'ObjectMetricSourceArgs',
|
|
76
|
+
'ObjectMetricSourceArgsDict',
|
|
43
77
|
'ObjectMetricStatusArgs',
|
|
78
|
+
'ObjectMetricStatusArgsDict',
|
|
44
79
|
'PodsMetricSourcePatchArgs',
|
|
80
|
+
'PodsMetricSourcePatchArgsDict',
|
|
45
81
|
'PodsMetricSourceArgs',
|
|
82
|
+
'PodsMetricSourceArgsDict',
|
|
46
83
|
'PodsMetricStatusArgs',
|
|
84
|
+
'PodsMetricStatusArgsDict',
|
|
47
85
|
'ResourceMetricSourcePatchArgs',
|
|
86
|
+
'ResourceMetricSourcePatchArgsDict',
|
|
48
87
|
'ResourceMetricSourceArgs',
|
|
88
|
+
'ResourceMetricSourceArgsDict',
|
|
49
89
|
'ResourceMetricStatusArgs',
|
|
90
|
+
'ResourceMetricStatusArgsDict',
|
|
50
91
|
]
|
|
51
92
|
|
|
93
|
+
MYPY = False
|
|
94
|
+
|
|
95
|
+
if not MYPY:
|
|
96
|
+
class ContainerResourceMetricSourcePatchArgsDict(TypedDict):
|
|
97
|
+
"""
|
|
98
|
+
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
99
|
+
"""
|
|
100
|
+
container: NotRequired[pulumi.Input[str]]
|
|
101
|
+
"""
|
|
102
|
+
container is the name of the container in the pods of the scaling target
|
|
103
|
+
"""
|
|
104
|
+
name: NotRequired[pulumi.Input[str]]
|
|
105
|
+
"""
|
|
106
|
+
name is the name of the resource in question.
|
|
107
|
+
"""
|
|
108
|
+
target: NotRequired[pulumi.Input['MetricTargetPatchArgsDict']]
|
|
109
|
+
"""
|
|
110
|
+
target specifies the target value for the given metric
|
|
111
|
+
"""
|
|
112
|
+
elif False:
|
|
113
|
+
ContainerResourceMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
114
|
+
|
|
52
115
|
@pulumi.input_type
|
|
53
116
|
class ContainerResourceMetricSourcePatchArgs:
|
|
54
117
|
def __init__(__self__, *,
|
|
@@ -105,6 +168,26 @@ class ContainerResourceMetricSourcePatchArgs:
|
|
|
105
168
|
pulumi.set(self, "target", value)
|
|
106
169
|
|
|
107
170
|
|
|
171
|
+
if not MYPY:
|
|
172
|
+
class ContainerResourceMetricSourceArgsDict(TypedDict):
|
|
173
|
+
"""
|
|
174
|
+
ContainerResourceMetricSource indicates how to scale on a resource metric known to Kubernetes, as specified in requests and limits, describing each pod in the current scale target (e.g. CPU or memory). The values will be averaged together before being compared to the target. Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. Only one "target" type should be set.
|
|
175
|
+
"""
|
|
176
|
+
container: pulumi.Input[str]
|
|
177
|
+
"""
|
|
178
|
+
container is the name of the container in the pods of the scaling target
|
|
179
|
+
"""
|
|
180
|
+
name: pulumi.Input[str]
|
|
181
|
+
"""
|
|
182
|
+
name is the name of the resource in question.
|
|
183
|
+
"""
|
|
184
|
+
target: pulumi.Input['MetricTargetArgsDict']
|
|
185
|
+
"""
|
|
186
|
+
target specifies the target value for the given metric
|
|
187
|
+
"""
|
|
188
|
+
elif False:
|
|
189
|
+
ContainerResourceMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
|
|
190
|
+
|
|
108
191
|
@pulumi.input_type
|
|
109
192
|
class ContainerResourceMetricSourceArgs:
|
|
110
193
|
def __init__(__self__, *,
|
|
@@ -158,6 +241,26 @@ class ContainerResourceMetricSourceArgs:
|
|
|
158
241
|
pulumi.set(self, "target", value)
|
|
159
242
|
|
|
160
243
|
|
|
244
|
+
if not MYPY:
|
|
245
|
+
class ContainerResourceMetricStatusArgsDict(TypedDict):
|
|
246
|
+
"""
|
|
247
|
+
ContainerResourceMetricStatus indicates the current value of a resource metric known to Kubernetes, as specified in requests and limits, describing a single container in each pod in the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source.
|
|
248
|
+
"""
|
|
249
|
+
container: pulumi.Input[str]
|
|
250
|
+
"""
|
|
251
|
+
Container is the name of the container in the pods of the scaling target
|
|
252
|
+
"""
|
|
253
|
+
current: pulumi.Input['MetricValueStatusArgsDict']
|
|
254
|
+
"""
|
|
255
|
+
current contains the current value for the given metric
|
|
256
|
+
"""
|
|
257
|
+
name: pulumi.Input[str]
|
|
258
|
+
"""
|
|
259
|
+
Name is the name of the resource in question.
|
|
260
|
+
"""
|
|
261
|
+
elif False:
|
|
262
|
+
ContainerResourceMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
263
|
+
|
|
161
264
|
@pulumi.input_type
|
|
162
265
|
class ContainerResourceMetricStatusArgs:
|
|
163
266
|
def __init__(__self__, *,
|
|
@@ -211,6 +314,26 @@ class ContainerResourceMetricStatusArgs:
|
|
|
211
314
|
pulumi.set(self, "name", value)
|
|
212
315
|
|
|
213
316
|
|
|
317
|
+
if not MYPY:
|
|
318
|
+
class CrossVersionObjectReferencePatchArgsDict(TypedDict):
|
|
319
|
+
"""
|
|
320
|
+
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
321
|
+
"""
|
|
322
|
+
api_version: NotRequired[pulumi.Input[str]]
|
|
323
|
+
"""
|
|
324
|
+
API version of the referent
|
|
325
|
+
"""
|
|
326
|
+
kind: NotRequired[pulumi.Input[str]]
|
|
327
|
+
"""
|
|
328
|
+
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
329
|
+
"""
|
|
330
|
+
name: NotRequired[pulumi.Input[str]]
|
|
331
|
+
"""
|
|
332
|
+
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
333
|
+
"""
|
|
334
|
+
elif False:
|
|
335
|
+
CrossVersionObjectReferencePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
336
|
+
|
|
214
337
|
@pulumi.input_type
|
|
215
338
|
class CrossVersionObjectReferencePatchArgs:
|
|
216
339
|
def __init__(__self__, *,
|
|
@@ -267,6 +390,26 @@ class CrossVersionObjectReferencePatchArgs:
|
|
|
267
390
|
pulumi.set(self, "name", value)
|
|
268
391
|
|
|
269
392
|
|
|
393
|
+
if not MYPY:
|
|
394
|
+
class CrossVersionObjectReferenceArgsDict(TypedDict):
|
|
395
|
+
"""
|
|
396
|
+
CrossVersionObjectReference contains enough information to let you identify the referred resource.
|
|
397
|
+
"""
|
|
398
|
+
kind: pulumi.Input[str]
|
|
399
|
+
"""
|
|
400
|
+
Kind of the referent; More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds"
|
|
401
|
+
"""
|
|
402
|
+
name: pulumi.Input[str]
|
|
403
|
+
"""
|
|
404
|
+
Name of the referent; More info: http://kubernetes.io/docs/user-guide/identifiers#names
|
|
405
|
+
"""
|
|
406
|
+
api_version: NotRequired[pulumi.Input[str]]
|
|
407
|
+
"""
|
|
408
|
+
API version of the referent
|
|
409
|
+
"""
|
|
410
|
+
elif False:
|
|
411
|
+
CrossVersionObjectReferenceArgsDict: TypeAlias = Mapping[str, Any]
|
|
412
|
+
|
|
270
413
|
@pulumi.input_type
|
|
271
414
|
class CrossVersionObjectReferenceArgs:
|
|
272
415
|
def __init__(__self__, *,
|
|
@@ -321,6 +464,22 @@ class CrossVersionObjectReferenceArgs:
|
|
|
321
464
|
pulumi.set(self, "api_version", value)
|
|
322
465
|
|
|
323
466
|
|
|
467
|
+
if not MYPY:
|
|
468
|
+
class ExternalMetricSourcePatchArgsDict(TypedDict):
|
|
469
|
+
"""
|
|
470
|
+
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
471
|
+
"""
|
|
472
|
+
metric: NotRequired[pulumi.Input['MetricIdentifierPatchArgsDict']]
|
|
473
|
+
"""
|
|
474
|
+
metric identifies the target metric by name and selector
|
|
475
|
+
"""
|
|
476
|
+
target: NotRequired[pulumi.Input['MetricTargetPatchArgsDict']]
|
|
477
|
+
"""
|
|
478
|
+
target specifies the target value for the given metric
|
|
479
|
+
"""
|
|
480
|
+
elif False:
|
|
481
|
+
ExternalMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
482
|
+
|
|
324
483
|
@pulumi.input_type
|
|
325
484
|
class ExternalMetricSourcePatchArgs:
|
|
326
485
|
def __init__(__self__, *,
|
|
@@ -361,6 +520,22 @@ class ExternalMetricSourcePatchArgs:
|
|
|
361
520
|
pulumi.set(self, "target", value)
|
|
362
521
|
|
|
363
522
|
|
|
523
|
+
if not MYPY:
|
|
524
|
+
class ExternalMetricSourceArgsDict(TypedDict):
|
|
525
|
+
"""
|
|
526
|
+
ExternalMetricSource indicates how to scale on a metric not associated with any Kubernetes object (for example length of queue in cloud messaging service, or QPS from loadbalancer running outside of cluster).
|
|
527
|
+
"""
|
|
528
|
+
metric: pulumi.Input['MetricIdentifierArgsDict']
|
|
529
|
+
"""
|
|
530
|
+
metric identifies the target metric by name and selector
|
|
531
|
+
"""
|
|
532
|
+
target: pulumi.Input['MetricTargetArgsDict']
|
|
533
|
+
"""
|
|
534
|
+
target specifies the target value for the given metric
|
|
535
|
+
"""
|
|
536
|
+
elif False:
|
|
537
|
+
ExternalMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
|
|
538
|
+
|
|
364
539
|
@pulumi.input_type
|
|
365
540
|
class ExternalMetricSourceArgs:
|
|
366
541
|
def __init__(__self__, *,
|
|
@@ -399,6 +574,22 @@ class ExternalMetricSourceArgs:
|
|
|
399
574
|
pulumi.set(self, "target", value)
|
|
400
575
|
|
|
401
576
|
|
|
577
|
+
if not MYPY:
|
|
578
|
+
class ExternalMetricStatusArgsDict(TypedDict):
|
|
579
|
+
"""
|
|
580
|
+
ExternalMetricStatus indicates the current value of a global metric not associated with any Kubernetes object.
|
|
581
|
+
"""
|
|
582
|
+
current: pulumi.Input['MetricValueStatusArgsDict']
|
|
583
|
+
"""
|
|
584
|
+
current contains the current value for the given metric
|
|
585
|
+
"""
|
|
586
|
+
metric: pulumi.Input['MetricIdentifierArgsDict']
|
|
587
|
+
"""
|
|
588
|
+
metric identifies the target metric by name and selector
|
|
589
|
+
"""
|
|
590
|
+
elif False:
|
|
591
|
+
ExternalMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
592
|
+
|
|
402
593
|
@pulumi.input_type
|
|
403
594
|
class ExternalMetricStatusArgs:
|
|
404
595
|
def __init__(__self__, *,
|
|
@@ -437,6 +628,26 @@ class ExternalMetricStatusArgs:
|
|
|
437
628
|
pulumi.set(self, "metric", value)
|
|
438
629
|
|
|
439
630
|
|
|
631
|
+
if not MYPY:
|
|
632
|
+
class HPAScalingPolicyPatchArgsDict(TypedDict):
|
|
633
|
+
"""
|
|
634
|
+
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
635
|
+
"""
|
|
636
|
+
period_seconds: NotRequired[pulumi.Input[int]]
|
|
637
|
+
"""
|
|
638
|
+
PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
639
|
+
"""
|
|
640
|
+
type: NotRequired[pulumi.Input[str]]
|
|
641
|
+
"""
|
|
642
|
+
Type is used to specify the scaling policy.
|
|
643
|
+
"""
|
|
644
|
+
value: NotRequired[pulumi.Input[int]]
|
|
645
|
+
"""
|
|
646
|
+
Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
647
|
+
"""
|
|
648
|
+
elif False:
|
|
649
|
+
HPAScalingPolicyPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
650
|
+
|
|
440
651
|
@pulumi.input_type
|
|
441
652
|
class HPAScalingPolicyPatchArgs:
|
|
442
653
|
def __init__(__self__, *,
|
|
@@ -493,6 +704,26 @@ class HPAScalingPolicyPatchArgs:
|
|
|
493
704
|
pulumi.set(self, "value", value)
|
|
494
705
|
|
|
495
706
|
|
|
707
|
+
if not MYPY:
|
|
708
|
+
class HPAScalingPolicyArgsDict(TypedDict):
|
|
709
|
+
"""
|
|
710
|
+
HPAScalingPolicy is a single policy which must hold true for a specified past interval.
|
|
711
|
+
"""
|
|
712
|
+
period_seconds: pulumi.Input[int]
|
|
713
|
+
"""
|
|
714
|
+
PeriodSeconds specifies the window of time for which the policy should hold true. PeriodSeconds must be greater than zero and less than or equal to 1800 (30 min).
|
|
715
|
+
"""
|
|
716
|
+
type: pulumi.Input[str]
|
|
717
|
+
"""
|
|
718
|
+
Type is used to specify the scaling policy.
|
|
719
|
+
"""
|
|
720
|
+
value: pulumi.Input[int]
|
|
721
|
+
"""
|
|
722
|
+
Value contains the amount of change which is permitted by the policy. It must be greater than zero
|
|
723
|
+
"""
|
|
724
|
+
elif False:
|
|
725
|
+
HPAScalingPolicyArgsDict: TypeAlias = Mapping[str, Any]
|
|
726
|
+
|
|
496
727
|
@pulumi.input_type
|
|
497
728
|
class HPAScalingPolicyArgs:
|
|
498
729
|
def __init__(__self__, *,
|
|
@@ -546,6 +777,26 @@ class HPAScalingPolicyArgs:
|
|
|
546
777
|
pulumi.set(self, "value", value)
|
|
547
778
|
|
|
548
779
|
|
|
780
|
+
if not MYPY:
|
|
781
|
+
class HPAScalingRulesPatchArgsDict(TypedDict):
|
|
782
|
+
"""
|
|
783
|
+
HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
|
|
784
|
+
"""
|
|
785
|
+
policies: NotRequired[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyPatchArgsDict']]]]
|
|
786
|
+
"""
|
|
787
|
+
policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
|
|
788
|
+
"""
|
|
789
|
+
select_policy: NotRequired[pulumi.Input[str]]
|
|
790
|
+
"""
|
|
791
|
+
selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
792
|
+
"""
|
|
793
|
+
stabilization_window_seconds: NotRequired[pulumi.Input[int]]
|
|
794
|
+
"""
|
|
795
|
+
StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
796
|
+
"""
|
|
797
|
+
elif False:
|
|
798
|
+
HPAScalingRulesPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
799
|
+
|
|
549
800
|
@pulumi.input_type
|
|
550
801
|
class HPAScalingRulesPatchArgs:
|
|
551
802
|
def __init__(__self__, *,
|
|
@@ -602,6 +853,26 @@ class HPAScalingRulesPatchArgs:
|
|
|
602
853
|
pulumi.set(self, "stabilization_window_seconds", value)
|
|
603
854
|
|
|
604
855
|
|
|
856
|
+
if not MYPY:
|
|
857
|
+
class HPAScalingRulesArgsDict(TypedDict):
|
|
858
|
+
"""
|
|
859
|
+
HPAScalingRules configures the scaling behavior for one direction. These Rules are applied after calculating DesiredReplicas from metrics for the HPA. They can limit the scaling velocity by specifying scaling policies. They can prevent flapping by specifying the stabilization window, so that the number of replicas is not set instantly, instead, the safest value from the stabilization window is chosen.
|
|
860
|
+
"""
|
|
861
|
+
policies: NotRequired[pulumi.Input[Sequence[pulumi.Input['HPAScalingPolicyArgsDict']]]]
|
|
862
|
+
"""
|
|
863
|
+
policies is a list of potential scaling polices which can be used during scaling. At least one policy must be specified, otherwise the HPAScalingRules will be discarded as invalid
|
|
864
|
+
"""
|
|
865
|
+
select_policy: NotRequired[pulumi.Input[str]]
|
|
866
|
+
"""
|
|
867
|
+
selectPolicy is used to specify which policy should be used. If not set, the default value MaxPolicySelect is used.
|
|
868
|
+
"""
|
|
869
|
+
stabilization_window_seconds: NotRequired[pulumi.Input[int]]
|
|
870
|
+
"""
|
|
871
|
+
StabilizationWindowSeconds is the number of seconds for which past recommendations should be considered while scaling up or scaling down. StabilizationWindowSeconds must be greater than or equal to zero and less than or equal to 3600 (one hour). If not set, use the default values: - For scale up: 0 (i.e. no stabilization is done). - For scale down: 300 (i.e. the stabilization window is 300 seconds long).
|
|
872
|
+
"""
|
|
873
|
+
elif False:
|
|
874
|
+
HPAScalingRulesArgsDict: TypeAlias = Mapping[str, Any]
|
|
875
|
+
|
|
605
876
|
@pulumi.input_type
|
|
606
877
|
class HPAScalingRulesArgs:
|
|
607
878
|
def __init__(__self__, *,
|
|
@@ -658,6 +929,25 @@ class HPAScalingRulesArgs:
|
|
|
658
929
|
pulumi.set(self, "stabilization_window_seconds", value)
|
|
659
930
|
|
|
660
931
|
|
|
932
|
+
if not MYPY:
|
|
933
|
+
class HorizontalPodAutoscalerBehaviorPatchArgsDict(TypedDict):
|
|
934
|
+
"""
|
|
935
|
+
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
|
|
936
|
+
"""
|
|
937
|
+
scale_down: NotRequired[pulumi.Input['HPAScalingRulesPatchArgsDict']]
|
|
938
|
+
"""
|
|
939
|
+
scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used).
|
|
940
|
+
"""
|
|
941
|
+
scale_up: NotRequired[pulumi.Input['HPAScalingRulesPatchArgsDict']]
|
|
942
|
+
"""
|
|
943
|
+
scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:
|
|
944
|
+
* increase no more than 4 pods per 60 seconds
|
|
945
|
+
* double the number of pods per 60 seconds
|
|
946
|
+
No stabilization is used.
|
|
947
|
+
"""
|
|
948
|
+
elif False:
|
|
949
|
+
HorizontalPodAutoscalerBehaviorPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
950
|
+
|
|
661
951
|
@pulumi.input_type
|
|
662
952
|
class HorizontalPodAutoscalerBehaviorPatchArgs:
|
|
663
953
|
def __init__(__self__, *,
|
|
@@ -704,6 +994,25 @@ class HorizontalPodAutoscalerBehaviorPatchArgs:
|
|
|
704
994
|
pulumi.set(self, "scale_up", value)
|
|
705
995
|
|
|
706
996
|
|
|
997
|
+
if not MYPY:
|
|
998
|
+
class HorizontalPodAutoscalerBehaviorArgsDict(TypedDict):
|
|
999
|
+
"""
|
|
1000
|
+
HorizontalPodAutoscalerBehavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively).
|
|
1001
|
+
"""
|
|
1002
|
+
scale_down: NotRequired[pulumi.Input['HPAScalingRulesArgsDict']]
|
|
1003
|
+
"""
|
|
1004
|
+
scaleDown is scaling policy for scaling Down. If not set, the default value is to allow to scale down to minReplicas pods, with a 300 second stabilization window (i.e., the highest recommendation for the last 300sec is used).
|
|
1005
|
+
"""
|
|
1006
|
+
scale_up: NotRequired[pulumi.Input['HPAScalingRulesArgsDict']]
|
|
1007
|
+
"""
|
|
1008
|
+
scaleUp is scaling policy for scaling Up. If not set, the default value is the higher of:
|
|
1009
|
+
* increase no more than 4 pods per 60 seconds
|
|
1010
|
+
* double the number of pods per 60 seconds
|
|
1011
|
+
No stabilization is used.
|
|
1012
|
+
"""
|
|
1013
|
+
elif False:
|
|
1014
|
+
HorizontalPodAutoscalerBehaviorArgsDict: TypeAlias = Mapping[str, Any]
|
|
1015
|
+
|
|
707
1016
|
@pulumi.input_type
|
|
708
1017
|
class HorizontalPodAutoscalerBehaviorArgs:
|
|
709
1018
|
def __init__(__self__, *,
|
|
@@ -750,6 +1059,34 @@ class HorizontalPodAutoscalerBehaviorArgs:
|
|
|
750
1059
|
pulumi.set(self, "scale_up", value)
|
|
751
1060
|
|
|
752
1061
|
|
|
1062
|
+
if not MYPY:
|
|
1063
|
+
class HorizontalPodAutoscalerConditionArgsDict(TypedDict):
|
|
1064
|
+
"""
|
|
1065
|
+
HorizontalPodAutoscalerCondition describes the state of a HorizontalPodAutoscaler at a certain point.
|
|
1066
|
+
"""
|
|
1067
|
+
status: pulumi.Input[str]
|
|
1068
|
+
"""
|
|
1069
|
+
status is the status of the condition (True, False, Unknown)
|
|
1070
|
+
"""
|
|
1071
|
+
type: pulumi.Input[str]
|
|
1072
|
+
"""
|
|
1073
|
+
type describes the current condition
|
|
1074
|
+
"""
|
|
1075
|
+
last_transition_time: NotRequired[pulumi.Input[str]]
|
|
1076
|
+
"""
|
|
1077
|
+
lastTransitionTime is the last time the condition transitioned from one status to another
|
|
1078
|
+
"""
|
|
1079
|
+
message: NotRequired[pulumi.Input[str]]
|
|
1080
|
+
"""
|
|
1081
|
+
message is a human-readable explanation containing details about the transition
|
|
1082
|
+
"""
|
|
1083
|
+
reason: NotRequired[pulumi.Input[str]]
|
|
1084
|
+
"""
|
|
1085
|
+
reason is the reason for the condition's last transition.
|
|
1086
|
+
"""
|
|
1087
|
+
elif False:
|
|
1088
|
+
HorizontalPodAutoscalerConditionArgsDict: TypeAlias = Mapping[str, Any]
|
|
1089
|
+
|
|
753
1090
|
@pulumi.input_type
|
|
754
1091
|
class HorizontalPodAutoscalerConditionArgs:
|
|
755
1092
|
def __init__(__self__, *,
|
|
@@ -836,6 +1173,34 @@ class HorizontalPodAutoscalerConditionArgs:
|
|
|
836
1173
|
pulumi.set(self, "reason", value)
|
|
837
1174
|
|
|
838
1175
|
|
|
1176
|
+
if not MYPY:
|
|
1177
|
+
class HorizontalPodAutoscalerSpecPatchArgsDict(TypedDict):
|
|
1178
|
+
"""
|
|
1179
|
+
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1180
|
+
"""
|
|
1181
|
+
behavior: NotRequired[pulumi.Input['HorizontalPodAutoscalerBehaviorPatchArgsDict']]
|
|
1182
|
+
"""
|
|
1183
|
+
behavior configures the scaling behavior of the target in both Up and Down directions (scaleUp and scaleDown fields respectively). If not set, the default HPAScalingRules for scale up and scale down are used.
|
|
1184
|
+
"""
|
|
1185
|
+
max_replicas: NotRequired[pulumi.Input[int]]
|
|
1186
|
+
"""
|
|
1187
|
+
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1188
|
+
"""
|
|
1189
|
+
metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['MetricSpecPatchArgsDict']]]]
|
|
1190
|
+
"""
|
|
1191
|
+
metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1192
|
+
"""
|
|
1193
|
+
min_replicas: NotRequired[pulumi.Input[int]]
|
|
1194
|
+
"""
|
|
1195
|
+
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1196
|
+
"""
|
|
1197
|
+
scale_target_ref: NotRequired[pulumi.Input['CrossVersionObjectReferencePatchArgsDict']]
|
|
1198
|
+
"""
|
|
1199
|
+
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.
|
|
1200
|
+
"""
|
|
1201
|
+
elif False:
|
|
1202
|
+
HorizontalPodAutoscalerSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
1203
|
+
|
|
839
1204
|
@pulumi.input_type
|
|
840
1205
|
class HorizontalPodAutoscalerSpecPatchArgs:
|
|
841
1206
|
def __init__(__self__, *,
|
|
@@ -924,6 +1289,34 @@ class HorizontalPodAutoscalerSpecPatchArgs:
|
|
|
924
1289
|
pulumi.set(self, "scale_target_ref", value)
|
|
925
1290
|
|
|
926
1291
|
|
|
1292
|
+
if not MYPY:
|
|
1293
|
+
class HorizontalPodAutoscalerSpecArgsDict(TypedDict):
|
|
1294
|
+
"""
|
|
1295
|
+
HorizontalPodAutoscalerSpec describes the desired functionality of the HorizontalPodAutoscaler.
|
|
1296
|
+
"""
|
|
1297
|
+
max_replicas: pulumi.Input[int]
|
|
1298
|
+
"""
|
|
1299
|
+
maxReplicas is the upper limit for the number of replicas to which the autoscaler can scale up. It cannot be less that minReplicas.
|
|
1300
|
+
"""
|
|
1301
|
+
scale_target_ref: pulumi.Input['CrossVersionObjectReferenceArgsDict']
|
|
1302
|
+
"""
|
|
1303
|
+
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.
|
|
1304
|
+
"""
|
|
1305
|
+
behavior: NotRequired[pulumi.Input['HorizontalPodAutoscalerBehaviorArgsDict']]
|
|
1306
|
+
"""
|
|
1307
|
+
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.
|
|
1308
|
+
"""
|
|
1309
|
+
metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['MetricSpecArgsDict']]]]
|
|
1310
|
+
"""
|
|
1311
|
+
metrics contains the specifications for which to use to calculate the desired replica count (the maximum replica count across all metrics will be used). The desired replica count is calculated multiplying the ratio between the target value and the current value by the current number of pods. Ergo, metrics used must decrease as the pod count is increased, and vice-versa. See the individual metric source types for more information about how each type of metric must respond. If not set, the default metric will be set to 80% average CPU utilization.
|
|
1312
|
+
"""
|
|
1313
|
+
min_replicas: NotRequired[pulumi.Input[int]]
|
|
1314
|
+
"""
|
|
1315
|
+
minReplicas is the lower limit for the number of replicas to which the autoscaler can scale down. It defaults to 1 pod. minReplicas is allowed to be 0 if the alpha feature gate HPAScaleToZero is enabled and at least one Object or External metric is configured. Scaling is active as long as at least one metric value is available.
|
|
1316
|
+
"""
|
|
1317
|
+
elif False:
|
|
1318
|
+
HorizontalPodAutoscalerSpecArgsDict: TypeAlias = Mapping[str, Any]
|
|
1319
|
+
|
|
927
1320
|
@pulumi.input_type
|
|
928
1321
|
class HorizontalPodAutoscalerSpecArgs:
|
|
929
1322
|
def __init__(__self__, *,
|
|
@@ -1010,6 +1403,38 @@ class HorizontalPodAutoscalerSpecArgs:
|
|
|
1010
1403
|
pulumi.set(self, "min_replicas", value)
|
|
1011
1404
|
|
|
1012
1405
|
|
|
1406
|
+
if not MYPY:
|
|
1407
|
+
class HorizontalPodAutoscalerStatusArgsDict(TypedDict):
|
|
1408
|
+
"""
|
|
1409
|
+
HorizontalPodAutoscalerStatus describes the current status of a horizontal pod autoscaler.
|
|
1410
|
+
"""
|
|
1411
|
+
conditions: pulumi.Input[Sequence[pulumi.Input['HorizontalPodAutoscalerConditionArgsDict']]]
|
|
1412
|
+
"""
|
|
1413
|
+
conditions is the set of conditions required for this autoscaler to scale its target, and indicates whether or not those conditions are met.
|
|
1414
|
+
"""
|
|
1415
|
+
current_replicas: pulumi.Input[int]
|
|
1416
|
+
"""
|
|
1417
|
+
currentReplicas is current number of replicas of pods managed by this autoscaler, as last seen by the autoscaler.
|
|
1418
|
+
"""
|
|
1419
|
+
desired_replicas: pulumi.Input[int]
|
|
1420
|
+
"""
|
|
1421
|
+
desiredReplicas is the desired number of replicas of pods managed by this autoscaler, as last calculated by the autoscaler.
|
|
1422
|
+
"""
|
|
1423
|
+
current_metrics: NotRequired[pulumi.Input[Sequence[pulumi.Input['MetricStatusArgsDict']]]]
|
|
1424
|
+
"""
|
|
1425
|
+
currentMetrics is the last read state of the metrics used by this autoscaler.
|
|
1426
|
+
"""
|
|
1427
|
+
last_scale_time: NotRequired[pulumi.Input[str]]
|
|
1428
|
+
"""
|
|
1429
|
+
lastScaleTime is the last time the HorizontalPodAutoscaler scaled the number of pods, used by the autoscaler to control how often the number of pods is changed.
|
|
1430
|
+
"""
|
|
1431
|
+
observed_generation: NotRequired[pulumi.Input[int]]
|
|
1432
|
+
"""
|
|
1433
|
+
observedGeneration is the most recent generation observed by this autoscaler.
|
|
1434
|
+
"""
|
|
1435
|
+
elif False:
|
|
1436
|
+
HorizontalPodAutoscalerStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
1437
|
+
|
|
1013
1438
|
@pulumi.input_type
|
|
1014
1439
|
class HorizontalPodAutoscalerStatusArgs:
|
|
1015
1440
|
def __init__(__self__, *,
|
|
@@ -1111,6 +1536,34 @@ class HorizontalPodAutoscalerStatusArgs:
|
|
|
1111
1536
|
pulumi.set(self, "observed_generation", value)
|
|
1112
1537
|
|
|
1113
1538
|
|
|
1539
|
+
if not MYPY:
|
|
1540
|
+
class HorizontalPodAutoscalerArgsDict(TypedDict):
|
|
1541
|
+
"""
|
|
1542
|
+
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.
|
|
1543
|
+
"""
|
|
1544
|
+
api_version: NotRequired[pulumi.Input[str]]
|
|
1545
|
+
"""
|
|
1546
|
+
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
|
|
1547
|
+
"""
|
|
1548
|
+
kind: NotRequired[pulumi.Input[str]]
|
|
1549
|
+
"""
|
|
1550
|
+
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
|
|
1551
|
+
"""
|
|
1552
|
+
metadata: NotRequired[pulumi.Input['_meta.v1.ObjectMetaArgsDict']]
|
|
1553
|
+
"""
|
|
1554
|
+
metadata is the standard object metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
|
|
1555
|
+
"""
|
|
1556
|
+
spec: NotRequired[pulumi.Input['HorizontalPodAutoscalerSpecArgsDict']]
|
|
1557
|
+
"""
|
|
1558
|
+
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.
|
|
1559
|
+
"""
|
|
1560
|
+
status: NotRequired[pulumi.Input['HorizontalPodAutoscalerStatusArgsDict']]
|
|
1561
|
+
"""
|
|
1562
|
+
status is the current information about the autoscaler.
|
|
1563
|
+
"""
|
|
1564
|
+
elif False:
|
|
1565
|
+
HorizontalPodAutoscalerArgsDict: TypeAlias = Mapping[str, Any]
|
|
1566
|
+
|
|
1114
1567
|
@pulumi.input_type
|
|
1115
1568
|
class HorizontalPodAutoscalerArgs:
|
|
1116
1569
|
def __init__(__self__, *,
|
|
@@ -1199,6 +1652,22 @@ class HorizontalPodAutoscalerArgs:
|
|
|
1199
1652
|
pulumi.set(self, "status", value)
|
|
1200
1653
|
|
|
1201
1654
|
|
|
1655
|
+
if not MYPY:
|
|
1656
|
+
class MetricIdentifierPatchArgsDict(TypedDict):
|
|
1657
|
+
"""
|
|
1658
|
+
MetricIdentifier defines the name and optionally selector for a metric
|
|
1659
|
+
"""
|
|
1660
|
+
name: NotRequired[pulumi.Input[str]]
|
|
1661
|
+
"""
|
|
1662
|
+
name is the name of the given metric
|
|
1663
|
+
"""
|
|
1664
|
+
selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorPatchArgsDict']]
|
|
1665
|
+
"""
|
|
1666
|
+
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.
|
|
1667
|
+
"""
|
|
1668
|
+
elif False:
|
|
1669
|
+
MetricIdentifierPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
1670
|
+
|
|
1202
1671
|
@pulumi.input_type
|
|
1203
1672
|
class MetricIdentifierPatchArgs:
|
|
1204
1673
|
def __init__(__self__, *,
|
|
@@ -1239,6 +1708,22 @@ class MetricIdentifierPatchArgs:
|
|
|
1239
1708
|
pulumi.set(self, "selector", value)
|
|
1240
1709
|
|
|
1241
1710
|
|
|
1711
|
+
if not MYPY:
|
|
1712
|
+
class MetricIdentifierArgsDict(TypedDict):
|
|
1713
|
+
"""
|
|
1714
|
+
MetricIdentifier defines the name and optionally selector for a metric
|
|
1715
|
+
"""
|
|
1716
|
+
name: pulumi.Input[str]
|
|
1717
|
+
"""
|
|
1718
|
+
name is the name of the given metric
|
|
1719
|
+
"""
|
|
1720
|
+
selector: NotRequired[pulumi.Input['_meta.v1.LabelSelectorArgsDict']]
|
|
1721
|
+
"""
|
|
1722
|
+
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.
|
|
1723
|
+
"""
|
|
1724
|
+
elif False:
|
|
1725
|
+
MetricIdentifierArgsDict: TypeAlias = Mapping[str, Any]
|
|
1726
|
+
|
|
1242
1727
|
@pulumi.input_type
|
|
1243
1728
|
class MetricIdentifierArgs:
|
|
1244
1729
|
def __init__(__self__, *,
|
|
@@ -1278,6 +1763,38 @@ class MetricIdentifierArgs:
|
|
|
1278
1763
|
pulumi.set(self, "selector", value)
|
|
1279
1764
|
|
|
1280
1765
|
|
|
1766
|
+
if not MYPY:
|
|
1767
|
+
class MetricSpecPatchArgsDict(TypedDict):
|
|
1768
|
+
"""
|
|
1769
|
+
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1770
|
+
"""
|
|
1771
|
+
container_resource: NotRequired[pulumi.Input['ContainerResourceMetricSourcePatchArgsDict']]
|
|
1772
|
+
"""
|
|
1773
|
+
container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
|
|
1774
|
+
"""
|
|
1775
|
+
external: NotRequired[pulumi.Input['ExternalMetricSourcePatchArgsDict']]
|
|
1776
|
+
"""
|
|
1777
|
+
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).
|
|
1778
|
+
"""
|
|
1779
|
+
object: NotRequired[pulumi.Input['ObjectMetricSourcePatchArgsDict']]
|
|
1780
|
+
"""
|
|
1781
|
+
object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1782
|
+
"""
|
|
1783
|
+
pods: NotRequired[pulumi.Input['PodsMetricSourcePatchArgsDict']]
|
|
1784
|
+
"""
|
|
1785
|
+
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.
|
|
1786
|
+
"""
|
|
1787
|
+
resource: NotRequired[pulumi.Input['ResourceMetricSourcePatchArgsDict']]
|
|
1788
|
+
"""
|
|
1789
|
+
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.
|
|
1790
|
+
"""
|
|
1791
|
+
type: NotRequired[pulumi.Input[str]]
|
|
1792
|
+
"""
|
|
1793
|
+
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1794
|
+
"""
|
|
1795
|
+
elif False:
|
|
1796
|
+
MetricSpecPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
1797
|
+
|
|
1281
1798
|
@pulumi.input_type
|
|
1282
1799
|
class MetricSpecPatchArgs:
|
|
1283
1800
|
def __init__(__self__, *,
|
|
@@ -1382,6 +1899,38 @@ class MetricSpecPatchArgs:
|
|
|
1382
1899
|
pulumi.set(self, "type", value)
|
|
1383
1900
|
|
|
1384
1901
|
|
|
1902
|
+
if not MYPY:
|
|
1903
|
+
class MetricSpecArgsDict(TypedDict):
|
|
1904
|
+
"""
|
|
1905
|
+
MetricSpec specifies how to scale based on a single metric (only `type` and one other matching field should be set at once).
|
|
1906
|
+
"""
|
|
1907
|
+
type: pulumi.Input[str]
|
|
1908
|
+
"""
|
|
1909
|
+
type is the type of metric source. It should be one of "Object", "Pods" or "Resource", each mapping to a matching field in the object.
|
|
1910
|
+
"""
|
|
1911
|
+
container_resource: NotRequired[pulumi.Input['ContainerResourceMetricSourceArgsDict']]
|
|
1912
|
+
"""
|
|
1913
|
+
container resource refers to a resource metric (such as those specified in requests and limits) known to Kubernetes describing a single container in each pod of the current scale target (e.g. CPU or memory). Such metrics are built in to Kubernetes, and have special scaling options on top of those available to normal per-pod metrics using the "pods" source. This is an alpha feature and can be enabled by the HPAContainerMetrics feature flag.
|
|
1914
|
+
"""
|
|
1915
|
+
external: NotRequired[pulumi.Input['ExternalMetricSourceArgsDict']]
|
|
1916
|
+
"""
|
|
1917
|
+
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).
|
|
1918
|
+
"""
|
|
1919
|
+
object: NotRequired[pulumi.Input['ObjectMetricSourceArgsDict']]
|
|
1920
|
+
"""
|
|
1921
|
+
object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
1922
|
+
"""
|
|
1923
|
+
pods: NotRequired[pulumi.Input['PodsMetricSourceArgsDict']]
|
|
1924
|
+
"""
|
|
1925
|
+
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.
|
|
1926
|
+
"""
|
|
1927
|
+
resource: NotRequired[pulumi.Input['ResourceMetricSourceArgsDict']]
|
|
1928
|
+
"""
|
|
1929
|
+
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.
|
|
1930
|
+
"""
|
|
1931
|
+
elif False:
|
|
1932
|
+
MetricSpecArgsDict: TypeAlias = Mapping[str, Any]
|
|
1933
|
+
|
|
1385
1934
|
@pulumi.input_type
|
|
1386
1935
|
class MetricSpecArgs:
|
|
1387
1936
|
def __init__(__self__, *,
|
|
@@ -1485,6 +2034,38 @@ class MetricSpecArgs:
|
|
|
1485
2034
|
pulumi.set(self, "resource", value)
|
|
1486
2035
|
|
|
1487
2036
|
|
|
2037
|
+
if not MYPY:
|
|
2038
|
+
class MetricStatusArgsDict(TypedDict):
|
|
2039
|
+
"""
|
|
2040
|
+
MetricStatus describes the last-read state of a single metric.
|
|
2041
|
+
"""
|
|
2042
|
+
type: pulumi.Input[str]
|
|
2043
|
+
"""
|
|
2044
|
+
type is the type of metric source. It will be one of "Object", "Pods" or "Resource", each corresponds to a matching field in the object.
|
|
2045
|
+
"""
|
|
2046
|
+
container_resource: NotRequired[pulumi.Input['ContainerResourceMetricStatusArgsDict']]
|
|
2047
|
+
"""
|
|
2048
|
+
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.
|
|
2049
|
+
"""
|
|
2050
|
+
external: NotRequired[pulumi.Input['ExternalMetricStatusArgsDict']]
|
|
2051
|
+
"""
|
|
2052
|
+
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).
|
|
2053
|
+
"""
|
|
2054
|
+
object: NotRequired[pulumi.Input['ObjectMetricStatusArgsDict']]
|
|
2055
|
+
"""
|
|
2056
|
+
object refers to a metric describing a single kubernetes object (for example, hits-per-second on an Ingress object).
|
|
2057
|
+
"""
|
|
2058
|
+
pods: NotRequired[pulumi.Input['PodsMetricStatusArgsDict']]
|
|
2059
|
+
"""
|
|
2060
|
+
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.
|
|
2061
|
+
"""
|
|
2062
|
+
resource: NotRequired[pulumi.Input['ResourceMetricStatusArgsDict']]
|
|
2063
|
+
"""
|
|
2064
|
+
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.
|
|
2065
|
+
"""
|
|
2066
|
+
elif False:
|
|
2067
|
+
MetricStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
2068
|
+
|
|
1488
2069
|
@pulumi.input_type
|
|
1489
2070
|
class MetricStatusArgs:
|
|
1490
2071
|
def __init__(__self__, *,
|
|
@@ -1588,6 +2169,30 @@ class MetricStatusArgs:
|
|
|
1588
2169
|
pulumi.set(self, "resource", value)
|
|
1589
2170
|
|
|
1590
2171
|
|
|
2172
|
+
if not MYPY:
|
|
2173
|
+
class MetricTargetPatchArgsDict(TypedDict):
|
|
2174
|
+
"""
|
|
2175
|
+
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2176
|
+
"""
|
|
2177
|
+
average_utilization: NotRequired[pulumi.Input[int]]
|
|
2178
|
+
"""
|
|
2179
|
+
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
|
+
"""
|
|
2181
|
+
average_value: NotRequired[pulumi.Input[str]]
|
|
2182
|
+
"""
|
|
2183
|
+
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2184
|
+
"""
|
|
2185
|
+
type: NotRequired[pulumi.Input[str]]
|
|
2186
|
+
"""
|
|
2187
|
+
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2188
|
+
"""
|
|
2189
|
+
value: NotRequired[pulumi.Input[str]]
|
|
2190
|
+
"""
|
|
2191
|
+
value is the target value of the metric (as a quantity).
|
|
2192
|
+
"""
|
|
2193
|
+
elif False:
|
|
2194
|
+
MetricTargetPatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
2195
|
+
|
|
1591
2196
|
@pulumi.input_type
|
|
1592
2197
|
class MetricTargetPatchArgs:
|
|
1593
2198
|
def __init__(__self__, *,
|
|
@@ -1660,6 +2265,30 @@ class MetricTargetPatchArgs:
|
|
|
1660
2265
|
pulumi.set(self, "value", value)
|
|
1661
2266
|
|
|
1662
2267
|
|
|
2268
|
+
if not MYPY:
|
|
2269
|
+
class MetricTargetArgsDict(TypedDict):
|
|
2270
|
+
"""
|
|
2271
|
+
MetricTarget defines the target value, average value, or average utilization of a specific metric
|
|
2272
|
+
"""
|
|
2273
|
+
type: pulumi.Input[str]
|
|
2274
|
+
"""
|
|
2275
|
+
type represents whether the metric type is Utilization, Value, or AverageValue
|
|
2276
|
+
"""
|
|
2277
|
+
average_utilization: NotRequired[pulumi.Input[int]]
|
|
2278
|
+
"""
|
|
2279
|
+
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
|
|
2280
|
+
"""
|
|
2281
|
+
average_value: NotRequired[pulumi.Input[str]]
|
|
2282
|
+
"""
|
|
2283
|
+
averageValue is the target value of the average of the metric across all relevant pods (as a quantity)
|
|
2284
|
+
"""
|
|
2285
|
+
value: NotRequired[pulumi.Input[str]]
|
|
2286
|
+
"""
|
|
2287
|
+
value is the target value of the metric (as a quantity).
|
|
2288
|
+
"""
|
|
2289
|
+
elif False:
|
|
2290
|
+
MetricTargetArgsDict: TypeAlias = Mapping[str, Any]
|
|
2291
|
+
|
|
1663
2292
|
@pulumi.input_type
|
|
1664
2293
|
class MetricTargetArgs:
|
|
1665
2294
|
def __init__(__self__, *,
|
|
@@ -1731,6 +2360,26 @@ class MetricTargetArgs:
|
|
|
1731
2360
|
pulumi.set(self, "value", value)
|
|
1732
2361
|
|
|
1733
2362
|
|
|
2363
|
+
if not MYPY:
|
|
2364
|
+
class MetricValueStatusArgsDict(TypedDict):
|
|
2365
|
+
"""
|
|
2366
|
+
MetricValueStatus holds the current value for a metric
|
|
2367
|
+
"""
|
|
2368
|
+
average_utilization: NotRequired[pulumi.Input[int]]
|
|
2369
|
+
"""
|
|
2370
|
+
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.
|
|
2371
|
+
"""
|
|
2372
|
+
average_value: NotRequired[pulumi.Input[str]]
|
|
2373
|
+
"""
|
|
2374
|
+
averageValue is the current value of the average of the metric across all relevant pods (as a quantity)
|
|
2375
|
+
"""
|
|
2376
|
+
value: NotRequired[pulumi.Input[str]]
|
|
2377
|
+
"""
|
|
2378
|
+
value is the current value of the metric (as a quantity).
|
|
2379
|
+
"""
|
|
2380
|
+
elif False:
|
|
2381
|
+
MetricValueStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
2382
|
+
|
|
1734
2383
|
@pulumi.input_type
|
|
1735
2384
|
class MetricValueStatusArgs:
|
|
1736
2385
|
def __init__(__self__, *,
|
|
@@ -1787,6 +2436,23 @@ class MetricValueStatusArgs:
|
|
|
1787
2436
|
pulumi.set(self, "value", value)
|
|
1788
2437
|
|
|
1789
2438
|
|
|
2439
|
+
if not MYPY:
|
|
2440
|
+
class ObjectMetricSourcePatchArgsDict(TypedDict):
|
|
2441
|
+
"""
|
|
2442
|
+
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
2443
|
+
"""
|
|
2444
|
+
described_object: NotRequired[pulumi.Input['CrossVersionObjectReferencePatchArgsDict']]
|
|
2445
|
+
metric: NotRequired[pulumi.Input['MetricIdentifierPatchArgsDict']]
|
|
2446
|
+
"""
|
|
2447
|
+
metric identifies the target metric by name and selector
|
|
2448
|
+
"""
|
|
2449
|
+
target: NotRequired[pulumi.Input['MetricTargetPatchArgsDict']]
|
|
2450
|
+
"""
|
|
2451
|
+
target specifies the target value for the given metric
|
|
2452
|
+
"""
|
|
2453
|
+
elif False:
|
|
2454
|
+
ObjectMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
2455
|
+
|
|
1790
2456
|
@pulumi.input_type
|
|
1791
2457
|
class ObjectMetricSourcePatchArgs:
|
|
1792
2458
|
def __init__(__self__, *,
|
|
@@ -1839,6 +2505,23 @@ class ObjectMetricSourcePatchArgs:
|
|
|
1839
2505
|
pulumi.set(self, "target", value)
|
|
1840
2506
|
|
|
1841
2507
|
|
|
2508
|
+
if not MYPY:
|
|
2509
|
+
class ObjectMetricSourceArgsDict(TypedDict):
|
|
2510
|
+
"""
|
|
2511
|
+
ObjectMetricSource indicates how to scale on a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
2512
|
+
"""
|
|
2513
|
+
described_object: pulumi.Input['CrossVersionObjectReferenceArgsDict']
|
|
2514
|
+
metric: pulumi.Input['MetricIdentifierArgsDict']
|
|
2515
|
+
"""
|
|
2516
|
+
metric identifies the target metric by name and selector
|
|
2517
|
+
"""
|
|
2518
|
+
target: pulumi.Input['MetricTargetArgsDict']
|
|
2519
|
+
"""
|
|
2520
|
+
target specifies the target value for the given metric
|
|
2521
|
+
"""
|
|
2522
|
+
elif False:
|
|
2523
|
+
ObjectMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
|
|
2524
|
+
|
|
1842
2525
|
@pulumi.input_type
|
|
1843
2526
|
class ObjectMetricSourceArgs:
|
|
1844
2527
|
def __init__(__self__, *,
|
|
@@ -1888,6 +2571,23 @@ class ObjectMetricSourceArgs:
|
|
|
1888
2571
|
pulumi.set(self, "target", value)
|
|
1889
2572
|
|
|
1890
2573
|
|
|
2574
|
+
if not MYPY:
|
|
2575
|
+
class ObjectMetricStatusArgsDict(TypedDict):
|
|
2576
|
+
"""
|
|
2577
|
+
ObjectMetricStatus indicates the current value of a metric describing a kubernetes object (for example, hits-per-second on an Ingress object).
|
|
2578
|
+
"""
|
|
2579
|
+
current: pulumi.Input['MetricValueStatusArgsDict']
|
|
2580
|
+
"""
|
|
2581
|
+
current contains the current value for the given metric
|
|
2582
|
+
"""
|
|
2583
|
+
described_object: pulumi.Input['CrossVersionObjectReferenceArgsDict']
|
|
2584
|
+
metric: pulumi.Input['MetricIdentifierArgsDict']
|
|
2585
|
+
"""
|
|
2586
|
+
metric identifies the target metric by name and selector
|
|
2587
|
+
"""
|
|
2588
|
+
elif False:
|
|
2589
|
+
ObjectMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
2590
|
+
|
|
1891
2591
|
@pulumi.input_type
|
|
1892
2592
|
class ObjectMetricStatusArgs:
|
|
1893
2593
|
def __init__(__self__, *,
|
|
@@ -1937,6 +2637,22 @@ class ObjectMetricStatusArgs:
|
|
|
1937
2637
|
pulumi.set(self, "metric", value)
|
|
1938
2638
|
|
|
1939
2639
|
|
|
2640
|
+
if not MYPY:
|
|
2641
|
+
class PodsMetricSourcePatchArgsDict(TypedDict):
|
|
2642
|
+
"""
|
|
2643
|
+
PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
2644
|
+
"""
|
|
2645
|
+
metric: NotRequired[pulumi.Input['MetricIdentifierPatchArgsDict']]
|
|
2646
|
+
"""
|
|
2647
|
+
metric identifies the target metric by name and selector
|
|
2648
|
+
"""
|
|
2649
|
+
target: NotRequired[pulumi.Input['MetricTargetPatchArgsDict']]
|
|
2650
|
+
"""
|
|
2651
|
+
target specifies the target value for the given metric
|
|
2652
|
+
"""
|
|
2653
|
+
elif False:
|
|
2654
|
+
PodsMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
2655
|
+
|
|
1940
2656
|
@pulumi.input_type
|
|
1941
2657
|
class PodsMetricSourcePatchArgs:
|
|
1942
2658
|
def __init__(__self__, *,
|
|
@@ -1977,6 +2693,22 @@ class PodsMetricSourcePatchArgs:
|
|
|
1977
2693
|
pulumi.set(self, "target", value)
|
|
1978
2694
|
|
|
1979
2695
|
|
|
2696
|
+
if not MYPY:
|
|
2697
|
+
class PodsMetricSourceArgsDict(TypedDict):
|
|
2698
|
+
"""
|
|
2699
|
+
PodsMetricSource indicates how to scale on a metric describing each pod in the current scale target (for example, transactions-processed-per-second). The values will be averaged together before being compared to the target value.
|
|
2700
|
+
"""
|
|
2701
|
+
metric: pulumi.Input['MetricIdentifierArgsDict']
|
|
2702
|
+
"""
|
|
2703
|
+
metric identifies the target metric by name and selector
|
|
2704
|
+
"""
|
|
2705
|
+
target: pulumi.Input['MetricTargetArgsDict']
|
|
2706
|
+
"""
|
|
2707
|
+
target specifies the target value for the given metric
|
|
2708
|
+
"""
|
|
2709
|
+
elif False:
|
|
2710
|
+
PodsMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
|
|
2711
|
+
|
|
1980
2712
|
@pulumi.input_type
|
|
1981
2713
|
class PodsMetricSourceArgs:
|
|
1982
2714
|
def __init__(__self__, *,
|
|
@@ -2015,6 +2747,22 @@ class PodsMetricSourceArgs:
|
|
|
2015
2747
|
pulumi.set(self, "target", value)
|
|
2016
2748
|
|
|
2017
2749
|
|
|
2750
|
+
if not MYPY:
|
|
2751
|
+
class PodsMetricStatusArgsDict(TypedDict):
|
|
2752
|
+
"""
|
|
2753
|
+
PodsMetricStatus indicates the current value of a metric describing each pod in the current scale target (for example, transactions-processed-per-second).
|
|
2754
|
+
"""
|
|
2755
|
+
current: pulumi.Input['MetricValueStatusArgsDict']
|
|
2756
|
+
"""
|
|
2757
|
+
current contains the current value for the given metric
|
|
2758
|
+
"""
|
|
2759
|
+
metric: pulumi.Input['MetricIdentifierArgsDict']
|
|
2760
|
+
"""
|
|
2761
|
+
metric identifies the target metric by name and selector
|
|
2762
|
+
"""
|
|
2763
|
+
elif False:
|
|
2764
|
+
PodsMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
2765
|
+
|
|
2018
2766
|
@pulumi.input_type
|
|
2019
2767
|
class PodsMetricStatusArgs:
|
|
2020
2768
|
def __init__(__self__, *,
|
|
@@ -2053,6 +2801,22 @@ class PodsMetricStatusArgs:
|
|
|
2053
2801
|
pulumi.set(self, "metric", value)
|
|
2054
2802
|
|
|
2055
2803
|
|
|
2804
|
+
if not MYPY:
|
|
2805
|
+
class ResourceMetricSourcePatchArgsDict(TypedDict):
|
|
2806
|
+
"""
|
|
2807
|
+
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.
|
|
2808
|
+
"""
|
|
2809
|
+
name: NotRequired[pulumi.Input[str]]
|
|
2810
|
+
"""
|
|
2811
|
+
name is the name of the resource in question.
|
|
2812
|
+
"""
|
|
2813
|
+
target: NotRequired[pulumi.Input['MetricTargetPatchArgsDict']]
|
|
2814
|
+
"""
|
|
2815
|
+
target specifies the target value for the given metric
|
|
2816
|
+
"""
|
|
2817
|
+
elif False:
|
|
2818
|
+
ResourceMetricSourcePatchArgsDict: TypeAlias = Mapping[str, Any]
|
|
2819
|
+
|
|
2056
2820
|
@pulumi.input_type
|
|
2057
2821
|
class ResourceMetricSourcePatchArgs:
|
|
2058
2822
|
def __init__(__self__, *,
|
|
@@ -2093,6 +2857,22 @@ class ResourceMetricSourcePatchArgs:
|
|
|
2093
2857
|
pulumi.set(self, "target", value)
|
|
2094
2858
|
|
|
2095
2859
|
|
|
2860
|
+
if not MYPY:
|
|
2861
|
+
class ResourceMetricSourceArgsDict(TypedDict):
|
|
2862
|
+
"""
|
|
2863
|
+
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.
|
|
2864
|
+
"""
|
|
2865
|
+
name: pulumi.Input[str]
|
|
2866
|
+
"""
|
|
2867
|
+
name is the name of the resource in question.
|
|
2868
|
+
"""
|
|
2869
|
+
target: pulumi.Input['MetricTargetArgsDict']
|
|
2870
|
+
"""
|
|
2871
|
+
target specifies the target value for the given metric
|
|
2872
|
+
"""
|
|
2873
|
+
elif False:
|
|
2874
|
+
ResourceMetricSourceArgsDict: TypeAlias = Mapping[str, Any]
|
|
2875
|
+
|
|
2096
2876
|
@pulumi.input_type
|
|
2097
2877
|
class ResourceMetricSourceArgs:
|
|
2098
2878
|
def __init__(__self__, *,
|
|
@@ -2131,6 +2911,22 @@ class ResourceMetricSourceArgs:
|
|
|
2131
2911
|
pulumi.set(self, "target", value)
|
|
2132
2912
|
|
|
2133
2913
|
|
|
2914
|
+
if not MYPY:
|
|
2915
|
+
class ResourceMetricStatusArgsDict(TypedDict):
|
|
2916
|
+
"""
|
|
2917
|
+
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.
|
|
2918
|
+
"""
|
|
2919
|
+
current: pulumi.Input['MetricValueStatusArgsDict']
|
|
2920
|
+
"""
|
|
2921
|
+
current contains the current value for the given metric
|
|
2922
|
+
"""
|
|
2923
|
+
name: pulumi.Input[str]
|
|
2924
|
+
"""
|
|
2925
|
+
Name is the name of the resource in question.
|
|
2926
|
+
"""
|
|
2927
|
+
elif False:
|
|
2928
|
+
ResourceMetricStatusArgsDict: TypeAlias = Mapping[str, Any]
|
|
2929
|
+
|
|
2134
2930
|
@pulumi.input_type
|
|
2135
2931
|
class ResourceMetricStatusArgs:
|
|
2136
2932
|
def __init__(__self__, *,
|