easzlab / kubeasz

使用Ansible脚本安装K8S集群,介绍组件交互原理,方便直接,不受国内网络环境影响
https://github.com/easzlab/kubeasz
10.53k stars 3.53k forks source link

aws 上面不允许使用root,推荐使用对应的user,like : ubantu 、 ec2-user #1382

Closed freshgeek closed 4 months ago

freshgeek commented 5 months ago

What happened? 发生了什么问题?

fatal: [54.81.237.90]: UNREACHABLE! => {"changed": false, "msg": "Data could not be sent to remote host \"54.81.237.90\". Make sure this host can be reached over ssh: Warning: Permanently added '54.81.237.90' (ED25519) to the list of known hosts.\r\nroot@54.81.237.90: Permission denied (publickey).\r\n", "unreachable": true}

What did you expect to happen? 期望的结果是什么?

正常运行

How can we reproduce it (as minimally and precisely as possible)? 尽可能最小化、精确地描述如何复现问题

两个节点,一个节点aio , 然后添加节点: sudo /etc/kubeasz/ezctl add-node default 54.81.237.90

Anything else we need to know? 其他需要说明的情况

No response

Kubernetes version k8s 版本

Kubeasz version

3.6.4

OS version 操作系统版本

```console # On Linux: $ cat /etc/os-release # paste output here $ uname -a # paste output here ```

ubantu

Related plugins (CNI, CSI, ...) and versions (if applicable) 其他网络插件等需要说明的情况

github-actions[bot] commented 4 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 4 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.