console icon indicating copy to clipboard operation
console copied to clipboard

Mounting volume setting mount subpath error

Open jioce opened this issue 3 years ago • 9 comments

Describe the bug 1.Edit storage volume, add subpath "/tt",click save,click to confirm,pod not updated 2. Edit the storage volume again and change the subpath to “tt”,click to confirm,pod updated

https://user-images.githubusercontent.com/88183150/138063551-8dec3c55-d9c7-41f9-ba89-75878f7af451.mp4

Versions used(KubeSphere/Kubernetes) KubeSphere: v3.2.0-rc.1

/kind bug /@kubesphere/sig-console /priority medium

jioce avatar Oct 20 '21 09:10 jioce

/assign @weili520

harrisonliu5 avatar Oct 22 '21 02:10 harrisonliu5

/remove-kind need-to-verify

weili520 avatar Nov 02 '21 06:11 weili520

/kind need-to-verify

weili520 avatar Nov 12 '21 06:11 weili520

version used: nightly-20211115 the problem still exists

https://user-images.githubusercontent.com/88183150/141886230-54a4a9ce-f443-4e07-8af6-777e3da49e24.mp4

jioce avatar Nov 16 '21 02:11 jioce

/remove-kind need-to-verify

weili520 avatar Nov 16 '21 02:11 weili520

/kind need-to-verify

harrisonliu5 avatar Dec 02 '21 03:12 harrisonliu5

version used: nightly-20211202 the problem still exists

https://user-images.githubusercontent.com/88183150/144536575-425f7fbc-a115-4ff9-a24a-7eb2ad6c41c6.mp4

jioce avatar Dec 03 '21 02:12 jioce

version used: nightly-20211202 the problem still exists

20211203_.mp4

I think this caused by the K8s, it will check the container volume's subpath field. We can consider adding a subpath field verification strategy. How do you think about it ? @harrisonliu5

weili520 avatar Dec 03 '21 03:12 weili520

/remove-kind need-to-verify

wenxinll avatar Jun 22 '22 08:06 wenxinll