install

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCluster

func CreateCluster(clusterCfgFile, k8sVersion, ksVersion string, logger *log.Logger, ksEnabled, verbose, skipCheck, skipPullImages, inCluster, deployLocalStorage bool, downloadCmd, containerManager string) error

CreateCluster is used to create cluster based on the given parameters or configuration file.

func DownloadBinaries

func DownloadBinaries(mgr *manager.Manager) error

DownloadBinaries is used to download kubernetes' binaries.

func ExecTasks

func ExecTasks(mgr *manager.Manager) error

ExecTasks is used to schedule and execute installation tasks.

func Execute

func Execute(executor *executor.Executor) error

Execute executes the tasks based on the parameters in the Manager.

func GetClusterStatus

func GetClusterStatus(mgr *manager.Manager) error

GetClusterStatus is used to fetch status and info from cluster.

func InitKubernetesCluster

func InitKubernetesCluster(mgr *manager.Manager) error

InitKubernetesCluster is used to init a new cluster.

func InitOS

func InitOS(mgr *manager.Manager) error

InitOS is uesed to initialize the operating system. shuch as: override hostname, configuring kernel parameters, etc.

func InstallInternalLoadbalancer added in v1.2.0

func InstallInternalLoadbalancer(mgr *manager.Manager) error

InstallInternalLoadbalancer is used to install a internal load balancer to cluster.

func InstallKubeBinaries

func InstallKubeBinaries(mgr *manager.Manager) error

InstallKubeBinaries is used to install kubernetes' binaries to os' PATH.

func JoinNodesToCluster

func JoinNodesToCluster(mgr *manager.Manager) error

JoinNodesToCluster is used to join node to Cluster.

func PrePullImages

func PrePullImages(mgr *manager.Manager) error

PrePullImages is used to perform PullImages function.

func Precheck

func Precheck(mgr *manager.Manager) error

Precheck is used to perform the check function.

Types

This section is empty.

Jump to

Keyboard shortcuts

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