kubectl config use-context <cluster>
(2 Options)
bash ./runtool.sh
- Limitations:
Option 1 will not work with local k8s clusters (running on your laptop) using
127.0.0.1as an address in the kube config. This confuses the container as that address routes to back itself rather than the host. Use Option 2 if this is needed.
python3 -m venv venv
source venv/bin/activate
python3 -m pip install -r requirements.txt
python3 ./app.py
- open a browser to http://localhost:5001