Error: failed to start container "prometheus-server-configmap-reload": Error response from daemon:

在配置promethethus过程中,出现问题
Error: failed to start container “prometheus-server-configmap-reload”: Error response from daemon: OCI runtime create failed: container_linux.go:344: starting container process caused “process_linux.go:424: container init caused “process_linux.go:390: setting cgroup config for procHooks process caused \“failed to write 10485760 to memory.memsw.limit_in_bytes: write /sys/fs/cgroup/memory/kubepods/pod4189a44c-462c-11e9-923d-c6e996f1730c/prometheus-server-configmap-reload/memory.memsw.limit_in_bytes: device or resource busy\”””: unknown
Back-off restarting failed container
引自I konw docker 18.9.2 unknown 10Mi memory.limit I konw memory.limit change 100Mi is OK
docker 18.9.2版本unknown memory.limit=10Mi
修改vi prometheus-statefulset.yaml

# vi prometheus-statefulset.yaml

Error: failed to start container
删除Pod,重启成功
在这里插入图片描述
参考自:https://gitmemory.com/gouki777

你可能感兴趣的:(k8s搭建,平台搭建)