Automatic merge from submit-queue (batch tested with PRs 64593, 65117, 65629, 65827, 65686). 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>. Add e2e tests for volumeMode of persistent volume This set of e2e tests is to confirm that persistent volume works well for all volumeModes. Coverage of the tests are shown in the figure of [Test cases], below. Once implementation policy is confirmed to be good, we can add plugins and test cases to this. [Test cases] ``` # plugin volumeMode Test case Expectation --- ---------- -------------- ------------------------------------------------------ ------------ 1 iSCSI Block (a) Create Pod with PV and confirm Read/Write to PV Success 2 iSCSI Block (b) Create Pod and restart kubelet and confirm PV Success 3 iSCSI Block (c) Create Pod and restart kubelet while deleting PV Success 4 iSCSI FileSystem (a) Create Pod with PV and confirm Read/Write to PV Success 5 iSCSI FileSystem (b) Create Pod and restart kubelet and confirm PV Success 6 iSCSI FileSystem (c) Create Pod and restart kubelet while deleting PV Success 7 RBD Block (a) Create Pod with PV and confirm Read/Write to PV Success 8 RBD Block (b) Create Pod and restart kubelet and confirm PV Success 9 RBD Block (c) Create Pod and restart kubelet while deleting PV Success 10 RBD FileSystem (a) Create Pod with PV and confirm Read/Write to PV Success 11 RBD FileSystem (b) Create Pod and restart kubelet and confirm PV Success 12 RBD FileSystem (c) Create Pod and restart kubelet while deleting PV Success 13 CephFS Block (a) Create Pod with PV and confirm Read/Write to PV Fail 14 CephFS FileSystem (a) Create Pod with PV and confirm Read/Write to PV Success 15 CephFS FileSystem (b) Create Pod and restart kubelet and confirm PV Success 16 CephFS FileSystem (c) Create Pod and restart kubelet while deleting PV Success 17 NFS Block (a) Create Pod with PV and confirm Read/Write to PV Fail 18 NFS FileSystem (a) Create Pod with PV and confirm Read/Write to PV Success 19 NFS FileSystem (b) Create Pod and restart kubelet and confirm PV Success 20 NFS FileSystem (c) Create Pod and restart kubelet while deleting PV Success ``` **What this PR does / why we need it**: **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 #56803 **Special notes for your reviewer**: /sig storage @gnufied @rootfs @jsafrane @jeffvance This PR is intend to reflect the comments for the below PR. https://github.com/kubernetes/kubernetes/pull/56804 **Release note**: ```release-note NONE ``` |
||
---|---|---|
.github | ||
api | ||
build | ||
cluster | ||
cmd | ||
docs | ||
Godeps | ||
hack | ||
logo | ||
pkg | ||
plugin | ||
staging | ||
test | ||
third_party | ||
translations | ||
vendor | ||
.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-1.11.md | ||
CHANGELOG.md | ||
code-of-conduct.md | ||
CONTRIBUTING.md | ||
labels.yaml | ||
LICENSE | ||
Makefile | ||
Makefile.generated_files | ||
OWNERS | ||
OWNERS_ALIASES | ||
README.md | ||
SECURITY_CONTACTS | ||
SUPPORT.md | ||
WORKSPACE |
Kubernetes

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.