Documentation ¶
Overview ¶
Package v1alpha4 contains API Schema definitions for the exp v1alpha4 API group +kubebuilder:object:generate=true +groupName=infrastructure.cluster.x-k8s.io
Index ¶
- Constants
- Variables
- func Convert_v1alpha4_APIEndpoint_To_v1beta1_APIEndpoint(in *clusterv1alpha4.APIEndpoint, out *clusterv1.APIEndpoint, ...) error
- func Convert_v1alpha4_AzureMachinePoolDeploymentStrategy_To_v1beta1_AzureMachinePoolDeploymentStrategy(in *AzureMachinePoolDeploymentStrategy, ...) error
- func Convert_v1alpha4_AzureMachinePoolInstanceStatus_To_v1beta1_AzureMachinePoolInstanceStatus(in *AzureMachinePoolInstanceStatus, ...) error
- func Convert_v1alpha4_AzureMachinePoolList_To_v1beta1_AzureMachinePoolList(in *AzureMachinePoolList, out *v1beta1.AzureMachinePoolList, ...) error
- func Convert_v1alpha4_AzureMachinePoolMachineList_To_v1beta1_AzureMachinePoolMachineList(in *AzureMachinePoolMachineList, out *v1beta1.AzureMachinePoolMachineList, ...) error
- func Convert_v1alpha4_AzureMachinePoolMachineSpec_To_v1beta1_AzureMachinePoolMachineSpec(in *AzureMachinePoolMachineSpec, out *v1beta1.AzureMachinePoolMachineSpec, ...) error
- func Convert_v1alpha4_AzureMachinePoolMachineStatus_To_v1beta1_AzureMachinePoolMachineStatus(in *AzureMachinePoolMachineStatus, out *v1beta1.AzureMachinePoolMachineStatus, ...) error
- func Convert_v1alpha4_AzureMachinePoolMachineTemplate_To_v1beta1_AzureMachinePoolMachineTemplate(in *AzureMachinePoolMachineTemplate, ...) error
- func Convert_v1alpha4_AzureMachinePoolMachine_To_v1beta1_AzureMachinePoolMachine(in *AzureMachinePoolMachine, out *v1beta1.AzureMachinePoolMachine, ...) error
- func Convert_v1alpha4_AzureMachinePoolSpec_To_v1beta1_AzureMachinePoolSpec(in *AzureMachinePoolSpec, out *v1beta1.AzureMachinePoolSpec, ...) error
- func Convert_v1alpha4_AzureMachinePoolStatus_To_v1beta1_AzureMachinePoolStatus(in *AzureMachinePoolStatus, out *v1beta1.AzureMachinePoolStatus, ...) error
- func Convert_v1alpha4_AzureMachinePool_To_v1beta1_AzureMachinePool(in *AzureMachinePool, out *v1beta1.AzureMachinePool, s conversion.Scope) error
- func Convert_v1alpha4_Image_To_v1beta1_Image(in *infrav1alpha4.Image, out *infrav1.Image, s conversion.Scope) error
- func Convert_v1alpha4_MachineRollingUpdateDeployment_To_v1beta1_MachineRollingUpdateDeployment(in *MachineRollingUpdateDeployment, ...) error
- func Convert_v1alpha4_OSDisk_To_v1beta1_OSDisk(in *infrav1alpha4.OSDisk, out *infrav1.OSDisk, s conversion.Scope) error
- func Convert_v1alpha4_SpotVMOptions_To_v1beta1_SpotVMOptions(in *infrav1alpha4.SpotVMOptions, out *infrav1.SpotVMOptions, ...) error
- func Convert_v1beta1_APIEndpoint_To_v1alpha4_APIEndpoint(in *clusterv1.APIEndpoint, out *clusterv1alpha4.APIEndpoint, ...) error
- func Convert_v1beta1_AzureMachinePoolDeploymentStrategy_To_v1alpha4_AzureMachinePoolDeploymentStrategy(in *v1beta1.AzureMachinePoolDeploymentStrategy, ...) error
- func Convert_v1beta1_AzureMachinePoolInstanceStatus_To_v1alpha4_AzureMachinePoolInstanceStatus(in *v1beta1.AzureMachinePoolInstanceStatus, ...) error
- func Convert_v1beta1_AzureMachinePoolList_To_v1alpha4_AzureMachinePoolList(in *v1beta1.AzureMachinePoolList, out *AzureMachinePoolList, ...) error
- func Convert_v1beta1_AzureMachinePoolMachineList_To_v1alpha4_AzureMachinePoolMachineList(in *v1beta1.AzureMachinePoolMachineList, out *AzureMachinePoolMachineList, ...) error
- func Convert_v1beta1_AzureMachinePoolMachineSpec_To_v1alpha4_AzureMachinePoolMachineSpec(in *v1beta1.AzureMachinePoolMachineSpec, out *AzureMachinePoolMachineSpec, ...) error
- func Convert_v1beta1_AzureMachinePoolMachineStatus_To_v1alpha4_AzureMachinePoolMachineStatus(in *v1beta1.AzureMachinePoolMachineStatus, out *AzureMachinePoolMachineStatus, ...) error
- func Convert_v1beta1_AzureMachinePoolMachineTemplate_To_v1alpha4_AzureMachinePoolMachineTemplate(in *infrav1exp.AzureMachinePoolMachineTemplate, ...) error
- func Convert_v1beta1_AzureMachinePoolMachine_To_v1alpha4_AzureMachinePoolMachine(in *v1beta1.AzureMachinePoolMachine, out *AzureMachinePoolMachine, ...) error
- func Convert_v1beta1_AzureMachinePoolSpec_To_v1alpha4_AzureMachinePoolSpec(in *infrav1exp.AzureMachinePoolSpec, out *AzureMachinePoolSpec, ...) error
- func Convert_v1beta1_AzureMachinePoolStatus_To_v1alpha4_AzureMachinePoolStatus(in *v1beta1.AzureMachinePoolStatus, out *AzureMachinePoolStatus, ...) error
- func Convert_v1beta1_AzureMachinePool_To_v1alpha4_AzureMachinePool(in *v1beta1.AzureMachinePool, out *AzureMachinePool, s conversion.Scope) error
- func Convert_v1beta1_Image_To_v1alpha4_Image(in *infrav1.Image, out *infrav1alpha4.Image, s conversion.Scope) error
- func Convert_v1beta1_MachineRollingUpdateDeployment_To_v1alpha4_MachineRollingUpdateDeployment(in *v1beta1.MachineRollingUpdateDeployment, ...) error
- func Convert_v1beta1_OSDisk_To_v1alpha4_OSDisk(in *infrav1.OSDisk, out *infrav1alpha4.OSDisk, s conversion.Scope) error
- func Convert_v1beta1_SpotVMOptions_To_v1alpha4_SpotVMOptions(in *infrav1.SpotVMOptions, out *infrav1alpha4.SpotVMOptions, ...) error
- func RegisterConversions(s *runtime.Scheme) error
- type AzureMachinePool
- func (dst *AzureMachinePool) ConvertFrom(srcRaw conversion.Hub) error
- func (src *AzureMachinePool) ConvertTo(dstRaw conversion.Hub) error
- func (in *AzureMachinePool) DeepCopy() *AzureMachinePool
- func (in *AzureMachinePool) DeepCopyInto(out *AzureMachinePool)
- func (in *AzureMachinePool) DeepCopyObject() runtime.Object
- func (amp *AzureMachinePool) GetConditions() clusterv1alpha4.Conditions
- func (amp *AzureMachinePool) GetFutures() infrav1alpha4.Futures
- func (amp *AzureMachinePool) SetConditions(conditions clusterv1alpha4.Conditions)
- func (amp *AzureMachinePool) SetFutures(futures infrav1alpha4.Futures)
- type AzureMachinePoolDeletePolicyType
- type AzureMachinePoolDeploymentStrategy
- type AzureMachinePoolDeploymentStrategyType
- type AzureMachinePoolInstanceStatus
- type AzureMachinePoolList
- func (dst *AzureMachinePoolList) ConvertFrom(srcRaw conversion.Hub) error
- func (src *AzureMachinePoolList) ConvertTo(dstRaw conversion.Hub) error
- func (in *AzureMachinePoolList) DeepCopy() *AzureMachinePoolList
- func (in *AzureMachinePoolList) DeepCopyInto(out *AzureMachinePoolList)
- func (in *AzureMachinePoolList) DeepCopyObject() runtime.Object
- type AzureMachinePoolMachine
- func (dst *AzureMachinePoolMachine) ConvertFrom(srcRaw conversion.Hub) error
- func (src *AzureMachinePoolMachine) ConvertTo(dstRaw conversion.Hub) error
- func (in *AzureMachinePoolMachine) DeepCopy() *AzureMachinePoolMachine
- func (in *AzureMachinePoolMachine) DeepCopyInto(out *AzureMachinePoolMachine)
- func (in *AzureMachinePoolMachine) DeepCopyObject() runtime.Object
- func (ampm *AzureMachinePoolMachine) GetConditions() clusterv1alpha4.Conditions
- func (ampm *AzureMachinePoolMachine) GetFutures() infrav1alpha4.Futures
- func (ampm *AzureMachinePoolMachine) SetConditions(conditions clusterv1alpha4.Conditions)
- func (ampm *AzureMachinePoolMachine) SetFutures(futures infrav1alpha4.Futures)
- type AzureMachinePoolMachineList
- func (dst *AzureMachinePoolMachineList) ConvertFrom(srcRaw conversion.Hub) error
- func (src *AzureMachinePoolMachineList) ConvertTo(dstRaw conversion.Hub) error
- func (in *AzureMachinePoolMachineList) DeepCopy() *AzureMachinePoolMachineList
- func (in *AzureMachinePoolMachineList) DeepCopyInto(out *AzureMachinePoolMachineList)
- func (in *AzureMachinePoolMachineList) DeepCopyObject() runtime.Object
- type AzureMachinePoolMachineSpec
- type AzureMachinePoolMachineStatus
- type AzureMachinePoolMachineTemplate
- type AzureMachinePoolSpec
- type AzureMachinePoolStatus
- type MachineRollingUpdateDeployment
Constants ¶
const ( // MachinePoolNameLabel indicates the AzureMachinePool name the AzureMachinePoolMachine belongs. MachinePoolNameLabel = "azuremachinepool.infrastructure.cluster.x-k8s.io/machine-pool" // RollingUpdateAzureMachinePoolDeploymentStrategyType replaces AzureMachinePoolMachines with older models with // AzureMachinePoolMachines based on the latest model. // i.e. gradually scale down the old AzureMachinePoolMachines and scale up the new ones. RollingUpdateAzureMachinePoolDeploymentStrategyType AzureMachinePoolDeploymentStrategyType = "RollingUpdate" // OldestDeletePolicyType will delete machines with the oldest creation date first. OldestDeletePolicyType AzureMachinePoolDeletePolicyType = "Oldest" // NewestDeletePolicyType will delete machines with the newest creation date first. NewestDeletePolicyType AzureMachinePoolDeletePolicyType = "Newest" // RandomDeletePolicyType will delete machines in random order. RandomDeletePolicyType AzureMachinePoolDeletePolicyType = "Random" )
const (
// AzureMachinePoolMachineFinalizer is used to ensure deletion of dependencies (nodes, infra).
AzureMachinePoolMachineFinalizer = "azuremachinepoolmachine.infrastructure.cluster.x-k8s.io"
)
Variables ¶
var ( // GroupVersion is group version used to register these objects. GroupVersion = schema.GroupVersion{Group: "infrastructure.cluster.x-k8s.io", Version: "v1alpha4"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme. SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
func Convert_v1alpha4_APIEndpoint_To_v1beta1_APIEndpoint ¶ added in v1.0.0
func Convert_v1alpha4_APIEndpoint_To_v1beta1_APIEndpoint(in *clusterv1alpha4.APIEndpoint, out *clusterv1.APIEndpoint, s conversion.Scope) error
Convert_v1alpha4_APIEndpoint_To_v1beta1_APIEndpoint is an autogenerated conversion function.
func Convert_v1alpha4_AzureMachinePoolDeploymentStrategy_To_v1beta1_AzureMachinePoolDeploymentStrategy ¶ added in v1.0.0
func Convert_v1alpha4_AzureMachinePoolDeploymentStrategy_To_v1beta1_AzureMachinePoolDeploymentStrategy(in *AzureMachinePoolDeploymentStrategy, out *v1beta1.AzureMachinePoolDeploymentStrategy, s conversion.Scope) error
Convert_v1alpha4_AzureMachinePoolDeploymentStrategy_To_v1beta1_AzureMachinePoolDeploymentStrategy is an autogenerated conversion function.
func Convert_v1alpha4_AzureMachinePoolInstanceStatus_To_v1beta1_AzureMachinePoolInstanceStatus ¶ added in v1.0.0
func Convert_v1alpha4_AzureMachinePoolInstanceStatus_To_v1beta1_AzureMachinePoolInstanceStatus(in *AzureMachinePoolInstanceStatus, out *v1beta1.AzureMachinePoolInstanceStatus, s conversion.Scope) error
Convert_v1alpha4_AzureMachinePoolInstanceStatus_To_v1beta1_AzureMachinePoolInstanceStatus is an autogenerated conversion function.
func Convert_v1alpha4_AzureMachinePoolList_To_v1beta1_AzureMachinePoolList ¶ added in v1.0.0
func Convert_v1alpha4_AzureMachinePoolList_To_v1beta1_AzureMachinePoolList(in *AzureMachinePoolList, out *v1beta1.AzureMachinePoolList, s conversion.Scope) error
Convert_v1alpha4_AzureMachinePoolList_To_v1beta1_AzureMachinePoolList is an autogenerated conversion function.
func Convert_v1alpha4_AzureMachinePoolMachineList_To_v1beta1_AzureMachinePoolMachineList ¶ added in v1.0.0
func Convert_v1alpha4_AzureMachinePoolMachineList_To_v1beta1_AzureMachinePoolMachineList(in *AzureMachinePoolMachineList, out *v1beta1.AzureMachinePoolMachineList, s conversion.Scope) error
Convert_v1alpha4_AzureMachinePoolMachineList_To_v1beta1_AzureMachinePoolMachineList is an autogenerated conversion function.
func Convert_v1alpha4_AzureMachinePoolMachineSpec_To_v1beta1_AzureMachinePoolMachineSpec ¶ added in v1.0.0
func Convert_v1alpha4_AzureMachinePoolMachineSpec_To_v1beta1_AzureMachinePoolMachineSpec(in *AzureMachinePoolMachineSpec, out *v1beta1.AzureMachinePoolMachineSpec, s conversion.Scope) error
Convert_v1alpha4_AzureMachinePoolMachineSpec_To_v1beta1_AzureMachinePoolMachineSpec is an autogenerated conversion function.
func Convert_v1alpha4_AzureMachinePoolMachineStatus_To_v1beta1_AzureMachinePoolMachineStatus ¶ added in v1.0.0
func Convert_v1alpha4_AzureMachinePoolMachineStatus_To_v1beta1_AzureMachinePoolMachineStatus(in *AzureMachinePoolMachineStatus, out *v1beta1.AzureMachinePoolMachineStatus, s conversion.Scope) error
Convert_v1alpha4_AzureMachinePoolMachineStatus_To_v1beta1_AzureMachinePoolMachineStatus is an autogenerated conversion function.
func Convert_v1alpha4_AzureMachinePoolMachineTemplate_To_v1beta1_AzureMachinePoolMachineTemplate ¶ added in v1.0.0
func Convert_v1alpha4_AzureMachinePoolMachineTemplate_To_v1beta1_AzureMachinePoolMachineTemplate(in *AzureMachinePoolMachineTemplate, out *v1beta1.AzureMachinePoolMachineTemplate, s conversion.Scope) error
Convert_v1alpha4_AzureMachinePoolMachineTemplate_To_v1beta1_AzureMachinePoolMachineTemplate is an autogenerated conversion function.
func Convert_v1alpha4_AzureMachinePoolMachine_To_v1beta1_AzureMachinePoolMachine ¶ added in v1.0.0
func Convert_v1alpha4_AzureMachinePoolMachine_To_v1beta1_AzureMachinePoolMachine(in *AzureMachinePoolMachine, out *v1beta1.AzureMachinePoolMachine, s conversion.Scope) error
Convert_v1alpha4_AzureMachinePoolMachine_To_v1beta1_AzureMachinePoolMachine is an autogenerated conversion function.
func Convert_v1alpha4_AzureMachinePoolSpec_To_v1beta1_AzureMachinePoolSpec ¶ added in v1.0.0
func Convert_v1alpha4_AzureMachinePoolSpec_To_v1beta1_AzureMachinePoolSpec(in *AzureMachinePoolSpec, out *v1beta1.AzureMachinePoolSpec, s conversion.Scope) error
Convert_v1alpha4_AzureMachinePoolSpec_To_v1beta1_AzureMachinePoolSpec is an autogenerated conversion function.
func Convert_v1alpha4_AzureMachinePoolStatus_To_v1beta1_AzureMachinePoolStatus ¶ added in v1.0.0
func Convert_v1alpha4_AzureMachinePoolStatus_To_v1beta1_AzureMachinePoolStatus(in *AzureMachinePoolStatus, out *v1beta1.AzureMachinePoolStatus, s conversion.Scope) error
Convert_v1alpha4_AzureMachinePoolStatus_To_v1beta1_AzureMachinePoolStatus is an autogenerated conversion function.
func Convert_v1alpha4_AzureMachinePool_To_v1beta1_AzureMachinePool ¶ added in v1.0.0
func Convert_v1alpha4_AzureMachinePool_To_v1beta1_AzureMachinePool(in *AzureMachinePool, out *v1beta1.AzureMachinePool, s conversion.Scope) error
Convert_v1alpha4_AzureMachinePool_To_v1beta1_AzureMachinePool is an autogenerated conversion function.
func Convert_v1alpha4_Image_To_v1beta1_Image ¶ added in v1.0.0
func Convert_v1alpha4_Image_To_v1beta1_Image(in *infrav1alpha4.Image, out *infrav1.Image, s conversion.Scope) error
Convert_v1alpha4_Image_To_v1beta1_Image is a conversion function.
func Convert_v1alpha4_MachineRollingUpdateDeployment_To_v1beta1_MachineRollingUpdateDeployment ¶ added in v1.0.0
func Convert_v1alpha4_MachineRollingUpdateDeployment_To_v1beta1_MachineRollingUpdateDeployment(in *MachineRollingUpdateDeployment, out *v1beta1.MachineRollingUpdateDeployment, s conversion.Scope) error
Convert_v1alpha4_MachineRollingUpdateDeployment_To_v1beta1_MachineRollingUpdateDeployment is an autogenerated conversion function.
func Convert_v1alpha4_OSDisk_To_v1beta1_OSDisk ¶ added in v1.0.0
func Convert_v1alpha4_OSDisk_To_v1beta1_OSDisk(in *infrav1alpha4.OSDisk, out *infrav1.OSDisk, s conversion.Scope) error
Convert_v1alpha4_OSDisk_To_v1beta1_OSDisk is a conversion function.
func Convert_v1alpha4_SpotVMOptions_To_v1beta1_SpotVMOptions ¶ added in v1.6.0
func Convert_v1alpha4_SpotVMOptions_To_v1beta1_SpotVMOptions(in *infrav1alpha4.SpotVMOptions, out *infrav1.SpotVMOptions, s apiconversion.Scope) error
Convert_v1alpha4_SpotVMOptions_To_v1beta1_SpotVMOptions converts a SpotVMOptions from v1alpha4 to v1beta1.
func Convert_v1beta1_APIEndpoint_To_v1alpha4_APIEndpoint ¶ added in v1.0.0
func Convert_v1beta1_APIEndpoint_To_v1alpha4_APIEndpoint(in *clusterv1.APIEndpoint, out *clusterv1alpha4.APIEndpoint, s conversion.Scope) error
Convert_v1beta1_APIEndpoint_To_v1alpha4_APIEndpoint is an autogenerated conversion function.
func Convert_v1beta1_AzureMachinePoolDeploymentStrategy_To_v1alpha4_AzureMachinePoolDeploymentStrategy ¶ added in v1.0.0
func Convert_v1beta1_AzureMachinePoolDeploymentStrategy_To_v1alpha4_AzureMachinePoolDeploymentStrategy(in *v1beta1.AzureMachinePoolDeploymentStrategy, out *AzureMachinePoolDeploymentStrategy, s conversion.Scope) error
Convert_v1beta1_AzureMachinePoolDeploymentStrategy_To_v1alpha4_AzureMachinePoolDeploymentStrategy is an autogenerated conversion function.
func Convert_v1beta1_AzureMachinePoolInstanceStatus_To_v1alpha4_AzureMachinePoolInstanceStatus ¶ added in v1.0.0
func Convert_v1beta1_AzureMachinePoolInstanceStatus_To_v1alpha4_AzureMachinePoolInstanceStatus(in *v1beta1.AzureMachinePoolInstanceStatus, out *AzureMachinePoolInstanceStatus, s conversion.Scope) error
Convert_v1beta1_AzureMachinePoolInstanceStatus_To_v1alpha4_AzureMachinePoolInstanceStatus is an autogenerated conversion function.
func Convert_v1beta1_AzureMachinePoolList_To_v1alpha4_AzureMachinePoolList ¶ added in v1.0.0
func Convert_v1beta1_AzureMachinePoolList_To_v1alpha4_AzureMachinePoolList(in *v1beta1.AzureMachinePoolList, out *AzureMachinePoolList, s conversion.Scope) error
Convert_v1beta1_AzureMachinePoolList_To_v1alpha4_AzureMachinePoolList is an autogenerated conversion function.
func Convert_v1beta1_AzureMachinePoolMachineList_To_v1alpha4_AzureMachinePoolMachineList ¶ added in v1.0.0
func Convert_v1beta1_AzureMachinePoolMachineList_To_v1alpha4_AzureMachinePoolMachineList(in *v1beta1.AzureMachinePoolMachineList, out *AzureMachinePoolMachineList, s conversion.Scope) error
Convert_v1beta1_AzureMachinePoolMachineList_To_v1alpha4_AzureMachinePoolMachineList is an autogenerated conversion function.
func Convert_v1beta1_AzureMachinePoolMachineSpec_To_v1alpha4_AzureMachinePoolMachineSpec ¶ added in v1.0.0
func Convert_v1beta1_AzureMachinePoolMachineSpec_To_v1alpha4_AzureMachinePoolMachineSpec(in *v1beta1.AzureMachinePoolMachineSpec, out *AzureMachinePoolMachineSpec, s conversion.Scope) error
Convert_v1beta1_AzureMachinePoolMachineSpec_To_v1alpha4_AzureMachinePoolMachineSpec is an autogenerated conversion function.
func Convert_v1beta1_AzureMachinePoolMachineStatus_To_v1alpha4_AzureMachinePoolMachineStatus ¶ added in v1.0.0
func Convert_v1beta1_AzureMachinePoolMachineStatus_To_v1alpha4_AzureMachinePoolMachineStatus(in *v1beta1.AzureMachinePoolMachineStatus, out *AzureMachinePoolMachineStatus, s conversion.Scope) error
Convert_v1beta1_AzureMachinePoolMachineStatus_To_v1alpha4_AzureMachinePoolMachineStatus is an autogenerated conversion function.
func Convert_v1beta1_AzureMachinePoolMachineTemplate_To_v1alpha4_AzureMachinePoolMachineTemplate ¶ added in v1.0.0
func Convert_v1beta1_AzureMachinePoolMachineTemplate_To_v1alpha4_AzureMachinePoolMachineTemplate(in *infrav1exp.AzureMachinePoolMachineTemplate, out *AzureMachinePoolMachineTemplate, s apiconversion.Scope) error
Convert_v1beta1_AzureMachinePoolMachineTemplate_To_v1alpha4_AzureMachinePoolMachineTemplate converts an Azure Machine Pool Machine Template from v1beta1 to v1alpha4.
func Convert_v1beta1_AzureMachinePoolMachine_To_v1alpha4_AzureMachinePoolMachine ¶ added in v1.0.0
func Convert_v1beta1_AzureMachinePoolMachine_To_v1alpha4_AzureMachinePoolMachine(in *v1beta1.AzureMachinePoolMachine, out *AzureMachinePoolMachine, s conversion.Scope) error
Convert_v1beta1_AzureMachinePoolMachine_To_v1alpha4_AzureMachinePoolMachine is an autogenerated conversion function.
func Convert_v1beta1_AzureMachinePoolSpec_To_v1alpha4_AzureMachinePoolSpec ¶ added in v1.0.0
func Convert_v1beta1_AzureMachinePoolSpec_To_v1alpha4_AzureMachinePoolSpec(in *infrav1exp.AzureMachinePoolSpec, out *AzureMachinePoolSpec, s apiconversion.Scope) error
Convert_v1beta1_AzureMachinePoolSpec_To_v1alpha4_AzureMachinePoolSpec converts a v1beta1 AzureMachinePool.Spec to a v1alpha4 AzureMachinePool.Spec.
func Convert_v1beta1_AzureMachinePoolStatus_To_v1alpha4_AzureMachinePoolStatus ¶ added in v1.0.0
func Convert_v1beta1_AzureMachinePoolStatus_To_v1alpha4_AzureMachinePoolStatus(in *v1beta1.AzureMachinePoolStatus, out *AzureMachinePoolStatus, s conversion.Scope) error
Convert_v1beta1_AzureMachinePoolStatus_To_v1alpha4_AzureMachinePoolStatus is an autogenerated conversion function.
func Convert_v1beta1_AzureMachinePool_To_v1alpha4_AzureMachinePool ¶ added in v1.0.0
func Convert_v1beta1_AzureMachinePool_To_v1alpha4_AzureMachinePool(in *v1beta1.AzureMachinePool, out *AzureMachinePool, s conversion.Scope) error
Convert_v1beta1_AzureMachinePool_To_v1alpha4_AzureMachinePool is an autogenerated conversion function.
func Convert_v1beta1_Image_To_v1alpha4_Image ¶ added in v1.0.0
func Convert_v1beta1_Image_To_v1alpha4_Image(in *infrav1.Image, out *infrav1alpha4.Image, s conversion.Scope) error
Convert_v1beta1_Image_To_v1alpha4_Image is a conversion function.
func Convert_v1beta1_MachineRollingUpdateDeployment_To_v1alpha4_MachineRollingUpdateDeployment ¶ added in v1.0.0
func Convert_v1beta1_MachineRollingUpdateDeployment_To_v1alpha4_MachineRollingUpdateDeployment(in *v1beta1.MachineRollingUpdateDeployment, out *MachineRollingUpdateDeployment, s conversion.Scope) error
Convert_v1beta1_MachineRollingUpdateDeployment_To_v1alpha4_MachineRollingUpdateDeployment is an autogenerated conversion function.
func Convert_v1beta1_OSDisk_To_v1alpha4_OSDisk ¶ added in v1.0.0
func Convert_v1beta1_OSDisk_To_v1alpha4_OSDisk(in *infrav1.OSDisk, out *infrav1alpha4.OSDisk, s conversion.Scope) error
Convert_v1beta1_OSDisk_To_v1alpha4_OSDisk is a conversion function.
func Convert_v1beta1_SpotVMOptions_To_v1alpha4_SpotVMOptions ¶ added in v1.6.0
func Convert_v1beta1_SpotVMOptions_To_v1alpha4_SpotVMOptions(in *infrav1.SpotVMOptions, out *infrav1alpha4.SpotVMOptions, s apiconversion.Scope) error
Convert_v1beta1_SpotVMOptions_To_v1alpha4_SpotVMOptions converts a SpotVMOptions from v1beta1 to v1alpha4.
func RegisterConversions ¶ added in v1.0.0
RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.
Types ¶
type AzureMachinePool ¶
type AzureMachinePool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AzureMachinePoolSpec `json:"spec,omitempty"` Status AzureMachinePoolStatus `json:"status,omitempty"` }
AzureMachinePool is the Schema for the azuremachinepools API.
func (*AzureMachinePool) ConvertFrom ¶ added in v1.0.0
func (dst *AzureMachinePool) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the Hub version (v1beta1) to this version.
func (*AzureMachinePool) ConvertTo ¶ added in v1.0.0
func (src *AzureMachinePool) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this AzureMachinePool to the Hub version (v1beta1).
func (*AzureMachinePool) DeepCopy ¶
func (in *AzureMachinePool) DeepCopy() *AzureMachinePool
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePool.
func (*AzureMachinePool) DeepCopyInto ¶
func (in *AzureMachinePool) DeepCopyInto(out *AzureMachinePool)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureMachinePool) DeepCopyObject ¶
func (in *AzureMachinePool) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AzureMachinePool) GetConditions ¶
func (amp *AzureMachinePool) GetConditions() clusterv1alpha4.Conditions
GetConditions returns the list of conditions for an AzureMachinePool API object.
func (*AzureMachinePool) GetFutures ¶ added in v0.5.3
func (amp *AzureMachinePool) GetFutures() infrav1alpha4.Futures
GetFutures returns the list of long running operation states for an AzureMachinePool API object.
func (*AzureMachinePool) SetConditions ¶
func (amp *AzureMachinePool) SetConditions(conditions clusterv1alpha4.Conditions)
SetConditions will set the given conditions on an AzureMachinePool object.
func (*AzureMachinePool) SetFutures ¶ added in v0.5.3
func (amp *AzureMachinePool) SetFutures(futures infrav1alpha4.Futures)
SetFutures will set the given long running operation states on an AzureMachinePool object.
type AzureMachinePoolDeletePolicyType ¶
type AzureMachinePoolDeletePolicyType string
AzureMachinePoolDeletePolicyType is the type of DeletePolicy employed to select machines to be deleted during an upgrade.
type AzureMachinePoolDeploymentStrategy ¶
type AzureMachinePoolDeploymentStrategy struct { // Type of deployment. Currently the only supported strategy is RollingUpdate // +optional // +kubebuilder:validation:Enum=RollingUpdate // +optional // +kubebuilder:default=RollingUpdate Type AzureMachinePoolDeploymentStrategyType `json:"type,omitempty"` // Rolling update config params. Present only if // MachineDeploymentStrategyType = RollingUpdate. // +optional RollingUpdate *MachineRollingUpdateDeployment `json:"rollingUpdate,omitempty"` }
AzureMachinePoolDeploymentStrategy describes how to replace existing machines with new ones.
func (*AzureMachinePoolDeploymentStrategy) DeepCopy ¶
func (in *AzureMachinePoolDeploymentStrategy) DeepCopy() *AzureMachinePoolDeploymentStrategy
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolDeploymentStrategy.
func (*AzureMachinePoolDeploymentStrategy) DeepCopyInto ¶
func (in *AzureMachinePoolDeploymentStrategy) DeepCopyInto(out *AzureMachinePoolDeploymentStrategy)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureMachinePoolDeploymentStrategyType ¶
type AzureMachinePoolDeploymentStrategyType string
AzureMachinePoolDeploymentStrategyType is the type of deployment strategy employed to rollout a new version of the AzureMachinePool.
type AzureMachinePoolInstanceStatus ¶
type AzureMachinePoolInstanceStatus struct { // Version defines the Kubernetes version for the VM Instance // +optional Version string `json:"version"` // ProvisioningState is the provisioning state of the Azure virtual machine instance. // +optional ProvisioningState *infrav1alpha4.ProvisioningState `json:"provisioningState"` // ProviderID is the provider identification of the VMSS Instance // +optional ProviderID string `json:"providerID"` // InstanceID is the identification of the Machine Instance within the VMSS // +optional InstanceID string `json:"instanceID"` // InstanceName is the name of the Machine Instance within the VMSS // +optional InstanceName string `json:"instanceName"` // LatestModelApplied indicates the instance is running the most up-to-date VMSS model. A VMSS model describes // the image version the VM is running. If the instance is not running the latest model, it means the instance // may not be running the version of Kubernetes the Machine Pool has specified and needs to be updated. LatestModelApplied bool `json:"latestModelApplied"` }
AzureMachinePoolInstanceStatus provides status information for each instance in the VMSS.
func (*AzureMachinePoolInstanceStatus) DeepCopy ¶
func (in *AzureMachinePoolInstanceStatus) DeepCopy() *AzureMachinePoolInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolInstanceStatus.
func (*AzureMachinePoolInstanceStatus) DeepCopyInto ¶
func (in *AzureMachinePoolInstanceStatus) DeepCopyInto(out *AzureMachinePoolInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureMachinePoolList ¶
type AzureMachinePoolList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AzureMachinePool `json:"items"` }
AzureMachinePoolList contains a list of AzureMachinePools.
func (*AzureMachinePoolList) ConvertFrom ¶ added in v1.2.0
func (dst *AzureMachinePoolList) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the Hub version (v1beta1) to this version.
func (*AzureMachinePoolList) ConvertTo ¶ added in v1.2.0
func (src *AzureMachinePoolList) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this AzureMachinePool to the Hub version (v1beta1).
func (*AzureMachinePoolList) DeepCopy ¶
func (in *AzureMachinePoolList) DeepCopy() *AzureMachinePoolList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolList.
func (*AzureMachinePoolList) DeepCopyInto ¶
func (in *AzureMachinePoolList) DeepCopyInto(out *AzureMachinePoolList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureMachinePoolList) DeepCopyObject ¶
func (in *AzureMachinePoolList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AzureMachinePoolMachine ¶
type AzureMachinePoolMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec AzureMachinePoolMachineSpec `json:"spec,omitempty"` Status AzureMachinePoolMachineStatus `json:"status,omitempty"` }
AzureMachinePoolMachine is the Schema for the azuremachinepoolmachines API.
func (*AzureMachinePoolMachine) ConvertFrom ¶ added in v1.0.0
func (dst *AzureMachinePoolMachine) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the Hub version (v1beta1) to this version.
func (*AzureMachinePoolMachine) ConvertTo ¶ added in v1.0.0
func (src *AzureMachinePoolMachine) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this AzureMachinePoolMachine to the Hub version (v1beta1).
func (*AzureMachinePoolMachine) DeepCopy ¶
func (in *AzureMachinePoolMachine) DeepCopy() *AzureMachinePoolMachine
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolMachine.
func (*AzureMachinePoolMachine) DeepCopyInto ¶
func (in *AzureMachinePoolMachine) DeepCopyInto(out *AzureMachinePoolMachine)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureMachinePoolMachine) DeepCopyObject ¶
func (in *AzureMachinePoolMachine) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*AzureMachinePoolMachine) GetConditions ¶
func (ampm *AzureMachinePoolMachine) GetConditions() clusterv1alpha4.Conditions
GetConditions returns the list of conditions for an AzureMachinePool API object.
func (*AzureMachinePoolMachine) GetFutures ¶ added in v0.5.3
func (ampm *AzureMachinePoolMachine) GetFutures() infrav1alpha4.Futures
GetFutures returns the list of long running operation states for an AzureMachinePoolMachine API object.
func (*AzureMachinePoolMachine) SetConditions ¶
func (ampm *AzureMachinePoolMachine) SetConditions(conditions clusterv1alpha4.Conditions)
SetConditions will set the given conditions on an AzureMachinePool object.
func (*AzureMachinePoolMachine) SetFutures ¶ added in v0.5.3
func (ampm *AzureMachinePoolMachine) SetFutures(futures infrav1alpha4.Futures)
SetFutures will set the given long running operation states on an AzureMachinePoolMachine object.
type AzureMachinePoolMachineList ¶
type AzureMachinePoolMachineList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []AzureMachinePoolMachine `json:"items"` }
AzureMachinePoolMachineList contains a list of AzureMachinePoolMachines.
func (*AzureMachinePoolMachineList) ConvertFrom ¶ added in v1.2.0
func (dst *AzureMachinePoolMachineList) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the Hub version (v1beta1) to this version.
func (*AzureMachinePoolMachineList) ConvertTo ¶ added in v1.2.0
func (src *AzureMachinePoolMachineList) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts this AzureMachinePoolMachineList to the Hub version (v1beta1).
func (*AzureMachinePoolMachineList) DeepCopy ¶
func (in *AzureMachinePoolMachineList) DeepCopy() *AzureMachinePoolMachineList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolMachineList.
func (*AzureMachinePoolMachineList) DeepCopyInto ¶
func (in *AzureMachinePoolMachineList) DeepCopyInto(out *AzureMachinePoolMachineList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*AzureMachinePoolMachineList) DeepCopyObject ¶
func (in *AzureMachinePoolMachineList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type AzureMachinePoolMachineSpec ¶
type AzureMachinePoolMachineSpec struct { // ProviderID is the identification ID of the Virtual Machine Scale Set ProviderID string `json:"providerID"` // InstanceID is the identification of the Machine Instance within the VMSS InstanceID string `json:"instanceID"` }
AzureMachinePoolMachineSpec defines the desired state of AzureMachinePoolMachine.
func (*AzureMachinePoolMachineSpec) DeepCopy ¶
func (in *AzureMachinePoolMachineSpec) DeepCopy() *AzureMachinePoolMachineSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolMachineSpec.
func (*AzureMachinePoolMachineSpec) DeepCopyInto ¶
func (in *AzureMachinePoolMachineSpec) DeepCopyInto(out *AzureMachinePoolMachineSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureMachinePoolMachineStatus ¶
type AzureMachinePoolMachineStatus struct { // NodeRef will point to the corresponding Node if it exists. // +optional NodeRef *corev1.ObjectReference `json:"nodeRef,omitempty"` // Version defines the Kubernetes version for the VM Instance // +optional Version string `json:"version"` // ProvisioningState is the provisioning state of the Azure virtual machine instance. // +optional ProvisioningState *infrav1alpha4.ProvisioningState `json:"provisioningState"` // InstanceName is the name of the Machine Instance within the VMSS // +optional InstanceName string `json:"instanceName"` // FailureReason will be set in the event that there is a terminal problem // reconciling the MachinePool machine and will contain a succinct value suitable // for machine interpretation. // // Any transient errors that occur during the reconciliation of MachinePools // can be added as events to the MachinePool object and/or logged in the // controller's output. // +optional FailureReason *errors.MachineStatusError `json:"failureReason,omitempty"` // FailureMessage will be set in the event that there is a terminal problem // reconciling the MachinePool and will contain a more verbose string suitable // for logging and human consumption. // // Any transient errors that occur during the reconciliation of MachinePools // can be added as events to the MachinePool object and/or logged in the // controller's output. // +optional FailureMessage *string `json:"failureMessage,omitempty"` // Conditions defines current service state of the AzureMachinePool. // +optional Conditions clusterv1alpha4.Conditions `json:"conditions,omitempty"` // LongRunningOperationStates saves the state for Azure long running operations so they can be continued on the // next reconciliation loop. // +optional LongRunningOperationStates infrav1alpha4.Futures `json:"longRunningOperationStates,omitempty"` // LatestModelApplied indicates the instance is running the most up-to-date VMSS model. A VMSS model describes // the image version the VM is running. If the instance is not running the latest model, it means the instance // may not be running the version of Kubernetes the Machine Pool has specified and needs to be updated. LatestModelApplied bool `json:"latestModelApplied"` // Ready is true when the provider resource is ready. // +optional Ready bool `json:"ready"` }
AzureMachinePoolMachineStatus defines the observed state of AzureMachinePoolMachine.
func (*AzureMachinePoolMachineStatus) DeepCopy ¶
func (in *AzureMachinePoolMachineStatus) DeepCopy() *AzureMachinePoolMachineStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolMachineStatus.
func (*AzureMachinePoolMachineStatus) DeepCopyInto ¶
func (in *AzureMachinePoolMachineStatus) DeepCopyInto(out *AzureMachinePoolMachineStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureMachinePoolMachineTemplate ¶
type AzureMachinePoolMachineTemplate struct { // VMSize is the size of the Virtual Machine to build. // See https://docs.microsoft.com/en-us/rest/api/compute/virtualmachines/createorupdate#virtualmachinesizetypes VMSize string `json:"vmSize"` // Image is used to provide details of an image to use during VM creation. // If image details are omitted the image will default the Azure Marketplace "capi" offer, // which is based on Ubuntu. // +kubebuilder:validation:nullable // +optional Image *infrav1alpha4.Image `json:"image,omitempty"` // OSDisk contains the operating system disk information for a Virtual Machine OSDisk infrav1alpha4.OSDisk `json:"osDisk"` // DataDisks specifies the list of data disks to be created for a Virtual Machine // +optional DataDisks []infrav1alpha4.DataDisk `json:"dataDisks,omitempty"` // SSHPublicKey is the SSH public key string base64 encoded to add to a Virtual Machine SSHPublicKey string `json:"sshPublicKey"` // AcceleratedNetworking enables or disables Azure accelerated networking. If omitted, it will be set based on // whether the requested VMSize supports accelerated networking. // If AcceleratedNetworking is set to true with a VMSize that does not support it, Azure will return an error. // +optional AcceleratedNetworking *bool `json:"acceleratedNetworking,omitempty"` // TerminateNotificationTimeout enables or disables VMSS scheduled events termination notification with specified timeout // allowed values are between 5 and 15 (mins) // +optional TerminateNotificationTimeout *int `json:"terminateNotificationTimeout,omitempty"` // SecurityProfile specifies the Security profile settings for a virtual machine. // +optional SecurityProfile *infrav1alpha4.SecurityProfile `json:"securityProfile,omitempty"` // SpotVMOptions allows the ability to specify the Machine should use a Spot VM // +optional SpotVMOptions *infrav1alpha4.SpotVMOptions `json:"spotVMOptions,omitempty"` // SubnetName selects the Subnet where the VMSS will be placed // +optional SubnetName string `json:"subnetName,omitempty"` }
AzureMachinePoolMachineTemplate defines the template for an AzureMachine.
func (*AzureMachinePoolMachineTemplate) DeepCopy ¶
func (in *AzureMachinePoolMachineTemplate) DeepCopy() *AzureMachinePoolMachineTemplate
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolMachineTemplate.
func (*AzureMachinePoolMachineTemplate) DeepCopyInto ¶
func (in *AzureMachinePoolMachineTemplate) DeepCopyInto(out *AzureMachinePoolMachineTemplate)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureMachinePoolSpec ¶
type AzureMachinePoolSpec struct { // Location is the Azure region location e.g. westus2 Location string `json:"location"` // Template contains the details used to build a replica virtual machine within the Machine Pool Template AzureMachinePoolMachineTemplate `json:"template"` // AdditionalTags is an optional set of tags to add to an instance, in addition to the ones added by default by the // Azure provider. If both the AzureCluster and the AzureMachine specify the same tag name with different values, the // AzureMachine's value takes precedence. // +optional AdditionalTags infrav1alpha4.Tags `json:"additionalTags,omitempty"` // ProviderID is the identification ID of the Virtual Machine Scale Set // +optional ProviderID string `json:"providerID,omitempty"` // ProviderIDList are the identification IDs of machine instances provided by the provider. // This field must match the provider IDs as seen on the node objects corresponding to a machine pool's machine instances. // +optional ProviderIDList []string `json:"providerIDList,omitempty"` // Identity is the type of identity used for the Virtual Machine Scale Set. // The type 'SystemAssigned' is an implicitly created identity. // The generated identity will be assigned a Subscription contributor role. // The type 'UserAssigned' is a standalone Azure resource provided by the user // and assigned to the VM // +kubebuilder:default=None // +optional Identity infrav1alpha4.VMIdentity `json:"identity,omitempty"` // UserAssignedIdentities is a list of standalone Azure identities provided by the user // The lifecycle of a user-assigned identity is managed separately from the lifecycle of // the AzureMachinePool. // See https://docs.microsoft.com/en-us/azure/active-directory/managed-identities-azure-resources/how-to-manage-ua-identity-cli // +optional UserAssignedIdentities []infrav1alpha4.UserAssignedIdentity `json:"userAssignedIdentities,omitempty"` // RoleAssignmentName is the name of the role assignment to create for a system assigned identity. It can be any valid GUID. // If not specified, a random GUID will be generated. // +optional RoleAssignmentName string `json:"roleAssignmentName,omitempty"` // The deployment strategy to use to replace existing AzureMachinePoolMachines with new ones. // +optional // +kubebuilder:default={type: "RollingUpdate", rollingUpdate: {maxSurge: 1, maxUnavailable: 0, deletePolicy: Oldest}} Strategy AzureMachinePoolDeploymentStrategy `json:"strategy,omitempty"` // NodeDrainTimeout is the total amount of time that the controller will spend on draining a node. // The default value is 0, meaning that the node can be drained without any time limitations. // NOTE: NodeDrainTimeout is different from `kubectl drain --timeout` // +optional NodeDrainTimeout *metav1.Duration `json:"nodeDrainTimeout,omitempty"` }
AzureMachinePoolSpec defines the desired state of AzureMachinePool.
func (*AzureMachinePoolSpec) DeepCopy ¶
func (in *AzureMachinePoolSpec) DeepCopy() *AzureMachinePoolSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolSpec.
func (*AzureMachinePoolSpec) DeepCopyInto ¶
func (in *AzureMachinePoolSpec) DeepCopyInto(out *AzureMachinePoolSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type AzureMachinePoolStatus ¶
type AzureMachinePoolStatus struct { // Ready is true when the provider resource is ready. // +optional Ready bool `json:"ready"` // Replicas is the most recently observed number of replicas. // +optional Replicas int32 `json:"replicas"` // Instances is the VM instance status for each VM in the VMSS // +optional Instances []*AzureMachinePoolInstanceStatus `json:"instances,omitempty"` // Image is the current image used in the AzureMachinePool. When the spec image is nil, this image is populated // with the details of the defaulted Azure Marketplace "capi" offer. // +optional Image *infrav1alpha4.Image `json:"image,omitempty"` // Version is the Kubernetes version for the current VMSS model // +optional Version string `json:"version"` // ProvisioningState is the provisioning state of the Azure virtual machine. // +optional ProvisioningState *infrav1alpha4.ProvisioningState `json:"provisioningState,omitempty"` // FailureReason will be set in the event that there is a terminal problem // reconciling the MachinePool and will contain a succinct value suitable // for machine interpretation. // // This field should not be set for transitive errors that a controller // faces that are expected to be fixed automatically over // time (like service outages), but instead indicate that something is // fundamentally wrong with the MachinePool's spec or the configuration of // the controller, and that manual intervention is required. Examples // of terminal errors would be invalid combinations of settings in the // spec, values that are unsupported by the controller, or the // responsible controller itself being critically misconfigured. // // Any transient errors that occur during the reconciliation of MachinePools // can be added as events to the MachinePool object and/or logged in the // controller's output. // +optional FailureReason *errors.MachineStatusError `json:"failureReason,omitempty"` // FailureMessage will be set in the event that there is a terminal problem // reconciling the MachinePool and will contain a more verbose string suitable // for logging and human consumption. // // This field should not be set for transitive errors that a controller // faces that are expected to be fixed automatically over // time (like service outages), but instead indicate that something is // fundamentally wrong with the MachinePool's spec or the configuration of // the controller, and that manual intervention is required. Examples // of terminal errors would be invalid combinations of settings in the // spec, values that are unsupported by the controller, or the // responsible controller itself being critically misconfigured. // // Any transient errors that occur during the reconciliation of MachinePools // can be added as events to the MachinePool object and/or logged in the // controller's output. // +optional FailureMessage *string `json:"failureMessage,omitempty"` // Conditions defines current service state of the AzureMachinePool. // +optional Conditions clusterv1alpha4.Conditions `json:"conditions,omitempty"` // LongRunningOperationStates saves the state for Azure long-running operations so they can be continued on the // next reconciliation loop. // +optional LongRunningOperationStates infrav1alpha4.Futures `json:"longRunningOperationStates,omitempty"` }
AzureMachinePoolStatus defines the observed state of AzureMachinePool.
func (*AzureMachinePoolStatus) DeepCopy ¶
func (in *AzureMachinePoolStatus) DeepCopy() *AzureMachinePoolStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolStatus.
func (*AzureMachinePoolStatus) DeepCopyInto ¶
func (in *AzureMachinePoolStatus) DeepCopyInto(out *AzureMachinePoolStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MachineRollingUpdateDeployment ¶
type MachineRollingUpdateDeployment struct { // Value can be an absolute number (ex: 5) or a percentage of desired // machines (ex: 10%). // Absolute number is calculated from percentage by rounding down. // This can not be 0 if MaxSurge is 0. // Defaults to 0. // Example: when this is set to 30%, the old MachineSet can be scaled // down to 70% of desired machines immediately when the rolling update // starts. Once new machines are ready, old MachineSet can be scaled // down further, followed by scaling up the new MachineSet, ensuring // that the total number of machines available at all times // during the update is at least 70% of desired machines. // +optional // +kubebuilder:default:=0 MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"` // The maximum number of machines that can be scheduled above the // desired number of machines. // Value can be an absolute number (ex: 5) or a percentage of // desired machines (ex: 10%). // This can not be 0 if MaxUnavailable is 0. // Absolute number is calculated from percentage by rounding up. // Defaults to 1. // Example: when this is set to 30%, the new MachineSet can be scaled // up immediately when the rolling update starts, such that the total // number of old and new machines do not exceed 130% of desired // machines. Once old machines have been killed, new MachineSet can // be scaled up further, ensuring that total number of machines running // at any time during the update is at most 130% of desired machines. // +optional // +kubebuilder:default:=1 MaxSurge *intstr.IntOrString `json:"maxSurge,omitempty"` // DeletePolicy defines the policy used by the MachineDeployment to identify nodes to delete when downscaling. // Valid values are "Random, "Newest", "Oldest" // When no value is supplied, the default is Oldest // +optional // +kubebuilder:validation:Enum=Random;Newest;Oldest // +kubebuilder:default:=Oldest DeletePolicy AzureMachinePoolDeletePolicyType `json:"deletePolicy,omitempty"` }
MachineRollingUpdateDeployment is used to control the desired behavior of rolling update.
func (*MachineRollingUpdateDeployment) DeepCopy ¶
func (in *MachineRollingUpdateDeployment) DeepCopy() *MachineRollingUpdateDeployment
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MachineRollingUpdateDeployment.
func (*MachineRollingUpdateDeployment) DeepCopyInto ¶
func (in *MachineRollingUpdateDeployment) DeepCopyInto(out *MachineRollingUpdateDeployment)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.