Class ClusterAutoscalerSpecRLGpus

    • Constructor Detail

      • ClusterAutoscalerSpecRLGpus

        public ClusterAutoscalerSpecRLGpus()
        No args constructor for use in serialization
      • ClusterAutoscalerSpecRLGpus

        public ClusterAutoscalerSpecRLGpus​(Integer max,
                                           Integer min,
                                           String type)
    • Method Detail

      • setMax

        public void setMax​(Integer max)
      • 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.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)