Skip to content

Leverage the power of Dapr to build microservices on AKS

License

Notifications You must be signed in to change notification settings

thangchung/dapr-microservices

 
 

Repository files navigation

dapr microservices

Build Status Build Status Build Status License: MIT Follow on Twitter

Leverage the power of Dapr to build microservices application

Get started

Step 1 - Pre-requisites

  • Kubernetes, it's ok to use Kubernetes on Docker for Win/Mac or Minikube for development environment. Currently I've just tested on Docker for Win/Mac environment (with Kubernetes enabled). Minikube hasn't been tested yet!
  • Helm 3.0, no more Tiller. But please add the repo before we can install:
  • Dapr CLI, prefer latest version (e.g. 0.3.0)

Step 2 - Setup

First, initialize Dapr on Kubernetes so that it can inject sidecars to our applications:

$ dapr init --kubernetes

Next, clone the source code & install the SimplAds app via Helm:

$ git clone https://github.com/trumhemcut/dapr-microservices.git
$ cd dapr-microservices
$ helm dep up ./helm-chart
$ helm install simplads ./helm-chart

Step 3 - Change your host file

Since the SimplAds uses Traefik as its main ingress, and using hostnames as the main endpoints. Please add those following hostnames to your host files:

If you're using Mac, add the line below to this file /etc/hosts. If you're using Windows, add the line below to this file C:\Windows\System32\drivers\hosts

127.0.0.1   traefik.dapr.fun dashboard.dapr.fun web.dapr.fun zipkin.dapr.fun

Features

After finishing all above steps (it may takes several minutes), you can browse following Urls:

Architecture

TODO

About

Leverage the power of Dapr to build microservices on AKS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 61.1%
  • Vue 22.4%
  • JavaScript 5.4%
  • Smarty 4.7%
  • Shell 3.4%
  • HTML 1.6%
  • Dockerfile 1.4%