Class MachinePool

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

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class MachinePool
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    MachinePool stores the configuration for a machine pool installed on GCP.
    See Also:
    Serialized Form
    • Method Detail

      • getConfidentialCompute

        public String getConfidentialCompute()
        ConfidentialCompute Defines whether the instance should have confidential compute enabled. If enabled OnHostMaintenance is required to be set to "Terminate". If omitted, the platform chooses a default, which is subject to change over time, currently that default is false.
      • setConfidentialCompute

        public void setConfidentialCompute​(String confidentialCompute)
        ConfidentialCompute Defines whether the instance should have confidential compute enabled. If enabled OnHostMaintenance is required to be set to "Terminate". If omitted, the platform chooses a default, which is subject to change over time, currently that default is false.
      • getOnHostMaintenance

        public String getOnHostMaintenance()
        OnHostMaintenance determines the behavior when a maintenance event occurs that might cause the instance to reboot. Allowed values are "Migrate" and "Terminate". If omitted, the platform chooses a default, which is subject to change over time, currently that default is "Migrate".
      • setOnHostMaintenance

        public void setOnHostMaintenance​(String onHostMaintenance)
        OnHostMaintenance determines the behavior when a maintenance event occurs that might cause the instance to reboot. Allowed values are "Migrate" and "Terminate". If omitted, the platform chooses a default, which is subject to change over time, currently that default is "Migrate".
      • getOsDisk

        public OSDisk getOsDisk()
        MachinePool stores the configuration for a machine pool installed on GCP.
      • setOsDisk

        public void setOsDisk​(OSDisk osDisk)
        MachinePool stores the configuration for a machine pool installed on GCP.
      • getOsImage

        public OSImage getOsImage()
        MachinePool stores the configuration for a machine pool installed on GCP.
      • setOsImage

        public void setOsImage​(OSImage osImage)
        MachinePool stores the configuration for a machine pool installed on GCP.
      • getSecureBoot

        public String getSecureBoot()
        SecureBoot Defines whether the instance should have secure boot enabled. secure boot Verify the digital signature of all boot components, and halt the boot process if signature verification fails. If omitted, the platform chooses a default, which is subject to change over time, currently that default is false.
      • setSecureBoot

        public void setSecureBoot​(String secureBoot)
        SecureBoot Defines whether the instance should have secure boot enabled. secure boot Verify the digital signature of all boot components, and halt the boot process if signature verification fails. If omitted, the platform chooses a default, which is subject to change over time, currently that default is false.
      • getServiceAccount

        public String getServiceAccount()
        ServiceAccount is the email of a gcp service account to be used during installations. The provided service account can be attached to both control-plane nodes and worker nodes in order to provide the permissions required by the cloud provider.
      • setServiceAccount

        public void setServiceAccount​(String serviceAccount)
        ServiceAccount is the email of a gcp service account to be used during installations. The provided service account can be attached to both control-plane nodes and worker nodes in order to provide the permissions required by the cloud provider.
      • getTags

        public List<String> getTags()
        Tags defines a set of network tags which will be added to instances in the machineset
      • setTags

        public void setTags​(List<String> tags)
        Tags defines a set of network tags which will be added to instances in the machineset
      • getType

        public String getType()
        InstanceType defines the GCP instance type. eg. n1-standard-4
      • setType

        public void setType​(String type)
        InstanceType defines the GCP instance type. eg. n1-standard-4
      • getZones

        public List<String> getZones()
        Zones is list of availability zones that can be used.
      • setZones

        public void setZones​(List<String> zones)
        Zones is list of availability zones that can be used.
      • getAdditionalProperties

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

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

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