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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.