Repository navigation
Conversation
The kind tutorial replaced the containerd configuration of the kind node with `containerd config default`, which uses the newer format of containerd. The urunc runtime that the tutorial then appended in the old format was ignored. The tutorial also installed Qemu from the distribution, Firecracker from its release and Solo5 from source, and cloned urunc from its old repository. Install urunc with urunc-deploy instead. It installs urunc and the monitors in the node and adds urunc to the existing containerd configuration, in the same format. Hence, nothing needs to be built or installed in the node by hand. Nested virtualization is not needed either, since the kind node is a container. To reach NGINX from the host, expose it with a `NodePort` Service and map that port of the node to port 8080 of the host. Also, indent the content of each step by 4 spaces, so that mkdocs renders each step as a single list. In the installation guide, take the monitors-build release from docs/variables/versions.yml and pick the archive of the architecture through the GitHub API. Note that solo5-hvt also needs libseccomp-dev. Finally, write the output of `containerd config migrate` to a new file, since redirecting it to the configuration file emptied that file before containerd could read it. Signed-off-by: Charalampos Mainas <charalampos.mainas@gmail.com>
The keys of urunc's configuration file (e.g. path and socket_path) are TOML fields, but the docs called them options. So change the docs to refer them as fields in the text. The anchors of the monitor and extra binary sections become #monitor-fields and #extra-binaries-fields. Signed-off-by: Charalampos Mainas <charalampos.mainas@gmail.com>
✅ Deploy Preview for urunc ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The kind tutorial did not work on a current kind node. The tutorial replaced the
containerdconfiguration of the node withcontainerd config default. The default configuration has a newer format than the appendeduruncruntime table. As a result,containerdignored theuruncruntime. The tutorial also ended before any request reached NGINX.This PR changes the tutorial and installs
uruncwithurunc-deploy, as the Kubernetes tutorial does. The tutorial does not edit thecontainerdconfiguration or builds monitors by hand. Furthermore, since kind node runs in a Docker container and the host cannot reach the Pods directly, add in the tutorial a step for a port mapping of the cluster exposes port30080of the node as port8080of the host. ANodePortService forwards port30080to NGINX making acurlfrom the host get the NGINX page.In addition, change the installation guide to take the monitors-build release from
docs/variables/versions.yml. A new release needs a change only inversions.yml. The commands pick the archive of the host's architecture through the GitHub API and verify its SHA-256 checksum. The installation guide also gets a few fixes:uruncruntime table depends on theversionfield of thecontainerdconfiguration, not on thecontainerdrelease.containerd config migratecommand wrote the output to the input file. The shell empties the input file beforecontainerdreads the input file. The new command writes to a new file first and then replaces the old file.solo5-hvtandsolo5-sptrequireslibseccomp-devandpkg-config.At last, use the word "fields" for the keys of
urunc's configuration instead of "options". The docs use "options" for the command line options of the monitors too. The anchors#monitor-optionsand#extra-binaries-optionsbecome#monitor-fieldsand#extra-binaries-fields. No page links to the old anchors.Related issues
How was this tested?
Running the kind tutorial.
LLM usage
Opus 5.5 for grammar and spelling fixes.
Checklist
make lint).make test_ctr,make test_nerdctl,make test_docker,make test_crictl).