Kubernetes高可用
2022-02-11 15:52:20 0 举报
k8s高可用架构,集群架构,配置一台新的master节点,然后在每台node节点上安装nginx,nginx通过内部的负载均衡将node节点上需要通过访问master,kube-apiserver组件的请求,反代到两台k8s-master节点上,这样就可以实现master节点的高可用,当任意一台master节点宕机后,也可以通过nginx负载均衡放文档另一个master节点上。kube-scheduler以及kube-controller-manager高可用则是在两台master配置文件设置leader-elect参数
作者其他创作
大纲/内容
app3
node-exporter
基础服务
kubelet
ES03
ES01
kube-proxy
kube-scheduler
CoreDNS
JenkinsMaster
app1
JenkinsSlave
kube-apiserver
Loki
ingress-nginx-controller
Worker08
docker
flannel
Worker07
Etcd03
浮动VIP
prometheus
Worker06
keepalived
app2
NFS/ceph
promtail
Worker02
Worker01
Harbor
kafka2
Worker04
Nginx L4LB01
Worker03
kube-controller-manager
公网SLB80/443
kafka1
Master03
ES02
Nginx L4LB02
Worker09
Master02
Etcd01
Master01
kafka3
DB
Etcd02
Worker05
0 条评论
下一页