GithubHelp home page GithubHelp logo

khrystynayelyseyeva / devops_todolist_kubernetes_task_4_adding_services Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mate-academy/devops_todolist_kubernetes_task_4_adding_services

0.0 0.0 0.0 37 KB

License: MIT License

JavaScript 5.64% Python 67.49% CSS 10.70% HTML 15.40% Dockerfile 0.77%

devops_todolist_kubernetes_task_4_adding_services's Introduction

Django ToDo list

This is a todo list web application with 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

Now you can browse the API or start on the landing page.

Task

Create a kubernetes manifest for a pod which will containa 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 pod’s manifest
  7. README.md should contain instructions on how to test an app by calling a ClusterIP service DNS from a busybox container
  8. README.md file should contain instructions on how to test ToDo application using the service port-forward command
  9. README.md should contain instruction on how to access an app using a NodePort Service
  10. Create PR with your changes and attach it for validation on a platform.

devops_todolist_kubernetes_task_4_adding_services's People

Contributors

ykulyk404 avatar

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.