File tree Expand file tree Collapse file tree 1 file changed +13
-2
lines changed
content/ja/docs/setup/production-environment Expand file tree Collapse file tree 1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -172,9 +172,11 @@ Kubernetes {{< skew currentVersion >}}は、デフォルトでCRI APIのv1を使
172
172
Linuxでは、containerd用のデフォルトのCRIソケットは`/run/containerd/containerd.sock`です。
173
173
Windowsでは、デフォルトのCRIエンドポイントは`npipe://./pipe/containerd-containerd`です。
174
174
175
- # ### `systemd` cgroupドライバーを構成する
175
+ # ### `systemd` cgroupドライバーを構成する {#containerd-systemd}
176
176
177
- ` /etc/containerd/config.toml` 内で`runc`が`systemd` cgroupドライバーを使うようにするには、次のように設定します。
177
+ ` /etc/containerd/config.toml` 内で`runc`が`systemd` cgroupドライバーを使うようにするには、Containerdのバージョンに基づいて以下の設定を行ってください。
178
+
179
+ Containerdバージョン1.x :
178
180
179
181
` ` `
180
182
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.runc]
@@ -183,6 +185,15 @@ Windowsでは、デフォルトのCRIエンドポイントは`npipe://./pipe/con
183
185
SystemdCgroup = true
184
186
` ` `
185
187
188
+ Containerdバージョン2.x :
189
+
190
+ ` ` `
191
+ [plugins.'io.containerd.cri.v1.runtime'.containerd.runtimes.runc]
192
+ ...
193
+ [plugins.'io.containerd.cri.v1.runtime'.containerd.runtimes.runc.options]
194
+ SystemdCgroup = true
195
+ ` ` `
196
+
186
197
[cgroup v2](/ja/docs/concepts/architecture/cgroups)を使用する場合は`systemd` cgroupドライバーの利用を推奨します。
187
198
188
199
{{< note >}}
You can’t perform that action at this time.
0 commit comments