Generating the Kubernetes manifests

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
As we have seen already, Kubernetes needs separate tools for running locally (that is, for development purposes). Therefore, if you need to do things locally, please enable the local Kubernetes cluster using Docker Desktop for Mac (https://docs.docker.com/docker-for-mac/kubernetes/) or Windows (https://docs.docker.com/docker-for-windows/kubernetes/ ...

Get Full Stack Development with JHipster - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.