com.pulumi.kubernetes.autoscaling.v2beta1.inputs.PodsMetricSourceArgs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kubernetes Show documentation
Show all versions of kubernetes Show documentation
A Pulumi package for creating and managing Kubernetes resources.
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.kubernetes.autoscaling.v2beta1.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import com.pulumi.kubernetes.meta.v1.inputs.LabelSelectorArgs;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* 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.
*
*/
public final class PodsMetricSourceArgs extends com.pulumi.resources.ResourceArgs {
public static final PodsMetricSourceArgs Empty = new PodsMetricSourceArgs();
/**
* metricName is the name of the metric in question
*
*/
@Import(name="metricName", required=true)
private Output metricName;
/**
* @return metricName is the name of the metric in question
*
*/
public Output metricName() {
return this.metricName;
}
/**
* 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.
*
*/
@Import(name="selector")
private @Nullable Output selector;
/**
* @return 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.
*
*/
public Optional
© 2015 - 2025 Weber Informatics LLC | Privacy Policy