Skip to content
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

[opentelemetry-kube-stack]: Prometheus presets not working due to templating #1453

Open
cabrinha opened this issue Dec 6, 2024 · 1 comment
Assignees
Labels
bug Something isn't working chart:kube-stack

Comments

@cabrinha
Copy link
Contributor

cabrinha commented Dec 6, 2024

In the promethus section at the bottom of the values file, only these two options are working:

      kubernetesServiceMonitors:
        enabled: true
      kubelet:
        enabled: true

All the other options error when enabled:

Unable to save changes: application spec for opentelemetry-kube-stack is invalid: InvalidSpecError: Unable to generate manifests in : rpc error: code = Unknown desc = `helm template . --name-template opentelemetry-kube-stack --namespace ns --kube-version 1.26 --values /tmp/96b29881-e6f8-4b5f-a515-b1444bff2595/opentelemetry-kube-stack/values.yaml --values /tmp/d5a1357e-cd52-4b22-a365-57da814a6775 <api versions removed> --include-crds` failed exit status 1: Error: template: opentelemetry-kube-stack/templates/exporters/kube-scheduler/servicemonitor.yaml:19:6: executing "opentelemetry-kube-stack/templates/exporters/kube-scheduler/servicemonitor.yaml" at <include "servicemonitor.scrapeLimits" .Values.kubeScheduler.serviceMonitor>: error calling include: template: no template "servicemonitor.scrapeLimits" associated with template "gotpl" Use --debug flag to render out invalid YAML
@jaronoff97 jaronoff97 self-assigned this Dec 6, 2024
@jaronoff97
Copy link
Contributor

I will look into this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working chart:kube-stack
Projects
None yet
Development

No branches or pull requests

3 participants