Skip to content
This repository was archived by the owner on Oct 6, 2021. It is now read-only.

rook/operator-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

6f60d9f · Oct 5, 2021

History

56 Commits
Oct 7, 2018
Jun 28, 2017
Jan 30, 2018
Jun 28, 2017
Aug 26, 2019
Aug 26, 2019
Jun 28, 2017
Oct 5, 2021
Dec 6, 2017
Sep 12, 2018
Aug 26, 2019
Dec 6, 2017

Repository files navigation

Kubernetes Operator Kit

This repo is deprecated in favor of other libraries and tools such as the Controller Runtime or Operator SDK.

A Kubernetes Operator is a controller for custom resources. The purpose of the operator kit is to provide a common library for implementing operators.

The library originated from the Rook operator but is independent. Much more thought needs to be put into API design, but at least provides the basis for the library with working code.

Features

The operator kit is a simple collection of features that will be useful for operators.

  • CRD handling: creating, retrieving, and watching CRDs on K8s 1.7+
  • TPR handling: creating, retrieving, and watching TPRs on versions prior to 1.7
  • Timing: helpers to timeout when taking too long or retry when when working with kubernetes resources

Roadmap

The operator kit is still in its infancy and needs plenty of work before it is considered stable.

  • Community collaboration on the requirements and design
  • Leader election for HA
  • Tests

The conversation has been started here.

Sample Code

To help you get started, a simple operator with a single custom resource is provided here.

Contributing

Contributions are welcome! See Contributing to get started.

Report a Bug

For filing bugs, suggesting improvements, or requesting new features, help out by opening an issue.

Licensing

The operator kit is under the Apache 2.0 license.

FOSSA Status