kubevirt / user-guide

This user guide will walk you through installation and various features.
https://kubevirt.io/user-guide
Apache License 2.0
64 stars 235 forks source link
documentation hacktoberfest kubernetes virtualization

KubeVirt User-Guide

Netlify Status

Contributing contents

We more than welcome contributions to KubeVirt documentation. Please reach out if you happen to have an idea or find an issue with our contents!

Get started

Fork this repository

Make changes to your fork

You can find the markdown that powers the user guide in ./docs, most commits are to that area.

We use mkdocs markdown engine with mkdocs-awesome-pages plugin

Sign your commits

Signature verification on commits are required -- you may sign your commits by running:

$ git commit -s -m "The commit message" file1 file 2 ...

If you need to sign all commits from a certain point (for example, main), you may run:

git rebase --exec 'git commit --amend --no-edit -n -s' -i main

Signed commit messages generally take the following form:

<your commit message>

Signed-off-by: <your configured git identity>

Test your changes locally:

$ make build_img
$ make check_spelling
$ make check_links
$ make run

NOTE If you use docker you may need to set CONTAINER_ENGINE and BUILD_ENGINE:

$ export CONTAINER_ENGINE=docker
$ export BUILD_ENGINE=docker
$ make run

Open your web browser to http://0.0.0.0:8000 and validate page rendering

Create a pull request to kubevirt/user-guide

After you have vetted your changes, make a PR to kubevirt/user-guide so that others can review.

Makefile Help

Makefile for user-guide mkdocs application

Usage:
  make <target>

Env Variables:
  CONTAINER_ENGINE      Set container engine, [*podman*, docker]
  BUILD_ENGINE          Set build engine, [*podman*, buildah, docker]
  SELINUX_ENABLED       Enable SELinux on containers, [*False*, True]
  LOCAL_SERVER_PORT     Port on which the local mkdocs server will run, [*8000*]

Targets:
  help                   Show help
  check_links            Check external and internal links
  check_spelling         Check spelling on site content
  build_img  Build image: userguide
  build_image_yaspeller  Build image: yaspeller
  build                  Build site. This target should only be used by Prow jobs.
  run                    Run site.  App available @ http://0.0.0.0:8000
  status                 Container status
  stop                   Stop site
  stop_yaspeller         Stop yaspeller image

Environment Variables

Targets:

Getting help

Developer

Privacy