Documentation ¶
Overview ¶
Package options contains flags and options for initializing an apiserver
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllOrderedPlugins = []string{ admit.PluginName, autoprovision.PluginName, lifecycle.PluginName, exists.PluginName, deny.PluginName, }
AllOrderedPlugins is the list of all the plugins in order.
Functions ¶
func DefaultOffAdmissionPlugins ¶
DefaultOffAdmissionPlugins get admission plugins off by default for kube-apiserver.
func RegisterAllAdmissionPlugins ¶
RegisterAllAdmissionPlugins registers all admission plugins. The order of registration is irrelevant, see AllOrderedPlugins for execution order.
Types ¶
type CompletedOptions ¶
type CompletedOptions struct {
// contains filtered or unexported fields
}
type Options ¶
type Options struct { // RecommendedOptions *genericoptions.RecommendedOptions GenericServerRunOptions *genericoptions.ServerRunOptions RecommendedOptions *options.RecommendedOptions Features *genericoptions.FeatureOptions Metrics *metrics.Options Logs *logs.Options Traces *genericoptions.TracingOptions // CloudOptions *cloud.CloudOptions APIEnablement *genericoptions.APIEnablementOptions AlternateDNS []string ProxyClientCertFile string ProxyClientKeyFile string // PeerCAFile is the ca bundle used by this kube-apiserver to verify peer apiservers' // serving certs when routing a request to the peer in the case the request can not be served // locally due to version skew. PeerCAFile string // PeerAdvertiseAddress is the IP for this kube-apiserver which is used by peer apiservers to route a request // to this apiserver. This happens in cases where the peer is not able to serve the request due to // version skew. PeerAdvertiseAddress peerreconcilers.PeerAdvertiseAddress EnableAggregatorRouting bool AggregatorRejectForwardingRedirects bool EnableLogsHandler bool EventTTL time.Duration InternalVersionedInformers informers.SharedInformerFactory }
Options contains state for master/api server.
func (*Options) AddFlags ¶
func (o *Options) AddFlags(fss *cliflag.NamedFlagSets)
func (*Options) Complete ¶
func (o *Options) Complete() (CompletedOptions, error)
Click to show internal directories.
Click to hide internal directories.