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

ingress-nginx to expose can not expose tidb dashboard #163

Open
JacksonChen63 opened this issue Oct 27, 2024 · 0 comments
Open

ingress-nginx to expose can not expose tidb dashboard #163

JacksonChen63 opened this issue Oct 27, 2024 · 0 comments

Comments

@JacksonChen63
Copy link

JacksonChen63 commented Oct 27, 2024

Accroding this configuration, still not worked, we got 504 gateway timeout, is there have any solution?

ref: https://asktug.com/t/topic/1011985

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: lqb-yz-dashboard
  namespace: tidb
spec:
  rules:
    - host: "lqb.mytest.org"
      http:
        paths:
        - path: "/dashboard"
          pathType: Prefix
          backend:
            service:
              name: lqb-discovery
              port:
                number: 10262

I also have refer this page, but still not worked for me

ref: https://docs.pingcap.com/tidb-in-kubernetes/stable/access-dashboard

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: access-dashboard
  namespace: ${namespace}
spec:
  rules:
    - host: ${host}
      http:
        paths:
          - backend:
              serviceName: ${SERVICE_NAME}
              servicePort: ${PORT}
            path: ${HTTP_PATH}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant