Skip to content

Kubernetes micro-services example πŸ¦‰ with microservices in golang, python and JS

Notifications You must be signed in to change notification settings

ronniemh/kubernetes-microservices-example

Repository files navigation

Kubernetes Example

Simple location encryption with WebUI for learning K8s. See video here

YouTube video

IMAGE ALT TEXT HERE

Prerequisites

Docker and docker-compose

Installation

Use the package manager pip to install foobar.

docker-compose up

Minikube

kubectl create deployment redis --image=redis
kubectl get all
kubectl create deployment coordinates --image=leningotru/coordinates
kubectl create deployment encrypter --image=ronniemh/location-encrypt
kubectl create deployment web --image=danidaniel6462/ksh_webui
kubectl create deployment worker --image=danidaniel6462/ksh_worker
kubectl expose deployment redis --port 6379
kubectl expose deployment coordinates --port 3000
kubectl expose deployment encrypter --port 8080
kubectl expose deploy/web --type=NodePort --port 80
minikube service web

EKS

eksctl create cluster \
 --name meet \
 --version auto \
 --nodegroup-name linux-nodes \
 --zones us-east-1a,us-east-1b \
 --node-type t3.small \
 --nodes 1 \
 --nodes-min 1 \
 --nodes-max 3 \
 --asg-access

Usage

Open a Web UI: http://localhost:3000

locationEncrypt: Golang microservice to encrypt location

License

MIT

About

Kubernetes micro-services example πŸ¦‰ with microservices in golang, python and JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •