-
Notifications
You must be signed in to change notification settings - Fork 341
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prometheus Operator CRDs #341
Comments
@k1rk WDYT, Should we embed it into k8s-stack? |
I'm curious about this too. I'm running vm k8s stack instead of prometheus, tried to add But I have no idea how much work this would be or if operator-level compatibility is something the VM team wants to chase. |
As a workaround, I'd recommend deploying |
Sure. I can add the CRDs to get the other monitoring chart to load. But I still need to either translate it's CRDs into VM operator CRDs or run a |
The VM operator can do the translation for you. Just put
into your values.yaml. (No clue why the converter is disabled by default, tbh) |
Oh, nice! I hadn't waded through the vm stack chart enough to spot this. Thank you! |
I was under the impression that Please implement some workaround for this issue, I see that operator already has all those CRDs in one file in the |
I have a very similar issue with installing Helm chart applications that do use For me, things got accidentally working, but only cause Loki's Helm chart brings |
+1 I thought that vm has those definitions, maybe under variable in case on any conflicts if you already has definitions in the you cluster. But for now I need to install CRD from prometheus-operator and then I need to install vm-stack. And I should monitor updates for both charts. From other hand it is super logical because with very high chance you already have an installed prometheus CRDs, because it is a standard. |
I've an issue to install Should we first install Values, like following does not help victoria-metrics-operator:
createCRD: true
operator:
disable_prometheus_converter: false
|
@air3ijai this is a different issue, unrelated to this one (which is about the prometheus operator CRDs), but if you want to deploy something through terraform's kubernetes provider, you have to make sure the ordering is right, because terraform can't check a resource state unless the CRD is present in the cluster, which makes it really hard and cumbersome to use. Just use the helm provider instead. |
Yes, I'm using a 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"
timeout = 600
values = [file("${path.module}/values/vm-stack.yaml")]
} Moved here - #924. |
* add prometheus-operator-crds (#341) * ff --------- Co-authored-by: Oleksandr Bilko <[email protected]>
Hello. I have
victoria-metrics-k8s-stack
deployed into my cluster. I'm trying to install some other helm charts, likenginx
with theserviceMonitor
option enabled, which createsServiceMonitor
CRD.And I'm getting this error:
Why doesn't
victoria-metrics-k8s-stack
include Prometheus Operator CRDs likeServiceMonitor
?The text was updated successfully, but these errors were encountered: