k3s/docs/design
Vladimir Rutsky 3a0c97d180 add missing comma in JSON 2016-03-04 14:51:06 +03:00
..
clustering Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
README.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
access.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
admission_control.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
admission_control_limit_range.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
admission_control_resource_quota.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
architecture.dia Adjust the architecture diagram 2015-09-02 14:48:04 +00:00
architecture.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08: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
aws_under_the_hood.md ECR credential provider 2016-01-22 15:03:25 -05:00
clustering.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
command_execution_port_forwarding.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
configmap.md Update proposal for ConfigMap volume 2016-01-25 13:48:46 -05:00
daemon.md Merge pull request #18047 from caesarxuchao/munger-tag-new 2015-12-22 10:35:20 -08:00
enhance-pluggable-policy.md Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
event_compression.md fix links 2016-02-29 13:27:29 -08:00
expansion.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
extending-api.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
horizontal-pod-autoscaler.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
identifiers.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
indexed-job.md Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
metadata-policy.md MetadataPolicy design doc. 2016-02-09 22:30:57 -08:00
namespaces.md add missing comma in JSON 2016-03-04 14:51:06 +03:00
networking.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
nodeaffinity.md clerical error of nodeaffinity.md 2016-03-02 08:27:00 +08:00
persistent-storage.md rename anchor tl;dr to Abstract 2016-01-21 13:19:05 +01:00
podaffinity.md Fix Typos 2016-02-01 01:39:12 +05:30
principles.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
resources.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
scheduler_extender.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
secrets.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
security.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
security_context.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
selector-generation.md Explain conversion for manualSelector 2016-02-24 23:00:44 -08:00
service_accounts.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
simple-rolling-update.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08:00
taint-toleration-dedicated.md Spelling fixes inspired by github.com/client9/misspell 2016-02-18 06:58:05 +07:00
versioning.md run hack/update-generated-docs.sh 2015-12-21 10:41:30 -08: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 release of this document can be found [here](http://releases.k8s.io/release-1.1/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