Class: Kube::Cluster::Standard::VictoriaMetrics::VLCluster

Inherits:
Object
  • Object
show all
Defined in:
lib/kube/cluster/standard/victoria_metrics/vl_cluster.rb

Overview

HA/clustered VictoriaLogs: vlstorage + vlselect + vlinsert components (the horizontally-scalable alternative to VLSingle). Retention lives on the vlstorage component, so configure the components in the block.

Instance Method Summary collapse

Constructor Details

#initialize(name:, &block) ⇒ VLCluster

Returns a new instance of VLCluster.



14
15
16
17
18
19
# File 'lib/kube/cluster/standard/victoria_metrics/vl_cluster.rb', line 14

def initialize(name:, &block)
  super() {
    .name = name
    instance_exec(&block) if block
  }
end