v1alpha3

package
v0.4.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

Package v1alpha3 contains API Schema definitions for the exp v1alpha3 API group +kubebuilder:object:generate=true +groupName=exp.infrastructure.cluster.x-k8s.io

Index

Constants

This section is empty.

Variables

View Source
var (
	// GroupVersion is group version used to register these objects
	GroupVersion = schema.GroupVersion{Group: "exp.infrastructure.cluster.x-k8s.io", Version: "v1alpha3"}

	// 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

This section is empty.

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

func (amp *AzureMachinePool) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*AzureMachinePool) GetConditions added in v0.4.10

func (amp *AzureMachinePool) GetConditions() clusterv1.Conditions

GetConditions returns the list of conditions for an AzureMachinePool API object.

func (*AzureMachinePool) SetConditions added in v0.4.10

func (amp *AzureMachinePool) SetConditions(conditions clusterv1.Conditions)

SetConditions will set the given conditions on an AzureMachinePool object

func (*AzureMachinePool) SetDefaultSSHPublicKey added in v0.4.9

func (amp *AzureMachinePool) SetDefaultSSHPublicKey() error

SetDefaultSSHPublicKey sets the default SSHPublicKey for an AzureMachinePool

func (*AzureMachinePool) SetIdentityDefaults added in v0.4.10

func (amp *AzureMachinePool) SetIdentityDefaults()

SetIdentityDefaults sets the defaults for VMSS Identity.

func (*AzureMachinePool) SetupWebhookWithManager

func (amp *AzureMachinePool) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager sets up and registers the webhook with the manager.

func (*AzureMachinePool) Validate

func (amp *AzureMachinePool) Validate(old runtime.Object) error

Validate the Azure Machine Pool and return an aggregate error

func (*AzureMachinePool) ValidateCreate

func (amp *AzureMachinePool) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AzureMachinePool) ValidateDelete

func (amp *AzureMachinePool) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AzureMachinePool) ValidateImage

func (amp *AzureMachinePool) ValidateImage() error

ValidateImage of an AzureMachinePool

func (*AzureMachinePool) ValidateSSHKey added in v0.4.9

func (amp *AzureMachinePool) ValidateSSHKey() error

ValidateSSHKey validates an SSHKey

func (*AzureMachinePool) ValidateSystemAssignedIdentity added in v0.4.10

func (amp *AzureMachinePool) ValidateSystemAssignedIdentity(old runtime.Object) func() error

ValidateSystemAssignedIdentity validates system-assigned identity role

func (*AzureMachinePool) ValidateTerminateNotificationTimeout added in v0.4.8

func (amp *AzureMachinePool) ValidateTerminateNotificationTimeout() error

ValidateTerminateNotificationTimeout termination notification timeout to be between 5 and 15

func (*AzureMachinePool) ValidateUpdate

func (amp *AzureMachinePool) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

func (*AzureMachinePool) ValidateUserAssignedIdentity added in v0.4.10

func (amp *AzureMachinePool) ValidateUserAssignedIdentity() error

ValidateUserAssignedIdentity validates the user-assigned identities list

type AzureMachinePoolInstanceStatus added in v0.4.10

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 *infrav1.VMState `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 added in v0.4.10

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachinePoolInstanceStatus.

func (*AzureMachinePoolInstanceStatus) DeepCopyInto added in v0.4.10

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 AzureMachinePool

func (*AzureMachinePoolList) DeepCopy

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 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 AzureMachineTemplate `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 infrav1.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 infrav1.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 []infrav1.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"`
}

AzureMachinePoolSpec defines the desired state of AzureMachinePool

func (*AzureMachinePoolSpec) DeepCopy

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"`

	// 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 *infrav1.VMState `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 clusterv1.Conditions `json:"conditions,omitempty"`

	// LongRunningOperationState saves the state for an Azure long running operations so it can be continued on the
	// next reconciliation loop.
	// +optional
	LongRunningOperationState *infrav1.Future `json:"longRunningOperationState,omitempty"`
}

