cookeem / kubeadm-ha

通过kubeadm安装kubernetes高可用集群,使用docker/containerd容器运行时,适用v1.24.x以上版本
MIT License
678 stars 275 forks source link

apiserver.ext does not exist #1

Closed ghost closed 7 years ago

ghost commented 7 years ago

I am trying out v1.7. In the section to create certificates, I'm asked to edit this file: apiserver.ext

It does not exist either in current directory, or on the filesystem at all. Something is amiss.

cookeem commented 7 years ago

You must new apiserver.ext file by yourself

ghost commented 7 years ago

Okay so the apiserver.ext will contain the single line you have put in the step or should I reference this file from elsewhere?

I created /etc/kubernetes/pki-local/apiserver.ext containing:

subjectAltName = DNS:vps138652.vps.ovh.eu,DNS:kubernetes,DNS:kubernetes.default,DNS:kubernetes.default.svc, DNS:kubernetes.default.svc.cluster.local, IP:10.96.0.1, IP:143.156.13.19, IP:178.11.321.678

cookeem commented 7 years ago

Follow my steps, feel free to let me know it works?