k3s/docs/design
Eric Tune bc3f7ce868 Merge pull request #14529 from davidopp/daemon-design
Daemon design, take 3
2015-09-24 18:16:11 -07:00
..
clustering Improve design docs syntax highlighting. 2015-07-19 08:46:02 +00:00
README.md Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
access.md fix document 2015-09-14 17:47:19 +08:00
admission_control.md Update code to use - in flag names instead of _ 2015-08-11 16:31:52 -04:00
admission_control_limit_range.md Revert "Revert "LimitRange updates for Resource Requirements Requests"" 2015-08-28 09:26:36 -07:00
admission_control_resource_quota.md Move resource quota doc from user-guide to admin 2015-09-11 12:07:12 -04:00
architecture.dia Adjust the architecture diagram 2015-09-02 14:48:04 +00:00
architecture.md s|github.com/GoogleCloudPlatform/kubernetes|github.com/kubernetes/kubernetes| 2015-09-03 10:10:11 -04:00
architecture.png Adjust the architecture diagram 2015-09-02 14:48:04 +00:00
architecture.svg Adjust the architecture diagram 2015-09-02 14:48:04 +00:00
clustering.md Fix capitalization of Kubernetes in the documentation. 2015-07-20 14:39:36 -07:00
command_execution_port_forwarding.md rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
daemon.md Ran update-generated-docs.sh 2015-09-24 17:17:39 -07:00
event_compression.md Move pkg/util.Time to pkg/api/unversioned.Time 2015-09-17 17:51:27 -07:00
expansion.md Move pkg/util.Time to pkg/api/unversioned.Time 2015-09-17 17:51:27 -07:00
extending-api.md move experimental/v1 to experimental/v1alpha1; 2015-09-24 15:32:11 -07:00
identifiers.md rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
namespaces.md Remove trailing commas 2015-08-24 14:55:31 -04:00
networking.md Fix doc typos 2015-07-22 17:19:07 -07:00
persistent-storage.md Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
principles.md rewrite all links to issues to k8s links 2015-08-05 21:11:11 -07:00
resources.md Replace limits with request where appropriate 2015-09-09 15:38:34 +08:00
secrets.md Change a describe in docs/design/secrets.md 2015-09-23 14:58:16 +08:00
security.md rewrite all links to prs to k8s links 2015-08-05 21:11:11 -07:00
security_context.md Merge pull request #12328 from pmorie/sc-typo 2015-08-06 15:27:45 +02:00
service_accounts.md Fix capitalization of Kubernetes in the documentation. 2015-07-20 14:39:36 -07:00
simple-rolling-update.md Fix trailing whitespace in all docs 2015-07-30 20:41:30 -04:00
versioning.md Add patch notes to versioning doc. 2015-08-26 23:37:18 -07:00

README.md

WARNING WARNING WARNING WARNING WARNING

PLEASE NOTE: This document applies to the HEAD of the source tree

If you are using a released version of Kubernetes, you should refer to the docs that go with that version.

The latest 1.0.x release of this document can be found [here](http://releases.k8s.io/release-1.0/docs/design/README.md).

Documentation for other releases can be found at releases.k8s.io.

Kubernetes Design Overview

Kubernetes is a system for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications.

Kubernetes establishes robust declarative primitives for maintaining the desired state requested by the user. We see these primitives as the main value added by Kubernetes. Self-healing mechanisms, such as auto-restarting, re-scheduling, and replicating containers require active controllers, not just imperative orchestration.

Kubernetes is primarily targeted at applications composed of multiple containers, such as elastic, distributed micro-services. It is also designed to facilitate migration of non-containerized application stacks to Kubernetes. It therefore includes abstractions for grouping containers in both loosely coupled and tightly coupled formations, and provides ways for containers to find and communicate with each other in relatively familiar ways.

Kubernetes enables users to ask a cluster to run a set of containers. The system automatically chooses hosts to run those containers on. While Kubernetes's scheduler is currently very simple, we expect it to grow in sophistication over time. Scheduling is a policy-rich, topology-aware, workload-specific function that significantly impacts availability, performance, and capacity. The scheduler needs to take into account individual and collective resource requirements, quality of service requirements, hardware/software/policy constraints, affinity and anti-affinity specifications, data locality, inter-workload interference, deadlines, and so on. Workload-specific requirements will be exposed through the API as necessary.

Kubernetes is intended to run on a number of cloud providers, as well as on physical hosts.

A single Kubernetes cluster is not intended to span multiple availability zones. Instead, we recommend building a higher-level layer to replicate complete deployments of highly available applications across multiple zones (see the multi-cluster doc and cluster federation proposal for more details).

Finally, Kubernetes aspires to be an extensible, pluggable, building-block OSS platform and toolkit. Therefore, architecturally, we want Kubernetes to be built as a collection of pluggable components and layers, with the ability to use alternative schedulers, controllers, storage systems, and distribution mechanisms, and we're evolving its current code in that direction. Furthermore, we want others to be able to extend Kubernetes functionality, such as with higher-level PaaS functionality or multi-cluster layers, without modification of core Kubernetes source. Therefore, its API isn't just (or even necessarily mainly) targeted at end users, but at tool and extension developers. Its APIs are intended to serve as the foundation for an open ecosystem of tools, automation systems, and higher-level API layers. Consequently, there are no "internal" inter-component APIs. All APIs are visible and available, including the APIs used by the scheduler, the node controller, the replication-controller manager, Kubelet's API, etc. There's no glass to break -- in order to handle more complex use cases, one can just access the lower-level APIs in a fully transparent, composable manner.

For more about the Kubernetes architecture, see architecture.

Analytics