Vim /etc/security/nf # Add the following at the endħ. Configure limit for all nodes: ulimit -SHn 65535 The time synchronization configuration is as follows: ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime The synchronization time of all nodes is generally configured for the company's machines Sed -i 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/selinux/configĬheck status (must be disabled) getenforceĬlose swap partition on all nodes, fstab comment swap swapoff -a & sysctl -w vm.swappiness=0ĥ. Sed -i 's#SELINUX=enforcing#SELINUX=disabled#g' /etc/sysconfig/selinux Close firewalld, dnsmasq and SELinux on all nodes (NetworkManager needs to be closed for centos7, but not for CentOS8) systemctl disable -now firewalld Installation of necessary tools yum install wget jq psmisc vim net-tools telnet yum-utils device-mapper-persistent-data lvm2 git -yĤ. Yum install -y yum-utils device-mapper-persistent-data lvm2 CentOS 7 installation yum source is as follows: curl -o /etc//CentOS-Base.repo ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6Ģ. Configure all node hosts files (send key input to all sessions) vim /etc/hostsġ27.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 K8s high availability architecture analysis, high availability Kubernetes cluster planning, setting static ip, please refer to the previous article 1. Reference resources Kubernetes full stack Architect (binary high availability installation k8s cluster deployment) - learning notes 1, Binary high availability basic configuration
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |