Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
rootless: Add a note for disabling vhost-net config
Browse files Browse the repository at this point in the history
Add a note about degraded performance with disabling vhost-net.
Also, this is something that should be handled by the code in the
future.
We should typically try to minimise any extra setup steps required for
rootless and try to work towards having this work out of the box.

Signed-off-by: Archana Shinde <[email protected]>
  • Loading branch information
amshinde committed Dec 3, 2019
1 parent b43b1e8 commit afe50cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions how-to/how-to-use-rootless-kata-containers-with-podman.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ Disable `vhost-net` in the Kata configuration file, by commenting out the
$ sudo sed -i -e 's/^#disable_vhost_net = true/disable_vhost_net = true/' /etc/kata-containers/configuration.toml
```

The above step is required in Kata version 1.10.0-alpha1. In future releases, this should
no longer be required as Kata runtime should handle this automatically for rootless case.
This does mean you will get slightly degraded network performance.

### Modify the Kata images permissions

The current user needs to have read and write permissions for the kata image, write permissions are required
Expand Down

0 comments on commit afe50cd

Please sign in to comment.