Created
October 7, 2021 19:47
-
-
Save DannyMor/ce1ac957f9e73ea6d1e9f6d6cc4610e8 to your computer and use it in GitHub Desktop.
Pod Killer Job Generator SH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JOB_NAME=job-killer && \ | |
NAMESPACE=my-namespace && \ | |
wget -qO - https://tinyurl.com/pod-killer-job > pod-killer-job.yaml && \ | |
sed -ie "s|\${JOB_NAME}|${JOB_NAME}|g" pod-killer-job.yaml && sed -ie "s|\${NAMESPACE}|${NAMESPACE}|g" pod-killer-job.yaml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment