In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-13 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Kubernetes (K8s) is an open source platform for automating container operations. Based on this platform, you can perform operations such as container deployment, resource scheduling and cluster expansion. If you have ever used a Docker deployment container, you can think of Docker as a component used at the bottom of Kubernetes, and Kubernetes is the upper encapsulation of Docker, through which you can easily manage Docker clusters. Today we use minikube to deploy Kubernetes clusters on a stand-alone machine in order to give us a preliminary understanding of K8s.
Minikube supports the following Kubernetes features:
DNS
NodePorts
ConfigMaps and Secrets
Dashboards
Container runtime: Docker, CRI-O, and containerd
Enable CNI (Container Network Interface)
Ingress
Turn off security policy
/ usr/bin/systemctl stop firewalld/usr/bin/systemctl disable firewalld/usr/sbin/iptables-F & & / usr/sbin/iptables-X & / usr/sbin/iptables-F-t nat & & / usr/sbin/iptables-X-t nat & / usr/sbin/iptables-P FORWARD ACCEPT/usr/sbin/iptables-P FORWARD ACCEPT/usr/bin/sed-I's Band SELINUXPRENTING for FORWARD ACCEPT/usr/bin/sed
two。 Install docker
Yum install-y epel-release/usr/bin/yum install-y conntrack wget net-tools jq yum-utils ntpdate ntp ipvsadm ipset device-mapper-persistent-data iptables curl sysstat libseccomp wget lrzsz bash-completionyum-config-manager-- add-repo http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repoyum install-y docker-ce-18.09.4 docker-ce-cli-18.09.4systemctl start dockersystemctl enable docker
3. Load all node IPVS modules
Usr/sbin/modprobe ip_vs/usr/sbin/modprobe ip_vs_rr/usr/sbin/modprobe ip_vs_wrr/usr/sbin/modprobe ip_vs_sh/usr/sbin/modprobe nf_conntrack_ipv4
4. Turn off swap caching
/ usr/sbin/swapoff-a/usr/bin/sed-I'/ swap / s / ^\ (. *\) $/ #\ 1Mobigg'/ etc/fstab
5. Optimize kernel parameters
Cat > / etc/sysctl.d/k8s.conf
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.