A simple, quick solution to send Pushover messages based on kubernetes pod statuses
- Ensure you have a K8s context
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Set your Pushover API details with
export PUSHOVER_APP_ID=yourid
export PUSHOVER_API_TOKEN=yourtoken
shhh, it's secret!- Fire it up with
python3 monitor.py
To upgrade these dependencies (and pip itself), run:
pip install --upgrade pip setuptools==57.5.0
pip install --upgrade flake8 kubernetes python-pushover
pip freeze > requirements.txt
sed -i '/pkg_resources/d' requirements.txt