Skip to content

Commit

Permalink
fix: update Using a shim in Kubernetes
Browse files Browse the repository at this point in the history
  • Loading branch information
dierbei committed Jul 11, 2023
1 parent 5ca163a commit 43bdd2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ To use one of these containerd shims in Kubernetes, you must do the following:
1. Install the shim binary somewhere on the path of your Kubernetes worker nodes. For example, copy `containerd-shim-spin-v1` to `/bin`.
2. Add the following to the containerd config.toml that maps the runtime type to the shim binary from step 1.
```toml
[plugins.cri.containerd.runtimes.spin]
runtime_type = "io.containerd.spin.v1"
[plugins."io.containerd.grpc.v1.cri".containerd.runtimes.spin]
runtime_type = "io.containerd.spin.v1"
```
3. Apply a runtime class that contains a handler that matches the "spin" config runtime name from step 2.
```yaml
Expand Down

0 comments on commit 43bdd2f

Please sign in to comment.