Skip to content
Java Makefile Shell Thrift
Branch: master
Clone or download
Latest commit 906af26 Aug 11, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
armeria-sandbox-backend1
armeria-sandbox-backend2
armeria-sandbox-backend3
armeria-sandbox-backend4
armeria-sandbox-common Refactor Jul 21, 2019
armeria-sandbox-frontend
armeria-sandbox-grpc
armeria-sandbox-job-kubernetes
armeria-sandbox-thrift
gradle/wrapper
lib/thrift
manifests
.gitignore
Makefile
README.md Merge pull request #13 from matsumana/update-overview-image Jul 14, 2019
build.gradle
gradlew
gradlew.bat
settings.gradle

README.md

armeria-sandbox

Armeria features which use in this app

  • DocService
  • Thrift API (Async)
  • gRPC API (Async)
  • REST API (Async)
  • Retrofit integration
  • RxJava 2
  • Spring Boot integration
  • Zipkin integration
    • Server side: BraveService
    • Client side: BraveClient
  • Throttling
    • Server side: ThrottlingHttpService
  • Automatic retry
    • Client side: RetryingRpcClient(Thrift), RetryingHttpClient(gRPC, REST)
  • Circuit Breaker
    • Client side: CircuitBreakerRpcClient(Thrift), CircuitBreakerHttpClient(REST)
  • Client-side load balancing
  • Central Dogma integration
    • CentralDogmaEndpointGroup

How to deploy this app on Kubernetes

This app can be started easily on Kubernetes.
Only Docker for Mac with Kubernetes is tested for now.

ref: Get started with Docker for Mac - Kubernetes

preparation

launch local Docker registry

$ docker run -d -p 5000:5000 --name registry registry:2.6

launch dependent Docker containers

$ make kubectl-create-infra

generate initial project, repository data in Central Dogma

$ make kubectl-create-infra-data


deploy to Kubernetes

build the app

$ ./gradlew --no-daemon clean build
# or
$ make build-with-docker

build Docker images

$ make docker-build-kubernetes-dev
# or
$ make docker-build-kubernetes-production

push Docker images to local Docker registry

$ make docker-push

deploy the app

$ make kubectl-create-apps


How to dispose

$ make kubectl-delete-apps
$ make kubectl-delete-infra
$ docker stop registry
$ docker rm registry



URLs which are provided by this app

You can’t perform that action at this time.