Code Monkey home page Code Monkey logo

saguhildon's Projects

question-1 icon question-1

Create a Rabbit MQ deployment and service on which is exposed on 5672 and 15672 with a NodePort. NodePort Mapping Requirements: ports 5672 to 31672 ports 15672 to 32000

question-2a icon question-2a

(Note: Due to form security, it does not allow to type sensitive word. Please read pxxx as pass) Create a producer REST API to accept a “Task” along with username(email) and pxxxword. Request POST “/task” { "email": "[email protected]", "pxxxword": "cityslicka", (--> replace pxxx with pass) "task" : "Any Task" } Validate the username and pwd by making a POST call to https://reqres.in/api/login and confirm if you are getting a token in response { "token": "QpwL5tke4Pnpja7X4" } If a token is received then publish the task to a “TaskQueue” on the RabbitMQ created previously, else give an error response with 401 status code.

question-2b icon question-2b

Create a Dockerfile for the REST API built in previous "Question-2A". Build an image and publish the image to DockerHub Create a deployment of producer and expose it using a service with a NodePort (31500) Deliverables Dockerfile of building REST API image YAML file for Deployment and Service (use the docker image from your docker hub)

question-3b icon question-3b

Create a Dockerfile for the REST API built in Question-3A Build an image and publish the image to Docker hub.

question-4 icon question-4

Create a deployment with 3 replicas of the following container “gcr.io/google-samples/hello-app:1.0“ which listens on PORT 8080. Expose the ClusterIP service for the above deployment to listen on PORT 80

question-5 icon question-5

Setup an ingress controller [Kong] Expose the Producer REST API built in Question-2 on the following path: /v1/tasks/task Expose the hello deployment in Question-4 on the following path: /v1/hello Enable a rate limiting of 5 requests per minute on both the services above.

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.