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

Kubeadm installs kubernetes 1.13.2 multi-master high availability cluster

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

1. Brief introduction

After the release of Kubernetes v1.13, kubeadm officially entered GA and can be used in production. It is also a future development trend to deploy kubernetes clusters with kubeadm. At present, the corresponding image warehouse of Kubernetes also has an image site in Aliyun, which makes it easy and much easier to deploy Kubernetes clusters using kubeadm. This article uses kubeadm to lead you to quickly deploy Kubernetes v1.13.2.

Note: please do not just focus on deployment, if you are a novice, it is recommended to be familiar with deployment with binaries before learning to deploy with kubeadm. For binary deployment, please see other articles on my blog.

two。 Architecture Information system version: CentOS 7.6Kernel: 3.10.0-957.el7.x86_64Kubernetes: v1.13.2Docker-ce: 18.06. recommended hardware configuration: 2-core 2GKeepalived ensures IP high availability Haproxy of apiserever server to achieve apiserver load balancing

To reduce the number of servers, haproxy and keepalived are configured in node-01 and node-02.

Node name role IP installs software load VIPVIP10.31.90.200node-01master10.31.90.201kubeadm, kubelet, kubectl, docker, haproxy, keepalivednode-02master10.31.90.202kubeadm, kubelet, kubectl, docker, haproxy, keepalivednode-03master10.31.90.203kubeadm, kubelet, kubectl, dockernode-04node10.31.90.204kubeadm, kubelet, kubectl, dockernode-05node10.31.90.205kubeadm, kubelet, kubectl, dockernode-06node10.31.90.206kubeadm, kubelet, kubectl, dockerservice network segment 10.245.0.0and162. Pre-deployment preparation 1) close selinux and firewall sed-ri's # (SELINUX=). * #\ 1 host parsing record cat > > / etc/hosts for each server

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