Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Kubernetes binary deployment-load balanced deployment (3)

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Following the previous article, multi-node deployment (2) deployment of load balancing deployment environment

Load balancing

Nginx1:192.168.13.128/24

Nginx2:192.168.13.129/24

Master node

Master1:192.168.13.131/24 kube-apiserver kube-controller-manager kube-scheduler etcd

Master2:192.168.13.130/24 kube-apiserver kube-controller-manager kube-scheduler etcd

Node node

Node1:192.168.13.132/24 kubelet kube-proxy docker flannel etcd

Node2:192.168.13.133/24 kubelet kube-proxy docker flannel etcd

Load balance deployment 1, install nginx service [root@nginx01] # rz-E # # upload nginx script and keepalive configuration file [root@nginx01 ~] # ls keepalived.conf nginx.sh [root@nginx01 ~] # systemctl stop firewalld.service # # turn off firewall [root@nginx01 ~] # setenforce 0vim nginx.sh # # nginx script cat > / etc/yum.repos.d/nginx.repo on two Nginx servers

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report