saguhildon Goto Github PK
Type: User
Type: User
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
(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.
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)
Create a Dockerfile for the REST API built in Question-3A Build an image and publish the image to Docker hub.
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.