Comments (8)
Hi there. I can assure you that it does deploy. The CI wouldn't let us release the helm chart until a deployment test has completed on all cncf-supported versions of k8s (Currently 1.20+): https://github.com/sorry-cypress/charts/actions/runs/1490150757
Edit: The above is slightly wrong. Out of the box, the dashboard indeed won't properly work. You do need to configure the values for your environment.
Can you provide information on your kubernetes version please, and your values.yml?
from charts.
Hi, I'm not the OP, but I'm having the same problem. Deployed on a microk8s cluster.
kubectl version:
Server Version: version.Info{Major:"1", Minor:"22+", GitVersion:"v1.22.4-3+adc4115d990346", GitCommit:"adc4115d990346b87714cc4f033d225711bf744d", GitTreeState:"clean", BuildDate:"2021-11-17T22:03:17Z", GoVersion:"go1.16.10", Compiler:"gc", Platform:"linux/amd64"}
The pods deploy/run, but something is wrong.
Javascript console:
DevTools failed to load source map: Could not parse content for http://dashboard.chart-example.local/normalize.min.css.map: Unexpected token < in JSON at position 0
and
POST http://dashboard.chart-example.local/graphql 405 (Not Allowed)
wget http://dashboard.chart-example.local/normalize.min.css.map returns this:
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="description" content="sorry-cypress dashboard"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/><link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/><link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/><link rel="manifest" href="/site.webmanifest"/><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#fff"/><meta name="msapplication-TileColor" content="#fff"/><meta name="theme-color" content="#ffffff"/><title>Sorry-cypress dashboard</title><link href="/normalize.min.css" rel="stylesheet"/><link href="/fonts.css" rel="stylesheet"/><script>window.__sorryCypressEnvironment = { GRAPHQL_CLIENT_CREDENTIALS: "", GRAPHQL_SCHEMA_URL: "", CI_URL: "" };</script></head><body><div id="app"></div><script src="/index.mjs?7c414d4a50b2d7e877cb"></script></body></html>
I'm fairly new to kubernetes, but I'm guessing this might be related to settings in the values.yaml file? GraphQL credentials? I get this error even when I use the default values. The documentation for all the configuration options is a bit hard to understand for me - for example, are all of them optional, or are some mandatory? Should everything (in theory) work with the defaults?
Thanks for any help.
from charts.
Ah, that's a sorry cypress error. Not a helm chart error. Are you also running sorry-cypress 1.1.1?
from charts.
Ok, thanks! Yes, v1.1.1
from charts.
Having a copy of your values.yml will indeed be helpful. Or, if you don't want to do that, output a helm template to a yaml file, and maybe that'll help you pinpoint the root cause?
To answer your question though, no, the default values won't be enough for the dashboard to work. Looking again at that error in the UI, the problem here is that you have not set Dashboard environment variables: https://github.com/sorry-cypress/charts/blob/main/charts/sorry-cypress/values.yaml#L107
The POST error and the javascript error above is because you haven't set this URL: https://github.com/sorry-cypress/charts/blob/main/charts/sorry-cypress/values.yaml#L126
from charts.
Right, thanks a lot! And it looks like these urls must accessible from the outside, not just within the cluster.
I think I'm on the right track now.
from charts.
Yup. Your browser needs to see them. I get that it's confusing.
You might find looking at the docker-compose examples in the main repo will help you with the setup.
from charts.
I am going to close this as no further information has been provided by @adezxc
from charts.
Related Issues (20)
- Missing s3 prefix env vars
- Internal mongo db does not recover on pod restarts
- Default dashboard deployment has GQL errors HOT 5
- Helm Chart giving Error when viewing the Dashboard HOT 6
- MinIO bundled chart does not support Ingress networking.k8s.io/v1 HOT 2
- Is the project dead? HOT 3
- Wrong screenshot driver recommended for s3 storage setup HOT 2
- Director service `ALLOWED_KEYS` environment variable
- Add `nodeSelector`s to `runCleaner` section
- it still counting execution time when run timed out HOT 1
- Minio port change HOT 1
- api.readinessProbe.enabled value does not exist. HOT 1
- Dashboard GraphQL endpoint shows 405 error on browser - can't load project list HOT 3
- s3 URL is wrong in sorry-cypress dashboard HOT 5
- Azure Blob Storage - Error: Unable to extract accountName with provided information. HOT 2
- Not able to see screenshot in azure storage account HOT 3
- It seem the last chart isn't on the latest version of sorry-cypress
- Not getting results shown in the dashboard HOT 2
- Use newer MinIO version
- Sorry-cypress Helm chart does not include a screenshot GCS driver
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 charts.