Commit Graph

13325 Commits

Author SHA1 Message Date
Fu Wei
584d13d5cb
Merge pull request #8276 from Iceber/remove_cri_v1alpha2
Remove CRI v1alpha2 [deprecated since v1.7]
2023-03-22 13:25:07 +08:00
Phil Estes
3a1047319f
Merge pull request #8279 from Iceber/remove_criu_path
Remove the CriuPath field from runc's options
2023-03-20 14:50:33 -04:00
Derek McGowan
e2cb6b82d1
Merge pull request #8259 from laurazard/readonly-overlay
Add `ReadonlyMounts` to make overlay mounts readonly
2023-03-17 22:34:38 -07:00
Laura Brehm
daa3a7665e
Add WithReadonlyTempMount to create readonly temporary mounts
This is necessary so we can mount snapshots more than once with overlayfs,
otherwise mounts enter an unknown state.

related: https://github.com/moby/buildkit/pull/1100

Signed-off-by: Laura Brehm <laurabrehm@hey.com>
Co-authored-by: Zou Nengren <zouyee1989@gmail.com>
2023-03-17 15:51:18 +00:00
Maksym Pavlenko
63e45eb5d8
Merge pull request #8281 from hach-que/patch-1
fix: 'failed to resolve symlink' error messaging
2023-03-16 15:23:19 -07:00
June Rhodes
f48ae22273
fix: Update error message format based on feedback
Signed-off-by: June Rhodes <504826+hach-que@users.noreply.github.com>
2023-03-17 06:49:12 +11:00
June Rhodes
3193650f13
fix: 'failed to resolve symlink' error messaging
This error message currently does not provide useful information, because the `src` value that is interleaved will have been overridden by the call to `osi.ResolveSymbolicLink`. This stores the original `src` before the `osi.ResolveSymbolicLink` call so the error message can be useful.

Signed-off-by: June Rhodes <504826+hach-que@users.noreply.github.com>
2023-03-17 05:12:43 +11:00
Fu Wei
e208c24256
Merge pull request #8175 from Iceber/fix_cni_metadata
adding cni metadata to the container in the `ctr run --config`
2023-03-16 23:29:48 +08:00
Iceber Gu
14714b94de Fold the output of crictl info
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2023-03-16 19:50:59 +08:00
Iceber Gu
5fdca538d0 adding cni metadata to the container in the ctr run --config
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2023-03-16 18:01:53 +08:00
Iceber Gu
32d431a7cb Update crictl doc
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2023-03-16 17:49:14 +08:00
Iceber Gu
690ae58ca7 Update cri-tools version on windows
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2023-03-16 17:48:53 +08:00
Iceber Gu
5956cdea87 Remove third-party package cri-api
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2023-03-16 17:48:53 +08:00
Iceber Gu
c011502bd1 Remove cri v1alpha1 services
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2023-03-16 17:48:49 +08:00
Iceber Gu
23d288a809 Remove the CriuPath field from runc's options
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2023-03-16 17:12:51 +08:00
Fu Wei
732d184cbb
Merge pull request #8275 from AkihiroSuda/remove-config-v1
Remove support for config.toml `version = 1`
2023-03-16 17:12:08 +08:00
Fu Wei
2f4f015e5e
Merge pull request #8277 from dcantah/netconf-cni-fix
CRI: Don't always close netConfMonitor channel
2023-03-16 17:05:48 +08:00
Danny Canter
62f98a1c11 CRI: Don't always close netConfMonitor channel
In the CRI server initialization a syncgroup is setup that adds to the
counter for every cni config found/registered. This functions on platforms
where CNI is supported/theres an assumption that there will always be
the loopback config. However, on platforms like Darwin where there's generally
nothing registered the Wait() on the syncgroup returns immediately and the
channel used to return any Network config sync errors is closed. This channel
is one of three that's used to monitor if we should Close the CRI service in
containerd, so it's not great if this happens.

Signed-off-by: Danny Canter <danny@dcantah.dev>
2023-03-15 20:01:17 -07:00
Akihiro Suda
a4d33a7848
Remove support for config.toml version = 1
`version = 1` has been deprecated since containerd v1.5,
and replaced by `version = 2`.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-16 10:32:33 +09:00
Fu Wei
e735405c15
Merge pull request #7951 from Iceber/fix_restart_monitor 2023-03-16 08:58:20 +08:00
Akihiro Suda
f558a3d598
Merge pull request #8262 from mxpv/v1
🪦 Remove `io.containerd.runtime.v1.linux` and `io.containerd.runc.v1`
2023-03-16 09:56:54 +09:00
Ethan Lowman
3e87f05b62
Fix image pulling with Transfer service
Signed-off-by: Ethan Lowman <ethan.lowman@datadoghq.com>
2023-03-15 16:10:31 -04:00
Phil Estes
974da0503d
Merge pull request #8255 from dcantah/sbserver-handle-controllerfail
Sandbox: Cleanup shim on Start failure
2023-03-15 13:13:04 -04:00
Kazuyoshi Kato
41c864187d
Merge pull request #8257 from dcantah/sandbox-local-info
Sandbox: Correct/add some fields to Status()
2023-03-15 09:43:08 -07:00
Maksym Pavlenko
c5f1086adf Update docs
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-03-15 09:22:15 -07:00
Maksym Pavlenko
fda5c84bc1 Update gce contrib to use v2 by default
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-03-15 09:18:16 -07:00
Maksym Pavlenko
8bd82e355a Remove no_pivot when creating container from CRI
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-03-15 09:18:16 -07:00
Maksym Pavlenko
07c2ae12e1 Remove v1 runctypes
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-03-15 09:18:16 -07:00
Maksym Pavlenko
c50a3ef043 Update Makefile and CI
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-03-15 09:18:16 -07:00
Maksym Pavlenko
ef516a1507 Remove runtime v1
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-03-15 09:18:14 -07:00
Iceber Gu
76778aee64 integration: add restart monitor test for paused task
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2023-03-15 14:32:17 +08:00
Derek McGowan
eebd4ad531
Merge pull request #8264 from AkihiroSuda/remove-restart-logpath
Remove "containerd.io/restart.logpath" label (deprecated since v1.5)
2023-03-14 19:40:58 -07:00
Derek McGowan
fe3cd1781b
Merge pull request #8267 from helen-frank/feature/OptimizationcheckBinarySizes
Optimization containerd-stress
2023-03-14 17:16:20 -07:00
Akihiro Suda
35a103d321
Remove "containerd.io/restart.logpath" label (deprecated since v1.5)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-15 09:00:11 +09:00
Kazuyoshi Kato
a570c8184a
Merge pull request #8213 from jedevc/export-skip-docker-manifest
archive: consistently respect value of WithSkipDockerManifest
2023-03-14 15:01:08 -07:00
Phil Estes
39cfd1613b
Merge pull request #8263 from AkihiroSuda/remove-aufs
Remove `aufs` snapshotter (deprecated since v1.5)
2023-03-14 11:56:36 -04:00
helen
08337f3563 Pre-splice strings and determine whether it is a file and check criCleanup err.
Signed-off-by: helen <haitao.zhang@daocloud.io>
2023-03-14 23:15:46 +08:00
Iceber Gu
e0d9b96631 Fix restarting the paused containers
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2023-03-14 17:42:36 +08:00
Akihiro Suda
86fc1ccab4
Remove aufs snapshotter (deprecated since v1.5)
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-03-14 14:37:13 +09:00
Shingo Omura
50740a1a0c
use strings.Cut instead of strings.Split for parsing imageConfig.User
Signed-off-by: Shingo Omura <everpeace@gmail.com>
2023-03-14 13:52:03 +09:00
Kazuyoshi Kato
689cd12ee6
Merge pull request #8261 from davidhsingyuchen/plugins-err-typo
docs: fix typo in comment of plugin.Plugin.Err()
2023-03-13 15:25:30 -07:00
Hsing-Yu (David) Chen
b39ac5d09b docs: fix typo in comment of plugin.Plugin.Err()
Signed-off-by: Hsing-Yu (David) Chen <davidhsingyuchen@gmail.com>
2023-03-13 11:46:01 -07:00
Danny Canter
d835fd2a3a Sandbox: Correct/add some fields to Status()
CreatedAt was being used as the ExitedAt timestamp, and Info from the
response wasn't being set on the response.

Signed-off-by: Danny Canter <danny@dcantah.dev>
2023-03-13 04:04:17 -07:00
Justin Chadwell
d3e856da7f export: add test for WithSkipDockerManifest
Signed-off-by: Justin Chadwell <me@jedevc.com>
2023-03-13 09:02:53 +00:00
Danny Canter
70da5c7830 Sandbox: Cleanup shim on Start failure
Made a change a bit ago to cleanup the shim on CreateSandbox failures and
noted that we should probably do the same on Start as well as nothing gets
cleaned up otherwise, and nothing states that a sandbox server/shim should
exit itself if Create/Start fail. Ideally this could be hooked up to
some subsystem in containerd that'd do it for us, but for now to allow
developing prototyping sandbox shims this makes things much friendlier.

Signed-off-by: Danny Canter <danny@dcantah.dev>
2023-03-13 01:54:13 -07:00
Derek McGowan
1fbd703741
Merge pull request #8242 from dmcgowan/prepare-v1.7.0
Prepare release notes for v1.7.0
2023-03-10 10:05:05 -08:00
Derek McGowan
e13a9165ef
Prepare release notes for v1.7.0
Signed-off-by: Derek McGowan <derek@mcg.dev>
2023-03-09 17:02:36 -08:00
Maksym Pavlenko
e92e692de0
Merge pull request #8241 from AkihiroSuda/deprecation-20230309
RELEASES.md: describe the deprecated config properties
2023-03-09 10:48:12 -08:00
Derek McGowan
0fe3b496d5
Merge pull request #8232 from panguicai008/flag-usage
Flag usage uses uppercase letters
2023-03-09 10:34:32 -08:00
Derek McGowan
216801593d
Merge pull request #8240 from davidhsingyuchen/client-install-doc
docs: link docs/managed-opt.md to client.Install
2023-03-09 10:24:20 -08:00