Skip to content

containerd 1.4.0-beta.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@dmcgowan dmcgowan released this 27 May 20:49
v1.4.0-beta.0
3298594

Welcome to the v1.4.0-beta.0 release of containerd!
This is a pre-release of containerd

The fifth major release of containerd includes a mix of new features and
expanded support, such as support for CGroups v2, expanded SELinux support,
support for Windows on Kubernetes through CRI, and support for snapshotters
based on shared remote storage. All significant bug and stability fixes included
in this release are also available on supported prior releases. Like previous
major releases, what is not included in this release is also important. There
are only two small additions to the API with no backwards incompatible changes,
allowing client and daemon upgrades to be done independently without disruption.
The incredible increase in usage of containerd over the last year has shown the
value of our core principles to easily expand support for different use cases
while driving toward ever increasing stability.

Runtime

  • Support cgroups v2 #3726
  • Improved SELinux support
  • Rework shim logger shutdown process #4162

Snapshots

  • Support target snapshot option on prepare to allow skipping prepare when snapshot reports target already exists #3793
  • Add filters to walk function #3709
  • Support for FUSE mounts #3765
  • Snapshotter options passed to backend #4080
  • Support for lazy-pull snapshotters such as stargz-snapshotter

Plugins

  • Proxy snapshotter support for cleanup #3925

Client

  • Add spec options for host device and privileged handling #3718
  • WithLease takes options for more flexibility #3719
  • Add unpack options for pull #3826
  • Improve host fallback behaviour in docker remote #3868
  • Defer layer download until unpack to support skipping download when snapshotter reports already exists #3870
  • Split UID and GID namespace mapping in spec generation #3881
  • Propagate snapshotter layer annotations on unpack #3911
  • Create image record after blob download to fix concurrent download issue #3972
  • Add Linux resources to spec options #4083
  • New registry configuration tooling for improved mirror and endpoint options #4138
  • Use spec's mountLabel when mounting container rootfs #4051

API

  • Add filters to snapshot list #3709
  • Add snapshot cleanup #3925

Daemon

  • Support NOTIFY_SOCKET for notifying the daemon's readiness to systemd #4088

Windows

  • Disk usage support in snapshotter #3785
  • Add support for custom wcow and lcow sandbox scratch sizes #3965
  • Enable CRI plugin #4076

CRI

  • Support CNI DNS capabilities cri#1244
  • Build CRI Plugin on Windows and add presubmit cri#1258
  • Use container annotations when creating containers cri#1260
  • Add support for Windows containers process isolation cri#1264
  • Add windows port forward support cri#1284
  • Use http for localhost registry connections cri#1328
  • Add resolv.conf to sandbox container mounts cri#1344
  • Use host devices options from oci specs cri#1349
  • Fix privileged supported cri#1356
  • Update default runtime to io.containerd.runc.v2 cri#1359
  • Add instrospection service cri#1364
  • Unshare cgroup namespace for container when using cgroupv2 cri#1371
  • Add CPU and memory cgroupv2 metrics cri#1376
  • Reload CNI network config on fs change events cri#1405
  • Add support for stargz remote snapshots cri#1431
  • Add support for 'container-name' OCI annotation cri#1436
  • Remove socat for port forwarding cri#1470
  • Add config flag to default empty seccomp profile cri#1472

And many more improvements and bug fixes in the complete changelog

Please try out the release binaries and report any issues at
https://github.com/containerd/containerd/issues.

Contributors

  • Phil Estes
  • Michael Crosby
  • Sebastiaan van Stijn
  • Lantao Liu
  • Akihiro Suda
  • Boris Popovschi
  • Mike Brown
  • Wei Fu
  • Maksym Pavlenko
  • Derek McGowan
  • Brandon Lum
  • Stefan Berger
  • Davanum Srinivas
  • Rui Chen
  • Stefan Berger
  • Kir Kolyshkin
  • Shengjing Zhu
  • Justin Terry
  • Li Yuxuan
  • Brian Goff
  • Fahed Dorgaa
  • Kohei Tokunaga
  • Hu Shuai
  • Xiaodong Ye
  • Ted Yu
  • Eric Ren
  • Erik Sipsma
  • Fupan Li
  • Jie Hao Liao
  • Joakim Roubert
  • Kazuyoshi Kato
  • Mario Macias
  • Paul "TBBle" Hampson
  • Sam Whited
  • Sascha Grunert
  • Alex Price
  • Antonio Ojea
  • Byonggon Chun
  • Ed Bartosh
  • George Goh
  • Kathryn Baldauf
  • Manuel Rüger
  • Seth Pellegrino
  • Shengjing Zhu
  • Stephen J Day
  • Tibor Vass
  • xianlubird
  • Ameya Gawde
  • Angela Li
  • Arnaud Rebillout
  • Chethan Suresh
  • Chris C
  • Daniel Bevenius
  • Darren Shepherd
  • Dave Syer
  • Drew Erny
  • Eli Uriegas
  • Eric Ernst
  • Erik Wilson
  • Evan Cordell
  • Fabricio Voznika
  • Gábor Lipták
  • Haitao Li
  • Ivan Markin
  • Johann Neuhauser
  • Joris De Winne
  • Josh Dolitsky
  • Justin Cormack
  • Kevin Parsons
  • Kiril Vladimiroff
  • Lifubang
  • Mario Macias
  • Martin Hickey
  • Mihai Coman
  • Mikko Ylinen
  • Nishchay Kumar
  • Peng Tao
  • Philip Marin
  • Reid Li
  • SaiHarshaK
  • Seth Bunce
  • Shiwei Zhang
  • SiYu Zhao
  • Thibaut Collet
  • Tobias Klauser
  • Tom Wieczorek
  • Tõnis Tiigi
  • Ulysses Souza
  • Wilbert van de Ridder
  • Zhiyu Li
  • sayaoailun
  • yang yang
  • yuxiaobo
  • 张潇
  • 徐敏才

