k8s Cannot set property TasksAccounting, or unknown property

k8s Cannot set property TasksAccounting, or unknown property,第1张

k8s Cannot set property TasksAccounting, or unknown property
Dec 01 05:45:45 k8s-node-01 kubelet[34875]: E1201 05:45:45.755701   34875 node_container_manager_linux.go:60] "Failed to create cgroup" err="Cannot set property TasksAccounting, or unknown property." cgroupName=[kubepods]
Dec 01 05:45:45 k8s-node-01 kubelet[34875]: E1201 05:45:45.755741   34875 kubelet.go:1423] "Failed to start ContainerManager" err="Cannot set property TasksAccounting, or unknown property."


更新 systemd,

[root@k8s-node-01 kubernetes]# kubectl version
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.3", GitCommit:"c92036820499fedefec0f847e2054d824aea6cd1", GitTreeState:"clean", BuildDate:"2021-10-27T18:41:28Z", GoVersion:"go1.16.9", Compiler:"gc", Platform:"linux/amd64"}

[root@k8s-node-01 kubernetes]# yum info systemd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: mirror.sjtu.edu.cn
 * extras: mirrors.aliyun.com
 * updates: mirrors.ustc.edu.cn
Installed Packages
Name        : systemd
Arch        : x86_64
Version     : 219
Release     : 78.el7_9.3
Size        : 23 M
Repo        : installed
From repo   : updates
Summary     : A System and Service Manager
URL         : http://www.freedesktop.org/wiki/Software/systemd
License     : LGPLv2+ and MIT and GPLv2+
Description : systemd is a system and service manager for Linux, compatible with
            : SysV and LSB init scripts. systemd provides aggressive parallelization
            : capabilities, uses socket and D-Bus activation for starting services,
            : offers on-demand starting of daemons, keeps track of processes using
            : Linux cgroups, supports snapshotting and restoring of the system
            : state, maintains mount and automount points and implements an
            : elaborate transactional dependency-based service control logic. It can
            : work as a drop-in replacement for sysvinit.

欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/zaji/5637344.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2022-12-16
下一篇 2022-12-16

发表评论

登录后才能评论

评论列表(0条)

保存