top
(README.md)
# 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
```


<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/examples/apiserver/README.md?pixel)]()
<!-- END MUNGE: GENERATED_ANALYTICS -->

Imports 13 package(s) ΒΆ

  1. k8s.io/kubernetes/pkg/apimachinery/registered
  2. k8s.io/kubernetes/pkg/genericapiserver
  3. k8s.io/kubernetes/pkg/genericapiserver/validation
  4. k8s.io/kubernetes/pkg/api/rest
  5. k8s.io/kubernetes/pkg/genericapiserver/authorizer
  6. k8s.io/kubernetes/pkg/genericapiserver/options
  7. k8s.io/kubernetes/pkg/api
  8. k8s.io/kubernetes/cmd/libs/go2idl/client-gen/test_apis/testgroup/install
  9. k8s.io/kubernetes/examples/apiserver/rest
  10. k8s.io/kubernetes/pkg/registry/generic
  11. k8s.io/kubernetes/pkg/storage/storagebackend
  12. k8s.io/kubernetes/cmd/libs/go2idl/client-gen/test_apis/testgroup/v1
  13. k8s.io/kubernetes/pkg/api/unversioned