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

The method of deploying a Kubernetes cluster on CentOS7.2 using Kubeadm

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This article refers to the article on the kubernetes official website, Installing Kubernetes on Linux with kubeadm uses Kubeadm to deploy Kuebernetes clusters in CentOS7.2, and solves some problems encountered when deploying according to this document.

Operating system version

# cat / etc/redhat-release CentOS Linux release 7.2.1511 (Core)

Kernel version

# uname-r3.10.0-327.el7.x86_64

Cluster node

192.168.120.122 kube-master192.168.120.123 kube-agent1192.168.120.124 kube-agent2192.168.120.125 kube-agent3

That is, the cluster consists of one control node and three working nodes.

Preparation before deployment

Configure access to google-related websites

The software package used in this deployment is provided by google-related sources, so the cluster node must be able to access the public network. Please figure out how to configure it.

Turn off the firewall

# systemctl stop firewalld.service & & systemctl disable firewalld.service

Disable SELinux

# setenforce matching sed-i.bak 's etc/selinux/config'/ etc/selinux/config

Configure yum Feed

# cat

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