Commit Graph

20 Commits

Author SHA1 Message Date
Fabricio Voznika ddf37cb19f Reduce the number of steps to get started with gVisor
Streamline instruction for the common case.

PiperOrigin-RevId: 332488910
2020-09-18 11:21:06 -07:00
Ian Lewis 1ab097b08f Add note about kubeadm to the FAQ
Fixes #3277

PiperOrigin-RevId: 330853338
2020-09-09 20:13:15 -07:00
Ian Lewis fb281eea75 Fix formatting for Kubernetes tutorial
PiperOrigin-RevId: 330745430
2020-09-09 10:09:58 -07:00
Ian Lewis 00479af515 Add a Docker Compose tutorial
Adds a Docker Compose tutorial to the website that shows how to start a
Wordpress site and includes information about how to get DNS working.

Fixes #115

PiperOrigin-RevId: 330652842
2020-09-08 21:59:24 -07:00
Ian Lewis a8c174c047 Update version in cni tutorial
Update the cniVersion used in the CNI tutorial so that it works with
containerd 1.2. Containerd 1.2 includes a version of the cri plugin
(release/1.2) that, in turn, includes a version of the
cni library (0.6.0) that only supports up to 0.3.1.
https://github.com/containernetworking/cni/blob/v0.6.0/pkg/version/version.go#L38

PiperOrigin-RevId: 329837188
2020-09-02 19:38:34 -07:00
Ian Lewis 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
Ian Lewis a02b7534f2 Fix grouping and ordering of website menus
Groups subcategories and sorts their pages by weight properly. Subcategories
are sorted by name. Pages within subcategories are sorted by weight.

PiperOrigin-RevId: 324766128
2020-08-04 01:07:42 -07:00
gVisor bot c81ac8ec3b Merge pull request #2672 from amscanne:shim-integrated
PiperOrigin-RevId: 321053634
2020-07-13 16:10:58 -07:00
Adin Scannell 2afff44403 Update shim to build using bazel.
The go.mod dependency tree for the shim was somehow contradictory. After
resolving these issues (e.g. explicitly imported k8s 1.14, pulling a
specific dbus version), and adding all dependencies, the shim can now be
build as part of the regular bazel tree.

As part of this process, minor cleanup was done in all the source files:
headers were standardized (and include "The gVisor Authors" in addition
to the "The containerd Authors" if originally derived from containerd
sources), and comments were cleaned up to meet coding standards.

This change makes the containerd installation dynamic, so that multiple
versions can be tested, and drops the static installer for the VM image
itself.

This change also updates test/root/crictl_test.go and related utilities,
so that the containerd tests can be run on any version (and in cases
where it applies, they can be run on both v1 and v2 as parameterized
tests).
2020-07-09 17:39:47 -07:00
Ian Lewis e506fcd931 Add args and netns flag to runsc spec
Adds a netns flag to runsc spec that allows users to specify a network
namespace path when creating a sample config.json file. Also, adds the ability
to specify the command arguments used when running the container.

This will make it easier for new users to create sample OCI bundles without
having to edit the config.json by hand.

PiperOrigin-RevId: 320486267
2020-07-09 15:26:52 -07:00
Michael Pratt 8d2910a04d Explain how to bypass the Docker proxy
Neither myself nor bhaskerh@ can consistently remember how to do this.

PiperOrigin-RevId: 320407005
2020-07-09 09:04:47 -07:00
Michael Pratt 068716ddf3 Fix FAQ URL
The existing gvisor.dev/faq link returns 404 because the full URL has
mistakenly been capitalized.

PiperOrigin-RevId: 319233173
2020-07-01 08:53:44 -07:00
Mikael Mello be6e9bbf55
Fix typo in Wordpress tutorial page 2020-05-25 18:33:49 -03:00
Ian Lewis 61e6879882 Update the Docker quickstart to use 'runsc install'
PiperOrigin-RevId: 312573487
2020-05-20 16:05:49 -07:00
Adin Scannell 420b791a3d Minor formatting updates for gvisor.dev.
* Aggregate architecture Overview in "What is gVisor?" as it makes more sense
  in one place.

* Drop "user-space kernel" and use "application kernel". The term "user-space
  kernel" is confusing when some platform implementation do not run in
  user-space (instead running in guest ring zero).

* Clear up the relationship between the Platform page in the user guide and the
  Platform page in the architecture guide, and ensure they are cross-linked.

* Restore the call-to-action quick start link in the main page, and drop the
  GitHub link (which also appears in the top-right).

* Improve image formatting by centering all doc and blog images, and move the
  image captions to the alt text.

PiperOrigin-RevId: 311845158
2020-05-15 20:05:18 -07:00
Adin Scannell 1847165a8c Minor text updates and jquery ordering.
PiperOrigin-RevId: 311744091
2020-05-15 09:31:17 -07:00
gVisor bot a3f97a757a Merge pull request #2513 from amscanne:website-integrated
PiperOrigin-RevId: 311184385
2020-05-12 12:55:23 -07:00
Adin Scannell 5f3a256425 Add support for kramdown TOC. 2020-05-06 14:15:19 -07:00
Adin Scannell 3cb00c97e9 Add note about AArch64 support. 2020-05-06 14:15:18 -07:00
Adin Scannell 508e25b6d6 Adapt website to use g3doc sources and bazel.
This adapts the merged website repository to use the image and bazel
build framework. It explicitly avoids the container_image rules provided
by bazel, opting instead to build with direct docker commands when
necessary.

The relevant build commands are incorporated into the top-level
Makefile.
2020-05-06 14:15:18 -07:00