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 is an optional field defining whether the instance should have Confidential Computing enabled or not, and the Confidential Computing technology of choice.

        With Disabled, Confidential Computing is disabled.

        With Enabled, Confidential Computing is enabled with no preference on the

        Confidential Computing technology. The platform chooses a default i.e. AMD SEV, which is subject to change over time.

        With AMDEncryptedVirtualization, Confidential Computing is enabled with

        AMD Secure Encrypted Virtualization (AMD SEV).

        With AMDEncryptedVirtualizationNestedPaging, Confidential Computing is

        enabled with AMD Secure Encrypted Virtualization Secure Nested Paging (AMD SEV-SNP).

        With IntelTrustedDomainExtensions, Confidential Computing is enabled with

        Intel Trusted Domain Extensions (Intel TDX).

        If any value other than Disabled is set, a machine type and region that supports

        Confidential Computing must be specified. Machine series and regions supporting Confidential Computing technologies can be checked at https://cloud.google.com/confidential-computing/confidential-vm/docs/supported-configurations#machine-type-cpu-zone

        If any value other than Disabled is set, onHostMaintenance is required to be set

        to "Terminate".

      • setConfidentialCompute

        public void setConfidentialCompute​(String confidentialCompute)
        confidentialCompute is an optional field defining whether the instance should have Confidential Computing enabled or not, and the Confidential Computing technology of choice.

        With Disabled, Confidential Computing is disabled.

        With Enabled, Confidential Computing is enabled with no preference on the

        Confidential Computing technology. The platform chooses a default i.e. AMD SEV, which is subject to change over time.

        With AMDEncryptedVirtualization, Confidential Computing is enabled with

        AMD Secure Encrypted Virtualization (AMD SEV).

        With AMDEncryptedVirtualizationNestedPaging, Confidential Computing is

        enabled with AMD Secure Encrypted Virtualization Secure Nested Paging (AMD SEV-SNP).

        With IntelTrustedDomainExtensions, Confidential Computing is enabled with

        Intel Trusted Domain Extensions (Intel TDX).

        If any value other than Disabled is set, a machine type and region that supports

        Confidential Computing must be specified. Machine series and regions supporting Confidential Computing technologies can be checked at https://cloud.google.com/confidential-computing/confidential-vm/docs/supported-configurations#machine-type-cpu-zone

        If any value other than Disabled is set, onHostMaintenance is required to be set

        to "Terminate".

      • 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)