Git Product home page Git Product logo

join-com-devops-challenge's Introduction

Infrastructure Engineer (DevOps) Challenge

JOIN acceleration

The context

This challenge addresses a web application with a microservice architecture to calculate the acceleration of an object.

The application

  • The application contains 3 microservices
  • Each microservice takes care of only one arithmetic operation
  • The microservices take inputs from the URL query form and return the result in JSON format
  • The microservices are not stable and can stop serving requests

Services:

  • acceleration-dv calculates ๐šซv=vf-vi
curl http://127.0.0.1:3001/dv?vf=200&vi=5
{"dv":195}
  • acceleration-a calculates a=๐šซv/t
curl http://127.0.0.1:3002/a?dv=200&t=5
{"a":40}
  • acceleration-calc coordinates request to acceleration-dv and acceleration-a services
curl http://127.0.0.1:3000/calc?vf=200&vi=5&t=123
{"a":1.5853658536585367}

Task

  • Using Helm, write the necessary Kubernetes deployment and service files that can be used to create the full application, running 2 instances of each microservice.
  • Only /calc of acceleration-calc microservices can be available outside of the kubernetes cluster.
  • Run the application on a kubernetes cluster like Minikube or Docker for Mac.
  • Make sure the application is stable.
  • Please do not change a code in services.

Environment Setup

  • Microservices are written on Typescript and Node.js version 10.14.2
  • You would need to setup yarn
  • Run yarn install to setup all required components
  • Run yarn build to build production ready code
  • Run yarn dev to run a service in dev environment
  • Run yarn start to run a service in production

Instructions

  • The challenge is on!
  • Send us an email with a link to repository when you finish the assesment.
  • Please complete your working solution within 7 days of receiving this challenge.

join-com-devops-challenge's People

Contributors

antonversal avatar boris-lapouga avatar dependabot[bot] avatar favorit 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.