波神

导航

2017年3月27日 #

kubectl常用命令

摘要: 1 查看类命令 # 查看集群信息 kubectl cluster-info# 查看各组件信息kubectl -s http://localhost:8080 get componentstatuses# 查看pods所在的运行节点kubectl get pods -o wide# 查看pods定义的 阅读全文

posted @ 2017-03-27 14:45 波神 阅读(1872) 评论(0) 推荐(0) 编辑

command >/dev/null 2>&1 解说

摘要: 0:表示键盘输入(stdin)1:表示标准输出(stdout),系统默认是1 2:表示错误输出(stderr) command >/dev/null 2>&1 & == command 1>/dev/null 2>&1 & 1)command:表示shell命令或者为一个可执行程序2)>:表示重定向 阅读全文

posted @ 2017-03-27 09:58 波神 阅读(181) 评论(0) 推荐(0) 编辑