分发证书的时候提示:XXX.kubeconfig: No such file or directory
来源:5-2 生成证书

惜福7840346
2021-11-06
[root@node80 pki]# WORKERS=(node82 node81)
[root@node80 pki]# for instance in ${WORKERS[@]}; do
scp ca.pem ca-key.pem ${instance}-key.pem ${instance}.pem instance.kubeconfigroot@{instance}.kubeconfig root@instance.kubeconfigroot@{instance}:~/
done
ca.pem 100% 1367 980.3KB/s 00:00
ca-key.pem 100% 1679 998.5KB/s 00:00
node82-key.pem 100% 1679 1.3MB/s 00:00
node82.pem 100% 1456 579.3KB/s 00:00
node82.kubeconfig: No such file or directory
ca.pem 100% 1367 1.2MB/s 00:00
ca-key.pem 100% 1679 1.8MB/s 00:00
node81-key.pem 100% 1679 2.1MB/s 00:00
node81.pem 100% 1456 1.4MB/s 00:00
node81.kubeconfig: No such file or directory
这个是什么原因造成的?
1回答
-
刘果国
2021-11-07
小问题 按照文档仔细核对一下证书生成的过程
00
相似问题