gpt4 book ai didi

kubernetes - kubectl描述节点,报告一些错误

转载 作者:行者123 更新时间:2023-12-02 11:45:32 24 4
gpt4 key购买 nike

我在kubectl describe nodes nodename中遇到了这个错误。我只是做了一个谷歌搜索,但没有发现有用的东西,这是什么意思。
Failed to update Node Allocatable Limits "": failed to set supported cgroup subsystems for cgroup : Failed to set config for supported subsystems : failed to write 3783778304 to memory.limit_in_bytes: write /rootfs/sys/fs/cgroup/memory/memory.limit_in_bytes: invalid argument
我是否需要使用sysctl更改某些内核设置?

[iahmad@lxplus000 ~]$ kubectl --version
Kubernetes v1.5.2
[iahmad@lxplus000 ~]$
[iahmad@lxplus000 ~]$
[iahmad@lxplus000 ~]$ kubectl version
Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.2", GitCommit:"269f928217957e7126dc87e6adfa82242bfe5b1e", GitTreeState:"clean", BuildDate:"2017-07-03T15:31:10Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.6", GitCommit:"4bc5e7f9a6c25dc4c03d4d656f2cefd21540e28c", GitTreeState:"clean", BuildDate:"2017-09-18T08:52:26Z", GoVersion:"go1.9", Compiler:"gc", Platform:"linux/amd64"}
[iahmad@lxplus000 ~]$

最佳答案

它取决于kubectl/kubernetes版本:在kubernetes issue 42701中可以看到(并已修复)

1.6应该已经打过补丁。
如果这不是同一个错误,那么在issue 29166中也会看到错误消息:

I just forgot to active back disk.uuid after creating back my new VMs!

关于kubernetes - kubectl描述节点,报告一些错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46626651/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com