Mercurial > hg > config
diff bin/kurl.sh @ 815:06f1c3de040c
k8s is picky about how many dashes a deployment may have
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 13 Nov 2016 16:02:30 -0800 |
parents | a56a844f6e6f |
children |
line wrap: on
line diff
--- a/bin/kurl.sh Fri Nov 11 08:37:34 2016 -0800 +++ b/bin/kurl.sh Sun Nov 13 16:02:30 2016 -0800 @@ -2,7 +2,7 @@ # run curl within a k8s cluster via kubectl -export KURL_DEPLOYMENT=curl-$(hostname) +export KURL_DEPLOYMENT=curl-$(whoami)$(date +%s) kubectl run --rm ${KURL_DEPLOYMENT} --image=radial/busyboxplus:curl -i --tty