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 OpenShift provider.
It includes OpenShift-specific controllers for BackupBucket
and BackupEntry
resources.
Unlike other provider extensions, it does not include controllers for Infrastructure
, ControlPlane
, and Worker
resources, as well as provider-specific control plane webhooks.
Since OpenShift Virtualization is based on KubeVirt, use Gardener extension for KubeVirt provider with an OpenShift cluster.
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.
This extension supports the following Kubernetes versions:
Version | Support |
---|---|
Kubernetes 1.19 | not tested |
Kubernetes 1.18 | 1.18.0+ |
Kubernetes 1.17 | 1.17.0+ |
Kubernetes 1.16 | not tested |
Kubernetes 1.15 | not tested |
Please take a look here to see which versions are supported by Gardener in general.
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 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).
Please find further resources about out project here:
- Our landing page gardener.cloud
- "Gardener, the Kubernetes Botanist" blog on kubernetes.io
- "Gardener Project Update" blog on kubernetes.io
- GEP-1 (Gardener Enhancement Proposal) on extensibility
- GEP-4 (New
core.gardener.cloud/v1alpha1
API) - Extensibility API documentation
- Gardener Extensions Golang library
- Gardener API Reference