Kubernetes
Tips
launch a k8s pod, run a command, return stdout and destroy the pod.
kubectl run \
--rm \
-i \
-n default \
--image=infoblox/dnstools:latest \
--restart=Never \
dnstools-cw \
--command -- curl -s ifconfig.me
launch a k8s pod, run a command, return stdout and destroy the pod.
kubectl run \
--rm \
-i \
-n default \
--image=infoblox/dnstools:latest \
--restart=Never \
dnstools-cw \
--command -- curl -s ifconfig.me