Mongodb replicasets over consul and "statefullset"

I am attempting to setup a mongodb replicaset over consul connect in a single job file. Is there any harm in specifying three volumes in the group and then specific volume mounts for each task? Is that the correct way to get the statefullset workflow from k8s?

@NegativeFeedback that sounds reasonable. Of course the group will only be scheduled on nodes where all the volumes are present, but that’s probably what you want?

yea they would be ceph volumes, just making sure since in my experience in k8s that is kinda abstracted away. at least in my limited experience lol