Run Kubernetes End-to-end Volume On CentOS

With a couple of fixes, Kubernetes can run volume e2e tests on a local CentOS cluster.

On Fedora/CentOS/RHEL, after git clone of latest Kubernetes source:

Start up a local cluster 


Run Volume e2e tests


That is!

The volume e2e tests consists of testing volume plugins (NFS, Glusterfs, iSCSI, CephFS, Ceph RBD, OpenStack Cinder). Each test will create a containerized server, a client Pod that has a mount path uses the Volume type. The client expects to see a pre-created HTML file on the server. The Persistent Volumes test creates a NFS server, a Persistent Volume (PV) using the NFS backstore and recycle policy, and Persistent Volume Claim (PVC) that is able to bind to the NFS PV. After the PVC is bound, it is immediately deleted, the NFS PV is recycled, deleting all the content on it.


More tests cases are welcome!


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s