Kubernetes集羣搭建過程中遇到的問題

如果你在配置的時候,在其他配置都正確的時候,還是一直有各種問題例如
Unable to connect to the server: net/http: TLS handshake timeout
nable to write event: 'Patch https://192.168.126.135:6443/api/v1/namespaces/kube-system/events/kube-apiserver-master.com.156bcf69e6676f43: net/http: TLS handshake timeout' (may retry after sleeping)
Attempting to register node master.com
Nov 30 14:31:30 master kubelet: E1130 14:31:30.753036 1193 kubelet_node_status.go:103] Unable to register node "master.com" with API server: Post https://192.168.126.135:6443/api/v1/nodes: dial tcp 192.168.126.135:6443: connect: connection refused
加入節點
[discovery] Requesting info from "https://192.168.126.135:6443" again to validate TLS against the pinned public key
[discovery] Failed to request cluster info, will try again: [Get https://192.168.126.135:6443/api/v1/namespaces/kube-public/configmaps/cluster-info: net/http: TLS handshake timeout]
 

這些問題的出現都由可能是自己的master節點的內存給的太小了,因爲關閉了交換分區,所以內存儘量大些

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章