Comments (2)
And now it is slightly better, when I've installed previously victoria-metrics-operator
chart
vm-operator.tf
resource "helm_release" "vm-operator" {
name = "vm-operator"
repository = "https://victoriametrics.github.io/helm-charts"
chart = "victoria-metrics-operator"
version = "0.29.2"
namespace = "monitoring"
timeout = 600
values = [file("${path.module}/values/vm-operator.yaml")]
}
But get a very, very long output with the error
│ Error: Provider produced inconsistent final plan
...
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.
from helm-charts.
Both issues were related to the enabled hashicorp/helm experimental option
experiments {
manifest = true
}
And a working config may looks like following
main.tf
# Terraform
terraform {
required_version = "~> 1.7"
required_providers {
helm = {
source = "hashicorp/helm"
version = "~> 2.1"
}
}
}
# Providers
provider "helm" {
kubernetes {
config_path = "/etc/rancher/k3s/k3s.yaml"
}
# experiments {
# manifest = true
# }
}
# Victoria Metrics kubernetes monitoring stack
resource "helm_release" "vm-stack" {
name = "vm-stack"
repository = "https://victoriametrics.github.io/helm-charts"
chart = "victoria-metrics-k8s-stack"
version = "0.19.4"
namespace = "monitoring"
create_namespace = true
timeout = 600
values = [file("${path.module}/vm-stack.yaml")]
}
vm-stack.yaml
# https://github.com/VictoriaMetrics/helm-charts/tree/master/charts/victoria-metrics-k8s-stack
# VM Single
vmsingle:
# https://docs.victoriametrics.com/operator/api.html#vmsinglespec
spec:
retentionPeriod: "90"
storage:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 100Gi
from helm-charts.
Related Issues (20)
- Publish helm charts also as an OCI package (e.g. on GHCR registry)
- victoria-metrics-k8s-stack - VMServiceScripe for the operator is created twice HOT 2
- vmsingle is deployed eventhough is set to false HOT 3
- Issue with default k8s VMRules. HOT 5
- Expose streaming aggregation config in vmagent chart HOT 3
- Labels should be truncated HOT 2
- Helm Charts: missing Ingress Definition for TLS
- Cannot support existingClaim and different pvc for different vmstorage pods at the same time HOT 12
- Add a `vmstorage.vmbackup.enabled` value to the `victoria-metrics-cluster` chart HOT 1
- Added values file option for -remoteWrite.relabelConfig & -remoteWrite.urlRelabelConfig HOT 3
- Allow setting `metricRelabelings` on ServiceMonitors
- Support options for vmagent to scrape targets via a proxy HOT 2
- Duplicated VictoriaMetrics datasource HOT 1
- [k8s-stack/kube-etcd] Cannot specify mTLS auth configuration HOT 2
- Custom container port name is not supported. HOT 3
- Outdated CRD on victoria-metrics-k8s-stack chart HOT 2
- config-reloader liveness checks failing in victoria-metrics-k8s-stack 0.21.0 HOT 3
- Typo in Role template for Victoria-metrics-operator HOT 1
- Setting Alertmanager's config-reloader container resources in victoria-metrics-k8s-stack values HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from helm-charts.