Changes

Changes from containerd/aufs

  • 371312c Merge pull request #17 from justincormack/no-fail-modprobe
  • afb1812 Should not fail if modprobe aufs fails
  • 702852f Merge pull request #16 from Zyqsempai/fix-walk-method-interface
  • 2fa1667 Added filters to Walk method signature

Changes from containerd/btrfs

  • 1539353 Merge pull request #24 from zhsj/fix-mipsle
  • 6d8cb52 fix slice size overflow on mipsle
  • cbb5fe5 Merge pull request #23 from estesp/more-go-mod
  • 6f558ec Use go.mod to get vendored content
  • 184a308 Merge pull request #22 from chenrui333/go-modules
  • 383a85f Update travis config and build badge
  • e85a177 Move to go modules

Changes from containerd/cgroups

  • b444813 Merge pull request #151 from kolyshkin/mountinfo
  • 77aed01 v1MountPoint: simplify/speedup a bit
  • 1c82bea getCgroupDestination: speedup and improve
  • 8a7151d Fix bufio.Scanner.Err usage
  • 6c3dec4 Merge pull request #147 from kzys/blkio-fix
  • 78ba487 Skip TestBlkioStat() if there is no /sys/fs/cgroup/blkio
  • 46c515d throttle.* metrics must be kept for non-CFQ schedulers
  • 44306b6 Merge pull request #146 from Zyqsempai/add-hugetlb-controller-support
  • 42ee50a eof fix
  • 15ebcab Sdd skip condition
  • 56d3e8c Skip hygetlb test
  • 04f7c33 Added support for HugeTlb controller
  • d732e37 Merge pull request #145 from Zyqsempai/memory-events-handling-rework
  • c5e426b Add goDoc
  • 01da1a5 memory.events handling rework
  • 780d211 Merge pull request #144 from chenrui333/upgrade-dependencies
  • bc4e236 Update travis config and simplify installation
  • 5157b33 Upgrade dependencies
  • a890871 Merge pull request #143 from Zyqsempai/add-io-resource-controll-for-systemd
  • 69a639c Fixed io.weight conversation + systemd io.weight controll added
  • 7347743 Merge pull request #141 from AkihiroSuda/fix-iostat
  • f3f2777 v2: do not parse io.stat as KV stat
  • 3f83850 Merge pull request #140 from Zyqsempai/dbus-fix-version
  • 7305d12 go mod fix
  • 140bd90 Fix dbus version in utils
  • 918ed86 Merge pull request #138 from Zyqsempai/add-tests-for-pids-controller
  • 6794948 Added pids controller tests
  • d1b3bdc Merge pull request #125 from Zyqsempai/104-add-systemd
  • acbc802 rebase on master
  • 7d585c4 Resource rework + path fix
  • fe68974 tests for systemd controllers
  • 7b4fbc7 Toggle controllers fix
  • b0a15b1 conflict fix
  • 3a32c65 Systemd refactoring
  • 5efa14e Added systemd manager
  • e077fb6 Merge pull request #137 from Zyqsempai/update-go-systemd-to-v22
  • 07c51ec dbus version fix
  • 0a0e0a4 add dbus
  • 5506eff Updated go-systemd to v22
  • 06e7180 Merge pull request #135 from Zyqsempai/add-io-stats
  • 94c46b4 proto fix
  • 57d16a5 Added maj:min stats and multy entry of IO usage
  • 8195cc0 Added IO metrics
  • ba4fddb Merge pull request #134 from Zyqsempai/133-add-period-configuration
  • 203cfb9 Added CPUMax type
  • e509dbb test default behaviour
  • 0225ff8 Added test for ToResources func
  • f5cb2b1 Added possibility to set quota in cpu.max
  • f26d9e0 Merge pull request #131 from Zyqsempai/add-tests-for-cpu-cgroupv2
  • ac62cf6 fix out of range err for cpuset.cpus
  • d411a5c smaller range for cpuset.cpus
  • 48a6ef5 added cpuset controller
  • 9b3ab60 Test fix
  • d616474 remove deprecated controller
  • c08031d Check nil resources
  • 237bd06 Toggle not nil controllers
  • dbc9f68 try another weight param
  • a69ffc1 remove useless step
  • c84632a Added tests for CPU
  • fada802 Merge pull request #129 from Zyqsempai/add-memory-tests
  • e284b4a comment fix
  • 2a19d52 Move cgroup creation to test func
  • 80c60c2 Trim spaces
  • 5dba053 GroupPath fix 2
  • f40b256 GroupPath fix
  • 836aa29 Added v2 memory test
  • 80b32e3 Merge pull request #130 from Zyqsempai/128-set-reservation-in-low
  • 697f2cd Return memory high property
  • 28f74d7 Fixed memory convertion for reservation from high to low.
  • 10dcde2 Merge pull request #127 from crosbymichael/v2-check
  • 370d60c Add Mode() func to check cgroup mount type
  • 9e08996 Merge pull request #126 from fuweid/gofmt
  • [bd09c0d](containerd/cgroups@bd09c0d4a78929b7acaebc4bdc9...
Read more