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:
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.
Create a Kubernetes manifest for a pod that will contain a ToDo app container:
- Fork this repository.
- Modify pod manifest to deploy a second same pod with a different name.
- Add labels to pods “app: todolist”
- Create a manifest for a ClusterIP service, which should balance traffic between two pods
- Create a manifest for a NodePort service, which should expose an application on a Node Level
- Set all env values for the container from the pod’s manifest
- Create the
INSTRUCTION.md
file INSTRUCTION.md
should contain instructions on how to test an app by calling a ClusterIP service DNS from a busybox containerINSTRUCTION.md
file should contain instructions on how to test ToDo application using the serviceport-forward
commandINSTRUCTION.md
should contain instructions on how to access an app using a NodePort Service- Create PR with your changes and attach it for validation on a platform.