Python code to evict a pod from kubernetes when a message is received. This is used in GCP with a Pub/Sub message to trigger a pod eviction from a GKE cluster.
Go to file
Jonny Ervine 3bde158171 requirements.txt
The python requirements - not sure all of these are necessary.
2020-12-15 02:57:53 +00:00
.gitignore Initial commit 2020-12-15 02:56:30 +00:00
LICENSE Initial commit 2020-12-15 02:56:30 +00:00
main.py Add main.py 2020-12-15 02:57:02 +00:00
README.md Initial commit 2020-12-15 02:56:30 +00:00
requirements.txt requirements.txt 2020-12-15 02:57:53 +00:00

pod-evict

Python code to evict a pod from kubernetes when a message is received. This is used in GCP with a Pub/Sub message to trigger a pod eviction from a GKE cluster.