Comments (5)
Hey @eilonmonday. I am not able to reproduce this locally, on Kubernetes 1.25
$ helm repo add grafana https://grafana.github.io/helm-charts
$ helm repo update
$ kubectl create namespace pyroscope-test
$ curl -Lo values-micro-services.yaml https://raw.githubusercontent.com/grafana/pyroscope/main/operations/pyroscope/helm/pyroscope/values-micro-services.yaml
$ helm -n pyroscope-test install pyroscope grafana/pyroscope --values values-micro-services.yaml
All of those commands succeed.
It would be good if you could provide a few more details about when you see the error and also if and how you modified values-microservices.yaml
from pyroscope.
maybe helm or Go version?
~/helmtest]$ helm version
version.BuildInfo{Version:"v3.9.2", GitCommit:"1addefbfe665c350f4daf868a9adc5600cc064fd", GitTreeState:"clean", GoVersion:"go1.17.12"}
reproduce error:
~/helmtest]$ curl -Lo values-micro-services.yaml https://raw.githubusercontent.com/grafana/pyroscope/main/operations/pyroscope/helm/pyroscope/values-micro-services.yaml
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2336 100 2336 0 0 7277 0 --:--:-- --:--:-- --:--:-- 7277
~/helmtest]$ helm template pyroscope grafana/pyroscope --values ./values-micro-services.yaml --dry-run --debug
install.go:178: [debug] Original chart version: ""
install.go:195: [debug] CHART PATH: /home/jtorres/.cache/helm/repository/pyroscope-1.4.0.tgz
Error: template: pyroscope/templates/deployments-statefulsets.yaml:100:70: executing "pyroscope/templates/deployments-statefulsets.yaml" at <$values.readinessProbe>: wrong type for value; expected map[string]interface {}; got interface {}
helm.go:84: [debug] template: pyroscope/templates/deployments-statefulsets.yaml:100:70: executing "pyroscope/templates/deployments-statefulsets.yaml" at <$values.readinessProbe>: wrong type for value; expected map[string]interface {}; got interface {}
Regardless of that, if you want to fix the problem, as I said in my other comment, just need a little change on the helm chart.
from pyroscope.
I reproduced it too. kubernetes version v1.25.6
steps:
$ helm repo add grafana https://grafana.github.io/helm-charts
"grafana" has been added to your repositories
$ helm repo update
$ helm -n kube-system install pyroscope grafana/pyroscope
Error: INSTALLATION FAILED: template: pyroscope/templates/deployments-statefulsets.yaml:100:70: executing "pyroscope/templates/deployments-statefulsets.yaml" at <$values.readinessProbe>: wrong type for value; expected map[string]interface {}; got interface {}
$ helm version
version.BuildInfo{Version:"v3.9.0", GitCommit:"7ceeda6c585217a19a1131663d8cd1f7d641b2a7", GitTreeState:"clean", GoVersion:"go1.17.5"}
from pyroscope.
FWIW: I had this issue, I resolved it by updating helm
from pyroscope.
In our case, we are using helm v3.8.1, which is using golang 1.16.
It seems that before golang 1.18, all arguments are evaluated.
Ref: https://tip.golang.org/doc/go1.18#htmltemplatepkghtmltemplate
from pyroscope.
Related Issues (20)
- Panic: Index out of range error when merging profiles HOT 1
- Compaction lag leads to blocks becoming unavailable
- [DOC] Create a landing page for Pyroscope docs
- AI-Powered Flamegraph Interpreter HOT 2
- Ensure we recover from panics in all API originating paths
- Prototype ingestor-less replication-less architecture
- Vet profiles at write
- Investigate malformed profiles
- Create a stub mapping for truncated nodes HOT 1
- pprof export: incompatible period types
- Exported pprof strings
- Handle invalid profiles gracefully HOT 1
- [DOC] Document how to add line numbers to flame graphs
- [DOC] Add doc about support for span profiles using .NET
- [DOC] Add Agent > Alloy admonition for profile docs HOT 3
- Add CallGraph query API
- Add line breakdown API
- Jsonnet dashboards job selectors are not aligned with monitoring resources
- [DOC] Update examples readme
- When fetching label names, the API should return their cardinality
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 pyroscope.