04 2020 档案

摘要:匹配一段特定子网的一组主机,需要使用-S指定: salt -S 192.168.0.0.24 test.ping Glob(通配,默认类型) salt '*' test.ping salt \* test.ping 通过API或者其他用户接口使用Salt时,通配符(*)通常不需要引号和逃逸字符(\) 阅读全文
posted @ 2020-04-21 14:19 TonyBen2018 阅读(249) 评论(0) 推荐(0) 编辑
摘要:1. htop 2.pstree 阅读全文
posted @ 2020-04-14 16:50 TonyBen2018 阅读(119) 评论(0) 推荐(0) 编辑
摘要:登录到Rnacher Server 和Master Server 中,备份 SSL [~]$ ssh -p xx xx~$ sudo -s -H ~$ cp –r /etc/kubernetes/ssl /home/ubuntu/ssl-prod-backup-mar-20 [~]$ ssh -p 阅读全文
posted @ 2020-04-09 15:46 TonyBen2018 阅读(1274) 评论(0) 推荐(0) 编辑