Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.62 KB

File metadata and controls

44 lines (31 loc) · 1.62 KB

Django ToDo list

This is a to-do list web application with the basic features of most web apps, i.e., accounts/login, API, and interactive UI. To do this task, you will need:

Explore

Try it out by installing the requirements (the following commands work only with Python 3.8 and higher, due to Django 4):

pip install -r requirements.txt

Create a database schema:

python manage.py migrate

And then start the server (default is http://localhost:8000):

python manage.py runserver

You can now browse the API or start on the landing page.

Task

Create a Kubernetes manifest for a pod that will contain a ToDo app container:

  1. Fork this repository.
  2. Modify pod manifest to deploy a second same pod with a different name.
  3. Add labels to pods “app: todolist”
  4. Create a manifest for a ClusterIP service, which should balance traffic between two pods
  5. Create a manifest for a NodePort service, which should expose an application on a Node Level
  6. Set all env values for the container from the pod’s manifest
  7. Create the INSTRUCTION.md file
  8. INSTRUCTION.md should contain instructions on how to test an app by calling a ClusterIP service DNS from a busybox container
  9. INSTRUCTION.md file should contain instructions on how to test ToDo application using the service port-forward command
  10. INSTRUCTION.md should contain instructions on how to access an app using a NodePort Service
  11. Create PR with your changes and attach it for validation on a platform.