options

package
v1.2.0-alpha.5....-8a98da9 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// DefaultClusterSigningCertFile is deprecated. Do not use.
	DefaultClusterSigningCertFile = "/etc/kubernetes/ca/ca.pem"
	// DefaultClusterSigningKeyFile is deprecated. Do not use.
	DefaultClusterSigningKeyFile = "/etc/kubernetes/ca/ca.key"
)

Variables

This section is empty.

Functions

func AddDefaultControllerFlags

func AddDefaultControllerFlags(s *ControllerManagerServer, fs *pflag.FlagSet)

AddDefaultControllerFlags adds common/default flags for both the kube and cloud Controller Manager Server to the specified FlagSet. Any common changes should be made here. Any individual changes should be made in that controller.

func GetDefaultControllerOptions

func GetDefaultControllerOptions(port int32) componentconfig.KubeControllerManagerConfiguration

GetDefaultControllerOptions returns common/default configuration values for both the kube-controller-manager and the cloud-contoller-manager. Any common changes should be made here. Any individual changes should be made in that controller.

Types

type ControllerManagerServer

type ControllerManagerServer struct {
	componentconfig.KubeControllerManagerConfiguration

	Master     string
	Kubeconfig string
}

ControllerManagerServer is the common structure for a controller manager. It works with GetDefaultControllerOptions and AddDefaultControllerFlags to create the common components of kube-controller-manager and cloud-controller-manager.

Jump to

Keyboard shortcuts

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