![JAR search and dependency download from the Maven repository](/logo.png)
io.k8s.api.autoscaling.v2.ContainerResourceMetricStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s130 Show documentation
Show all versions of bl-k8s130 Show documentation
Programmatic resource management for Kubernetes
package io.k8s.api.autoscaling.v2;
import java.lang.String;
/**
* 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.
*/
public class ContainerResourceMetricStatus {
public String container;
public MetricValueStatus current;
public String name;
/**
* container is the name of the container in the pods of the scaling target
*/
public ContainerResourceMetricStatus container(String container) {
this.container = container;
return this;
}
public ContainerResourceMetricStatus current(MetricValueStatus current) {
this.current = current;
return this;
}
/**
* name is the name of the resource in question.
*/
public ContainerResourceMetricStatus name(String name) {
this.name = name;
return this;
}
public static ContainerResourceMetricStatus containerResourceMetricStatus() {
return new ContainerResourceMetricStatus();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy