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.
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.storageSizeChanging 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:
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
Last updated
Was this helpful?