Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 4560beb28f Merge pull request #49299 from dims/delay-looking-for-instance-id
Automatic merge from submit-queue (batch tested with PRs 49420, 49296, 49299, 49371, 46514)

Avoid looking up instance id until we need it

**What this PR does / why we need it**:

currently kube-controller-manager cannot run outside of a vm started
by openstack (with --cloud-provider=openstack params). We try to read
the instance id from the metadata provider or the config drive or the
file location only when we really need it. In the normal scenario, the
controller-manager uses the node name to get the instance id.
41541910e1/pkg/volume/cinder/attacher.go (L149)

The localInstanceID is currently used only in the test case, so let
us not read it until it is really needed.

So let's try to find the instance-id only when we need it.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
NONE
```
2017-07-21 22:23:19 -07:00
.github
api Autogen 2017-07-20 14:16:43 -07:00
build Merge pull request #48565 from jmillikin-stripe/support-external-deps 2017-07-21 01:13:17 -07:00
cluster Merge pull request #49296 from juju-solutions/feature/report-failing-services 2017-07-21 22:23:17 -07:00
cmd Merge pull request #48607 from luxas/kubeadm_cleanup_selfhosting 2017-07-21 17:00:15 -07:00
docs Autogen 2017-07-20 14:16:43 -07:00
examples Update wordpress to 4.8.0 2017-07-20 10:08:49 +08:00
federation Autogen 2017-07-20 14:16:43 -07:00
Godeps update godep 2017-07-20 11:03:49 -07:00
hack Merge pull request #46598 from xiangpengzhao/fix-kubectl-version 2017-07-21 17:00:21 -07:00
logo
pkg Merge pull request #49299 from dims/delay-looking-for-instance-id 2017-07-21 22:23:19 -07:00
plugin Merge pull request #48526 from jianglingxia/jlx0706 2017-07-21 04:20:45 -07:00
staging Merge pull request #49240 from caesarxuchao/remove-admission-types 2017-07-21 17:00:23 -07:00
test Merge pull request #48746 from janetkuo/apps-v1beta2 2017-07-21 11:47:21 -07:00
third_party Merge pull request #47614 from mengqiy/fix_naming 2017-07-19 21:51:49 -07:00
translations removed 'Storage' option from 'kubectl top' like options 2017-06-23 08:34:53 -07:00
vendor update godep 2017-07-20 11:03:49 -07:00
.bazelrc
.generated_files
.gitattributes
.gitignore
.kazelcfg.json Switch from gazel to kazel, and move kazelcfg into build/root 2017-07-18 12:48:51 -07:00
BUILD.bazel
CHANGELOG.md Update CHANGELOG.md for v1.7.2. 2017-07-21 13:43:30 +02:00
code-of-conduct.md
CONTRIBUTING.md
labels.yaml Update labels.yaml 2017-07-11 11:21:18 -07:00
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES update cli owner 2017-07-18 12:58:22 -07:00
README.md
Vagrantfile
WORKSPACE

Kubernetes

Submit Queue Widget GoDoc Widget


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

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

Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF). If you are a company that wants to help shape the evolution of technologies that are container-packaged, dynamically-scheduled and microservices-oriented, consider joining the CNCF. For details about who's involved and how Kubernetes plays a role, read the CNCF announcement.


To start using Kubernetes

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To start developing Kubernetes

The community repository hosts all information about building Kubernetes from source, how to contribute code and documentation, who to contact about what, etc.

If you want to build Kubernetes right away there are two options:

You have a working Go environment.
$ go get -d k8s.io/kubernetes
$ cd $GOPATH/src/k8s.io/kubernetes
$ make
You have a working Docker environment.
$ git clone https://github.com/kubernetes/kubernetes
$ cd kubernetes
$ make quick-release

If you are less impatient, head over to the developer's documentation.

Support

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.

Analytics