Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 93bd6b3b9f Merge pull request #40892 from hpcloud/vsphere_findbyuuid
Automatic merge from submit-queue (batch tested with PRs 41223, 40892, 41220, 41207, 41242)

Fixes #40819 and Fixes #33114

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

Start looking up the virtual machine by it's UUID in vSphere again. Looking up by IP address is problematic and can either not return a VM entirely, or could return the wrong VM.

Retrieves the VM's UUID in one of two methods - either by a `vm-uuid` entry in the cloud config file on the VM, or via sysfs. The sysfs route requires root access, but restores the previous functionality.

Multiple VMs in a vCenter cluster can share an IP address - for example, if you have multiple VM networks, but they're all isolated and use the same address range. Additionally, flannel network address ranges can overlap.

vSphere seems to have a limitation of reporting no more than 16 interfaces from a virtual machine, so it's possible that the IP address list on a VM is completely untrustworthy anyhow - it can either be empty (because the 16 interfaces it found were veth interfaces with no IP address), or it can report the flannel IP.

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

Fixes #40819
Fixes #33114

**Special notes for your reviewer**:

**Release note**:

```release-note
Reverts to looking up the current VM in vSphere using the machine's UUID, either obtained via sysfs or via the `vm-uuid` parameter in the cloud configuration file.
```
2017-02-10 13:35:42 -08:00
.github Fix issue template to read more clearly 2017-01-27 10:15:06 -07:00
api Merge pull request #41058 from liggitt/v1-tokenreview 2017-02-10 01:40:44 -08:00
build Merge pull request #40561 from ixdy/bazel-src-tarball 2017-02-01 12:32:48 -08:00
cluster Merge pull request #41037 from bprashanth/glbc_version 2017-02-09 16:44:38 -08:00
cmd Switch hpa controller to shared informer 2017-02-10 09:53:41 -05:00
docs Merge pull request #41058 from liggitt/v1-tokenreview 2017-02-10 01:40:44 -08:00
examples Merge pull request #41136 from deads2k/apiserver-10-example 2017-02-09 14:27:48 -08:00
federation Merge pull request #36033 from DirectXMan12/feature/hpa-v2 2017-02-10 00:04:48 -08:00
Godeps Update generated files 2017-01-29 21:41:45 +01:00
hack Merge pull request #41114 from ncdc/shared-informers-04-endpoints 2017-02-10 04:50:48 -08:00
hooks
logo
pkg Merge pull request #40892 from hpcloud/vsphere_findbyuuid 2017-02-10 13:35:42 -08:00
plugin Merge pull request #41214 from ncdc/shared-informers-06-hpa 2017-02-10 10:03:44 -08:00
staging Merge pull request #40992 from k82cn/rm_empty_line 2017-02-10 05:38:42 -08:00
test Merge pull request #41213 from wongma7/external-e2e-role 2017-02-10 10:51:49 -08:00
third_party Update generated files 2017-01-25 19:49:45 +01:00
translations Extract strings for translation. 2017-02-06 22:32:01 -08:00
vendor Implement runtime.Object <-> map[string]interface{} conversion 2017-02-10 10:53:27 +01:00
.bazelrc bazel: save git version in kubernetes.tar.gz 2017-01-23 17:28:08 -08:00
.gazelcfg.json
.generated_docs Revert "Add the ability to edit fields within a config map." 2017-01-25 09:12:32 -05:00
.generated_files
.gitattributes
.gitignore
BUILD.bazel bazel: save git version in kubernetes.tar.gz 2017-01-23 17:28:08 -08:00
CHANGELOG.md Update 1.6.0-alpha.1 changelog 2017-01-31 12:02:24 -05:00
code-of-conduct.md
CONTRIBUTING.md
labels.yaml
LICENSE
Makefile Add -- flag to test-e2e to send flags to kubetest 2017-02-09 21:54:11 -08:00
Makefile.generated_files
OWNERS Add wojtec to global approvers 2017-01-25 11:57:00 -06:00
OWNERS_ALIASES
README.md Tidy up the main README. 2017-02-01 20:13:09 -08:00
Vagrantfile
WORKSPACE upgrade to latest build rules 2017-02-01 15:16:43 -08:00

Kubernetes

Submit Queue Widget GoDoc Widget

Introduction

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 hosted by the Cloud Native Computing Foundation (CNCF).

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.


Are you ...

Code of Conduct

The Kubernetes community abides by the CNCF code of conduct. Here is an excerpt:

As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.

Community

Do you want to help shape the evolution of technologies that are container-packaged, dynamically-scheduled and microservices-oriented?. If you are a company, you should consider joining the CNCF. For details about who's involved in CNCF and how Kubernetes plays a role, read the announcement. For general information about our community, see the website community page.

Contribute

If you're interested in being a contributor and want to get involved in developing Kubernetes, get started with this reading:

You will then most certainly gain a lot from joining a SIG, attending the regular hangouts as well as the community meeting.

If you have an idea for a new feature, see the Kubernetes Features repository for a list of features that are coming in new releases as well as details on how to propose one.

Building Kubernetes for the impatient

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

$ go get -d k8s.io/kubernetes
$ cd $GOPATH/src/k8s.io/kubernetes
$ make
$ 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

While there are many different channels that you can use to get hold of us (Slack, Stack Overflow, Issues, Forums/Mailing lists), 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!

Analytics