ydb-kubernetes-operator

module
v0.4.20-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 7, 2023 License: Apache-2.0

README

YDB Kubernetes Operator

The YDB Kubernetes operator deploys and manages YDB resources in a Kubernetes cluster.

Prerequisites

  1. Helm 3.1.0+
  2. Kubernetes 1.20+.
  3. 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:

  1. Make sure you have go 1.19 installed

  2. 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

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the ydb v1alpha1 API group +kubebuilder:object:generate=true +groupName=ydb.tech
Package v1alpha1 contains API Schema definitions for the ydb v1alpha1 API group +kubebuilder:object:generate=true +groupName=ydb.tech
cmd
internal
cms
ptr

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL