mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-14 06:50:40 +00:00
Automatic merge from submit-queue (batch tested with PRs 47999, 47890) LocalPV e2e test with two pods writing/reading to a shared file on one PVC **What this PR does / why we need it**: This PR adds an e2e test where one pod writes to a localPV and another reads from it. This e2e test is for the PersistentLocalVolumes alpha feature. **Which issue this PR fixes**: fixes https://github.com/kubernetes/kubernetes/issues/48832 **Special notes for your reviewer**: You need to setup the PersistentLocalVolumes feature-gate and NODE_LOCAL_SSDS environment variable. For example: ``` KUBE_FEATURE_GATES="PersistentLocalVolumes=true" NODE_LOCAL_SSDS=1 go run hack/e2e.go -- -v --up go run hack/e2e.go -- -v --test --test_args="--ginkgo.focus=\[Feature:LocalPersistentVolumes\]" ``` **Release note**: ```release-note NONE ```