Get the App
SLTechnology News&Howtos  ›  Servers  › 

Kubernetes binary deployment-load balanced deployment (3)

Shulou Source: shulou.com Published: 2022-06-03 09:43:44 12月06日 Update

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

Tags: Service address file configuration server script balance instance log node mail browser status check browse two priority information time routing Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Shulou Technology vpn Shulou Tech Info Redmi