package options
import "k8s.io/kubernetes/cmd/kube-controller-manager/app/options"
Package options provides the flags used for the controller manager.
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" )
Types ¶
type CMServer ¶
type CMServer struct { componentconfig.KubeControllerManagerConfiguration Master string Kubeconfig string }
CMServer is the main context object for the controller manager.
func NewCMServer ¶
func NewCMServer() *CMServer
NewCMServer creates a new CMServer with a default config.
func (*CMServer) AddFlags ¶
func (s *CMServer) AddFlags(fs *pflag.FlagSet, allControllers []string, disabledByDefaultControllers []string)
AddFlags adds flags for a specific CMServer to the specified FlagSet
func (*CMServer) Validate ¶
Validate is used to validate the options and config before launching the controller manager
Source Files ¶
options.go
- Version
- v1.10.0-alpha.1
- Published
- Dec 18, 2017
- Platform
- js/wasm
- Imports
- 14 packages
- Last checked
- 22 seconds ago –
Tools for package owners.