Docker
Python > 3.10
kubectl
python -m venv venv
activate venv `source venv/bin/activate
pip install -r requirements.txt
export KUBECONFIG="~/.kube/config"
export API_KEY="secret"
python main.py
kubectl apply -f manifests/
curl -X 'GET' 'http://localhost:8080/restart-deployment/YourNAMESPACE_NAME/YourDEPLOYMENT_NAME?api_key=YourAPIKEY'
http://localhost:8080/restart-deployment/YourNAMESPACE_NAME/YourDEPLOYMENT_NAME?api_key=YourAPIKEY