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 96cedf88f3 Add main.py
Initial commit of code
2020-12-15 02:57:02 +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

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.