Commit Graph

11307 Commits

Author SHA1 Message Date
Derek McGowan
0d0fb68589
Merge pull request #6149 from ukontainer/vendor-moby-sys
vendor: update moby/sys for darwin support
2021-10-25 15:20:10 -07:00
Hajime Tazaki
b8f3ebb03b vendor: update moby/sys for darwin support
The mount package of darwin requires to retrive mountinfo to check if
the target of unmount if still mounted or not.  Thus pull the upstreamed
version of moby/sys to support this operation.

Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
2021-10-23 07:48:17 +09:00
Derek McGowan
45c5298700
Merge pull request #6144 from dmcgowan/prepare-v1.6.0-beta.1
Prepare v1.6.0-beta.1
2021-10-22 14:39:38 -07:00
Derek McGowan
0ccc386c86
Prepare release notes for v1.6.0-beta.1
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-10-22 13:37:45 -07:00
Derek McGowan
e5fc3b38ee
Update mailmap
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-10-22 13:37:45 -07:00
Derek McGowan
37720fc6fd
Update api vendor
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-10-22 13:37:45 -07:00
Phil Estes
fc5c51d5f4
Merge pull request #6136 from zouyee/cni100
bump cni to spec v1.0.0
2021-10-22 11:45:52 -04:00
zounengren
a217b5ac8f bump CNI to spec v1.0.0
Signed-off-by: zounengren <zouyee1989@gmail.com>
2021-10-22 10:58:40 +08:00
Tonis Tiigi
010a9e2bca content: close stream after commit request
This allows both client and server to determine when
stream is completed. Previously this was done by
closesend call from the client side but that is async
so client can not assume that the server side also
already thinks that stream is complete.

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
2021-10-21 19:24:28 -07:00
Phil Estes
006b44181a
Merge pull request #5992 from cpuguy83/client_otel_trace
Inject otel traces to grpc client.
2021-10-21 13:37:28 -04:00
Romain Aviolat
ebc5cf19ac
feat(doc): update to version 2 syntax
Signed-off-by: Romain Aviolat <r.aviolat@gmail.com>
2021-10-21 19:06:47 +02:00
Brian Goff
294143bf38 Inject otel traces to grpc client.
This uses the global trace provider.
If a trace provider is not set, a no-op provider is used.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2021-10-21 16:08:15 +00:00
Michael Crosby
51de1d3a45
Merge pull request #6142 from AkihiroSuda/client-expose-image-platform
client: expose (*image).platform
2021-10-21 11:36:01 -04:00
Akihiro Suda
cd2f2b0af6
client: expose (*image).platform
Expose (*image).platform as Image.Platform() .

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-10-21 19:46:50 +09:00
Phil Estes
ac5790c8e2
Merge pull request #6128 from xens/feat/doc_sched_core
Adding documentation for Core Scheduling
2021-10-20 11:35:37 -04:00
Phil Estes
3f26fd22e1
Merge pull request #6130 from cpuguy83/inject-ns-to-rpc
Ensure namespace is proxied to grpc/ttrpc plugins
2021-10-20 11:29:46 -04:00
Derek McGowan
f44d4cf8ca
Merge pull request #6109 from timchenxiaoyu/githubdev
fix #6054  MaxConcurrentDownloads is not effect when Unpack is true
2021-10-19 13:50:35 -07:00
Phil Estes
9c488e5dae
Merge pull request #6124 from samj1912/large-labels
Output a warning for label image labels instead of erroring
2021-10-19 08:36:50 -04:00
weixian.cxy
535191abf3 fix #6054 MaxConcurrentDownloads is not effect when Unpack is true
Signed-off-by: weixian.cxy <weixian.cxy@alibaba-inc.com>
2021-10-19 10:56:01 +08:00
Fu Wei
59ca4bfd76
Merge pull request #6132 from dcantah/wcow-snapshotter-spelling 2021-10-19 07:55:13 +08:00
Romain Aviolat
3b73922fba
feat(doc): add Core Scheduling documentation
Adding documentation for the Core Scheduling feature.

Signed-off-by: Romain Aviolat <r.aviolat@gmail.com>
2021-10-18 19:16:25 +02:00
Daniel Canter
c18c2e7356 Fix spelling mistake in Windows snapshotter
deactvateErr -> deactivateErr

Signed-off-by: Daniel Canter <dcanter@microsoft.com>
2021-10-18 08:54:55 -07:00
Phil Estes
4da5d94da7
Merge pull request #6126 from claudiubelu/cleanup-wcow-layers
Windows: Cleanup rm- prefixed layers
2021-10-18 06:43:17 -07:00
Brian Goff
130a9c7ddb Ensure namespace is proxied to grpc/ttrpc plugins
Before this change we only ever had the grpc incoming medata set so when
we make a request to a shim or a grpc plugin the namespace is not sent
over the RPC.

