gardener-extension-provider-kubevirt

module
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2020 License: Apache-2.0, MIT

README

Gardener Extension for KubeVirt provider

CI Build status Go Report Card

Project Gardener implements the automated management and operation of Kubernetes clusters as a service. Its main principle is to leverage Kubernetes concepts for all of its tasks.

Recently, most of the vendor specific logic has been developed in-tree. However, the project has grown to a size where it is very hard to extend, maintain, and test. With GEP-1 we have proposed how the architecture can be changed in a way to support external controllers that contain their very own vendor specifics. This way, we can keep Gardener core clean and independent.

This extension implements Gardener's extension contract for the KubeVirt provider. It includes KubeVirt-specific controllers for Infrastructure, ControlPlane, and Worker resources, as well as KubeVirt-specific control plane webhooks. Unlike other provider extensions, it does not include controllers for BackupBucket and BackupEntry resources, since KubeVirt as technology is not concerned with backup storage. Use the Gardener extension for your respective cloud provider to backup and restore your ETCD data. On OpenShift clusters, use Gardener extension for OpenShift provider.

An example for a ControllerRegistration resource that can be used to register the controllers of this extension with Gardener can be found here.

Please find more information regarding the extensibility concepts and a detailed proposal here.

Supported Kubernetes versions

This extension supports the following Kubernetes versions:

Version Support Conformance test results
Kubernetes 1.19 not tested N/A
Kubernetes 1.18 1.18.0+ N/A
Kubernetes 1.17 1.17.0+ N/A
Kubernetes 1.16 not tested N/A
Kubernetes 1.15 not tested N/A

Please take a look here to see which versions are supported by Gardener in general.


How to start using or developing this extension locally

You can run the extension locally on your machine by executing make start.

Static code checks and tests can be executed by running make verify. We are using Go modules for Golang package dependency management and Ginkgo/Gomega for testing.

Feedback and Support

Feedback and contributions are always welcome. Please report bugs or suggestions as GitHub issues or join our Slack channel #gardener (please invite yourself to the Kubernetes workspace here).

Learn more!

Please find further resources about out project here:

Directories

Path Synopsis
charts
gardener-extension-provider-kubevirt
Package chart enables go:generate support for generating the correct controller registration.
Package chart enables go:generate support for generating the correct controller registration.
cmd
pkg
apis/config/v1alpha1
Package v1alpha1 contains the KubeVirt provider configuration API resources.
Package v1alpha1 contains the KubeVirt provider configuration API resources.
apis/kubevirt/v1alpha1
Package v1alpha1 contains the kubevirt provider API resources.
Package v1alpha1 contains the kubevirt provider API resources.
cmd
mock/client
Package client is a generated GoMock package.
Package client is a generated GoMock package.
mock/kubevirt
Package kubevirt is a generated GoMock package.
Package kubevirt is a generated GoMock package.
mock/worker
Package worker is a generated GoMock package.
Package worker is a generated GoMock package.

Jump to

Keyboard shortcuts

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