节点池管理 Having nonzero Limits causes performance problems due to accounting overhead in the kernel. We recommend using cgroups to do containerlocal accounting. LimitNPROCinfinity LimitCOREinfinity LimitMEMLOCKinfinity TasksMaxinfinity [Install] WantedBymultiuser.target EOF mkdir p /etc/docker chmod 0755 /etc/docker cat > /etc/docker/daemon.json /etc/systemd/system/cridocker.socket /etc/systemd/system/cridocker.service << EOF [Unit] DescriptionCRI Interface for Docker Application Container Engine Documentation Afternetworkonline.target firewalld.service docker.service Wantsnetworkonline.target Requirescridocker.socket [Service] Typenotify ExecStart/usr/bin/cridockerd ipv6dualstack loglevel debug podinfracontainerimage $REGISTRYURL/library/pause:3.10 containerruntimeendpoint fd:// ExecStart/usr/bin/cridockerd containerruntimeendpoint fd:// ExecReload/bin/kill s HUP $MAINPID TimeoutSec0 RestartSec2 Restartalways StartLimitInterval0s Note that StartLimit options were moved from "Service" to "Unit" in systemd 229. Both the old, and new location are accepted by systemd 229 and up, so using the old location