package app
import "k8s.io/kubernetes/cmd/kube-apiserver/app"
Package app does all of the work necessary to create a Kubernetes APIServer by binding together the API, master and APIServer infrastructure. It can be configured and called directly or via the hyperkube framework.
Index ¶
- func BuildMasterConfig(s *options.ServerRunOptions) (*master.Config, informers.SharedInformerFactory, error)
- func NewAPIServerCommand() *cobra.Command
- func Run(s *options.ServerRunOptions) error
- func RunServer(config *master.Config, sharedInformers informers.SharedInformerFactory, stopCh <-chan struct{}) error
Functions ¶
func BuildMasterConfig ¶
func BuildMasterConfig(s *options.ServerRunOptions) (*master.Config, informers.SharedInformerFactory, error)
BuildMasterConfig creates all the resources for running the API server, but runs none of them
func NewAPIServerCommand ¶
NewAPIServerCommand creates a *cobra.Command object with default parameters
func Run ¶
func Run(s *options.ServerRunOptions) error
Run runs the specified APIServer. This should never exit.
func RunServer ¶
func RunServer(config *master.Config, sharedInformers informers.SharedInformerFactory, stopCh <-chan struct{}) error
RunServer uses the provided config and shared informers to run the apiserver. It does not return.
Source Files ¶
plugins.go server.go
Directories ¶
Path | Synopsis |
---|---|
cmd/kube-apiserver/app/options | Package options contains flags and options for initializing an apiserver |
cmd/kube-apiserver/app/preflight |
- Version
- v1.6.5-beta.0
- Published
- May 15, 2017
- Platform
- js/wasm
- Imports
- 69 packages
- Last checked
- 6 seconds ago –
Tools for package owners.