/api to a Node.js backend API. One forma provisions the
namespace, the frontend and backend ConfigMaps, a database-credentials Secret, a
backend ServiceAccount, the two Deployments, and the two Services (the frontend
exposed as a LoadBalancer).
Deploy. Apply the example forma. formae orders the resources by their
dependencies automatically, so the namespace comes up before the workloads and
the backend Service before the frontend that proxies to it:
Common patterns
Deploy the bookstore webapp
A Kubernetes infrastructure pattern, deployed with formae.
A two-tier web application in a single namespace: an nginx frontend that serves a
static page and proxies
Verify. Once the command completes, the stack’s resources are under
management:
Tear down. Remove everything the forma created:
The full forma is in the
bookstore example.

