I\'m using kubectl run with environment parameters to create temporary docker containers for me (e.g. some forwarding for debugging purposes). Since several wee
kubectl run
you can use:
kubectl run --generator=run-pod/v1 --image=busybox busybox --dry-run --env=foo=bar
Which isn't being deprecated.