kubelet

package
v3.10.0-0.45.0+incompa... Latest Latest
Warning

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

Go to latest
Published: May 15, 2018 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NodeConfigDirName  = "node"
	KubeDNSDirName     = "kubedns"
	PodManifestDirName = "static-pod-manifests"
)

Variables

This section is empty.

Functions

func MakeKubeDNSConfig

func MakeKubeDNSConfig(existingNodeConfig string, basedir string) (string, error)

Types

type KubeletRunConfig

type KubeletRunConfig struct {
	// ContainerBinds is a list of local/path:image/path pairs
	ContainerBinds []string
	// NodeImage is the docker image for openshift start node
	NodeImage   string
	Environment []string

	HTTPProxy  string
	HTTPSProxy string
	NoProxy    []string

	Args []string
}

func NewKubeletRunConfig

func NewKubeletRunConfig() *KubeletRunConfig

func (KubeletRunConfig) StartKubelet

func (opt KubeletRunConfig) StartKubelet(dockerClient dockerhelper.Interface, logdir string) (string, error)

Start starts the OpenShift master as a Docker container and returns a directory in the local file system where the OpenShift configuration has been copied

type KubeletStartFlags

type KubeletStartFlags struct {
	// ContainerBinds is a list of local/path:image/path pairs
	ContainerBinds []string
	// NodeImage is the docker image for openshift start node and the kubelet
	NodeImage       string
	Environment     []string
	UseSharedVolume bool
}

func NewKubeletStartFlags

func NewKubeletStartFlags() *KubeletStartFlags

func (KubeletStartFlags) MakeKubeletFlags

func (opt KubeletStartFlags) MakeKubeletFlags(dockerClient dockerhelper.Interface, basedir string) (string, error)

MakeKubeletFlags returns the flags to start the kubelet

type NodeStartConfig

type NodeStartConfig struct {
	// ContainerBinds is a list of local/path:image/path pairs
	ContainerBinds []string
	// NodeImage is the docker image for the openshift cli
	CLIImage string
	// NodeImage is the docker image for openshift start node
	NodeImage string

	Args []string
}

func NewNodeStartConfig

func NewNodeStartConfig() *NodeStartConfig

func (NodeStartConfig) MakeNodeConfig

func (opt NodeStartConfig) MakeNodeConfig(dockerClient dockerhelper.Interface, basedir string) (string, error)

Start starts the OpenShift master as a Docker container and returns a directory in the local file system where the OpenShift configuration has been copied

Jump to

Keyboard shortcuts

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