An opinionated Go framework for developing Kubernetes operators
An opinionated Go framework for developing Kubernetes operators
:warning: Important: This library has been deprecated in favor of kubebuilder. Please, use kubebuilder if you want to create a new operator.
Package operatorkit implements an opinionated framework for developing
Kubernetes operators. It emerged as we extracted common functionality from a
number of the operators we developed at Giant Swarm. The goal of
this library is to provide a common structure for operator projects and to
encapsulate best practices we learned while running operators in production.
For future planned features and breaking changes see the roadmap.
You can simply create a kind
cluster to run the integration tests.
kind create clusterThe tests need to figure out how to connect to the Kubernetes cluster. Therefore we need to set an environment variable pointing to your local kube config.
export E2E_KUBECONFIG=~/.kube/configNow you can easily run the integration tests.
go test -v -tags=k8srequired ./integration/test/Once you did your testing you may want to delete your local test cluster again.
kind delete clusterGiant Swarm operators using operatorkit.
For a detailed state of art implementation, please see giantswarm/aws-operator.
See CONTRIBUTING for details on submitting patches, the contribution workflow as well as reporting bugs.
operatorkit is under the Apache 2.0 license. See the LICENSE file
for details.
No open issues yet, or sync has not completed.