@cedric on a more general answer to your question - yes, it's easy. As was pointed out, designing to the 12 factor principles makes things portable for any PaaS solution. K8S will probably have helm charts available to create java service clusters with auto scaling if you want to go down that route.