AzureMachinePoolStatus defines the observed state of AzureMachinePool

func (*AzureMachinePoolStatus) DeepCopy

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 AzureMachineTemplate

type AzureMachineTemplate 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 Virtual Machine 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 *infrav1.Image `json:"image,omitempty"`

	// OSDisk contains the operating system disk information for a Virtual Machine
	OSDisk infrav1.OSDisk `json:"osDisk"`

	// DataDisks specifies the list of data disks to be created for a Virtual Machine
	// +optional
	DataDisks []infrav1.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 *infrav1.SecurityProfile `json:"securityProfile,omitempty"`

	// SpotVMOptions allows the ability to specify the Machine should use a Spot VM
	// +optional
	SpotVMOptions *infrav1.SpotVMOptions `json:"spotVMOptions,omitempty"`
}

AzureMachineTemplate defines the template for an AzureMachine.

func (*AzureMachineTemplate) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureMachineTemplate.

func (*AzureMachineTemplate) DeepCopyInto

func (in *AzureMachineTemplate) DeepCopyInto(out *AzureMachineTemplate)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureManagedCluster added in v0.4.4

type AzureManagedCluster struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AzureManagedClusterSpec   `json:"spec,omitempty"`
	Status AzureManagedClusterStatus `json:"status,omitempty"`
}

AzureManagedCluster is the Schema for the azuremanagedclusters API

func (*AzureManagedCluster) DeepCopy added in v0.4.4

func (in *AzureManagedCluster) DeepCopy() *AzureManagedCluster

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureManagedCluster.

func (*AzureManagedCluster) DeepCopyInto added in v0.4.4

func (in *AzureManagedCluster) DeepCopyInto(out *AzureManagedCluster)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureManagedCluster) DeepCopyObject added in v0.4.4

func (in *AzureManagedCluster) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AzureManagedClusterList added in v0.4.4

type AzureManagedClusterList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AzureManagedCluster `json:"items"`
}

AzureManagedClusterList contains a list of AzureManagedCluster

func (*AzureManagedClusterList) DeepCopy added in v0.4.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureManagedClusterList.

func (*AzureManagedClusterList) DeepCopyInto added in v0.4.4

func (in *AzureManagedClusterList) DeepCopyInto(out *AzureManagedClusterList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureManagedClusterList) DeepCopyObject added in v0.4.4

