Mount PVC in cronjob and statefulset
Have you checked the accessModes
of your pv
and pvc
?
If you want more than one pod to be able to mount the volume you'll need to use ReadOnlyMany
or ReadWriteMany
As for your second question, no, there's no way to "add a CronJob to [a] StatefulSet". They are separate and distinct API objects.