阿里云ECS安装Kubernetes问题收集与解答

问题1

kubernetes pod启动报错open /etc/docker/certs.d/registry.access.redhat.com/redhat-ca.crt: no such file or directory

解决方法执行命令安装软件

yum install *rhsm*

问题2

阿里云专有网络部署kubernetes集群,node分别在两个阿里云ECS,通过公网ip连通,但kube ui控制台监测不到node

修改/etc/kubernetes/kubelet,将主机名设置成公网ip问题就能解决

# You may leave this blank to use the actual hostname
KUBELET_HOSTNAME="--hostname-override=39.108.97.109"

问题3

安装和启动flannel问题

阿里云ECS专有网络下安装flannel注意事项

阿里云ECS安装flannel启动问题

阿里云安装kubernetes-UI报错endpoints \"kubernetes-dashboard\" not found解决方法

问题4

kubernetes遇到攻击

阿里云kubernetes遭入侵pubg进程占用cpu资源100%解决方法

阿里云kubernetes被minerd挖矿入侵

转载于:https://www.cnblogs.com/birdstudio/p/7994211.html

你可能感兴趣的:(阿里云ECS安装Kubernetes问题收集与解答)