For the complete documentation index, see llms.txt. This page is also available as Markdown.

Validator Custom Resource Definition

This document provides an overview of the Validator Custom Resource Definition (CRD) in the Catalyst Blockchain Manager Canton system. It outlines the structure of the CRD and the components it deploys.

Structure of the Spec

The spec specifies every component needed to deploy a validator separately.

Component
CRD Location

Validator (core)

Top level of the spec

ANS/CNS UI

spec.applicationCantonNameServer.spec

Wallet UI

spec.walletUI.spec

Participant Node

spec.participant.spec

Provisioned Postgres Database

The database that is created is not represented in the spec. To increase the volume size (decreases are ignored), use:

spec.storageSize

Changing Component Specifications

Environment Variables

For all components, environment variables are present under spec.envVars. These can have the same format as in Pods and Deployments.

Resources

All components have a resource specification:

Field
Description

cpuLimit

Maximum CPU allocation

cpuRequested

Minimum CPU allocation

memoryLimit

Maximum memory allocation

memoryRequested

Minimum memory allocation

replicas

Number of instances (can be set to 0 or 1)

To scale down the validator, set every replicas field to 0.

Example CRD

Full example Validator CRD YAML

Last updated

Was this helpful?