How to deploy a pod for any java application given the snapshot(jar file) and the configuration file

Hi All,

I am pretty much new to the k8s concepts. I an having the jar file of my java application and while creating the pod i would need to pass the config.json file and the snapshot(jar file) for the same. Can anyone help me with the yaml file for the same.