This project demonstrates how to work with Kubernetes using Python.
- Python 3.12+
- pip (Python package installer)
- Create a virtual environment:
python3 -m venv venv
- Activate the virtual environment:
source venv/bin/activate
- Install the dependencies:
pip3 install -r requirements.txt
- Run the application:
python -m uvicorn app.main:app --reload
The application will be available at http://localhost:8000
Once the application is running, you can access:
- Interactive API documentation (Swagger UI):
http://localhost:8000/docs
- Alternative API documentation (ReDoc):
http://localhost:8000/redoc
When you're done working on the project, you can deactivate the virtual environment:
deactivate