Documentation ¶
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" )
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.