Skip to content

Commit

Permalink
Move diagrams out of top-level docs/ directory and merge
Browse files Browse the repository at this point in the history
docs/devel/developer-guide.md into docs/devel/README.md
  • Loading branch information
David Oppenheimer committed Jul 15, 2015
1 parent 8d5eb03 commit d31e130
Show file tree
Hide file tree
Showing 11 changed files with 57 additions and 81 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ certainly want the docs that go with that version.</h1>
* The [Cluster Admin's guide](admin/README.md) is for anyone setting up
a Kubernetes cluster or administering it.

* The [Developer guide](devel/developer-guide.md) is for anyone wanting to write
* The [Developer guide](devel/README.md) is for anyone wanting to write
programs that access the kubernetes API, write plugins or extensions, or
modify the core code of kubernetes.

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docs/design/architecture.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ certainly want the docs that go with that version.</h1>

A running Kubernetes cluster contains node agents (kubelet) and master components (APIs, scheduler, etc), on top of a distributed storage solution. This diagram shows our desired eventual state, though we're still working on a few things, like making kubelet itself (all our components, really) run within containers, and making the scheduler 100% pluggable.

![Architecture Diagram](../architecture.png?raw=true "Architecture overview")
![Architecture Diagram](architecture.png?raw=true "Architecture overview")

## The Kubernetes Node

Expand Down
File renamed without changes
File renamed without changes
66 changes: 52 additions & 14 deletions docs/devel/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,27 +20,35 @@ certainly want the docs that go with that version.</h1>
<!-- END STRIP_FOR_RELEASE -->

<!-- END MUNGE: UNVERSIONED_WARNING -->
# Developing Kubernetes
# Kubernetes Developer Guide

Docs in this directory relate to developing Kubernetes.
The developer guide is for anyone wanting to either write code which directly accesses the
kubernetes API, or to contribute directly to the kubernetes project.
It assumes some familiarity with concepts in the [User Guide](../user-guide/README.md) and the [Cluster Admin
Guide](../admin/README.md).

* **On Collaborative Development** ([collab.md](collab.md)): info on pull requests and code reviews.

* **Development Guide** ([development.md](development.md)): Setting up your environment tests.
## The process of developing and contributing code to the Kubernetes project

* **Making release notes** ([making-release-notes.md](making-release-notes.md)): Generating release nodes for a new release.

* **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.
* **On Collaborative Development** ([collab.md](collab.md)): Info on pull requests and code reviews.

* **GitHub Issues** ([issues.md](issues.md)): How incoming issues are reviewed and prioritized.

* **Logging Conventions** ([logging.md](logging.md)]: Glog levels.

* **Pull Request Process** ([pull-requests.md](pull-requests.md)): When and why pull requests are closed.

* **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.
* **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.


## 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.

* **Profiling Kubernetes** ([profiling.md](profiling.md)): How to plug in go pprof profiler to Kubernetes.

Expand All @@ -51,9 +59,39 @@ Docs in this directory relate to developing Kubernetes.
* **Coding Conventions** ([coding-conventions.md](coding-conventions.md)):
Coding style advice for contributors.

* **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 to pass CI.
## 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.


<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
Expand Down
62 changes: 0 additions & 62 deletions docs/devel/developer-guide.md

This file was deleted.

2 changes: 1 addition & 1 deletion docs/user-guide/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ certainly want the docs that go with that version.</h1>

<!-- END MUNGE: GENERATED_TOC -->

The user guide is intended for anyone who wants to run programs and services on an existing Kubernetes cluster. Setup and administration of a Kubernetes cluster is described in the [Cluster Admin Guide](../../docs/admin/README.md). The [Developer Guide](../../docs/devel/developer-guide.md) is for anyone wanting to either write code which directly accesses the kubernetes API, or to contribute directly to the kubernetes project.
The user guide is intended for anyone who wants to run programs and services on an existing Kubernetes cluster. Setup and administration of a Kubernetes cluster is described in the [Cluster Admin Guide](../../docs/admin/README.md). The [Developer Guide](../../docs/devel/README.md) is for anyone wanting to either write code which directly accesses the kubernetes API, or to contribute directly to the kubernetes project.

Please ensure you have completed the [prerequisites for running examples from the user guide](prereqs.md).

Expand Down
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions docs/user-guide/monitoring.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ cAdvisor is an open source container resource usage and performance analysis age

On most Kubernetes clusters, cAdvisor exposes a simple UI for on-machine containers on port 4194. Here is a snapshot of part of cAdvisor’s UI that shows the overall machine usage:

![cAdvisor](../cadvisor.png)
![cAdvisor](cadvisor.png)

### Kubelet

Expand Down Expand Up @@ -69,7 +69,7 @@ Here is a video showing how to setup and run a Google Cloud Monitoring backed He

Here is a snapshot of the a Google Cloud Monitoring dashboard showing cluster-wide resource usage.

![Google Cloud Monitoring dashboard](../gcm.png)
![Google Cloud Monitoring dashboard](gcm.png)

## Try it out!
Now that you’ve learned a bit about Heapster, feel free to try it out on your own clusters! The [Heapster repository](https://github.com/GoogleCloudPlatform/heapster) is available on GitHub. It contains detailed instructions to setup Heapster and its storage backends. Heapster runs by default on most Kubernetes clusters, so you may already have it! Feedback is always welcome. Please let us know if you run into any issues. Heapster and Kubernetes developers hang out in the [#google-containers](http://webchat.freenode.net/?channels=google-containers) IRC channel on freenode.net. You can also reach us on the [google-containers Google Groups mailing list](https://groups.google.com/forum/#!forum/google-containers).
Expand Down

0 comments on commit d31e130

Please sign in to comment.