In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the example analysis of Kubernetes 1.8.4 preparation basic environment, which is very detailed and has certain reference value. Friends who are interested must read it!
This installation version is:
Kubernetes v1.8.4
Etcd v3.2.9
Calico v2.6.2
Docker v17.09.1-ce
CentOS v7.4 file system is ext4
Prepare information in advance
This tutorial will deploy the Kubernetes cluster with the following number of nodes and specifications:
IP Address
Role
CPU
Memory
10.0.0.162
Master (etcd)
one
2G
10.0.0.163
Node
one
2G
10.0.0.164
Node
one
2G
Here, master is the main control node and deployment node, and node is the working node of the application. All operations are performed by root consumers. Because my own machine configuration is limited, etcd only configures one node and is on a virtual machine with master.
First of all, make sure that the following items are ready before installation:
All nodes are interconnected to each other, and master SSH can log in to other nodes without a key.
All firewalls and SELinux are turned off
Systemctl stop firewalld & & systemctl disable firewalld & & setenforce 0 & & sed-I'/ SELINUX/s/enforcing/disabled/' / etc/selinux/config
All nodes need to set / etc/host to resolve to all hosts:
10.0.0.162 node16210.0.0.163 node16310.0.0.164 node164
Edit / lib/systemd/system/docker.service, in ExecStart=.. Add to it:
ExecStartPost=/usr/sbin/iptables-I FORWARD-s 0.0.0.0swap 0-j ACCEPTsystemctl daemon-reload & & systemctl restart docker
All nodes need to set the system parameters of / etc/sysctl.d/k8s.conf:
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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.