kmm

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 26, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CleanUp

func CleanUp(cfg Config, releaseLock bool, deleteAssets bool) (err error)

CleanUp - will optionally clean all etcd resources

func GetAssets

func GetAssets(cfg Config) (err error)

GetAssets - kmm core logic

func InstallNetwork

func InstallNetwork(networkProvider string) (err error)

InstallNetwork - Creates the network resources

func Manifests

func Manifests(cfg kubeadm.Config) (err error)

Manifests - Will generate static manefest files

func SaveCloudAssets

func SaveCloudAssets(cloudprovider, etcdCa, etcdCaKey, kubeCa, kubeCaKey string) error

SaveCloudAssets will get assets from cloud provider and save onto disk at known locations

func SetupCompute

func SetupCompute(cloud string) (err error)

SetupCompute will configure a compute node - currently just saves an env file

Types

type Config

type Config struct {
	KubeadmCfg kubeadm.Config

	/*
	 To provide the least change to kubeadm and prevent access to the key,
	 we copy and link from the persistent source as appropriate

	 TODO: Update kubeadm to allow for specified CA key locations
	*/
	KubePersistentCaCert string
	KubePersistentCaKey  string
	ClusterName          string
	NetworkProvider      string
}

Config - the complete configuration provided for all kmm use

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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