Skip to content

This repository presents a simple microservices project for recording and consuming news delivered in a Kubernetes Cluster.

Notifications You must be signed in to change notification settings

MBrugnaroto/Local-Kubernetes-Cluster-with-Kind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Local Kubernetes Cluster with Kind

This repository presents a simple microservices project for recording and consuming news delivered in a Kubernetes environment. The idea is to build a local Kubernetes Cluster using the Kind tool and make the services (system, portal and database) available on different nodes through Node Affinity. To manage external access to services in the cluster, an NGINX ingress was used as a reverse proxy and load balancer.

Cluster Components

cluster-components

Requirements

  • Make
  • Docker
  • Kubernetes
  • Kind

Skeleton

├── /app
|   ├── /cluster
|   ├── /ingress
|   ├── /microservices
|   |   ├── /database
|   |   ├── /portal
|   |   ├── /system
|   |   |   ├── /pvc
├── /images
├── Makefile

How to Run:

  • In the root directory of the repository, run the following command in the terminal:
$ make
  • If you want clean your environment run:
$ make clean

Note: You can individually create the cluster and each of its components. Just run the make command with the following parameters: cluster, database, system, portal or ingress. But keep in mind that some components have dependencies.

With cluster up you can access the system to create new news and consult them through the portal.

  • In your browser access the portal through follwing URL:
localhost/
  • In your browser access the system through follwing URL:
localhost/admin
  • System login:
usuário: admin
senha: admin

About

This repository presents a simple microservices project for recording and consuming news delivered in a Kubernetes Cluster.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published