Skip to content

Mad-Collective/devops.test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 

Repository files navigation

Devops Kubernetes test

Description

Build a simple REST API. This API code needs to run in a Kubernetes cluster.

You may use any k8s implementation you like.

You can use any pod and container configuration you need, just make sure you follow Kubernetes best practices.

API Specification

GET /user/{id} - Retrieves a specific user

POST /user - Creates a new user

DELETE /user/{id} - Deletes a specific user

Restrictions

You can use any language you want for the API, although you get extra points if you use python or go.

You can use any database backend you want, or none (You can use In Memory DB without persistence).

Use Makefile as the single entrypoint, to control the app flow.

TO BE DONE:

Implement the following commands:

  • make build: : Build and push the required image/s.

  • make deploy : Deploy the app to the cluster.

  • make test : Run tests to check that the API working (Cover all the methods).

We expect you provide a zip, with what you did.

What we will evaluate

  • Reliability
  • Code structure
  • Tool/Libraries usage
  • How would you implement deployment pipeline
  • Tests
  • Logging (what would you log, where you would store it etc)
  • Documentation
  • Further instructions to move it to production

This test has been designed to take you between 1 and 2 hours

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •