[root@k8s-master1 srv]# salt-key -L Accepted Keys: Denied Keys: Unaccepted Keys: 192.168.200.233 192.168.200.234 Rejected Keys:
[root@k8s-master1 srv]# salt-key -A The following keys are going to be accepted: Unaccepted Keys: 192.168.200.233 192.168.200.234 Proceed? [n/Y] y Key for minion 192.168.200.233 accepted. Key for minion 192.168.200.234 accepted.
[root@k8s-master1 srv]# salt-key -L Accepted Keys: 192.168.200.233 192.168.200.234 Denied Keys: Unaccepted Keys: Rejected Keys:
[root@k8s-master1 srv]# salt ‘*‘ test.ping 192.168.200.234: True 192.168.200.233: True
原文:https://www.cnblogs.com/jamespeng/p/14654730.html