# README
YDB Kubernetes Operator
The YDB Kubernetes operator deploys and manages YDB resources in a Kubernetes cluster.
Prerequisites
- Helm 3.1.0+
- Kubernetes 1.20+.
- kubectl
Limitations
- The Operator currently runs on Yandex Cloud and Amazon EKS, other cloud providers have not been tested.
- The Operator has not been tested with Istio.
Usage
For steps on how to deploy and use YDB Kubernetes Operator, please refer to documentation.
Development
To build and test operator locally, do the following:
-
Make sure you have
go
1.19 installed -
Generate CustomResourceDefinitions:
make manifests
- Install them to the cluster pointed by your current
kubeconfig
:
make install
- Run the Operator:
make run
- 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