In-reply-to » Google support just told me: "Sure, if your k8s pod does $thing, then that can corrupt the ext4 on attached volumes." I'm sure this is just a silly misunderstanding.

@prologic@twtxt.net @movq@www.uninformativ.de @lyse@lyse.isobeef.org

they are right in one sense but wrong in their delivery.

if a pod had a pv attached on storage plane and the pod does something (could be anything) to corrupt the pv, the scheduler will continue to kill the pod since its pvc pointing to pv cannot be fulfilled.

there is no proper time for pod death. kubernetes will kill pods for whatever reason it deems necessary at any given time. its purpose is to ensure declared state is met at all times.

now all that being said ext4 corruption can and does happen on the underlying storage that supports your storage plane (ceph+took, talos, nfs, iscsi, etc) but a pod cannot directly cause this.

if the csi driver/storage plane had some bug or takes a flaming shit sure it can corrupt the blob storage but not a pod.

basically it means they gave you the right answer to the wrong question.

if you need help im happy to discuss.

โค‹ Read More