Giter Club home page Giter Club logo

otusfinal's Introduction

Otus Final Project

Otus Final Project...

Description TBD To be honest, codebases requires refactoring due to problems in core functionality and architecture If you're going to review this distributed ball of mud, I sincerily apologize, It has been made in 8 days from Pre-Existing Services that I had written as part of previous homeworks in the Otus Microservice Course

Kubernetes Deployment

Prerequisites:

  1. Kubernetes Cluster
  2. Helm

Setup:

  1. Install istiod
helm repo add istio https://istio-release.storage.googleapis.com/charts
helm repo update
kubectl create namespace istio-system
helm install istio-base istio/base -n istio-system
helm install istiod istio/istiod -n istio-system --wait
  1. Install istio-ingress
kubectl create namespace istio-ingress
kubectl label namespace istio-ingress istio-injection=enabled
helm install istio-ingress istio/gateway -n istio-ingress --wait
  1. Run bootstrap.sh in KubernetesDeployment folder. It will install everything needed into newly created namespace stream-processing

Uninstall:

  1. Run tear-down.sh in KubernetesDeployment folder.
  2. kubectl delete ns stream-processing

Total: 20 Gi of Storage and ~4 Gi of RAM

IntelliJ Idea

  1. git clone https://github.com/ReDestroyDeR/StreamProcessing
  2. Start all the dependencies via docker-compose up -d
  3. Open StreamProcessing in IntelliJ as Project
  4. (Optional) If modules haven't been detected automatically you need to:
    1. File -> Project Structure -> + -> Import module -> ( NotificationService/OrderService/BillingService/...) -> Maven
    2. Wait until they don't appear in Project Structure Menu
  5. Generate Avro schemas for each service mvn avro:schema
  6. Mark target/generated-sources as generated sources folder in Project Structure
    1. ... Service -> Sources -> Select target/generated-sources -> Alt + S -> (On the right panel) Source Folders target/generated-sources Edit properties (Pencil Symbol) -> Check For generated sources
  7. You have ready development deployment!

otusfinal's People

Contributors

redestroyder avatar

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.