我流汗这个错误kubectl describe nodes nodename
。我只是做了谷歌搜索,但没有发现有用的东西,这是什么意思。kubectl描述节点,报告了一些错误
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更改某些内核设置?
[[email protected] ~]$ kubectl --version
Kubernetes v1.5.2
[[email protected] ~]$
[[email protected] ~]$
[[email protected] ~]$ 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"}
[[email protected] ~]$
看起来像我的K8S版本是好的,但我需要更新我kubectl? –
是,要与kubernetes版本一致 – VonC