If it is possible, then running all yours workloads on (public) cloud is the way to go these days. But many a times as developers we are unable to do so (security or compliance reasons come to mind). This presentation will guide you how you can run your very own Elastic Stack on a local Kubernetes cluster with very minimal effort. It will also show you how you can use tools like Skaffold to create a very tight work loop. With such a setup, you can try out new features of Elastic, integration of you app with Elastic and experiment locally before taking the next steps.
You can find code for local-elastic-stack at https://github.com/geoaxis/local-elastic-stack and samples at https://github.com/geoaxis/elastic-k8s-in-7mins-samples