16 Commits
Author SHA1 Message Date
Jing ChenandgVisor bot c822fc9ed0 Update gVisor's containerd quick start.
Adding ctr instructions for an easier verification.

PiperOrigin-RevId: 733017114
2025-03-03 12:25:27 -08:00
z63d 61b3df5d33 docs: Fix Shim Configuration link
Signed-off-by: Kaita Nakamura <kaita.nakamura0830@gmail.com>
2025-02-13 11:27:51 +09:00
Ayush RanjanandgVisor bot 4cf25cc44e Add instructions for configuring nvidia-container-runtime with containerd.
The only way to get containerd to use runsc shim correctly alongside
nvidia-container-runtime right now is to manually modify
/etc/containerd/config.toml after running `nvidia-ctk runtime configure`.

See https://github.com/google/gvisor/issues/10997#issuecomment-2423231931
and https://github.com/google/gvisor/issues/10997#issuecomment-2427611588.

Fixes #10997

PiperOrigin-RevId: 688264375
2024-10-21 14:05:01 -07:00
Bhautik 93f986a267 docs(k8s): updated apiVersion for RuntimeClass 2023-08-17 18:32:05 +05:30
Adin ScannellandgVisor bot 1ceb814544 Add default_applicable_licenses rules to packages.
PiperOrigin-RevId: 513581243
2023-03-02 10:50:04 -08:00
Etienne PerotandgVisor bot 241fd5344f gvisor.dev: Add Production Guide page.
This page does not document anything new, but it aims to be a
central document to list all the steps and considerations
necessary to run gVisor in a production environment.

This includes:

- How to make the decision to use sandboxing at all or not
  (which security benefits sandboxing bring, how to think
   about them).
- How to make the decision about which components to sandbox.
- What the security/performance tradeoffs are.
- How to minimize the performance impact.
- How to configure gVisor for best performance.

Also includes a crude comparative diagrams of various ways
to organize a typical production stack.

PiperOrigin-RevId: 466491023
2022-08-09 15:47:11 -07:00
Harm-Jan.Blok 49c97d8b25 Configuration needs to use options not option 2022-03-18 11:15:42 +01:00
Ian LewisandgVisor bot 39fdf0b950 Use containerd v2 config format in docs
Fixes #5170

PiperOrigin-RevId: 371007691
2021-04-28 16:28:46 -07:00
Naoki Oketani 92c642909b chore(docs): remove an extra back quote 2021-01-27 21:28:58 +09:00
Fabricio VoznikaandgVisor bot 99aa5eedcf Update containerd minimal version
PiperOrigin-RevId: 353340554
2021-01-22 16:28:00 -08:00
Fabricio VoznikaandgVisor bot 8b0f0b4d11 Delete shim v1
gvisor-containerd-shim is not compatible with containerd 1.1 or earlier.
Starting from containerd 1.2, shim v2 is the preferred interface.

PiperOrigin-RevId: 351485556
2021-01-12 17:54:10 -08:00
Fabricio VoznikaandgVisor bot 39f712f1d8 Add new shim debug options to docs
PiperOrigin-RevId: 342662753
2020-11-16 10:14:49 -08:00
Fabricio VoznikaandgVisor bot cf47c8b4a5 Improve shim debug logging
- Add log statements in service entry points.
- Propagate `-debug` flag from shim invokation to the service
- Load options when shim process is invoked to ensure runsc commands
  use the correct set of options, e.g. --debug --debug-logs=...
- Add debug options to the shim configuration directly, so it doesn't
  rely on containerd configuration (and restart) to enable shim debug.
- Save shim logs to dedicated file, so it's easier to read logs. They
  would be mixed with containerd logs and hard to distinguish
  otherwise.

PiperOrigin-RevId: 342179868
2020-11-12 19:11:35 -08:00
Ian LewisandgVisor bot 3bb5f7164e Update latest install docs to install containerd shim
PiperOrigin-RevId: 339182137
2020-10-26 22:01:56 -07:00
Ian LewisandgVisor bot 631dd5330d Various website fixes
- Formatting on the most recent blog post
- Add a link to faq from containerd docs
- Fix code in FAQ

PiperOrigin-RevId: 337001738
2020-10-13 18:59:45 -07:00
Ian LewisandgVisor bot 9873b8ea3e Add shim documentation to the website.
Add three new doc pages to the website.

- A containerd quick start covering containerd 1.2. This is limited to shim v2
  and runtime class as the docs would get too complicated explaining all the
  combinations that are possible. We want folks to use shim v2 and runtime
  class anyway.
- An advanced configuration page. This covers containerd and
  containerd-shim-runsc-v1's configuration options.
- A page for old versions (i.e. containerd 1.1). Notes that this is deprecated
  and supported on a best-effort basis.

Fixes #3279

PiperOrigin-RevId: 324775563
2020-08-04 02:43:44 -07:00