init

package
v1.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddWorkerLabelAndAutonomyAnnotation added in v1.3.0

func AddWorkerLabelAndAutonomyAnnotation(cliSet kubeclientset.Interface, node *corev1.Node, lVal, aVal string) (*corev1.Node, error)

func LabelCloudNodes added in v1.3.0

func LabelCloudNodes(cloudNodes []string) error

func LabelEdgeNodes added in v1.3.0

func LabelEdgeNodes(edgeNodes []string) error

Types

type ClusterConverter

type ClusterConverter struct {
	RootDir                   string
	ComponentsBuilder         *kubeutil.Builder
	ClientSet                 kubeclientset.Interface
	CloudNodes                []string
	EdgeNodes                 []string
	WaitServantJobTimeout     time.Duration
	YurthubHealthCheckTimeout time.Duration
	KubeConfigPath            string
	YurtManagerImage          string
	NodeServantImage          string
	YurthubImage              string
	EnableDummyIf             bool
}

func (*ClusterConverter) Run

func (c *ClusterConverter) Run() error

Jump to

Keyboard shortcuts

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