Maksym Pavlenko
c3f3cad287
Use sandboxed CRI by default
...
Signed-off-by: Maksym Pavlenko <pavlenko.maksym@gmail.com>
2023-08-23 08:50:40 -07:00
Maksym Pavlenko
e7dee269d6
Merge pull request #8960 from dcantah/sandbox-annotations
...
Sandbox: Add annotations to CreateSandbox surface
2023-08-23 08:42:46 -07:00
Sebastiaan van Stijn
b76cd4d9fd
replace some fmt.Sprintfs with strconv
...
Teeny-tiny optimizations:
BenchmarkSprintf-10 37735996 32.31 ns/op 0 B/op 0 allocs/op
BenchmarkItoa-10 591945836 2.031 ns/op 0 B/op 0 allocs/op
BenchmarkFormatUint-10 593701444 2.014 ns/op 0 B/op 0 allocs/op
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-23 16:43:02 +02:00
Derek McGowan
bbdbf7ab6c
Add inspect image commands
...
Outputs the image structure as a tree with an option to show content
and related labels for the image.
Signed-off-by: Derek McGowan <derek@mcg.dev>
2023-08-23 06:52:35 -07:00
Derek McGowan
78308b4a44
Add manifest printer library
...
Signed-off-by: Derek McGowan <derek@mcg.dev>
2023-08-23 06:52:35 -07:00
Sebastiaan van Stijn
11a5dd8265
snapshots: replace some fmt.Sprintfs with strconv
...
Teeny-tiny optimizations:
BenchmarkSprintf-10 37735996 32.31 ns/op 0 B/op 0 allocs/op
BenchmarkItoa-10 591945836 2.031 ns/op 0 B/op 0 allocs/op
BenchmarkFormatUint-10 593701444 2.014 ns/op 0 B/op 0 allocs/op
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-23 10:10:59 +02:00
Sebastiaan van Stijn
06765c9ef5
oci: replace some fmt.Sprintfs with strconv
...
Teeny-tiny optimizations:
BenchmarkSprintf-10 37735996 32.31 ns/op 0 B/op 0 allocs/op
BenchmarkItoa-10 591945836 2.031 ns/op 0 B/op 0 allocs/op
BenchmarkFormatUint-10 593701444 2.014 ns/op 0 B/op 0 allocs/op
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-23 10:10:59 +02:00
Sebastiaan van Stijn
710d22366d
removes/docker: replace some fmt.Sprintfs with strconv
...
Teeny-tiny optimizations:
BenchmarkSprintf-10 37735996 32.31 ns/op 0 B/op 0 allocs/op
BenchmarkItoa-10 591945836 2.031 ns/op 0 B/op 0 allocs/op
BenchmarkFormatUint-10 593701444 2.014 ns/op 0 B/op 0 allocs/op
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-23 10:10:59 +02:00
Sebastiaan van Stijn
d7bc8694be
pkg/cri: replace some fmt.Sprintfs with strconv
...
Teeny-tiny optimizations:
BenchmarkSprintf-10 37735996 32.31 ns/op 0 B/op 0 allocs/op
BenchmarkItoa-10 591945836 2.031 ns/op 0 B/op 0 allocs/op
BenchmarkFormatUint-10 593701444 2.014 ns/op 0 B/op 0 allocs/op
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-08-23 10:10:56 +02:00
Fu Wei
738c153573
Merge pull request #8992 from djdongjin/remove-hashicorp-multierror
...
Remove hashicorp/go-multierror dependency
2023-08-23 13:13:51 +08:00
Maksym Pavlenko
36dcc294ee
Merge pull request #8995 from yankay/append-k8s-1.28-to-releases
...
Append k8s 1.28 to RELEASES.md
2023-08-22 19:23:46 -07:00
Derek McGowan
55c877297a
Merge pull request #8556 from Wang99998/main
...
Update default platform matcher when ctr import
2023-08-22 16:53:42 -07:00
Derek McGowan
1aa710d0fc
Merge pull request #8694 from yankay/fix-push-image-rate
...
Fix ctr push image can't show right rate
2023-08-22 16:39:35 -07:00
Derek McGowan
2bac6ffb79
Merge pull request #8663 from helen-frank/feature/MergeSortedStringSlices
...
MergeStringSlices use sets
2023-08-22 16:31:28 -07:00
Derek McGowan
7f029af018
Merge pull request #8938 from akhramov/freebsd/fix-tar-headers-2
...
archive/tarheader: fix FreeBSD hdr for regular files
2023-08-22 16:25:50 -07:00
Phil Estes
de066a37dc
Merge pull request #8935 from lengrongfu/feat/add-metrics-for-dropped-events
...
add metrics for discarding events
2023-08-22 09:09:31 -04:00
Kay Yan
73e9cfd1ce
append k8s 1.28 to releases
...
Signed-off-by: Kay Yan <kay.yan@daocloud.io>
2023-08-22 10:52:00 +00:00
Fu Wei
f9dec2aeae
Merge pull request #8569 from fuweid/add-dmesg-for-unit-test
...
.github/workflows: add dmesg step for integration-linux
2023-08-22 18:36:29 +08:00
Fu Wei
3ffde050a4
Merge pull request #8988 from kinvolk/rata/userns-fix-platform
...
cri: Fix sandbox_mode "shim"
2023-08-22 16:40:34 +08:00
Jin Dong
6d8329d7f5
Remove unnecessary joinError unwrap
...
Signed-off-by: Jin Dong <jin.dong@databricks.com>
2023-08-21 19:03:41 -07:00
Derek McGowan
fb786b2f17
Merge pull request #8945 from pdtpartners/feature/make-overlay-snapshotter-embeddable
...
Add WithMetaStore to overlay snapshotter to allow bringing your own
2023-08-21 15:47:15 -07:00
Derek McGowan
b8f32e863c
Merge pull request #8951 from kiashok/exposeCommitMemWindows
...
Populate commit memory for windows memory usage stats
2023-08-21 15:42:34 -07:00
Derek McGowan
3ba8964e22
Merge pull request #8889 from wic006/wic006/update-rfc-link
...
archive/compression: update out of date RFC draft link
2023-08-21 15:15:18 -07:00
Derek McGowan
bc15df7231
Merge pull request #8894 from thaJeztah/log_improve
...
log: cleanups and improvements to decouple more from logrus
2023-08-21 15:08:18 -07:00
Maksym Pavlenko
90b8e6b711
Merge pull request #8915 from oss-qm/submit/bindir
...
Makefile: allow overriding the binary executable target dir
2023-08-21 11:38:20 -07:00
Maksym Pavlenko
579b257472
Merge pull request #8990 from jsturtevant/bump-go-fuzz
...
Remove temporary replace for fuzzer library
2023-08-21 10:55:07 -07:00
James Sturtevant
8399a4ee71
Remove temporary replace
...
Signed-off-by: James Sturtevant <jstur@microsoft.com>
2023-08-21 16:29:18 +00:00
Derek McGowan
df1ddc46b0
Merge pull request #8991 from dcantah/remote-differ-docs
...
Docs: Document proxy plugins diff support
2023-08-21 09:27:56 -07:00
Derek McGowan
740097573a
Merge pull request #8993 from estesp/update-releases
...
Update to latest releases in RELEASES.md
2023-08-21 09:16:45 -07:00
Phil Estes
7ad0a6ccfa
Update to latest releases in RELEASES.md
...
Since a recent contributor edited the synced version of this in the website (containerd.io) repo, we should just update the main repo and let the auto-sync PR get these 2 files back in sync with the latest releases.
Signed-off-by: Phil Estes <estesp@amazon.com>
2023-08-21 09:19:34 -04:00
Jin Dong
cd8c8ae4bc
Remove hashicorp/go-multierror
...
Signed-off-by: Jin Dong <jin.dong@databricks.com>
2023-08-20 17:59:45 -07:00
Phil Estes
89553637a7
Merge pull request #8936 from oss-qm/submit/install-doc
...
Makefile: add rule for installing documentation
2023-08-19 18:47:00 -04:00
Phil Estes
7c850bac2e
Merge pull request #8974 from oss-qm/submit/metrics_unused_retval
...
ctr: metrics: drop unused retval from printWindowsStats()
2023-08-19 18:45:19 -04:00
Enrico Weigelt, metux IT consult
1571a5aa07
ctr: metrics: drop unused retval from printWindowsStats()
...
The error return value is always nil, so we don't need it at all.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2023-08-19 15:33:40 +02:00
Enrico Weigelt, metux IT consult
7063ae1f6c
Makefile: add rule for installing documentation
...
Distros usually like to install docs, so add a rule for that, so
dist maintainers don't need to care about the details.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2023-08-19 15:32:29 +02:00
Danny Canter
de4c338ab5
Docs: Document proxy plugin diff support
...
Document that differs can be proxy plugins now.
Signed-off-by: Danny Canter <danny@dcantah.dev>
2023-08-18 17:55:54 -07:00
Derek McGowan
465c04c289
Merge pull request #8946 from lengrongfu/feat/bump-client-go
...
bump client-go v0.26.4
2023-08-18 16:35:24 -07:00
Akihiro Suda
4033add994
Merge pull request #8957 from AkihiroSuda/go-1.21
...
Go 1.21.0
2023-08-19 02:51:58 +09:00
Kazuyoshi Kato
3c8981a365
Merge pull request #8913 from oss-qm/submit/optional-systemd
...
cmd: containerd: allow building w/o systemd notify
2023-08-18 10:26:46 -07:00
Kazuyoshi Kato
bb1c855e62
Merge pull request #8964 from akhramov/feature/specify-default-freebsd-runtime
...
FreeBSD: set default runtime
2023-08-18 10:23:13 -07:00
Kazuyoshi Kato
742762b391
Merge pull request #8975 from oss-qm/submit/cri_unused_retvals
...
cri: spec_linux: drop unused retvals
2023-08-18 10:21:54 -07:00
Rodrigo Campos
d09f7cbe00
cri: Fix sandbox_mode "shim"
...
This is a partial revert of "cri/sbserver: Use platform instead of GOOS
for userns detection".
While what that commit did is 100% the right thing to do, when the
sandbox_mode is "shim" all controller.XXX() calls are RPCs and the
controller.Create() call initializes the controller. Therefore, things
like "getSandboxController()" don't work in the case of "shim"
sandbox_mode until after the controller.Create().
Due to this asymmetry and the lack of tests for shim mode, we didn't
catch it before.
This patch just reverts that commit so that the Create() and
getSandboxController() calls remain where they were, and just relies on
the config Linux section as a hack to detect if the pod sandbox will use
user namespaces or not.
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com>
2023-08-18 15:13:10 +02:00
Enrico Weigelt, metux IT consult
60b2cb143f
cmd: containerd: allow building w/o systemd notify
...
Make the rather obscure systemd notification build-time optional by
setting 'no_systemd' tag and so skip dependencies on around 9kLoC
vendor code.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2023-08-18 13:24:08 +02:00
Fu Wei
0f5dea3cc0
Merge pull request #8734 from djdongjin/content-copy-dedup
...
Simplify `content.Copy` logic
2023-08-18 11:05:27 +08:00
Robbie Buxton
23c95359aa
Add WithMetaStore to overlay snapshotter to allow bringing your own
...
Signed-off-by: Robbie Buxton <138501839+rbpdt@users.noreply.github.com>
2023-08-17 19:28:44 +01:00
Enrico Weigelt, metux IT consult
0c1ad52eac
cri: spec_linux: drop unused retvals
...
cgroupv1HasHugetlb() and cgroupv2HasHugetlb() may return errors, but nobody
(there's just one call site anyways) ever cares. So drop the unnecessary code.
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2023-08-17 18:52:37 +02:00
Samuel Karp
3b32d3c6f2
Merge pull request #8922 from lengrongfu/feat/sync-image-action
...
feat: replace mcr.microsoft.com registry to ghcr.io/containerd registry
2023-08-17 00:59:46 -07:00
Akihiro Suda
eacd74c2b0
Go 1.21.0
...
https://go.dev/doc/go1.21
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-08-17 16:54:01 +09:00
Akihiro Suda
5756cb00e7
CI: increase timeout for Binaries
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2023-08-17 16:54:01 +09:00
Nashwan Azhari
c883410c96
CI: Explicitly upgrade MinGW on Windows 2019 GitHub runners.
...
The default version of MinGW and GCC on the GitHub-hosted Windows 2019
runners compile fine but lead to linker errors during runtime.
Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>
2023-08-17 16:52:51 +09:00