- Implement an application that exposes this [JSON] document when visited with an HTTP client:
{ "id": "1", "message": "Hello world" } - Containerize with [Docker]the application.
- Create a second application that reverses the
messageof the HTTP response from the first service as JSON. Note that JSON must be dynamically rendered and is not a static string.{ "id": "1", "message": "dlrow olleH" } - Containerize the second application.
- Run both applications in Minikube, Kind, or any other suitable solution to run Kubernetes locally.
You can use your preferred tool to define the YAML manifests for Kubernetes, for example Helm, Kustomize, Jsonnet, YTT, Cue or Cdk8s.
Note: The communication between the two applications must occur internally in the cluster. The proposed solution should be able to work on a real cluster as well (up to reasonable adaptations) - Automate deployment of the two applications in the cluster using a script (called
script.sh).- build and push the Docker image.
- deploy applications to Kubernetes.
- print HTTP responses of applications.# message-reversal-app
-
Notifications
You must be signed in to change notification settings - Fork 0
AshisPadhi/message-reversal-app
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
A sample application with two Microservices that reverses the message input from a json.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published