Class: Kube::Cluster::Standard::VictoriaMetrics::VLSingle

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

Overview

Single-node VictoriaLogs store.

Instance Method Summary collapse

Constructor Details

#initialize(name:, retention_period: "30d", &block) ⇒ VLSingle

Returns a new instance of VLSingle.



12
13
14
15
16
17
18
# File 'lib/kube/cluster/standard/victoria_metrics/vl_single.rb', line 12

def initialize(name:, retention_period: "30d", &block)
  super() {
    .name        = name
    spec.retentionPeriod = retention_period
    instance_exec(&block) if block
  }
end