Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue d6625f857a
Merge pull request #58177 from jingxu97/Jan/reconstruct
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Redesign and implement volume reconstruction work

This PR is the first part of redesign of volume reconstruction work. The detailed design information is https://github.com/kubernetes/community/pull/1601

The changes include
1. Remove dependency on volume spec stored in actual state for volume
cleanup process (UnmountVolume and UnmountDevice)

Modify AttachedVolume struct to add DeviceMountPath so that volume
unmount operation can use this information instead of constructing from
volume spec

2. Modify reconciler's volume reconstruction process (syncState). Currently workflow
is when kubelet restarts, syncState() is only called once before
reconciler starts its loop.
a. If volume plugin supports reconstruction, it will use the
reconstructed volume spec information to update actual state as before.
b. If volume plugin cannot support reconstruction, it will use the
scanned mount path information to clean up the mounts.

In this PR, all the plugins still support reconstruction (except
glusterfs), so reconstruction of some plugins will still have issues.
The next PR will modify those plugins that cannot support reconstruction
well.

This PR addresses issue #52683
2018-02-08 18:21:34 -08:00
.github
api Merge pull request #58854 from liggitt/prefer-v1-storage 2018-02-08 16:58:32 -08:00
build Merge pull request #57824 from thockin/gcr-vanity 2018-02-08 03:29:32 -08:00
cluster Merge pull request #59577 from shyamjvs/fix-kubemark-image 2018-02-08 12:22:35 -08:00
cmd Merge pull request #59344 from cheyang/fix_kubeadm_typo 2018-02-08 18:06:32 -08:00
docs Merge pull request #57824 from thockin/gcr-vanity 2018-02-08 03:29:32 -08:00
examples Switch to k8s.gcr.io vanity domain 2018-02-07 21:14:19 -08:00
Godeps Update cadvisor to 6116f265302357cbb10f84737af30b1f13ce2d6c 2018-02-08 22:37:39 +00:00
hack Merge pull request #59280 from dims/allow-custom-cloud-controller-manager 2018-02-08 03:29:42 -08:00
logo
pkg Merge pull request #58177 from jingxu97/Jan/reconstruct 2018-02-08 18:21:34 -08:00
plugin Merge pull request #59454 from tanshanshan/fix-small 2018-02-07 06:26:02 -08:00
staging Merge pull request #57143 from sttts/sttts-clientgen-no-base-dirs 2018-02-08 07:09:58 -08:00
test Merge pull request #58177 from jingxu97/Jan/reconstruct 2018-02-08 18:21:34 -08:00
third_party
translations
vendor Update cadvisor to 6116f265302357cbb10f84737af30b1f13ce2d6c 2018-02-08 22:37:39 +00:00
.bazelrc
.generated_files
.gitattributes
.gitignore
.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
CHANGELOG-1.9.md
CHANGELOG-1.10.md
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
labels.yaml
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES
README.md
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