2015-07-12 04:04:52 +00:00
|
|
|
<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->
|
|
|
|
|
|
|
|
<!-- BEGIN STRIP_FOR_RELEASE -->
|
|
|
|
|
2015-07-16 17:02:26 +00:00
|
|
|
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
|
|
|
|
width="25" height="25">
|
|
|
|
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
|
|
|
|
width="25" height="25">
|
|
|
|
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
|
|
|
|
width="25" height="25">
|
|
|
|
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
|
|
|
|
width="25" height="25">
|
|
|
|
<img src="http://kubernetes.io/img/warning.png" alt="WARNING"
|
|
|
|
width="25" height="25">
|
|
|
|
|
|
|
|
<h2>PLEASE NOTE: This document applies to the HEAD of the source tree</h2>
|
|
|
|
|
|
|
|
If you are using a released version of Kubernetes, you should
|
|
|
|
refer to the docs that go with that version.
|
|
|
|
|
|
|
|
<strong>
|
2015-11-03 18:17:57 +00:00
|
|
|
The latest release of this document can be found
|
|
|
|
[here](http://releases.k8s.io/release-1.1/docs/devel/README.md).
|
2015-07-16 17:02:26 +00:00
|
|
|
|
|
|
|
Documentation for other releases can be found at
|
|
|
|
[releases.k8s.io](http://releases.k8s.io).
|
|
|
|
</strong>
|
|
|
|
--
|
2015-07-13 22:15:35 +00:00
|
|
|
|
2015-07-12 04:04:52 +00:00
|
|
|
<!-- END STRIP_FOR_RELEASE -->
|
|
|
|
|
|
|
|
<!-- END MUNGE: UNVERSIONED_WARNING -->
|
2015-07-17 22:35:41 +00:00
|
|
|
|
2015-07-15 06:56:51 +00:00
|
|
|
# Kubernetes Developer Guide
|
2014-12-12 19:05:30 +00:00
|
|
|
|
2015-07-15 06:56:51 +00:00
|
|
|
The developer guide is for anyone wanting to either write code which directly accesses the
|
2015-07-20 20:45:36 +00:00
|
|
|
Kubernetes API, or to contribute directly to the Kubernetes project.
|
2015-07-15 06:56:51 +00:00
|
|
|
It assumes some familiarity with concepts in the [User Guide](../user-guide/README.md) and the [Cluster Admin
|
|
|
|
Guide](../admin/README.md).
|
2014-12-12 19:05:30 +00:00
|
|
|
|
|
|
|
|
2015-07-15 06:56:51 +00:00
|
|
|
## The process of developing and contributing code to the Kubernetes project
|
2014-12-12 19:05:30 +00:00
|
|
|
|
2015-07-15 06:56:51 +00:00
|
|
|
* **On Collaborative Development** ([collab.md](collab.md)): Info on pull requests and code reviews.
|
2014-12-12 19:05:30 +00:00
|
|
|
|
|
|
|
* **GitHub Issues** ([issues.md](issues.md)): How incoming issues are reviewed and prioritized.
|
|
|
|
|
|
|
|
* **Pull Request Process** ([pull-requests.md](pull-requests.md)): When and why pull requests are closed.
|
|
|
|
|
2015-07-15 06:56:51 +00:00
|
|
|
* **Faster PR reviews** ([faster_reviews.md](faster_reviews.md)): How to get faster PR reviews.
|
|
|
|
|
|
|
|
* **Getting Recent Builds** ([getting-builds.md](getting-builds.md)): How to get recent builds including the latest builds that pass CI.
|
|
|
|
|
2015-09-08 18:16:14 +00:00
|
|
|
* **Automated Tools** ([automation.md](automation.md)): Descriptions of the automation that is running on our github repository.
|
|
|
|
|
2015-07-15 06:56:51 +00:00
|
|
|
|
|
|
|
## Setting up your dev environment, coding, and debugging
|
|
|
|
|
|
|
|
* **Development Guide** ([development.md](development.md)): Setting up your development environment.
|
|
|
|
|
|
|
|
* **Hunting flaky tests** ([flaky-tests.md](flaky-tests.md)): We have a goal of 99.9% flake free tests.
|
|
|
|
Here's how to run your tests many times.
|
|
|
|
|
|
|
|
* **Logging Conventions** ([logging.md](logging.md)]: Glog levels.
|
2015-02-13 23:11:38 +00:00
|
|
|
|
|
|
|
* **Profiling Kubernetes** ([profiling.md](profiling.md)): How to plug in go pprof profiler to Kubernetes.
|
2015-05-14 22:12:45 +00:00
|
|
|
|
2015-06-25 06:36:44 +00:00
|
|
|
* **Instrumenting Kubernetes with a new metric**
|
|
|
|
([instrumentation.md](instrumentation.md)): How to add a new metrics to the
|
|
|
|
Kubernetes code base.
|
|
|
|
|
|
|
|
* **Coding Conventions** ([coding-conventions.md](coding-conventions.md)):
|
|
|
|
Coding style advice for contributors.
|
|
|
|
|
2015-05-14 22:12:45 +00:00
|
|
|
|
2015-07-15 06:56:51 +00:00
|
|
|
## Developing against the Kubernetes API
|
|
|
|
|
|
|
|
* API objects are explained at [http://kubernetes.io/third_party/swagger-ui/](http://kubernetes.io/third_party/swagger-ui/).
|
|
|
|
|
|
|
|
* **Annotations** ([docs/user-guide/annotations.md](../user-guide/annotations.md)): are for attaching arbitrary non-identifying metadata to objects.
|
|
|
|
Programs that automate Kubernetes objects may use annotations to store small amounts of their state.
|
|
|
|
|
|
|
|
* **API Conventions** ([api-conventions.md](api-conventions.md)):
|
|
|
|
Defining the verbs and resources used in the Kubernetes API.
|
|
|
|
|
|
|
|
* **API Client Libraries** ([client-libraries.md](client-libraries.md)):
|
|
|
|
A list of existing client libraries, both supported and user-contributed.
|
|
|
|
|
|
|
|
|
|
|
|
## Writing plugins
|
|
|
|
|
|
|
|
* **Authentication Plugins** ([docs/admin/authentication.md](../admin/authentication.md)):
|
|
|
|
The current and planned states of authentication tokens.
|
|
|
|
|
|
|
|
* **Authorization Plugins** ([docs/admin/authorization.md](../admin/authorization.md)):
|
|
|
|
Authorization applies to all HTTP requests on the main apiserver port.
|
|
|
|
This doc explains the available authorization implementations.
|
|
|
|
|
|
|
|
* **Admission Control Plugins** ([admission_control](../design/admission_control.md))
|
|
|
|
|
|
|
|
|
|
|
|
## Building releases
|
|
|
|
|
|
|
|
* **Making release notes** ([making-release-notes.md](making-release-notes.md)): Generating release nodes for a new release.
|
|
|
|
|
|
|
|
* **Releasing Kubernetes** ([releasing.md](releasing.md)): How to create a Kubernetes release (as in version)
|
|
|
|
and how the version information gets embedded into the built binaries.
|
2015-06-26 21:42:48 +00:00
|
|
|
|
2015-07-14 00:13:09 +00:00
|
|
|
|
|
|
|
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
2015-05-14 22:12:45 +00:00
|
|
|
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/devel/README.md?pixel)]()
|
2015-07-14 00:13:09 +00:00
|
|
|
<!-- END MUNGE: GENERATED_ANALYTICS -->
|