Lantao Liu
fe5a21d977
Merge pull request #497 from mikebrow/doc-crictl
...
add docs for using crictl
2017-12-13 17:54:48 -08:00
Lantao Liu
d420ff30e6
Merge pull request #499 from Random-Liu/update-readme
...
Update README.md.
2017-12-13 17:09:04 -08:00
Mike Brown
44d647cf96
add docs for using crictl
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-12-13 18:39:35 -06:00
Lantao Liu
7ddd0bb5dc
Update README.md.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-14 00:32:30 +00:00
Lantao Liu
f47a72a86e
Merge pull request #498 from Random-Liu/add-os-and-arch
...
Add OS and arch in release tarball.
2017-12-13 15:53:05 -08:00
Daniel Nephin
9184908075
Fix image pull after a failure
...
When resuming from a failed pull writer.Truncate() was not
seeking to the proper position in the file. This caused writes to
happen after the previously written content, instead of at the start
of the file.
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-12-13 18:24:12 -05:00
Lantao Liu
ec975b2e7a
Add OS and arch in release tarball.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-13 23:03:03 +00:00
Michael Crosby
6ae0f5f7e2
Add error metric for stress tests
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-12-13 13:15:07 -05:00
Lantao Liu
737efe70a7
Merge pull request #493 from Random-Liu/minor-cleanup
...
Minor cleanup.
2017-12-12 23:30:47 -08:00
yason
224417aab7
add testcase for event.exchange and refactor
...
Signed-off-by: yason <yan.xuean@zte.com.cn>
2017-12-13 12:15:50 +08:00
Lantao Liu
e4753edf0a
Minor cleanup.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-13 03:15:01 +00:00
Lantao Liu
303d48286e
Merge pull request #494 from yanxuean/nits
...
cleanup some comment for removeImage
2017-12-12 19:12:58 -08:00
yason
6c9a837b7a
cleanup some comment for removeImage
...
Signed-off-by: yason <yan.xuean@zte.com.cn>
2017-12-13 10:07:52 +08:00
Lantao Liu
a0aa5fd7df
Merge pull request #490 from Random-Liu/cleanup-kube-up
...
Cleanup kube up
2017-12-12 16:39:47 -08:00
Lantao Liu
a9c7237e67
Merge pull request #470 from mikebrow/debug-image
...
adding info map for verbose image status
2017-12-12 15:09:57 -08:00
Stephen J Day
9aeeefae55
cmd/ctr: stablize output of snapshot tree
...
Preserves the order of the tree output between each execution. Slightly
refactored the behavior to be more "object oriented".
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-12-12 14:50:05 -08:00
Mike Brown
31223fd5b1
adds oci image spec to image info placed into imagestore
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-12-12 15:58:07 -06:00
Daniel Nephin
f34d030178
Add unit test for cio
...
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-12-12 16:52:16 -05:00
Christy Perez
1607a9e0ca
check for threshold, not range
...
This test seems to fall apart on a loaded system. In actuality it
doesn't seem to be testing for a threshold, but a "sane" range.
Signed-off-by: Christy Perez <christy@linux.vnet.ibm.com>
2017-12-12 15:52:11 -06:00
Lantao Liu
cbda4256cd
Merge pull request #487 from yanxuean/image-improve
...
improve image
2017-12-12 11:58:43 -08:00
Mike Brown
03ac989644
adding info map for verbose image status
...
Signed-off-by: Mike Brown <brownwm@us.ibm.com>
2017-12-12 13:44:08 -06:00
Lantao Liu
c9b279bb79
Merge pull request #479 from Random-Liu/improve-container-sandbox-status
...
Improve container sandbox status
2017-12-12 11:42:51 -08:00
Michael Crosby
652e078078
Add commit to stress metric
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-12-12 14:14:39 -05:00
Michael Crosby
4d55298aab
Add prom timer to stress
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-12-12 14:05:14 -05:00
Phil Estes
03bc5e974d
Merge pull request #1906 from stevvooe/change-on-oom-failure
...
server: only warn on failed OOM score adjust
2017-12-12 11:09:59 -05:00
Michael Crosby
cb423f8360
Merge pull request #1907 from Random-Liu/fix-deadlock
...
Fix a containerd deadlock.
2017-12-12 10:38:19 -05:00
yason
5f6d9a5fcc
reliably remove image when content missing
...
Signed-off-by: yason <yan.xuean@zte.com.cn>
2017-12-12 18:44:59 +08:00
yason
4762b3e273
remove taskService and imageStoreService
...
Signed-off-by: yason <yan.xuean@zte.com.cn>
2017-12-12 16:51:22 +08:00
Lantao Liu
f70c579c3a
Create symlink to avoid duplicate cloud init.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-12 08:38:53 +00:00
Lantao Liu
3f008a9353
Add cluster
directory and health-monitor.sh.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-12 08:38:52 +00:00
Lantao Liu
5003c61849
Merge pull request #480 from miaoyq/fix-466
...
Switch to a tmp GOPATH for `make install.deps`
2017-12-12 02:24:14 -06:00
Yanqiang Miao
ea88668f1c
Switch to a tmp GOPATH for make install.deps
...
Signed-off-by: Yanqiang Miao <miao.yanqiang@zte.com.cn>
2017-12-12 14:35:41 +08:00
Lantao Liu
0eebf9051b
Fix containerd deadlock.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-12 01:45:14 +00:00
Lantao Liu
0603d630be
Merge pull request #426 from Random-Liu/restart-test-for-sandbox
...
Add restart test for sandbox recovery.
2017-12-11 18:12:44 -06:00
Stephen J Day
af5d03e8e9
server: only warn on failed OOM score adjust
...
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-12-11 14:32:56 -08:00
Lantao Liu
f4c572fba7
Add restart test for sandbox recovery.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-11 21:21:08 +00:00
Daniel Nephin
7d4337e738
Reduce the number of IO constructors
...
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-12-11 15:07:09 -05:00
Darren Stahl
c71bee7b8a
Vendor go-winio
...
Signed-off-by: Darren Stahl <darst@microsoft.com>
2017-12-11 11:43:42 -08:00
Lantao Liu
dd017e6e6c
Move less important function to the end.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-11 18:45:57 +00:00
Lantao Liu
b25b06577e
Improve container and sandbox status.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2017-12-11 18:45:56 +00:00
Michael Crosby
ca5f16c33e
Move stress worker to new file
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-12-11 10:36:19 -05:00
Michael Crosby
9fcca96771
Add json output to stress test tool
...
Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2017-12-11 10:33:55 -05:00
yason
41c8763e2b
improve calling for content
...
Signed-off-by: yason <yan.xuean@zte.com.cn>
2017-12-11 15:28:10 +08:00
Daniel Nephin
a901091f7c
Rename cio.Creation to cio.Creator
...
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-12-08 14:26:10 -05:00
Daniel Nephin
3146019918
Refactor cio.DirectIO
...
New code duplication
Better re-use from consumers of the cio package
TODO: io_windows.go
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-12-08 14:26:10 -05:00
Daniel Nephin
f79ec5b55f
Cleanup cio.FIFOSet interface
...
Remove duplication with cio.Config
unexport newFIFOSetTempDir() since it includes hardcoded paths
Expose os.RemoveAll() as part of FIFOSet instead of a Dir
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-12-08 14:26:10 -05:00
Phil Estes
6393165b09
Merge pull request #1894 from dnephin/cio-cancel-close
...
Always IO.Cancel() before IO.Close()
2017-12-08 12:38:51 -05:00
Phil Estes
dc4533d386
Merge pull request #1901 from stevvooe/update-components
...
RELEASES.md: update components for 1.0 release
2017-12-08 12:37:13 -05:00
Stephen J Day
57bf39194b
RELEASES.md: update components for 1.0 release
...
This should have been updated at release time, but the GRPC API and the
metrics API is considered stable as of the 1.0 release. This means that
changes that break compatibility with previous versions of containerd
will no longer be accepted.
As part of this update, I am also proposing that we push out Go API
stability to 1.2 so that we can incorporate feedback from the Windows
integration in 1.1.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2017-12-08 10:31:01 -06:00
Daniel Nephin
65665ab807
Always Cancel before Close
...
Document this contract.
Signed-off-by: Daniel Nephin <dnephin@gmail.com>
2017-12-08 10:30:36 -05:00