kubelet

package
v3.10.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2018 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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