GithubHelp home page GithubHelp logo

doctordrayfocus / kubernetes-microservices Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spylkkanen/kubernetes-microservices

0.0 0.0 1.0 852 KB

This is NodeJS based application designed to showcase microservices hosted in local Docker or Kubernetes with local docker registry images. Application contains 1x WebApp service + 2x REST API services where one of the service is internal which is not directly accessible from internet.

License: MIT License

Shell 8.28% JavaScript 71.60% HTML 4.15% Dockerfile 15.97%

kubernetes-microservices's Introduction

Build status Release status

Overview

This is simple nodejs based application designed to showcase microservices in docker and kubernetes. Application contains one web application and two REST api services where one of the service is internal which is not directly accessible from internet.

Configuration demonstrates basics how to setup local docker registry and local kubernetes hosting. e.g. If you want to create own private cloud solution.

❕ Please notice that example is documented based on Windows host.

Architecture

All application services used in showcase are written with NodeJS.

Docker hosted application

Simplyfied overal structure of application networking. Docker application structure

Kubernetes hosted application

Simplyfied overal structure of application networking. Kubernetes application structure

Repository Structure

The main levels of the repository directory tree are laid out as follows

.
├── backend-api1            NodeJS backend service 1.
│   └── api                 REST api's.
├── backend-api2            NodeJS internal backend service 2.
│   ├── api                 REST api's.
├── docs                    Documentation
├── frontend                NodeJS hosted webapp.
├── kubernetes              Kubernetes installation scripts to setup application to kubernetes.
├── docker-compose.yml      Docker compose to setup application to docker.

Kubernetes application quick launch

To build docker images run

./build.sh

To deploy microservice on kubernetes run

./kubernetes/install.sh

kubernetes-microservices's People

Contributors

doctordrayfocus avatar

Forkers

realexcel2021

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.