Comments (6)
@duhow , are you using nginx ingress? if so, could you help check by your side whether my pr works? we are not using nginx ingress ^^
from incubator-devlake-helm-chart.
Fixed with new values:
- had to force
https
instead of using internal grafana%(protocol)
- remove
rewrite-target
by disabling theuseDefaultNginx
value.
grafana:
grafana.ini:
server:
domain: www.fulldomain.com
root_url: "https://%(domain)s/grafana"
ingress:
useDefaultNginx: false
from incubator-devlake-helm-chart.
@duhow, tried what you suggested I deploy with argocd/helm and use the built-in grafana, getting too many redirects after but forming of url looks ok.
from incubator-devlake-helm-chart.
Had to write custom ingress - disabled the one from chart and based on what you did:
grafana.ini:
server:
domain: devlake.example.customer.com
root_url: "https://%(domain)s/grafana"
useDefaultNginx: false
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: devlake-ingress
namespace: devlake
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
nginx.ingress.kubernetes.io/ssl-redirect: "false"
nginx.ingress.kubernetes.io/use-forwarded-headers: "true"
spec:
rules:
- host: devlake.example.customer.com
http:
paths:
- path: /grafana
pathType: Prefix
backend:
service:
name: devlake-grafana
port:
number: 80
- path: /
pathType: Prefix
backend:
service:
name: devlake-ui
port:
number: 4000
from incubator-devlake-helm-chart.
@s7an-it note that the issue with the built-in Ingress
is that default ingress.useDefaultNginx
adds a rewrite-target
, which in turn makes Grafana path go crazy (as it is removed internally, then Grafana never sees it, but client receives the request)
incubator-devlake-helm-chart/charts/devlake/templates/ingresses.yaml
Lines 39 to 41 in 9c9654f
from incubator-devlake-helm-chart.
hi @duhow @s7an-it , thanks for reporting the issue. I have created pr #278 to remove the rewrite-target part, and i tested by my side, no need to adjust values to below part any more:
Fixed with new values:
- had to force
https
instead of using internal grafana%(protocol)
- remove
rewrite-target
by disabling theuseDefaultNginx
value.grafana: grafana.ini: server: domain: www.fulldomain.com root_url: "https://%(domain)s/grafana" ingress: useDefaultNginx: false
from incubator-devlake-helm-chart.
Related Issues (20)
- [Feature Request]: Ability to add an `initContainer` for the MySQL StatefulSet HOT 3
- Helm Chart GHPages broken HOT 3
- [Question][Installation] Why the URL to access the Grafana dashboard don't work? HOT 5
- grafana persistence
- Error when calling chart in v0.20.0-beta3 with ui.basicAuth.enable set to False HOT 1
- Config UI container has neither liveness nor healthiness probe HOT 1
- [Feature Request]: Request for Addition of "ImagePullSecrets" in Helm Chart Templates for Private Repo Support HOT 4
- Both deployments select the same pods HOT 2
- Running with readOnlyRootFilesystem HOT 2
- Replica Count Not Configurable in Helm Chart HOT 1
- Issue via Traefik in Kubernetes
- Encryption Secret error HOT 6
- field is immutable when upgrading HOT 1
- Adding extra containers to deployments
- Cannot Connect from devlake-ui to devlake-lake HOT 3
- Dynamic replica management using replicaCount to enable or disable DEV-LAKE. HOT 5
- Grafana Kubernetes Pod stuck in Container Init HOT 2
- "Unhealthy Readiness probe failed: Get "http://xx.xx.xx.xx:8080/ping": dial tcp xx.xx.xx.xx:8080: connect: connection refused" #bug HOT 4
- Grafana Too Many Redirects error HOT 2
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 incubator-devlake-helm-chart.