Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- for n in $(kubectl get node -o name | cut -d'/' -f2); do
- sed "s/NODENAME/${n}/g" cronjob-template.yml | \
- kubectl -n maintenance apply -f-
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement