Derek McGowan
e53663cca7
Merge pull request #9932 from AkihiroSuda/go-1.21.8
...
update to go 1.21.8, 1.22.1
2024-03-07 05:08:18 +00:00
Fu Wei
1afc6ca3be
Merge pull request #9659 from ambarve/cimfs_unionfs
...
Don't create new scratch VHD per image for CimFS
2024-03-07 04:51:03 +00:00
Akihiro Suda
7ecdebff93
update to go 1.21.8, 1.22.1
...
See https://groups.google.com/g/golang-announce/c/5pwGVUPoMbg
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-03-07 08:32:40 +09:00
Derek McGowan
d9a867a076
Merge pull request #9939 from estesp/disable-test-failure-GHA
...
Disable OOM set score unpriv test temporarily
2024-03-06 21:28:18 +00:00
Phil Estes
723306d0ed
Disable OOM set score unpriv test temporarily
...
Temporary skip while we find root cause of GHA environment changes
causing failure.
Signed-off-by: Phil Estes <estesp@amazon.com>
2024-03-06 11:38:53 -05:00
Amit Barve
994fdd74e5
Don't create new scratch VHD per image for CimFS
...
CimFS layers don't need to create a new scratch VHD per image. The scratch VHDs used with CimFS are empty so
we can just create one base VHD and one differencing VHD and copy it for every scratch snapshot.
(Note that UVM VHDs are still unique per image because the VHD information is embedded in the UVM BCD during
import)
Signed-off-by: Amit Barve <ambarve@microsoft.com>
2024-03-06 04:18:17 -08:00
Fu Wei
e814b03c74
Merge pull request #9925 from kiashok/updaetHcsshimTag-0.12.0
...
Update hcsshim to v0.12.0
2024-03-05 08:26:25 +00:00
Fu Wei
de6a094a28
Merge pull request #9598 from abel-von/sandbox-plugin-0103
...
sandbox: add event monitor for podsandbox controller
2024-03-05 08:23:31 +00:00
dependabot[bot]
016b588a98
build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.4 to 1.9.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.4...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-05 06:15:37 +00:00
Maksym Pavlenko
9b6c1eee6e
Merge pull request #9924 from containerd/dependabot/go_modules/golang-x-ab76824e89
...
build(deps): bump the golang-x group with 2 updates
2024-03-05 05:40:02 +00:00
Maksym Pavlenko
3de575f17c
Merge pull request #9915 from containerd/dependabot/go_modules/github.com/prometheus/client_golang-1.19.0
...
build(deps): bump github.com/prometheus/client_golang from 1.18.0 to 1.19.0
2024-03-05 04:27:56 +00:00
Maksym Pavlenko
7d2bc0620b
Merge pull request #9911 from dmcgowan/introspection-split
...
Cleanup introspection interface
2024-03-05 03:20:45 +00:00
Maksym Pavlenko
c3dc7209f4
Merge pull request #9892 from dmcgowan/move-nri-packages
...
Move nri packages to plugin and internal
2024-03-05 01:31:52 +00:00
Akihiro Suda
580ae05986
Merge pull request #9910 from dmcgowan/ttrpc-proxy-interfaces
...
Add ttrpc to proxy interfaces
2024-03-05 01:01:22 +00:00
Kirtana Ashok
d9409c4611
Update hcsshim to v0.12.0
...
Signed-off-by: Kirtana Ashok <kiashok@microsoft.com>
2024-03-04 16:55:07 -08:00
dependabot[bot]
00d714e90a
build(deps): bump the golang-x group with 2 updates
...
Bumps the golang-x group with 2 updates: [golang.org/x/mod](https://github.com/golang/mod ) and [golang.org/x/sys](https://github.com/golang/sys ).
Updates `golang.org/x/mod` from 0.15.0 to 0.16.0
- [Commits](https://github.com/golang/mod/compare/v0.15.0...v0.16.0 )
Updates `golang.org/x/sys` from 0.17.0 to 0.18.0
- [Commits](https://github.com/golang/sys/compare/v0.17.0...v0.18.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/mod
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
- dependency-name: golang.org/x/sys
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: golang-x
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 23:46:03 +00:00
dependabot[bot]
ab4de3e4c3
build(deps): bump azure/login from 1 to 2
...
Bumps [azure/login](https://github.com/azure/login ) from 1 to 2.
- [Release notes](https://github.com/azure/login/releases )
- [Commits](https://github.com/azure/login/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: azure/login
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 23:06:36 +00:00
Derek McGowan
d3d4c5d2ae
Merge pull request #9828 from laurazard/fix-exec-exit-better
...
runc-shim: process exec exits before init (w/o extra locks!)
2024-03-04 17:32:51 +00:00
Phil Estes
afbb6dad52
Merge pull request #9918 from AkihiroSuda/cri-api-v0.30.0-alpha.3
...
go.mod: k8s.io/cri-api v0.30.0-alpha.3
2024-03-04 14:15:28 +00:00
Akihiro Suda
713dd8f8dc
go.mod: k8s.io/cri-api v0.30.0-alpha.3
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-03-04 17:04:21 +09:00
Akihiro Suda
d9b9160ae1
mv internal/testutil pkg/testutil
...
The package is consumed by several snapshotter plugins
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2024-03-04 17:00:39 +09:00
dependabot[bot]
752917c0f3
build(deps): bump github.com/prometheus/client_golang
...
Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang ) from 1.18.0 to 1.19.0.
- [Release notes](https://github.com/prometheus/client_golang/releases )
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md )
- [Commits](https://github.com/prometheus/client_golang/compare/v1.18.0...v1.19.0 )
---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 07:57:02 +00:00
Kohei Tokunaga
7a3b7fba59
Transfer: Registry: Enable to use registry configuration diretory
...
Currently transfer service isn't aware of configurations of hosts directory and
ctr's `--hosts-dir` doesn't work.
This commit fixes this issue by using `config.ConfigureHosts` instead of
`docker.ConfigureDefaultRegistries`.
This commit also fixes ctr to use this feature for "--hosts-dir" flag.
Signed-off-by: Kohei Tokunaga <ktokunaga.mail@gmail.com>
2024-03-04 15:43:30 +09:00
Derek McGowan
1bf781d8eb
Cleanup introspection interface
...
Split service proxy from service plugin.
Make introspection service easier for clients to use.
Update service proxy to support grpc and ttrpc.
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-03-01 23:07:42 -08:00
Derek McGowan
5bd204109f
Remove grpc from Client connection interface
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-03-01 14:27:28 -08:00
Derek McGowan
347346e3cf
Add ttrpc support to content proxy
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-03-01 14:27:27 -08:00
Derek McGowan
9104e6a24f
Add events proxy interface
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-03-01 14:27:27 -08:00
Laura Brehm
892dc54bd2
runc-shim: process exec exits before init
...
For a given container, as long as the init process is the init process
of that PID namespace, we always receive the exits for execs before we
receive them for the init process.
It's important that we uphold this invariant for the outside world by
always emitting a TastExit event for a container's exec before we emit
one for the init process because this is the expected behavior from
callers, and changing this creates issues - such as Docker, which will
delete the container after receiving a TaskExit for the init process,
and then not be able to handle the exec's exit after having deleted
the container (see: https://github.com/containerd/containerd/issues/9719 ).
Since 5cd6210ad0
, if an exec is starting
at the same time that an init exits, if the exec is an "early exit"
i.e. we haven't emitted a TaskStart for it/put it in `s.running` by the
time we receive it's exit, we notify concurrent calls to `s.Start()` of
the exit and continue processing exits, which will cause us to process
the Init's exit before the exec, and emit it, which we don't want to do.
This commit introduces a map `s.pendingExecs` to keep track of the
number of pending execs keyed by container, which allows us to skip
processing exits for inits if there are pending execs, and instead
have the closure returned by `s.preStart` handle the init exit after
emitting the exec's exit.
Signed-off-by: Laura Brehm <laurabrehm@hey.com>
2024-03-01 16:43:19 +00:00
Derek McGowan
9128ee0a91
Move nri packages to plugin and internal
...
NRI is still newer and mostly used by CRI plugin. Keep the package in
internal to allow for interfaces as the project matures.
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-02-29 21:37:36 -08:00
Abel Feng
d0da3d1caf
sandbox: make event monitor in CRI independent
...
Signed-off-by: Abel Feng <fshb1988@gmail.com>
2024-03-01 10:30:52 +08:00
Phil Estes
9a2b85561a
Merge pull request #9867 from daghack/oci-add-mediatype
...
adds mediatype to oci index record
2024-02-29 21:32:59 +00:00
Talon
17ea3959bc
adds mediatype to oci index record
...
Signed-off-by: Talon Bowler <talon.bowler@docker.com>
2024-02-29 10:04:48 -08:00
Fu Wei
6333db7701
Merge pull request #9891 from dmcgowan/move-events-plugin
...
Move events to plugins and core
2024-02-29 12:45:25 +00:00
Akihiro Suda
1f69774af3
Merge pull request #9893 from dmcgowan/update-client-support
...
Add Go client stability in RELEASES.md for 2.0
2024-02-29 01:51:50 +00:00
Fu Wei
2cdf012387
Merge pull request #9617 from abel-von/sandbox-plugin-0109
...
sandbox: use sandboxService in CRI plugin instead of calling controller API directly
2024-02-28 15:49:12 +00:00
Anthony Nandaa
c5ef8a2c26
fix(docs): fix duplicate instructions for windows installation
...
This commit fixes the duplicate copy and configure steps for
the Windows powershell scripts.
fixes #9887
It also adds the architecture as a variable in preparation for
the ARM64 support that is coming.
Signed-off-by: Anthony Nandaa <profnandaa@gmail.com>
2024-02-28 11:21:28 +03:00
Derek McGowan
87e8e9c7f6
Add Go client stability in releases for 2.0.
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-02-27 23:27:07 -08:00
Derek McGowan
72f21833b1
Move events to plugins and core
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2024-02-27 22:09:20 -08:00
Phil Estes
f0c64a9fa0
Merge pull request #9859 from DataDog/jb/zstd-support
...
mediatypes: support zstd compression
2024-02-27 22:31:41 +00:00
Phil Estes
dc0f1aef56
Merge pull request #9888 from thaJeztah/bump_bolt
...
vendor: go.etcd.io/bbolt v1.3.9
2024-02-27 21:10:42 +00:00
Mike Brown
caa9e20759
add k8s 1.29 and 1.30preview to support table
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2024-02-27 12:38:48 -06:00
Phil Estes
ef1cba3a10
Merge pull request #9881 from containerd/dependabot/go_modules/github.com/klauspost/compress-1.17.7
...
build(deps): bump github.com/klauspost/compress from 1.17.6 to 1.17.7
2024-02-27 16:41:51 +00:00
Sebastiaan van Stijn
154ed26a77
vendor: go.etcd.io/bbolt v1.3.9
...
full diff: https://github.com/etcd-io/bbolt/compare/v1.3.8...v1.3.9
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-02-27 15:12:15 +01:00
Iceber Gu
6d1dfe55fb
cri: ensure the pause image loaded in older versions is pinned
...
Signed-off-by: Iceber Gu <caiwei95@hotmail.com>
2024-02-27 16:40:43 +08:00
Derek McGowan
c9c8346bfa
Merge pull request #9878 from amghazanfari/main
...
refactor: clean switch statements and convert if to switch
2024-02-27 05:14:01 +00:00
Phil Estes
b1624c3628
Merge pull request #9869 from fuweid/move_local_sb_to_service
...
plugins/sandbox: move local plugin into services
2024-02-27 00:00:38 +00:00
dependabot[bot]
2884b318f9
build(deps): bump github.com/klauspost/compress from 1.17.6 to 1.17.7
...
Bumps [github.com/klauspost/compress](https://github.com/klauspost/compress ) from 1.17.6 to 1.17.7.
- [Release notes](https://github.com/klauspost/compress/releases )
- [Changelog](https://github.com/klauspost/compress/blob/master/.goreleaser.yml )
- [Commits](https://github.com/klauspost/compress/compare/v1.17.6...v1.17.7 )
---
updated-dependencies:
- dependency-name: github.com/klauspost/compress
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-26 23:42:38 +00:00
amghazanfari
bd44df8a1c
refactor code - clean switch and if statements
...
Signed-off-by: amghazanfari <a.m.ghazanfari76@gmail.com>
2024-02-26 22:07:14 +03:30
Abel Feng
a60e52f582
sandbox: add struct tags for PinnedImages
...
Signed-off-by: Abel Feng <fshb1988@gmail.com>
2024-02-26 10:15:24 +08:00
Abel Feng
a0b73ae114
sandbox: optimize the lock in PodSandbox
...
Signed-off-by: Abel Feng <fshb1988@gmail.com>
2024-02-26 10:15:18 +08:00