summaryrefslogtreecommitdiffhomepage
path: root/pkg
AgeCommit message (Collapse)Author
2020-05-14Fix externally-configured non-standard root paths (#60)Lorenz Brun
2020-05-05Remove unreachable code (#59)Lorenz Brun
2020-04-28Capture and publish OOM events (#57)Ian Lewis
* Capture and publish OOM events We use oom notifiers on the cgroup to publish oom events to containerd. This is passed back via CRI to Kubernetes etc. for more helpful error reporting. Fixes #56
2020-03-03Gather and return real statistics in Stats() (#50)Andrew Dunham @ Stripe
2019-12-05Make EmptyDir annotations compliant with K8s and OCI (#44)Fabricio Voznika
Change annotation from 'gvisor.dev/spec/mount/NAME/share', which is invalid because it has more than one '/', to 'dev.gvisor.spec.mount.NAME.share'.
2019-11-25Handle any volume type, not only tmpfs (#42)Fabricio Voznika
2019-10-09Support volume annotations (#40)Lantao Liu
* Add volume annotation support Signed-off-by: Lantao Liu <lantaol@google.com> * Add unit test. Signed-off-by: Lantao Liu <lantaol@google.com>
2019-05-29Create rootfs directory in shim. (#30)Lantao Liu
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-05-15Use context.Background for runtime.Wait. (#28)Lantao Liu
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-05-11Port shim fix (#27)Lantao Liu
Port shim fixes containerd/containerd#3264, containerd/containerd#3264 Update containerd to newest release/1.2 commit.
2019-04-08fix: apply runtime path from runcOption to opts.BinaryName (#22)jerryzhuang
enable to pass a custom runtime path to gvisor-containerd-shim Signed-off-by: zhuangqh <zhuangqhc@gmail.com>
2019-03-29Support task creation options passed by ContainerD 1.2.4 (#20)jmillikin-stripe
When ContainerD v1.2.4 creates a task, it may pass a *runctypes.CreateOptions in the request options field. This currently causes the gvisor-containerd-shim to reject the request. This PR allows the shim to handle requests with creation options set, and also slightly improves the error message so future failures of this kind are easier to localize to the shim. Fixes #19
2019-03-08Put the gvisor user log into sandbox log directory. (#17)Lantao Liu
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-01-30Update to containerd 1.2.2 (#14)Lantao Liu
* Update containerd to 1.2.2 Signed-off-by: Lantao Liu <lantaol@google.com> * Port https://github.com/containerd/containerd/pull/2803. Signed-off-by: Lantao Liu <lantaol@google.com>
2019-01-29Add containerd shim v2 support. (#13)Lantao Liu
* Update vendors Signed-off-by: Lantao Liu <lantaol@google.com> * Add containerd shim v2 support. Signed-off-by: Lantao Liu <lantaol@google.com> * Add test and doc for containerd-shim-runsc-v1. Signed-off-by: Lantao Liu <lantaol@google.com> * Address comments.
2019-01-15Port containerd fix https://github.com/containerd/containerd/pull/2877. (#12)Lantao Liu
Adds a timeout and cancel to shim fifo open Signed-off-by: Lantao Liu <lantaol@google.com>
2018-12-04Initial commitIan Lewis