README ¶
API Server
This is a work in progress example for an API Server. We are working on isolating the generic api server code from kubernetes specific API objects. Some relevant issues:
- https://github.com/kubernetes/kubernetes/issues/17412
- https://github.com/kubernetes/kubernetes/issues/2742
- https://github.com/kubernetes/kubernetes/issues/13541
This code here is to examplify what it takes to write your own API server.
To start this example api server, run:
$ go run examples/apiserver/server/main.go
Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Ports on which to run the server. // Explicitly setting these to a different value than the default values, to prevent this from clashing with a local cluster. InsecurePort = 8081 )
Variables ¶
This section is empty.
Functions ¶
func NewServerRunOptions ¶ added in v1.3.0
func NewServerRunOptions() *genericoptions.ServerRunOptions
func Run ¶
func Run(serverOptions *genericoptions.ServerRunOptions) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.