Production-Grade Container Scheduling and Management
Go to file
Kelsey Hightower 93a374512e Allocating CIDRs for Pods works without a cloud provider.
Currently setting the `--allocate-node-cidrs` flag to true with an
empty cloud provider causes the kube-controller-manager to crash during
startup.

Fix the issue by checking for an empty cloud provider before setting
up route management on the cloud provider. This change introduces a
change in behavior. The kube-controller-manager now supports allocating
pod CIDRs without a cloud provider. This means users must manage routes
through some other mechanism.

The controller manager logs a warning if `--allocate-node-cidrs` is set,
but not a cloud provider:

```
I0725 17:10:41.587888   43185 plugins.go:70] No cloud provider specified.
I0725 17:10:41.588036   43185 nodecontroller.go:114] Sending events to api server.
E0725 17:10:41.588122   43185 controllermanager.go:201] Failed to start service controller: ServiceController should not be run without a cloudprovider.
W0725 17:10:41.588136   43185 controllermanager.go:213] allocate-node-cidrs is set, but no cloud provider specified. Will not manage routes.
E0725 17:10:41.589703   43185 nodecontroller.go:187] Error monitoring node status: Get http://127.0.0.1:8080/api/v1/nodes: dial tcp 127.0.0.1
```

Fixes #11866
2015-07-27 16:13:19 -07:00
api/swagger-spec Stop allowing unnamespaced POST for namespaced objects 2015-07-24 12:03:19 -07:00
build Extract out the versionize docs part in a separate script 2015-07-23 17:56:40 -07:00
cluster Merge pull request #11265 from mbforbes/gkeBashlog 2015-07-24 18:51:36 -07:00
cmd Allocating CIDRs for Pods works without a cloud provider. 2015-07-27 16:13:19 -07:00
contrib Merge pull request #11825 from aveshagarwal/ansible-fixes 2015-07-24 18:51:00 -07:00
docs Add stub md files so gh-pages importer keeps them 2015-07-24 16:56:08 -07:00
examples Updated Cassandra Dockerfile to include procps. 2015-07-24 10:40:33 -07:00
Godeps Merge pull request #11108 from mesosphere/fix-10795 2015-07-24 09:35:29 -07:00
hack Merge pull request #11421 from nikhiljindal/exposeServcPort 2015-07-24 17:16:31 -07:00
hooks Run the build once during presubmit 2015-07-02 14:43:43 -07:00
pkg Merge pull request #10673 from stefwalter/proxy-split-hostport-without-port 2015-07-24 17:23:05 -07:00
plugin Merge pull request #11737 from thockin/cleanup-remove-v1beta3 2015-07-24 10:25:56 -07:00
test Merge pull request #11807 from mwielgus/scale_rc_fix 2015-07-24 15:25:48 -07:00
third_party Updating swagger-ui to the latest version 2015-07-07 17:48:22 -07:00
www Fixed wrong link to ui.md documentation in README file 2015-07-20 11:04:51 +02:00
.gitignore add some more temporary files to gitignore 2015-06-16 11:14:13 -07:00
.travis.yml move spammy notifications to #kubernetes-dev 2015-07-23 17:30:06 -07:00
CHANGELOG.md Change the CHANGELOG to be a pointer to the releases page. 2015-06-09 20:12:24 -07:00
CONTRIB.md Add ga-beacon analytics to gendocs scripts 2015-05-15 18:56:38 -07:00
CONTRIBUTING.md Add ga-beacon analytics to gendocs scripts 2015-05-15 18:56:38 -07:00
DESIGN.md Fix links in DESIGN.md 2015-07-20 14:35:52 -07:00
LICENSE
logo_usage_guidelines.md Add ga-beacon analytics to gendocs scripts 2015-05-15 18:56:38 -07:00
logo.pdf
logo.png
logo.svg
Makefile
README.md Merge pull request #11673 from zg/patch-1 2015-07-22 14:05:26 -07:00
shippable.yml Merge pull request #11737 from thockin/cleanup-remove-v1beta3 2015-07-24 10:25:56 -07:00
Vagrantfile Vagrant: Add support for nfs synced folders 2015-07-01 13:12:42 -07:00

Kubernetes

GoDoc Travis Coverage Status

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 can run anywhere!

However, initial development was done on GCE and so our instructions and scripts are built around that. If you make it work on other infrastructure please let us know and contribute instructions/code.

Kubernetes is ready for Production!

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

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 and support

If you have questions or want to start contributing please reach out. We don't bite!

Please see the troubleshooting guide, or how to get more help.

If you are a company and are looking for a more formal engagement with Google around Kubernetes and containers at Google as a whole, please fill out this form and we'll be in touch.

Analytics