@@ -53,52 +53,52 @@ spec:
5353 nameserver 1.0.0.1
5454 nameserver 2606:4700:4700::1111
5555 - content : |
56- # Copyright The containerd Authors.
57- #
58- # Licensed under the Apache License, Version 2.0 (the "License");
59- # you may not use this file except in compliance with the License.
60- # You may obtain a copy of the License at
61- #
62- # http://www.apache.org/licenses/LICENSE-2.0
63- #
64- # Unless required by applicable law or agreed to in writing, software
65- # distributed under the License is distributed on an "AS IS" BASIS,
66- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
67- # See the License for the specific language governing permissions and
68- # limitations under the License.
69- #
70- # https://raw.githubusercontent.com/containerd/containerd/main/containerd.service
56+ # Copyright The containerd Authors.
57+ #
58+ # Licensed under the Apache License, Version 2.0 (the "License");
59+ # you may not use this file except in compliance with the License.
60+ # You may obtain a copy of the License at
61+ #
62+ # http://www.apache.org/licenses/LICENSE-2.0
63+ #
64+ # Unless required by applicable law or agreed to in writing, software
65+ # distributed under the License is distributed on an "AS IS" BASIS,
66+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
67+ # See the License for the specific language governing permissions and
68+ # limitations under the License.
69+ #
70+ # https://raw.githubusercontent.com/containerd/containerd/main/containerd.service
7171
72- [Unit]
73- Description=containerd container runtime
74- Documentation=https://containerd.io
75- After=network.target local-fs.target dbus.service
72+ [Unit]
73+ Description=containerd container runtime
74+ Documentation=https://containerd.io
75+ After=network.target local-fs.target dbus.service
7676
77- [Service]
78- ExecStartPre=-/sbin/modprobe overlay
79- ExecStart=/usr/local/bin/containerd
77+ [Service]
78+ ExecStartPre=-/sbin/modprobe overlay
79+ ExecStart=/usr/local/bin/containerd
8080
81- Type=notify
82- Delegate=yes
83- KillMode=process
84- Restart=always
85- RestartSec=5
81+ Type=notify
82+ Delegate=yes
83+ KillMode=process
84+ Restart=always
85+ RestartSec=5
8686
87- # Having non-zero Limit*s causes performance problems due to accounting overhead
88- # in the kernel. We recommend using cgroups to do container-local accounting.
89- LimitNPROC=infinity
90- LimitCORE=infinity
87+ # Having non-zero Limit*s causes performance problems due to accounting overhead
88+ # in the kernel. We recommend using cgroups to do container-local accounting.
89+ LimitNPROC=infinity
90+ LimitCORE=infinity
9191
92- # Comment TasksMax if your systemd version does not supports it.
93- # Only systemd 226 and above support this version.
94- TasksMax=infinity
95- OOMScoreAdjust=-999
92+ # Comment TasksMax if your systemd version does not supports it.
93+ # Only systemd 226 and above support this version.
94+ TasksMax=infinity
95+ OOMScoreAdjust=-999
9696
97- [Install]
98- WantedBy=multi-user.target
99- owner : root:root
100- path : /etc/systemd/system/containerd.service
101- permissions : " 0744"
97+ [Install]
98+ WantedBy=multi-user.target
99+ owner: root:root
100+ path: /etc/systemd/system/containerd.service
101+ permissions: "0744"
102102 preKubeadmCommands :
103103 - set -x
104104 - grep VERSION= /etc/os-release; uname -a
0 commit comments