create

package
v0.0.0-...-ff55af6 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterOption

ClusterOption is a cluster creation option

func WaitForReady

func WaitForReady(interval time.Duration) ClusterOption

WaitForReady configures create to use interval as maximum wait time for the control plane node to be ready

func WithConfig

func WithConfig(cluster *ecsv1.KubernetesCluster) ClusterOption

WithConfig configures creating the cluster using the config file at path

func WithExternalLoadBalancer

func WithExternalLoadBalancer(cluster *ecsv1.KubernetesCluster) ClusterOption

WithExternalLoadBalancer configures creating the cluster externalLoadBalancer if exist externalLoadBalancer that is a vip or select a controlPlane nodeAddress by install server

func WithKubeConfigPath

func WithKubeConfigPath() ClusterOption

WithKubeConfigPath configures creating the cluster kube config path,default ~/.kube/config-default

func WithNodeAddressAndRole

func WithNodeAddressAndRole(cluster *ecsv1.KubernetesCluster) ClusterOption

WithNodeAddressAndRole configures the cluster local IP and role from kubernetescluster config

func WithNodeImage

func WithNodeImage(cluster *ecsv1.KubernetesCluster) ClusterOption

WithNodeImages is kubernetes version image,image contain kubelet,kubectl,kubeadm binary

Jump to

Keyboard shortcuts

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