Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue e3969fed1d
Merge pull request #67825 from nikopen/master
Automatic merge from submit-queue (batch tested with PRs 67745, 67432, 67569, 67825, 67943). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Fix VMWare VM freezing bug by reverting #51066

**What this PR does / why we need it**: kube-controller-manager, VSphere specific: When the controller tries to attach a Volume to Node A that is already attached to Node B, Node A freezes until the volume is attached.  Kubernetes continues to try to attach the volume as it thinks that it's 'multi-attachable' when it's not. #51066 is the culprit.


**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes https://github.com/vmware/kubernetes/issues/500 / https://github.com/vmware/kubernetes/issues/502 (same issue)

**Special notes for your reviewer**:

- Repro:

Vsphere installation, any k8s version from 1.8 and above, pod with attached PV/PVC/VMDK:

1. cordon the node which the pod is in
2. `kubectl delete po/[pod] --force --grace-period=0`
3. the pod is immediately rescheduled to a new node. Grab the new node from a `kubectl describe [pod]` and attempt to Ping it or SSH into it.
4. you can see that pings/ssh fail to reach the new node. `kubectl get node` shows it as 'NotReady'. New node is frozen until the volume is attached - usually 1 minute freeze for 1 volume in a low-load cluster, and many minutes more with higher loads and more volumes involved.

- Patch verification:

Tested a custom patched 1.9.10 kube-controller-manager with #51066 reverted and the above bug is resolved - can't repro it anymore. New node doesn't freeze at all, and attaching happens quite quickly, in a few seconds.


**Release note**:

``` 
Fix VSphere VM Freezing bug by reverting #51066 

```
2018-08-29 15:19:41 -07:00
.github
api Merge pull request #67432 from lichuqiang/topo_provision_beta 2018-08-29 15:19:34 -07:00
build Merge pull request #67687 from Lion-Wei/remote-reschrduler 2018-08-23 12:32:17 -07:00
cluster Merge pull request #67569 from fturib/coredns-default 2018-08-29 15:19:37 -07:00
cmd Merge pull request #66960 from rosti/drop-arch-suffixes 2018-08-28 13:43:53 -07:00
docs Merge pull request #67432 from lichuqiang/topo_provision_beta 2018-08-29 15:19:34 -07:00
Godeps Merge pull request #62420 from mikedanese/jose-bump 2018-08-23 15:39:59 -07:00
hack Updated staging godeps, import restrictions and missing metadata files 2018-08-28 14:57:35 +02:00
logo Create LICENSE 2018-08-07 10:38:29 +05:30
pkg Merge pull request #67825 from nikopen/master 2018-08-29 15:19:41 -07:00
plugin related test update 2018-08-29 10:30:16 +08:00
staging Merge pull request #67432 from lichuqiang/topo_provision_beta 2018-08-29 15:19:34 -07:00
test Merge pull request #67432 from lichuqiang/topo_provision_beta 2018-08-29 15:19:34 -07:00
third_party fix some style error using gofmt 2018-06-28 15:02:30 +08:00
translations translations: point license header to Kubernetes 2018-07-16 14:34:44 +05:30
vendor add cli plugin example repo 2018-08-28 11:44:14 +02:00
.bazelrc
.generated_files
.gitattributes
.gitignore Don't gitignore pkg/generated/bindata.go 2018-07-09 11:35:01 -07:00
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
CHANGELOG-1.3.md
CHANGELOG-1.4.md
CHANGELOG-1.5.md
CHANGELOG-1.6.md
CHANGELOG-1.7.md
CHANGELOG-1.8.md Update CHANGELOG-1.8.md for v1.8.15. 2018-07-11 21:32:48 +00:00
CHANGELOG-1.9.md Update CHANGELOG-1.9.md for v1.9.10. 2018-08-03 01:15:19 +00:00
CHANGELOG-1.10.md Update CHANGELOG-1.10.md for v1.10.7. 2018-08-20 11:37:08 +00:00
CHANGELOG-1.11.md Merge pull request #65858 from etiennecoutaud/typo-changelog-1.11 2018-08-24 00:09:14 -07:00
CHANGELOG-1.12.md Add CHANGELOG-1.12.md for v1.12.0-alpha.1. 2018-08-02 00:18:17 +00:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES Add misterikkit to sig-scheduling REVIEWERS. 2018-08-21 16:07:27 -07:00
README.md Change README links to https 2018-07-18 15:24:42 +02:00
SECURITY_CONTACTS
SUPPORT.md
WORKSPACE

Kubernetes

Submit Queue Widget GoDoc Widget CII Best Practices


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

For the full story, 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