Skip to content

spdolan/kustomize-microservices

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kustomize-microservices

JavaScript Node.js Microservices

This repo is intended to display a basic setup of TypeScript/JavaScript microservices (in this case, a React SPA frontend with an Express.js API backend) for deployment to Kubernetes using Kustomize.

Backend

Initial creation of the backend uses express-generator-typescript with k8s probe handler.

Build

Backend will be containerized using the Node.js Docker base container, using a multi-step build - for specific steps see the Dockerfile.

Frontend

Initial creation of the frontend uses create-react-app with the TypeScript flavor.

Build

Frontend will be containerized using a multi-step build, ultimately served using the Nginx Docker base container - for specific steps see the Dockerfile.

Note here that our (Readiness Probe)[https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#define-readiness-probes] is the presence of our compiled index.html (being served by Nginx)[./environments/base/client/deployment.yaml#L31].

About

WIP: an example of deploying Node.js microservices (SPA/API) to k8s using Kustomize.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published