operator
by
VictoriaMetrics

Description: Kubernetes operator for Victoria Metrics

View on GitHub ↗

Summary Information

Updated 2 hours ago
Added to GitGenius on October 22nd, 2023
Created on May 9th, 2020
Open Issues & Pull Requests: 47 (+0)
Number of forks: 215
Total Stargazers: 576 (+0)
Total Subscribers: 15 (+0)

Issue Activity (beta)

Open issues: 31
New in 7 days: 2
Closed in 7 days: 1
Avg open age: 277 days
Stale 30+ days: 18
Stale 90+ days: 16

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 1

Top labels

  • enhancement (274)
  • bug (248)
  • question (137)
  • docs (22)
  • need more info (12)
  • waiting for release (9)
  • vmdistributed (8)
  • good first issue (7)

Repository Insights (GitGenius)

Median issue/PR response: 1.3 hours
Mean response time: 55.8 days
90th percentile: 70.0 days
Tracked items: 464

Most active contributors

Detailed Description

The VictoriaMetrics operator is a Kubernetes operator written in Go that manages Victoria Metrics deployments and monitoring configurations within Kubernetes clusters. It simplifies the installation, configuration, and lifecycle management of VictoriaMetrics applications while enabling application developers to define and manage their own observability configurations through Kubernetes Custom Resource Definitions.

The operator provides two sets of CRD objects for defining monitoring configurations. It supports Prometheus-compatible CRDs including ServiceMonitor, PodMonitor, PrometheusRule, Probe, and ScrapeConfig, ensuring API compatibility with prometheus-operator. Additionally, it offers VictoriaMetrics-native CRDs such as VMServiceScrape for scraping metrics from service-backed pods, VMPodScrape for pod-level metric scraping, VMRule for alerting and recording rules, VMProbe for blackbox exporter probing configurations, and VMScrapeConfig for flexible scrape configurations using any supported service discovery options.

A key feature is the operator's integration with vmbackupmanager, Victoria Metrics' advanced backup tool. This enables automated backup capabilities for both VMSingle and VMCluster deployments, allowing administrators to implement backup automation directly through CRD configuration rather than manual processes.

The operator addresses two distinct user personas. For Kubernetes cluster administrators, it streamlines the deployment and management of VictoriaMetrics infrastructure while providing the ability to delegate monitoring configuration responsibilities to application teams. For application developers, it enables self-service observability management by allowing them to define metrics scraping and alerting rules alongside their application deployments, treating monitoring configuration as part of the application lifecycle rather than a separate infrastructure concern.

GitGenius activity data shows the repository maintains active development with 464 tracked issues and pull requests. The median response latency for issues and PRs is 1.3 hours, indicating responsive community engagement. The most frequently used issue labels are enhancement with 180 occurrences, bug with 135 occurrences, and question with 64 occurrences, reflecting a healthy mix of feature development, bug fixes, and community support. The primary contributors tracked by GitGenius are f41gh7 with 1045 events, AndrewChubatiuk with 966 events, and makasim with 216 events, showing concentrated but distributed maintenance efforts.

The repository maintains connections with related Victoria Metrics projects through overlapping contributors, specifically linking to victoriametrics/victoriametrics, victoriametrics/helm-charts, and immich-app/immich. This indicates the operator is part of a broader ecosystem of Victoria Metrics tooling.

Configuration is managed through environment variables, allowing operators to set default options for component images, timeouts, and feature flags. The operator is tested against officially supported Kubernetes versions to ensure compatibility. Development requires kubebuilder v4, Go 1.23 or later, kubectl, and Docker, with the project supporting both unit tests and end-to-end tests on automatically configured Kind clusters. The operator is positioned as an alternative to Victoria Metrics' Helm charts, offering simplified management and advanced features for Kubernetes-native deployments.

operator
by
VictoriaMetricsVictoriaMetrics/operator

Repository Details

Fetching additional details & charts...