Class: Kube::Cluster::Standard::VictoriaMetrics::VMCluster
- Inherits:
-
Object
- Object
- Kube::Cluster::Standard::VictoriaMetrics::VMCluster
- Defined in:
- lib/kube/cluster/standard/victoria_metrics/vm_cluster.rb
Overview
HA/clustered VictoriaMetrics: vmstorage + vmselect + vminsert components (the horizontally-scalable alternative to VMSingle). Configure the three components in the block.
Instance Method Summary collapse
-
#initialize(name:, retention_period: "30d", &block) ⇒ VMCluster
constructor
A new instance of VMCluster.
Constructor Details
#initialize(name:, retention_period: "30d", &block) ⇒ VMCluster
Returns a new instance of VMCluster.
14 15 16 17 18 19 20 |
# File 'lib/kube/cluster/standard/victoria_metrics/vm_cluster.rb', line 14 def initialize(name:, retention_period: "30d", &block) super() { .name = name spec.retentionPeriod = retention_period instance_exec(&block) if block } end |