Class ClusterAutoscalerSpecRLGpus
- java.lang.Object
-
- io.fabric8.openshift.api.model.autoscaling.v1.ClusterAutoscalerSpecRLGpus
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<ClusterAutoscalerSpecRLGpusBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class ClusterAutoscalerSpecRLGpus extends Object implements io.fabric8.kubernetes.api.builder.Editable<ClusterAutoscalerSpecRLGpusBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClusterAutoscalerSpecRLGpus()No args constructor for use in serializationClusterAutoscalerSpecRLGpus(Integer max, Integer min, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterAutoscalerSpecRLGpusBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetMax()IntegergetMin()StringgetType()The type of GPU to associate with the minimum and maximum limits.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMax(Integer max)voidsetMin(Integer min)voidsetType(String type)The type of GPU to associate with the minimum and maximum limits.ClusterAutoscalerSpecRLGpusBuildertoBuilder()
-
-
-
Method Detail
-
getMax
public Integer getMax()
-
setMax
public void setMax(Integer max)
-
getMin
public Integer getMin()
-
setMin
public void setMin(Integer min)
-
getType
public String getType()
The type of GPU to associate with the minimum and maximum limits. This value is used by the Cluster Autoscaler to identify Nodes that will have GPU capacity by searching for it as a label value on the Node objects. For example, Nodes that carry the label key `cluster-api/accelerator` with the label value being the same as the Type field will be counted towards the resource limits by the Cluster Autoscaler.
-
setType
public void setType(String type)
The type of GPU to associate with the minimum and maximum limits. This value is used by the Cluster Autoscaler to identify Nodes that will have GPU capacity by searching for it as a label value on the Node objects. For example, Nodes that carry the label key `cluster-api/accelerator` with the label value being the same as the Type field will be counted towards the resource limits by the Cluster Autoscaler.
-
edit
public ClusterAutoscalerSpecRLGpusBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<ClusterAutoscalerSpecRLGpusBuilder>
-
toBuilder
public ClusterAutoscalerSpecRLGpusBuilder toBuilder()
-
-