Class GCPGPUConfig

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<GCPGPUConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class GCPGPUConfig
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<GCPGPUConfigBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    GCPGPUConfig describes type and count of GPUs attached to the instance on GCP.
    See Also:
    Serialized Form
    • Constructor Detail

      • GCPGPUConfig

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

        public GCPGPUConfig​(Integer count,
                            String type)
    • Method Detail

      • getCount

        public Integer getCount()
        count is the number of GPUs to be attached to an instance.
      • setCount

        public void setCount​(Integer count)
        count is the number of GPUs to be attached to an instance.
      • getType

        public String getType()
        type is the type of GPU to be attached to an instance. Supported GPU types are: nvidia-tesla-k80, nvidia-tesla-p100, nvidia-tesla-v100, nvidia-tesla-p4, nvidia-tesla-t4
      • setType

        public void setType​(String type)
        type is the type of GPU to be attached to an instance. Supported GPU types are: nvidia-tesla-k80, nvidia-tesla-p100, nvidia-tesla-v100, nvidia-tesla-p4, nvidia-tesla-t4
      • getAdditionalProperties

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

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

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