Overview
YDB is delivered as a Helm chart that is a package with templates of Kubernetes structures. You can deploy charts in the following environment:
- The Helm package manager of version higher than 3.1.0 is installed.
- Kubernetes version 1.20 or higher is used.
- Dynamic Volume Provisioning is supported in clusters.
A Helm chart installs a controller in the Kubernetes cluster. It implements the logic required for deploying YDB components. The controller is based on the pattern.
- Storage nodes: Provide the data storage layer.
To deploy each of the components, just create an appropriate resource: Storage or with the desired parameters. To learn more about the resource schema, follow this link.
- : A workload controller that assigns stable network IDs and disk resources to each container.
- Service: An object that is used to access the created databases from applications.
See the controller’s source code . The Helm chart is in the directory.
YDB containers are deployed using cr.yandex/yc/ydb
images. Currently, they are only available as prebuilt artifacts.