Skip to content


Repository files navigation

Release Kubernetes Build Status

Piraeus Operator

The Piraeus Operator manages LINSTOR clusters in Kubernetes.

All components of the LINSTOR software stack can be managed by the operator:

  • DRBD
  • LINSTOR CSI driver
  • LINSTOR High-Availability Controller

Legacy Operator

The previous version of Piraeus Operator is still available here.

If you are currently using Piraeus Operator v1, please continue to use it. It will be maintained, receiving updates to fix issues or new software versions until a stable upgrade path to v2 is available.


To deploy Piraeus Operator v2 from this repository, simply run:

$ kubectl apply --server-side -k ""
# Verify the operator is running:
$ kubectl wait pod --for=condition=Ready -n piraeus-datastore -l
pod/piraeus-operator-controller-manager-dd898f48c-bhbtv condition met

Now you can create a basic storage cluster by applying the LinstorCluster resource.

$ kubectl apply -f - <<EOF
kind: LinstorCluster
  name: linstorcluster
spec: {}


Tutorials help you get started with Piraeus Operator.

How-To Guides show you how to configure a specific aspect or achieve a specific task with Piraeus Operator.

The API Reference for the Piraeus Operator. Contains documentation of the LINSTOR related resources that the user can modify or observe.

These documents explain how Piraeus Datastore works, and why it works the way it does.

Missing features

These are features that are currently present in Operator v1, and not yet available in this version of Operator v2:

  • Backup of LINSTOR database before upgrades


Please see the dedicated UPGRADE document


If you'd like to contribute, please visit and look through the issues to see if there is something you'd like to work on. If you'd like to contribute something not in an existing issue, please open a new issue beforehand.

If you'd like to report an issue, please use the issues interface in this project's github page.

Building and Development

This project is built using the operator-sdk. Please refer to the documentation for the sdk.


Apache 2.0