When some nodes of k8s run for a period of time, an error is reported: sys/FS/CGroup/memory/docker: no space left on device \ “: unknown
The docker’s memory is full, probably because SELinux = is on
Permanent closure solution:
VI/etc/SELinux/config, change SELinux = enforcing to SELinux = disabled, then save and exit
Then restart the computer
The node can be used after re running
Of course, this is: basic entrance examination of intelligent gtalent operation engineer
If it is only used temporarily, then directly: setenforce 0
docker: Error response from daemon: OCI runtime create failed: container_ linux.go:345: starting container process caused “process_ linux.go:275: applying cgroup configuration for process caused \”mkdir /sys/fs/cgroup/memory/docker: no space left on device\””: unknown.
ERRO[0000] error waiting for container: context canceled