virtink

module
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2022 License: Apache-2.0

README

VirTink: Modern and Light Virtualization Add-on for Kubernetes

build Go Report Card

VirTink is a Kubernetes add-on for running Cloud Hypervisor virtual machines. By using Cloud Hypervisor as the underlying hypervisor, VirTink enables a light and secure way to run fully virtualized workloads in a canonical Kubernetes cluster.

Compared to KubeVirt, VirTink:

  • does not use libvirt or QEMU. By leveraging Cloud Hypervisor, VMs has lower memory footprints, higher performance and smaller attack surface.
  • does not require a long-running per-Pod launcher process, which further reduces runtime overheads.
  • is an especially good fit for running fully isolated Kubernetes clusters in an existing Kubernetes cluster. See our Cluster API provider and the knest tool for more details.

VirTink consists of 3 components:

  • virt-controller is the cluster-wide controller, responsible for creating Pods to run Cloud Hypervisor VMs.
  • virt-daemon is the per-Node daemon, responsible for further controlling Cloud Hypervisor VMs on Node bases.
  • virt-prerunner is the per-Pod pre-runner, responsible for preparing VM networks and building Cloud Hypervisor VM configuration.

NOTE: VirTink is still a work in progress, its API may change without prior notice.

Prerequisites

VirTink relies on cert-manager 1.0 or above for SSL certificate management. You can install cert-manager as follows:

kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.8.0/cert-manager.yaml

Installation

VirTink can be installed as follows:

kubectl apply -f https://github.com/smartxworks/virtink/releases/download/v0.1.0/virtink.yaml

License

This project is distributed under the Apache License, Version 2.0.

Directories

Path Synopsis
cmd
virt-controller command
virt-daemon command
virt-prerunner command
pkg
apis/virt/v1alpha1
Package v1alpha1 is the v1alpha1 version of the API.
Package v1alpha1 is the v1alpha1 version of the API.
generated/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
generated/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
generated/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
generated/clientset/versioned/typed/virt/v1alpha1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
generated/clientset/versioned/typed/virt/v1alpha1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL