All Projects → giantswarm → Operatorkit

giantswarm / Operatorkit

Licence: apache-2.0
An opinionated Go framework for developing Kubernetes operators

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Operatorkit

Kooper
Kooper is a simple Go library to create Kubernetes operators and controllers.
Stars: ✭ 388 (+116.76%)
Mutual labels:  framework, library, operator
Round Anything
A set of OpenSCAD utilities for adding radii and fillets, that embodies a robust approach to developing OpenSCAD parts.
Stars: ✭ 122 (-31.84%)
Mutual labels:  framework, library
Petal
A modern, light CSS UI framework by Shakr
Stars: ✭ 113 (-36.87%)
Mutual labels:  framework, library
Pyrogram
Telegram MTProto API Client Library and Framework in Pure Python for Users and Bots
Stars: ✭ 2,252 (+1158.1%)
Mutual labels:  framework, library
Swift Screencapture
A Swift framework to easily capture the screen on OS X.
Stars: ✭ 105 (-41.34%)
Mutual labels:  framework, library
Tomorrowland
Lightweight Promises for Swift & Obj-C
Stars: ✭ 106 (-40.78%)
Mutual labels:  framework, library
Unity Raymarching Framework
A framework to easy implement raymarching in unity. Include lots of hash,noise,fbm,SDF,rotate functions
Stars: ✭ 129 (-27.93%)
Mutual labels:  framework, library
Loadingshimmer
An easy way to add a shimmering effect to any view with just one line of code. It is useful as an unobtrusive loading indicator.
Stars: ✭ 1,180 (+559.22%)
Mutual labels:  framework, library
Aerogameframework
AeroGameFramework is a Roblox game framework that makes development easy and fun. The framework is designed to simplify the communication between modules and seamlessly bridge the gap between the server and client.
Stars: ✭ 150 (-16.2%)
Mutual labels:  framework, library
Kratos
A modular-designed and easy-to-use microservices framework in Go.
Stars: ✭ 15,844 (+8751.4%)
Mutual labels:  framework, library
100 Lines Of Code Challenge Js
Write Everything in JavaScript under 100 Lines!!!😈
Stars: ✭ 157 (-12.29%)
Mutual labels:  framework, library
Zui
⬢ Zsh User Interface library – CGI+DHTML-like rapid application development with Zsh
Stars: ✭ 95 (-46.93%)
Mutual labels:  framework, library
Cdnjs
🤖 CDN assets - The #1 free and open source CDN built to make life easier for developers.
Stars: ✭ 9,270 (+5078.77%)
Mutual labels:  framework, library
Atlas.js
A component-based Node.js library to reduce boilerplate and provide sane project structure 🍻
Stars: ✭ 108 (-39.66%)
Mutual labels:  framework, library
Discord.js Menu
💬 Easily create Discord.js v12 embed menus with reactions and unlimited customizable pages.
Stars: ✭ 89 (-50.28%)
Mutual labels:  framework, library
Typin
Declarative framework for interactive CLI applications
Stars: ✭ 126 (-29.61%)
Mutual labels:  framework, library
Avalanche
Avalanche: a End-to-End Library for Continual Learning.
Stars: ✭ 151 (-15.64%)
Mutual labels:  framework, library
Keyboardhidemanager
Codeless manager to hide keyboard by tapping on views for iOS written in Swift
Stars: ✭ 57 (-68.16%)
Mutual labels:  framework, library
Best Of Web Python
🏆 A ranked list of awesome python libraries for web development. Updated weekly.
Stars: ✭ 1,118 (+524.58%)
Mutual labels:  framework, library
Fos
Web Components to turn your web app into a fake operating system
Stars: ✭ 151 (-15.64%)
Mutual labels:  framework, library

GoDoc CircleCI

operatorkit

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.

Features

  • CRD primitives to reliably create, watch and delete custom resources, as well as any Kubernetes runtime object.
  • Managing finalizers on reconciled objects, making sure the code is executed at least once for each create/delete/update event.
  • Guarantees to perform at least one successful deletion event reconciliation to avoid unnecessary, possibly expensive interactions with third party systems.
  • Resource wrapping to gain ability of composing resources like middlewares.
  • Control Flow Primitives that allow cancellation and repetition of resource implementations.
  • Independent packages. It is possible to use only certain parts of the library without being bound to all primitives it provides.
  • Ability to change behaviour that is often specific to an organization like logging and error handling.
  • Pause Reconciliation using pausing annotations on runtime objects to stop and resume reconciliation on demand.

Roadmap

For future planned features and breaking changes see the roadmap.

Docs

Integration Tests

You can simply create a kind cluster to run the integration tests.

kind create cluster

The 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/config

Now you can easily run the integration tests.

go test -v -tags=k8srequired ./integration/test/<test-name>

Once you did your testing you may want to delete your local test cluster again.

kind delete cluster

Projects using operatorkit

Giant Swarm operators using operatorkit.

Example

For a detailed state of art implementation, please see giantswarm/aws-operator.

Contributing & Reporting Bugs

See CONTRIBUTING for details on submitting patches, the contribution workflow as well as reporting bugs.

License

operatorkit is under the Apache 2.0 license. See the LICENSE file for details.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].