func (in *AzureManagedClusterList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AzureManagedClusterSpec added in v0.4.4

type AzureManagedClusterSpec struct {
	// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
	// +optional
	ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`
}

AzureManagedClusterSpec defines the desired state of AzureManagedCluster

func (*AzureManagedClusterSpec) DeepCopy added in v0.4.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureManagedClusterSpec.

func (*AzureManagedClusterSpec) DeepCopyInto added in v0.4.4

func (in *AzureManagedClusterSpec) DeepCopyInto(out *AzureManagedClusterSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureManagedClusterStatus added in v0.4.4

type AzureManagedClusterStatus struct {
	// Ready is true when the provider resource is ready.
	// +optional
	Ready bool `json:"ready,omitempty"`
}

AzureManagedClusterStatus defines the observed state of AzureManagedCluster

func (*AzureManagedClusterStatus) DeepCopy added in v0.4.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureManagedClusterStatus.

func (*AzureManagedClusterStatus) DeepCopyInto added in v0.4.4

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureManagedControlPlane added in v0.4.4

type AzureManagedControlPlane struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AzureManagedControlPlaneSpec   `json:"spec,omitempty"`
	Status AzureManagedControlPlaneStatus `json:"status,omitempty"`
}

AzureManagedControlPlane is the Schema for the azuremanagedcontrolplanes API

func (*AzureManagedControlPlane) DeepCopy added in v0.4.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureManagedControlPlane.

func (*AzureManagedControlPlane) DeepCopyInto added in v0.4.4

func (in *AzureManagedControlPlane) DeepCopyInto(out *AzureManagedControlPlane)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureManagedControlPlane) DeepCopyObject added in v0.4.4

func (in *AzureManagedControlPlane) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*AzureManagedControlPlane) Default added in v0.4.8

func (r *AzureManagedControlPlane) Default()

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*AzureManagedControlPlane) SetupWebhookWithManager added in v0.4.8

func (r *AzureManagedControlPlane) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager sets up and registers the webhook with the manager.

func (*AzureManagedControlPlane) Validate added in v0.4.9

func (r *AzureManagedControlPlane) Validate() error

Validate the Azure Machine Pool and return an aggregate error

func (*AzureManagedControlPlane) ValidateCreate added in v0.4.8

func (r *AzureManagedControlPlane) ValidateCreate() error

ValidateCreate implements webhook.Validator so a webhook will be registered for the type

func (*AzureManagedControlPlane) ValidateDelete added in v0.4.8

func (r *AzureManagedControlPlane) ValidateDelete() error

ValidateDelete implements webhook.Validator so a webhook will be registered for the type

func (*AzureManagedControlPlane) ValidateUpdate added in v0.4.8

func (r *AzureManagedControlPlane) ValidateUpdate(old runtime.Object) error

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type

type AzureManagedControlPlaneList added in v0.4.4

type AzureManagedControlPlaneList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AzureManagedControlPlane `json:"items"`
}

AzureManagedControlPlaneList contains a list of AzureManagedControlPlane

func (*AzureManagedControlPlaneList) DeepCopy added in v0.4.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureManagedControlPlaneList.

func (*AzureManagedControlPlaneList) DeepCopyInto added in v0.4.4

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureManagedControlPlaneList) DeepCopyObject added in v0.4.4

func (in *AzureManagedControlPlaneList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AzureManagedControlPlaneSpec added in v0.4.4

type AzureManagedControlPlaneSpec struct {
	// Version defines the desired Kubernetes version.
	// +kubebuilder:validation:MinLength:=2
	Version string `json:"version"`

	// ResourceGroupName is the name of the Azure resource group for this AKS Cluster.
	ResourceGroupName string `json:"resourceGroupName"`

	// NodeResourceGroupName is the name of the resource group
	// containining cluster IaaS resources. Will be populated to default
	// in webhook.
	NodeResourceGroupName string `json:"nodeResourceGroupName"`

	// VirtualNetwork describes the vnet for the AKS cluster. Will be created if it does not exist.
	VirtualNetwork ManagedControlPlaneVirtualNetwork `json:"virtualNetwork,omitempty"`

	// SubscriotionID is the GUID of the Azure subscription to hold this cluster.
	SubscriptionID string `json:"subscriptionID,omitempty"`

	// Location is a string matching one of the canonical Azure region names. Examples: "westus2", "eastus".
	Location string `json:"location"`

	// ControlPlaneEndpoint represents the endpoint used to communicate with the control plane.
	// +optional
	ControlPlaneEndpoint clusterv1.APIEndpoint `json:"controlPlaneEndpoint"`

	// AdditionalTags is an optional set of tags to add to Azure resources managed by the Azure provider, in addition to the
	// ones added by default.
	// +optional
	AdditionalTags infrav1.Tags `json:"additionalTags,omitempty"`

	// NetworkPlugin used for building Kubernetes network.
	// +kubebuilder:validation:Enum=azure;kubenet
	// +optional
	NetworkPlugin *string `json:"networkPlugin,omitempty"`

	// NetworkPolicy used for building Kubernetes network.
	// +kubebuilder:validation:Enum=azure;calico
	// +optional
	NetworkPolicy *string `json:"networkPolicy,omitempty"`

	// SSHPublicKey is a string literal containing an ssh public key base64 encoded.
	SSHPublicKey string `json:"sshPublicKey"`

	// DefaultPoolRef is the specification for the default pool, without which an AKS cluster cannot be created.
	DefaultPoolRef corev1.LocalObjectReference `json:"defaultPoolRef"`

	// DNSServiceIP is an IP address assigned to the Kubernetes DNS service.
	// It must be within the Kubernetes service address range specified in serviceCidr.
	// +optional
	DNSServiceIP *string `json:"dnsServiceIP,omitempty"`

	// LoadBalancerSKU is the SKU of the loadBalancer to be provisioned.
	// +kubebuilder:validation:Enum=Basic;Standard
	// +optional
	LoadBalancerSKU *string `json:"loadBalancerSKU,omitempty"`
}

AzureManagedControlPlaneSpec defines the desired state of AzureManagedControlPlane

func (*AzureManagedControlPlaneSpec) DeepCopy added in v0.4.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureManagedControlPlaneSpec.

func (*AzureManagedControlPlaneSpec) DeepCopyInto added in v0.4.4

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureManagedControlPlaneStatus added in v0.4.4

type AzureManagedControlPlaneStatus struct {
	// Ready is true when the provider resource is ready.
	// +optional
	Ready bool `json:"ready,omitempty"`

	// Initialized is true when the the control plane is available for initial contact.
	// This may occur before the control plane is fully ready.
	// In the AzureManagedControlPlane implementation, these are identical.
	// +optional
	Initialized bool `json:"initialized,omitempty"`
}

AzureManagedControlPlaneStatus defines the observed state of AzureManagedControlPlane

func (*AzureManagedControlPlaneStatus) DeepCopy added in v0.4.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureManagedControlPlaneStatus.

func (*AzureManagedControlPlaneStatus) DeepCopyInto added in v0.4.4

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureManagedMachinePool added in v0.4.4

type AzureManagedMachinePool struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.ObjectMeta `json:"metadata,omitempty"`

	Spec   AzureManagedMachinePoolSpec   `json:"spec,omitempty"`
	Status AzureManagedMachinePoolStatus `json:"status,omitempty"`
}

AzureManagedMachinePool is the Schema for the azuremanagedmachinepools API

func (*AzureManagedMachinePool) DeepCopy added in v0.4.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureManagedMachinePool.

func (*AzureManagedMachinePool) DeepCopyInto added in v0.4.4

func (in *AzureManagedMachinePool) DeepCopyInto(out *AzureManagedMachinePool)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureManagedMachinePool) DeepCopyObject added in v0.4.4

func (in *AzureManagedMachinePool) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AzureManagedMachinePoolList added in v0.4.4

type AzureManagedMachinePoolList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.ListMeta `json:"metadata,omitempty"`
	Items           []AzureManagedMachinePool `json:"items"`
}

AzureManagedMachinePoolList contains a list of AzureManagedMachinePool

func (*AzureManagedMachinePoolList) DeepCopy added in v0.4.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureManagedMachinePoolList.

func (*AzureManagedMachinePoolList) DeepCopyInto added in v0.4.4

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*AzureManagedMachinePoolList) DeepCopyObject added in v0.4.4

func (in *AzureManagedMachinePoolList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

type AzureManagedMachinePoolSpec added in v0.4.4

type AzureManagedMachinePoolSpec struct {
	// SKU is the size of the VMs in the node pool.
	SKU string `json:"sku"`

	// OSDiskSizeGB is the disk size for every machine in this agent pool.
	// If you specify 0, it will apply the default osDisk size according to the vmSize specified.
	OSDiskSizeGB *int32 `json:"osDiskSizeGB,omitempty"`

	// ProviderIDList is the unique identifier as specified by the cloud provider.
	// +optional
	ProviderIDList []string `json:"providerIDList,omitempty"`
}

AzureManagedMachinePoolSpec defines the desired state of AzureManagedMachinePool

func (*AzureManagedMachinePoolSpec) DeepCopy added in v0.4.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureManagedMachinePoolSpec.

func (*AzureManagedMachinePoolSpec) DeepCopyInto added in v0.4.4

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type AzureManagedMachinePoolStatus added in v0.4.4

type AzureManagedMachinePoolStatus 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"`

	// Any transient errors that occur during the reconciliation of Machines
	// can be added as events to the Machine object and/or logged in the
	// controller's output.
	// +optional
	ErrorReason *capierrors.MachineStatusError `json:"errorReason,omitempty"`

	// Any transient errors that occur during the reconciliation of Machines
	// can be added as events to the Machine object and/or logged in the
	// controller's output.
	// +optional
	ErrorMessage *string `json:"errorMessage,omitempty"`
}

AzureManagedMachinePoolStatus defines the observed state of AzureManagedMachinePool

func (*AzureManagedMachinePoolStatus) DeepCopy added in v0.4.4

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AzureManagedMachinePoolStatus.

func (*AzureManagedMachinePoolStatus) DeepCopyInto added in v0.4.4

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedControlPlaneSubnet added in v0.4.10

type ManagedControlPlaneSubnet struct {
	Name      string `json:"name"`
	CIDRBlock string `json:"cidrBlock"`
}

ManagedControlPlaneSubnet describes a subnet for an AKS cluster.

func (*ManagedControlPlaneSubnet) DeepCopy added in v0.4.10

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedControlPlaneSubnet.

func (*ManagedControlPlaneSubnet) DeepCopyInto added in v0.4.10

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type ManagedControlPlaneVirtualNetwork added in v0.4.10

type ManagedControlPlaneVirtualNetwork struct {
	Name      string                    `json:"name"`
	CIDRBlock string                    `json:"cidrBlock"`
	Subnet    ManagedControlPlaneSubnet `json:"subnet,omitempty"`
}

ManagedControlPlaneVirtualNetwork describes a virtual network required to provision AKS clusters.

func (*ManagedControlPlaneVirtualNetwork) DeepCopy added in v0.4.10

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ManagedControlPlaneVirtualNetwork.

func (*ManagedControlPlaneVirtualNetwork) DeepCopyInto added in v0.4.10

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VMSS

type VMSS struct {
	ID        string             `json:"id,omitempty"`
	Name      string             `json:"name,omitempty"`
	Sku       string             `json:"sku,omitempty"`
	Capacity  int64              `json:"capacity,omitempty"`
	Zones     []string           `json:"zones,omitempty"`
	Image     infrav1.Image      `json:"image,omitempty"`
	State     infrav1.VMState    `json:"vmState,omitempty"`
	Identity  infrav1.VMIdentity `json:"identity,omitempty"`
	Tags      infrav1.Tags       `json:"tags,omitempty"`
	Instances []VMSSVM           `json:"instances,omitempty"`
}

VMSS defines a virtual machine scale set.

func (*VMSS) DeepCopy

func (in *VMSS) DeepCopy() *VMSS

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMSS.

func (*VMSS) DeepCopyInto

func (in *VMSS) DeepCopyInto(out *VMSS)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type VMSSVM

type VMSSVM struct {
	ID                 string          `json:"id,omitempty"`
	InstanceID         string          `json:"instanceID,omitempty"`
	Name               string          `json:"name,omitempty"`
	AvailabilityZone   string          `json:"availabilityZone,omitempty"`
	State              infrav1.VMState `json:"vmState,omitempty"`
	LatestModelApplied bool            `json:"latestModelApplied,omitempty"`
}

VMSSVM defines a VM in a virtual machine scale set.

func (*VMSSVM) DeepCopy

func (in *VMSSVM) DeepCopy() *VMSSVM

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new VMSSVM.

func (*VMSSVM) DeepCopyInto

func (in *VMSSVM) DeepCopyInto(out *VMSSVM)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL