roperator

Experimental Kubernetes Operator kit written in Rust

Documentation:

This project is maintained by psFried

Upgrade Guide

Once Roperator version 1.0 is released, it will strictly adhere to semantic versioning. For pre-1.0 releases (e.g. 0.1, 0.2) there will be breaking changes with each minor version change (e.g. from 0.1.x to 0.2.x). This guide will attempt to enumerate all of these breaking changes.

0.1.x to 0.2.x

There were a number of breaking changes in the 0.2.0 release. Most of them were in the roperator::request module, and were made in order to provide a nicer API for retrieving child resources from the SyncRequest.

SyncRequest:

RequestChildren:

TypedView:

RawView:

There were also a number of breaking changes in the roperator::resource module. These were mostly to simplify dealing with Kubernetes resources that are represented as plain JSON. Every resource has a type (represented by an apiVersion and kind) and an id (represented by metadata.namespace and metadata.name). The representations of these have been simplified, and various things were added/changed to allow functions to accept a variety of representations of these.

The tokio depencency:

The tokio dependency has been updated to version 0.2, which has a number of nice, but breaking, changes. Most users will likely not be affected by this, but it does impact users who rely on the function roperator::runner::start_operator_with_runtime.