controllers

package
v1.52.1 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CosmoGuardRpcPort         = 16657
	CosmoGuardLcdPort         = 11317
	CosmoGuardGrpcPort        = 19090
	CosmoGuardMetricsPortName = "fw-metrics"
	CosmoGuardMetricsPort     = 9001
	CosmoGuardEvmRpcPort      = 18545
	CosmoGuardEvmRpcWsPort    = 18546

	NonRootId = 1000

	CosmoseedName = "cosmoseed"

	AnnotationStateSyncTrustHeight    = "apps.k8s.nibiru.org/state-sync-trust-height"
	AnnotationStateSyncTrustHash      = "apps.k8s.nibiru.org/state-sync-trust-hash"
	AnnotationDataHeight              = "apps.k8s.nibiru.org/data-height"
	AnnotationSafeEvict               = "cluster-autoscaler.kubernetes.io/safe-to-evict"
	AnnotationConfigHash              = "apps.k8s.nibiru.org/config-hash"
	AnnotationDataInitialized         = "apps.k8s.nibiru.org/data-initialized"
	AnnotationGenesisDownloaded       = "apps.k8s.nibiru.org/genesis-downloaded"
	AnnotationVaultKeyUploaded        = "apps.k8s.nibiru.org/vault-key-uploaded"
	AnnotationPvcSnapshotInProgress   = "apps.k8s.nibiru.org/snapshotting-pvc"
	AnnotationLastPvcSnapshot         = "apps.k8s.nibiru.org/last-pvc-snapshot"
	AnnotationSnapshotRetention       = "apps.k8s.nibiru.org/snapshot-retention"
	AnnotationPvcSnapshotReady        = "apps.k8s.nibiru.org/snapshot-ready"
	AnnotationExportingTarball        = "apps.k8s.nibiru.org/exporting-tarball"
	AnnotationSnapshotIntegrityStatus = "apps.k8s.nibiru.org/snapshot-integrity-status"
	AnnotationPodSpecHash             = "apps.k8s.nibiru.org/pod-spec-hash"
	AnnotationVPAResources            = "apps.k8s.nibiru.org/vpa-resources"
	AnnotationVPALastCPUScale         = "apps.k8s.nibiru.org/last-cpu-scale"
	AnnotationVPALastMemoryScale      = "apps.k8s.nibiru.org/last-memory-scale"
	AnnotationStatefulSetPodName      = "statefulset.kubernetes.io/pod-name"

	LabelNodeID                = "node-id"
	LabelChainID               = "chain-id"
	LabelValidator             = "validator"
	LabelChainNode             = "chain-node"
	LabelChainNodeSet          = "nodeset"
	LabelChainNodeSetGroup     = "group"
	LabelChainNodeSetValidator = "validator"
	LabelGlobalIngress         = "global-ingress"
	LabelScope                 = "scope"
	LabelApp                   = "app"
	LabelSeed                  = "seed"
	LabelPeer                  = "peer"

	StringValueTrue  = "true"
	StringValueFalse = "false"

	EvmRpcPortName   = "evm-rpc"
	EvmRpcPort       = 8545
	EvmRpcWsPortName = "evm-rpc-ws"
	EvmRpcWsPort     = 8546

	AppTomlFile         = "app.toml"
	MinimumGasPricesKey = "minimum-gas-prices"
)
View Source
const (
	LabelWorkerName = "worker-name"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerRunOptions

type ControllerRunOptions struct {
	WorkerCount              int
	WorkerName               string
	NodeUtilsImage           string
	DisableWebhooks          bool
	CosmoGuardImage          string
	CosmoseedImage           string
	ReleaseName              string
	DisruptionCheckEnabled   bool
	DisruptionMaxUnavailable int
}

func (*ControllerRunOptions) GetDefaultPriorityClassName

func (opts *ControllerRunOptions) GetDefaultPriorityClassName() string

func (*ControllerRunOptions) GetNodesPriorityClassName

func (opts *ControllerRunOptions) GetNodesPriorityClassName() string

func (*ControllerRunOptions) GetValidatorsPriorityClassName

func (opts *ControllerRunOptions) GetValidatorsPriorityClassName() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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