Skip to content

YDB Operator allows you to deploy your own YDB cluster in Kubernetes

License

Notifications You must be signed in to change notification settings

ydb-platform/ydb-kubernetes-operator

Repository files navigation

YDB Kubernetes Operator

The YDB Kubernetes operator deploys and manages Yandex Database resources on a Kubernetes cluster.

Prerequisites

  1. Helm 3.1.0+
  2. Kubernetes 1.20+.
  3. kubectl
  4. Support for (Dynamic Volume Provisioning).

Limitations

  • The Operator currently runs on Yandex Cloud and EKS, other cloud providers have not been tested.
  • The Operator has not been tested with Istio.

Usage

For steps how to deploy and use YDB Kubernetes Operator, please refer to documentation.

Development

To build and test operator locally, do the following:

  1. Generate CustomResourceDefinitions:
make manifests
  1. Install them to the cluster pointed by your current kubeconfig:
make install
  1. Run the Operator:
make run
  1. Build and push the Operator Docker image to the registry. Use IMG variable to redefine image name:
IMG=cr.yandex/crpbo4q9lbgkn85vr1rm/operator:latest make docker-build docker-push