0
点赞
收藏
分享

微信扫一扫

kubectl 临时运行一个容器

刘员外__ 2022-05-24 阅读 31

Example:

kubectl run -i --tty --image busybox:1.28 dns-test --restart=Never --rm

kubectl run -it --image mysql:5.7.36 mysqltest bash --restart=Never —rm

kubectl run busybox --image=busybox:1.34 --command -- sleep 3600


举报

相关推荐

0 条评论