Skip to content

Sample repository for showing micronaut kubernetes module with microservices and mongodb

Notifications You must be signed in to change notification settings

piomin/sample-micronaut-kubernetes

Repository files navigation

Guide to Micronaut Kubernetes Demo Project Twitter

CircleCI

SonarCloud Bugs Coverage Lines of Code

In this project I'm demonstrating you the most interesting features of Micronaut Kubernetes Project for integration between Micronaut and Kubernetes API.

Getting Started

Currently you may find here some examples of microservices implementation using different projects from Micronaut. All the examples are divided into the branches and described in a separated articles on my blog. Here's a full list of available examples:

  1. Using Micronaut Kubernetes for integration with Kubernetes discovery, ConfigMaps and Secrets. A source code is available in the branch master. A detailed guide may be find in the following article: Guide to Micronaut Kubernetes

Usage

To successfully run example applications you need to have:

  1. JDK11+ as a default Java on your machine
  2. Maven 3.5+ available under PATH
  3. Minikube (I tested on version 1.6.1)
  4. Skaffold available under PATH

Architecture

Our sample microservices-based system consists of the following modules:

  • employee-service - a module containing the first of our sample microservices that allows to perform CRUD operation on Mongo repository of employees
  • department-service - a module containing the second of our sample microservices that allows to perform CRUD operation on Mongo repository of departments. It communicates with employee-service.
  • organization-service - a module containing the third of our sample microservices that allows to perform CRUD operation on Mongo repository of organizations. It communicates with both employee-service and organization-service.

The following picture illustrates the architecture described above including Kubernetes objects.

Releases

No releases published

Packages

No packages published

Languages