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

How to manually deploy kernel upgrade for kubernetes

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

This article introduces kubernetes how to manually deploy kernel upgrade, the content is very detailed, interested friends can use for reference, I hope it can be helpful to you.

Upgrade the kernel version to 4.4

2.1 check to install the kernel dependency package [!-f / usr/bin/perl] & & yum install perl-y2.2 configure elrepo source rpm-- import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org rpm-Uvh http://www.elrepo.org/elrepo-release-7.0-3.el7.elrepo.noarch.rpm2.3 installation maintenance kernel yum-- disablerepo= "*"-- enablerepo= "elrepo-kernel" list available-- showduplicates | grep-Po'^ kernel-lt.x86_64\ s +\ K\ S+ (? = .el7) 'yum-- disablerepo= "*-- enablerepo=elrepo-kernel install-y kernel-lt { -devel} 2.4Modification of the kernel boot sequence grub2-set-default 0 & & grub2-mkconfig-o / etc/grub2.cfg2.5 View the installed kernel version grubby-default-kernel2.6 docker's official kernel check script recommendation (RHEL7/CentOS7: User namespaces disabled Add 'user_namespace.enable=1' to boot command line) Open grubby-- args= "user_namespace.enable=1"-- update-kernel= "$(grubby-- default-kernel)" 2.7 restart the server reboot2.8 using the following command to check the default kernel boot version # uname-a Linux master-1 4.4.229-1.el7.elrepo.x86_64 # 1 SMP Wed Jul 1 10:43:08 EDT 2020 x86 "64" 64 x86 "64 GNU/Linux off This is how to manually deploy kernel upgrades in kubernetes. I hope the above content can be of some help to you and learn more knowledge. If you think the article is good, you can share it for more people to see.

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