Production-Grade Container Scheduling and Management
Go to file
Yifan Gu b212662c1e rkt: Don't return if the service file doesn't exist when killing the pod.
Remove an unused logic. Also this prevents the KillPod() from failing
when the service file doesn't exist. E.g., it can be removed by garbage
collection in a rare case:

1, There are already more than `gcPolicy.MaxContainers` containers running
   on the host.
2, The new pod(A) starts to run but doesn't enter 'RUNNING' state yet.
3, GC is triggered, and it sees the pod(A) is in an inactive state (not running),
   and the it needs to remove the pod to force the `gcPolicy.MaxContainers`.
4, GC fails to remove the pod because `rkt rm` fails when the pod is running,
   but it removes the service file anyway.
5, Follow up KillPod() call will fail because it cannot find the service file
   on disk.

Also this is possible only when the pod has been in prepared state for longer
than 1 min, which sounds like another issue.
2016-07-18 14:48:13 -07:00
.github Don't add analytics to .entries. 2016-07-13 11:09:38 -07:00
api/swagger-spec Update swagger spec with changes.. 2016-07-13 15:16:32 +01:00
build move kube-dns to the cluster/addons/ directory 2016-07-14 11:44:00 -07:00
cluster Change maxsize to size in logrotate. 2016-07-18 11:30:50 -07:00
cmd Merge pull request #29042 from dims/fixup-imports 2016-07-18 07:23:38 -07:00
contrib Merge pull request #29042 from dims/fixup-imports 2016-07-18 07:23:38 -07:00
docs Merge pull request #28733 from rata/secret-configmap-file-mode-proposal 2016-07-18 09:34:49 -07:00
examples Merge pull request #29042 from dims/fixup-imports 2016-07-18 07:23:38 -07:00
federation Merge pull request #29042 from dims/fixup-imports 2016-07-18 07:23:38 -07:00
Godeps Update golang.org/x/net godep for http2 issues being seen during scale 2016-07-15 18:14:47 -05:00
hack Merge pull request #28802 from fejta/service 2016-07-18 12:08:03 -07:00
hooks Use make as the main build tool 2016-07-12 21:52:00 -07:00
logo
pkg rkt: Don't return if the service file doesn't exist when killing the pod. 2016-07-18 14:48:13 -07:00
plugin Merge pull request #29044 from lixiaobing10051267/masterWebHook 2016-07-18 10:13:05 -07:00
release
test Merge pull request #29130 from caesarxuchao/fix-29065 2016-07-18 13:54:41 -07:00
third_party Merge pull request #28133 from freehan/e2ejunit 2016-07-09 01:55:07 -07:00
vendor Update golang.org/x/net godep for http2 issues being seen during scale 2016-07-15 18:14:47 -05:00
www
.generated_docs
.gitignore Prep to re-commit generated files 2016-07-15 10:27:14 -07:00
CHANGELOG.md Update CHANGELOG.md for v1.3.2. 2016-07-17 11:59:30 -07:00
code-of-conduct.md
CONTRIB.md
CONTRIBUTING.md Update CONTRIBUTING.md 2016-07-14 16:33:34 +03:00
DESIGN.md
LICENSE
Makefile Merge pull request #29017 from thockin/undelete-generated-files 2016-07-15 16:27:14 -07:00
Makefile.generated_files Ignore GREP_OPTIONS/GREP_COLOR 2016-07-16 20:28:30 -04:00
README.md Better visibility to contributing docs. 2016-07-12 15:14:42 -04:00
Vagrantfile

Kubernetes

Submit Queue Widget GoDoc Widget Coverage Status Widget

Are you ...

  • Interested in learning more about using Kubernetes? Please see our user-facing documentation on kubernetes.io
  • Interested in hacking on the core Kubernetes code base? Keep reading!

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

Kubernetes is:

  • lean: lightweight, simple, accessible
  • portable: public, private, hybrid, multi cloud
  • extensible: modular, pluggable, hookable, composable
  • self-healing: auto-placement, auto-restart, auto-replication

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale, combined with best-of-breed ideas and practices from the community.


Kubernetes is ready for Production!

With the 1.0.1 release Kubernetes is ready to serve your production workloads.

Kubernetes can run anywhere!

You can run Kubernetes on your local workstation under Vagrant, cloud providers (e.g. GCE, AWS, Azure), and physical hardware. Essentially, anywhere Linux runs you can run Kubernetes. Checkout the Getting Started Guides for details.

Concepts

Kubernetes works with the following concepts:

Cluster
A cluster is a set of physical or virtual machines and other infrastructure resources used by Kubernetes to run your applications. Kubernetes can run anywhere! See the Getting Started Guides for instructions for a variety of services.
Node
A node is a physical or virtual machine running Kubernetes, onto which pods can be scheduled.
Pod
Pods are a colocated group of application containers with shared volumes. They're the smallest deployable units that can be created, scheduled, and managed with Kubernetes. Pods can be created individually, but it's recommended that you use a replication controller even if creating a single pod.
Replication controller
Replication controllers manage the lifecycle of pods. They ensure that a specified number of pods are running at any given time, by creating or killing pods as required.
Service
Services provide a single, stable name and address for a set of pods. They act as basic load balancers.
Label
Labels are used to organize and select groups of objects based on key:value pairs.

Documentation

Kubernetes documentation is organized into several categories.

Community, discussion, contribution, and support

See which companies are committed to driving quality in Kubernetes on our community page.

Do you want to help "shape the evolution of technologies that are container packaged, dynamically scheduled and microservices oriented?"

You should consider joining the Cloud Native Computing Foundation. For details about who's involved and how Kubernetes plays a role, read their announcement.

Code of conduct

Participation in the Kubernetes community is governed by the Kubernetes Code of Conduct.

Are you ready to add to the discussion?

We have presence on:

You can also view recordings of past events and presentations on our Media page.

For Q&A, our threads are at:

Want to contribute to Kubernetes?

If you're interested in being a contributor and want to get involved in developing Kubernetes, start in the Kubernetes Developer Guide and also review the contributor guidelines.

Support

While there are many different channels that you can use to get ahold of us, you can help make sure that we are efficient in getting you the help that you need.

If you need support, start with the troubleshooting guide and work your way through the process that we've outlined.

That said, if you have questions, reach out to us one way or another. We don't bite!

Community resources:

  • Awesome-kubernetes:

You can find more projects, tools and articles related to Kubernetes on the awesome-kubernetes list. Add your project there and help us make it better.

Instructive & educational resources for the Kubernetes community. By the community.

Analytics