An example StatefulSet I created for a block post where I was using the local-storage provisioner in order to store data on an NFS volume. The NFS Provisioner would be better but I had issues with it so this was my workaround/alternative implementation.
See the blog post here