I need this for github.com/cpuguy83/systemdshim, and I am sure there are
other use-cases where this would be needed.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2021-10-16 00:09:50 +00:00
Sambhav Kothari
2a8dac12a7 Output a warning for label image labels instead of erroring
This change ignore errors during container runtime due to large
image labels and instead outputs warning. This is necessary as certain
image building tools like buildpacks may have large labels in the images
which need not be passed to the container.

Signed-off-by: Sambhav Kothari <sambhavs.email@gmail.com>
2021-10-14 19:25:48 +01:00
Maksym Pavlenko
10d9d1a60f
Merge pull request #6118 from zouyee/ioutil
cleanup deprecated package  `io/ioutil `
2021-10-13 14:57:38 -07:00
Claudiu Belu
6020189003 integration: Enable some tests for Windows
Some of the tests in containerd/integration/client/ are not
currently being run on Windows, even though they can pass.

Signed-off-by: Claudiu Belu <cbelu@cloudbasesolutions.com>
2021-10-13 16:04:46 +03:00
zounengren
1f1cad3912 io/ioutil package has been deprecated in Go 1.16 that replaces io/ioutil functions
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2021-10-13 09:18:31 +08:00
Derek McGowan
0855725370
Merge pull request #6115 from zouyee/utest
close Writer after use which may memory leak
2021-10-12 12:59:03 -07:00
Phil Estes
3f417d61e0
Merge pull request #5778 from claudiubelu/windows/adds-resource-limits
Adds Windows resource limits support
2021-10-12 12:56:44 -07:00
zounengren
46be069379 close Writer after use which may leak mem
Signed-off-by: Zou Nengren <zouyee1989@gmail.com>
2021-10-12 17:25:08 +08:00
Derek McGowan
5b29542cbe
Merge pull request #6098 from dmcgowan/prepare-1.6.0-beta.0
Prepare release notes for v1.6.0-beta.0
2021-10-11 11:29:51 -07:00
Phil Estes
37e9efbe6a
Merge pull request #6105 from dmcgowan/test-add-error-testcontainerdrestart
Add error message to in TestContainerdRestart integration test
2021-10-11 09:55:33 -07:00
Phil Estes
2e3c8d5e63
Merge pull request #6110 from rgl/rgl-new-container-doc-typo
Fix typo in the NewContainer function documentation
2021-10-11 09:10:35 -07:00
Derek McGowan
1abe505121
Prepare release notes for v1.6.0-beta.0
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-10-11 08:42:07 -07:00
Derek McGowan
c5947557d8
Add error message to in TestContainerdRestart integration test
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-10-11 08:23:31 -07:00
Phil Estes
6927fc3276
Merge pull request #6104 from dmcgowan/update-cgroups
Update cgroups to v1.0.2
2021-10-10 20:17:07 -04:00
Rui Lopes
072a7074b4 Fix typo in the NewContainer function documentation
Signed-off-by: Rui Lopes <rgl@ruilopes.com>
2021-10-10 19:46:55 +01:00
Fu Wei
193bafc42c
Merge pull request #6100 from jonyhy96/cleanup-test 2021-10-09 18:54:16 +08:00
haoyun
ac2df3ba9a test: check file content after mount
Signed-off-by: haoyun <yun.hao@daocloud.io>
2021-10-09 18:19:34 +08:00
Derek McGowan
18d483b236
Update cgroups to v1.0.2
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-10-08 17:48:33 -07:00
Mike Brown
a4663097ec
Merge pull request #6107 from estesp/test-timeout
Update test timeout based on recent cancellations
2021-10-08 19:16:54 -05:00
Phil Estes
4ed3c524cf
Update test timeout based on recent cancellations
Signed-off-by: Phil Estes <estesp@amazon.com>
2021-10-08 16:10:55 -07:00
Derek McGowan
3f033aeff3
Merge pull request #6106 from dmcgowan/test-cri-teardown-check-pid
Check the pid in cri test teardown
2021-10-08 14:44:44 -07:00
Derek McGowan
d252a293df
Remove extra test_teardown
Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-10-08 13:08:13 -07:00
Derek McGowan
4a569c8894
Check the pid in cri test teardown
Prevent the test from failing when no pid is found
during teardown.

Signed-off-by: Derek McGowan <derek@mcg.dev>
2021-10-08 13:06:18 -07:00
Derek McGowan
cb6fb93af5
Merge pull request #6011 from crosbymichael/schedcore
add runc shim support for sched core
2021-10-08 10:42:16 -07:00
Derek McGowan
60ffa3ff7d
Merge pull request #5579 from claudiubelu/integration/restart-containerd
integration: Enables Windows containerd restart test
2021-10-08 10:33:10 -07:00
Derek McGowan
c01ebe7cfb
Merge pull request #6099 from dcantah/update-hcsshim-0.9
vendor: Bump hcsshim to 0.9.0
2021-10-08 10:28:19 -07:00
Derek McGowan
26ee1b1ee5
Merge pull request #4695 from crosbymichael/cri-class
[cri] Add CNI conf based on runtime class
2021-10-08 09:27:49 -07:00