trickstercache / helm-charts Goto Github PK
View Code? Open in Web Editor NEWHelm Charts Repository for Trickster
License: Apache License 2.0
Helm Charts Repository for Trickster
License: Apache License 2.0
In the template for the deployment pod level annotations are declared twice, because of this the podAnnotations value doesn't actually work.
annotations:
checksum/trickster-cfg: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
{{- if .Values.podAnnotations }}
{{ toYaml .Values.podAnnotations | indent 8 }}
{{- end }}
labels:
{{- include "trickster.labels" . | nindent 8 }}
annotations:
checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }}
One of these annotation declarations should be removed I think.
Hi there!
I just noticed that the option name for defining the largest byte size an object may be before it's unreachable differs between
helm-charts/charts/trickster/templates/configmap.yaml
Lines 259 to 261 in 334a313
Should this be max_object_size_bytes
or max_object_byte_size
?
Hello,
I'm trying to install trickster in k8's using helm, but I'm getting below error while installing.
Error: template: trickster/templates/deployment.yaml:65:17: executing "trickster/templates/deployment.yaml" at <eq .volumeName $key>: error calling eq: incompatible types for comparison
I'm using the default values and not changed much except the prometheus URL and cache type.
I'm just stuck here as I couldn't figure out what went wrong, can anyone please help me ?
Helm version
helm version
version.BuildInfo{Version:"v3.3.0", GitCommit:"8a4aeec08d67a7b84472007529e8097ec3742105", GitTreeState:"dirty", GoVersion:"go1.14.7"}
K8's version : v1.21.5
Thanks you in advance!
I deploy trickster through helm charts, but I can't access to service endpoint.
My steps as below:
I created custom-values.yaml with content as below:
service:
type: NodePort
nodePort: 30000
metricsNodePort: 30001
I saved and ran with command:
helm install trickster -ntrickster
and then I access to service endpoint with nodePort: :30000, I got the error is "Page not found"
Could someone help me?
It has been more than 2 years since v1.5.4, the last release. There have been a few bug fixes since then that could benefit the community. Can you please cut a new release?
Hi,
I'm trying to deploy the Helm chart and I've run into what I think is an error in the ServiceMonitor template.
Deploying the chart as it is now results in the following error
error="Helm release failed" revision=1.5.1 err="release trickster-proxy failed:
ServiceMonitor.monitoring.coreos.com \"trickster-proxy\" is invalid:
spec.selector.matchLabels: Invalid value: \"null\": spec.selector.matchLabels in body must be of type object: \"null\"]"
Templating the helm chart locally returns the following configuration
spec:
jobLabel: trickster
selector:
matchLabels:
component: trickster
app: trickster
release: release-name
chart: trickster-1.5.1
heritage: Tiller
Editing the indentation in line https://github.com/tricksterproxy/helm-charts/blob/master/charts/trickster/templates/servicemonitor.yaml#L16 to {{- include "trickster.labels" . | nindent 6 }}
produces the correct template
spec:
jobLabel: trickster
selector:
matchLabels:
component: trickster
app: trickster
release: release-name
chart: trickster-1.5.1
heritage: Tiller
helm upgrade -i trickster tricksterproxy/trickster
Release "trickster" does not exist. Installing it now.
coalesce.go:165: warning: skipped value for image: Not a table.
Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "Deployment" in version "extensions/v1beta1"
spec:
jobLabel: {{ template "trickster.name" . }}
selector:
matchLabels:
app: {{ template "trickster.name" . }}
{{- include "trickster.labels" . | indent 6 }}
{{- if .Values.service.labels }}
{{ toYaml .Values.service.labels | indent 4 }}
{{- end }}
Values.service.labels must be indented 6 to not break yaml structure
Hi all,
I used trickster as proxy server for prometheus on k8s. I using helm chart to deploy trickster and value.yaml content as below:
origins:
- name: default
originType: prometheus
originURL: http://prometheus-server.monitoring:8080
timeoutSecs: "60"
keepAliveTimeoutSecs: "180"
caches:
- name: default
cacheType: memory
volumeName: trickster
index:
maxSizeBytes: "2147482548"
image:
repository: tricksterproxy/trickster
tag: "latest"
pullPolicy: Always
volumes:
generic:
type: "generic"
enabled: false
mountPath: "/tmp/trickster"
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 100m
memory: 128Mi
I got the error in Trickster log pod as the following:
time=2020-11-11T09:18:36.703819952Z app=trickster caller=proxy/engines/deltaproxycache.go:488 level=error event="unexpected upstream response" clientRequestURL=http://prometheus-server.monitoring:8080/api/v1/query_range clientRequestMethod=POST clientRequestHeaders="unsupported value type" upstreamRequestMethod=POST upstreamRequestHeaders="{[Content-Length:276],[Content-Type:application/x-www-form-urlencoded],[Forwarded:for=10.42.187.67;proto=http],[User-Agent:Go-http-client/1.1],[Via:HTTP/1.1 trickster-588c65fc47-qpqn2]}" statusCode=400 upstreamRequestURL=http://prometheus-server.monitoring:8080/api/v1/query_range upstreamResponseHeaders="{[Cache-Control:s-maxage=21600],[Content-Type:application/json],[Date:Wed, 11 Nov 2020 09:18:36 GMT]}" upstreamResponseBody="{\"status\":\"error\",\"errorType\":\"bad_data\",\"error\":\"1:135: parse error: missing unit character in duration\"}"
time=2020-11-11T09:18:36.708131332Z app=trickster caller=proxy/engines/deltaproxycache.go:488 level=error event="unexpected upstream response" statusCode=400 clientRequestMethod=POST upstreamRequestMethod=POST upstreamRequestHeaders="{[Content-Length:274],[Content-Type:application/x-www-form-urlencoded],[Forwarded:for=10.42.187.67;proto=http],[User-Agent:Go-http-client/1.1],[Via:HTTP/1.1 trickster-588c65fc47-qpqn2]}" clientRequestURL=http://prometheus-server.monitoring:8080/api/v1/query_range clientRequestHeaders="unsupported value type" upstreamRequestURL=http://prometheus-server.monitoring:8080/api/v1/query_range upstreamResponseHeaders="{[Cache-Control:s-maxage=21600],[Content-Type:application/json],[Date:Wed, 11 Nov 2020 09:18:36 GMT]}" upstreamResponseBody="{\"status\":\"error\",\"errorType\":\"bad_data\",\"error\":\"1:135: parse error: missing unit character in duration\"}"
time=2020-11-11T09:18:36.711124288Z app=trickster caller=proxy/engines/deltaproxycache.go:488 level=error event="unexpected upstream response" statusCode=400 clientRequestURL=http://prometheus-server.monitoring:8080/api/v1/query_range clientRequestMethod=POST clientRequestHeaders="unsupported value type" upstreamRequestHeaders="{[Content-Length:274],[Content-Type:application/x-www-form-urlencoded],[Forwarded:for=10.42.187.67;proto=http],[User-Agent:Go-http-client/1.1],[Via:HTTP/1.1 trickster-588c65fc47-qpqn2]}" upstreamResponseBody="{\"status\":\"error\",\"errorType\":\"bad_data\",\"error\":\"1:135: parse error: missing unit character in duration\"}" upstreamRequestURL=http://prometheus-server.monitoring:8080/api/v1/query_range upstreamRequestMethod=POST upstreamResponseHeaders="{[Cache-Control:s-maxage=21600],[Content-Type:application/json],[Date:Wed, 11 Nov 2020 09:18:36 GMT]}"
time=2020-11-11T09:19:12.787977014Z app=trickster caller=proxy/engines/deltaproxycache.go:488 level=error event="unexpected upstream response" clientRequestURL=http://prometheus-server.monitoring:8080/api/v1/query_range clientRequestMethod=POST upstreamRequestURL=http://prometheus-server.monitoring:8080/api/v1/query_range upstreamResponseHeaders="{[Cache-Control:s-maxage=21600],[Content-Type:application/json],[Date:Wed, 11 Nov 2020 09:19:12 GMT]}" upstreamResponseBody="{\"status\":\"error\",\"errorType\":\"bad_data\",\"error\":\"1:135: parse error: missing unit character in duration\"}" statusCode=400 upstreamRequestMethod=POST upstreamRequestHeaders="{[Content-Length:276],[Content-Type:application/x-www-form-urlencoded],[Forwarded:for=10.42.187.67;proto=http],[User-Agent:Go-http-client/1.1],[Via:HTTP/1.1 trickster-588c65fc47-qpqn2]}" clientRequestHeaders="unsupported value type"
time=2020-11-11T09:19:12.795047239Z app=trickster caller=proxy/engines/deltaproxycache.go:488 level=error event="unexpected upstream response" clientRequestURL=http://prometheus-server.monitoring:8080/api/v1/query_range upstreamRequestURL=http://prometheus-server.monitoring:8080/api/v1/query_range upstreamRequestHeaders="{[Content-Length:274],[Content-Type:application/x-www-form-urlencoded],[Forwarded:for=10.42.187.67;proto=http],[User-Agent:Go-http-client/1.1],[Via:HTTP/1.1 trickster-588c65fc47-qpqn2]}" upstreamResponseHeaders="{[Cache-Control:s-maxage=21600],[Content-Type:application/json],[Date:Wed, 11 Nov 2020 09:19:12 GMT]}" upstreamResponseBody="{\"status\":\"error\",\"errorType\":\"bad_data\",\"error\":\"1:135: parse error: missing unit character in duration\"}" statusCode=400 clientRequestMethod=POST clientRequestHeaders="unsupported value type" upstreamRequestMethod=POST
time=2020-11-11T09:19:12.798483432Z app=trickster caller=proxy/engines/deltaproxycache.go:488 level=error event="unexpected upstream response" clientRequestURL=http://prometheus-server.monitoring:8080/api/v1/query_range clientRequestMethod=POST upstreamRequestURL=http://prometheus-server.monitoring:8080/api/v1/query_range upstreamResponseHeaders="{[Cache-Control:s-maxage=21600],[Content-Type:application/json],[Date:Wed, 11 Nov 2020 09:19:12 GMT]}" upstreamResponseBody="{\"status\":\"error\",\"errorType\":\"bad_data\",\"error\":\"1:135: parse error: missing unit character in duration\"}" statusCode=400 clientRequestHeaders="unsupported value type" upstreamRequestMethod=POST upstreamRequestHeaders="{[Content-Length:276],[Content-Type:application/x-www-form-urlencoded],[Forwarded:for=10.42.187.67;proto=http],[User-Agent:Go-http-client/1.1],[Via:HTTP/1.1 trickster-588c65fc47-qpqn2]}"
Could you please help me to explain this?
Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.