Class MachinePool
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.gcp.v1.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
-
-
Constructor Summary
Constructors Constructor Description MachinePool()No args constructor for use in serializationMachinePool(String confidentialCompute, String onHostMaintenance, OSDisk osDisk, OSImage osImage, String secureBoot, String serviceAccount, List<String> tags, String type, List<String> zones)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MachinePoolBuilderedit()Map<String,Object>getAdditionalProperties()StringgetConfidentialCompute()confidentialCompute is an optional field defining whether the instance should have Confidential Computing enabled or not, and the Confidential Computing technology of choice.StringgetOnHostMaintenance()OnHostMaintenance determines the behavior when a maintenance event occurs that might cause the instance to reboot.OSDiskgetOsDisk()MachinePool stores the configuration for a machine pool installed on GCP.OSImagegetOsImage()MachinePool stores the configuration for a machine pool installed on GCP.StringgetSecureBoot()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.StringgetServiceAccount()ServiceAccount is the email of a gcp service account to be used during installations.List<String>getTags()Tags defines a set of network tags which will be added to instances in the machinesetStringgetType()InstanceType defines the GCP instance type. eg. n1-standard-4List<String>getZones()Zones is list of availability zones that can be used.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConfidentialCompute(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.voidsetOnHostMaintenance(String onHostMaintenance)OnHostMaintenance determines the behavior when a maintenance event occurs that might cause the instance to reboot.voidsetOsDisk(OSDisk osDisk)MachinePool stores the configuration for a machine pool installed on GCP.voidsetOsImage(OSImage osImage)MachinePool stores the configuration for a machine pool installed on GCP.voidsetSecureBoot(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.voidsetServiceAccount(String serviceAccount)ServiceAccount is the email of a gcp service account to be used during installations.voidsetTags(List<String> tags)Tags defines a set of network tags which will be added to instances in the machinesetvoidsetType(String type)InstanceType defines the GCP instance type. eg. n1-standard-4voidsetZones(List<String> zones)Zones is list of availability zones that can be used.MachinePoolBuildertoBuilder()
-
-
-
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
-
setZones
public void setZones(List<String> zones)
Zones is list of availability zones that can be used.
-
edit
public MachinePoolBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<MachinePoolBuilder>
-
toBuilder
public MachinePoolBuilder toBuilder()
-
-