kind: Index | Files | Directories

package create

import ""


Package Files


func Cluster Uses

func Cluster(logger log.Logger, ctx *context.Context, opts *ClusterOptions) error

Cluster creates a cluster

type ClusterOptions Uses

type ClusterOptions struct {
    Config *config.Cluster
    // NodeImage overrides the nodes' images in Config if non-zero
    NodeImage      string
    Retain         bool
    WaitForReady   time.Duration
    KubeconfigPath string
    // see
    StopBeforeSettingUpKubernetes bool // if false kind should setup kubernetes after creating nodes
    // Options to control output
    DisplayUsage      bool
    DisplaySalutation bool

ClusterOptions holds cluster creation options


actions/configPackage config implements the kubeadm config action
actions/installcniPackage installcni implements the install CNI action
actions/installstoragePackage installstorage implements the an action to isntall a default storageclass
actions/kubeadminitPackage kubeadminit implements the kubeadm init action
actions/kubeadmjoinPackage kubeadmjoin implements the kubeadm join action
actions/loadbalancerPackage loadbalancer implements the load balancer configuration action
actions/waitforreadyPackage waitforready implements the wait for ready action
typesPackage types contains types is used to export and share create cluster options with multiple packages without creating cycles

Package create imports 21 packages (graph) and is imported by 2 packages. Updated 2019-11-11. Refresh now. Tools for package owners.