Similar to the Docker Compose sub-generator, JHipster also comes bundled with a Kubernetes sub-generator. In order to use it, just like with Docker Compose, we will create a new folder and name it Kubernetes. Then, we will go inside the folder to create the configuration files.
We can create Kubernetes configuration files with the following command:
> mkdir kubernetes && cd kubernetes> jhipster kubernetes