package options

import "k8s.io/kubernetes/cmd/controller-manager/app/options"

Index

Constants

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"
)

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.

Source Files

utils.go

Version
v1.10.0-alpha.3
Published
Feb 1, 2018
Platform
windows/amd64
Imports
6 packages
Last checked
36 minutes ago

Tools for package owners.