File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -360,22 +360,26 @@ install-cri-deps: $(BINARIES)
360360 @$(INSTALL) $(BINARIES) $(CRIDIR)/bin
361361endif
362362
363+ $(CRIDIR ) /cri-containerd.DEPRECATED.txt :
364+ @mkdir -p $(CRIDIR )
365+ @$(INSTALL ) -m 644 releases/cri-containerd.DEPRECATED.txt $@
366+
363367ifeq ($(GOOS ) ,windows)
364- releases/$(CRIRELEASE ) .tar.gz : install-cri-deps
368+ releases/$(CRIRELEASE ) .tar.gz : install-cri-deps $( CRIDIR ) /cri-containerd.DEPRECATED.txt
365369 @echo " $( WHALE) $@ "
366370 @cd $(CRIDIR ) && tar -czf ../../releases/$(CRIRELEASE ) .tar.gz *
367371
368- releases/$(CRICNIRELEASE ) .tar.gz : install-cri-deps
372+ releases/$(CRICNIRELEASE ) .tar.gz : install-cri-deps $( CRIDIR ) /cri-containerd.DEPRECATED.txt
369373 @echo " $( WHALE) $@ "
370374 @cd $(CRIDIR ) && tar -czf ../../releases/$(CRICNIRELEASE ) .tar.gz *
371375else
372- releases/$(CRIRELEASE ) .tar.gz : install-cri-deps
376+ releases/$(CRIRELEASE ) .tar.gz : install-cri-deps $( CRIDIR ) /cri-containerd.DEPRECATED.txt
373377 @echo " $( WHALE) $@ "
374- @tar -czf releases/$(CRIRELEASE ) .tar.gz -C $(CRIDIR ) etc/crictl.yaml etc/systemd usr opt/containerd
378+ @tar -czf releases/$(CRIRELEASE ) .tar.gz -C $(CRIDIR ) cri-containerd.DEPRECATED.txt etc/crictl.yaml etc/systemd usr opt/containerd
375379
376- releases/$(CRICNIRELEASE ) .tar.gz : install-cri-deps
380+ releases/$(CRICNIRELEASE ) .tar.gz : install-cri-deps $( CRIDIR ) /cri-containerd.DEPRECATED.txt
377381 @echo " $( WHALE) $@ "
378- @tar -czf releases/$(CRICNIRELEASE ) .tar.gz -C $(CRIDIR ) etc usr opt
382+ @tar -czf releases/$(CRICNIRELEASE ) .tar.gz -C $(CRIDIR ) cri-containerd.DEPRECATED.txt etc usr opt
379383endif
380384
381385cri-release : releases/$(CRIRELEASE ) .tar.gz
Original file line number Diff line number Diff line change 1+ The "cri-containerd-(cni-)-VERSION-OS-ARCH.tar.gz" release bundle has been deprecated since containerd 1.6,
2+ does not work on some Linux distributions, and will be removed in containerd 2.0.
3+
4+ Instead of this, install the following components separately, either from the binary or from the source:
5+ * containerd: https://github.com/containerd/containerd/releases
6+ * runc: https://github.com/opencontainers/runc/releases
7+ * CNI plugins: https://github.com/containernetworking/plugins/releases
8+
9+ The CRI plugin has been included in containerd since containerd 1.1.
10+
11+ See also the "Getting started" document:
12+ https://github.com/containerd/containerd/blob/main/docs/getting-started.md
You can’t perform that action at this time.
0 commit comments