machine

package
v2.21.4 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 46 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AutoscalerMinSizeAnnotation = "cluster.k8s.io/cluster-api-autoscaler-node-group-min-size"
	AutoscalerMaxSizeAnnotation = "cluster.k8s.io/cluster-api-autoscaler-node-group-max-size"
)

Variables

This section is empty.

Functions

func Deployment

Deployment returns a Machine Deployment object for the given Node Deployment spec.

func EncodeAsRawExtension added in v2.21.0

func EncodeAsRawExtension(providerConfig interface{}) (*runtime.RawExtension, error)

func GetAWSProviderConfig added in v2.21.0

func GetAWSProviderConfig(c *kubermaticv1.Cluster, nodeSpec apiv1.NodeSpec, dc *kubermaticv1.Datacenter) (*aws.RawConfig, error)

func GetAlibabaProviderConfig added in v2.21.0

func GetAlibabaProviderConfig(c *kubermaticv1.Cluster, nodeSpec apiv1.NodeSpec, dc *kubermaticv1.Datacenter) (*alibaba.RawConfig, error)

func GetAnexiaProviderConfig added in v2.21.0

func GetAnexiaProviderConfig(_ *kubermaticv1.Cluster, nodeSpec apiv1.NodeSpec, dc *kubermaticv1.Datacenter) (*anexia.RawConfig, error)

func GetAzureProviderConfig added in v2.21.0

func GetAzureProviderConfig(c *kubermaticv1.Cluster, nodeSpec apiv1.NodeSpec, dc *kubermaticv1.Datacenter) (*azure.RawConfig, error)

func GetDigitaloceanProviderConfig added in v2.21.0

func GetDigitaloceanProviderConfig(c *kubermaticv1.Cluster, nodeSpec apiv1.NodeSpec, dc *kubermaticv1.Datacenter) (*digitalocean.RawConfig, error)

func GetGCPProviderConfig added in v2.21.0

func GetGCPProviderConfig(c *kubermaticv1.Cluster, nodeSpec apiv1.NodeSpec, dc *kubermaticv1.Datacenter) (*gce.CloudProviderSpec, error)

func GetHetznerProviderConfig added in v2.21.0

func GetHetznerProviderConfig(c *kubermaticv1.Cluster, nodeSpec apiv1.NodeSpec, dc *kubermaticv1.Datacenter) (*hetzner.RawConfig, error)

func GetKubevirtProviderConfig added in v2.21.0

func GetKubevirtProviderConfig(cluster *kubermaticv1.Cluster, nodeSpec apiv1.NodeSpec, dc *kubermaticv1.Datacenter) (*kubevirt.RawConfig, error)

func GetNutanixProviderConfig added in v2.21.0

func GetNutanixProviderConfig(c *kubermaticv1.Cluster, nodeSpec apiv1.NodeSpec, dc *kubermaticv1.Datacenter) (*nutanix.RawConfig, error)

func GetOpenstackProviderConfig added in v2.21.0

func GetOpenstackProviderConfig(c *kubermaticv1.Cluster, nodeSpec apiv1.NodeSpec, dc *kubermaticv1.Datacenter) (*openstack.RawConfig, error)

func GetPacketProviderConfig added in v2.21.0

func GetPacketProviderConfig(c *kubermaticv1.Cluster, nodeSpec apiv1.NodeSpec, dc *kubermaticv1.Datacenter) (*equinixmetal.RawConfig, error)

func GetVMwareCloudDirectorProviderConfig added in v2.21.0

func GetVMwareCloudDirectorProviderConfig(c *kubermaticv1.Cluster, nodeSpec apiv1.NodeSpec, dc *kubermaticv1.Datacenter) (*vcd.RawConfig, error)

func GetVSphereProviderConfig added in v2.21.0

func GetVSphereProviderConfig(c *kubermaticv1.Cluster, nodeSpec apiv1.NodeSpec, dc *kubermaticv1.Datacenter) (*vsphere.RawConfig, error)

func Validate

func Validate(nd *apiv1.NodeDeployment, controlPlaneVersion *semverlib.Version) (*apiv1.NodeDeployment, error)

Validate if the node deployment structure fulfills certain requirements. It returns node deployment with updated kubelet version if it wasn't specified.

Types

This section is empty.

Jump to

Keyboard shortcuts

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