You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pkg/deprecation/deprecation.go
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,8 @@ const (
35
35
CRIAPIV1Alpha2Warning=Prefix+"cri-api-v1alpha2"
36
36
// AUFSSnapshotter is a warning for the use of the aufs snapshotter
37
37
AUFSSnapshotterWarning=Prefix+"aufs-snapshotter"
38
+
// RuntimeV1 is a warning for the io.containerd.runtime.v1.linux runtime
39
+
RuntimeV1Warning=Prefix+"runtime-v1"
38
40
)
39
41
40
42
varmessages=map[Warning]string{
@@ -49,6 +51,7 @@ var messages = map[Warning]string{
49
51
"Use `config_path` instead.",
50
52
CRIAPIV1Alpha2: "CRI API v1alpha2 is deprecated since containerd v1.7 and removed in containerd v2.0. Use CRI API v1 instead.",
51
53
AUFSSnapshotter: "The aufs snapshotter is deprecated since containerd v1.5 and removed in containerd v2.0. Use the overlay snapshotter instead.",
54
+
RuntimeV1: "The `io.containerd.runtime.v1.linux` runtime is deprecated since containerd v1.4 and removed in containerd v2.0. Use the `io.containerd.runc.v2` runtime instead.",
log.G(ctx).Warnf("%q is deprecated since containerd v1.4 and will be removed in containerd v2.0, use %q instead", plugin.RuntimeLinuxV1, plugin.RuntimeRuncV2)
0 commit comments