We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
kubernetes-dashboard配置文件
apiVersion: extensions/v1beta1 kind: Ingress metadata: name: kubernetes-dashboard namespace: kube-system annotations: traefik.ingress.kubernetes.io/redirect-entry-point: https spec: rules: - host: dashboard.xxxxxxxx.com http: paths: - path: / backend: serviceName: kubernetes-dashboard servicePort: 443
需要traefik-conf的配置文件添加
insecureSkipVerify = true
才能正常访问。 完整的traefik-conf配置如下
apiVersion: v1 kind: ConfigMap metadata: name: traefik-conf namespace: kube-system data: traefik.toml: | insecureSkipVerify = true defaultEntryPoints = ["http", "https"] [entryPoints] [entryPoints.http] address = ":80" # 配置http 强制跳转 https #[entryPoints.http.redirect] # entryPoint = "https" [entryPoints.https] address = ":443" [entryPoints.https.tls] [[entryPoints.https.tls.certificates]] CertFile = "/ssl/tls.crt" KeyFile = "/ssl/tls.key"
如果是只更新traefik-conf,还需要把traefik-ingress-controller重启一下。 希望对大家有所帮助,希望把
配置项添加进去
The text was updated successfully, but these errors were encountered:
已经添加进去:)
Sorry, something went wrong.
fix dashboard ingress配置: issue #403
6fc755f
No branches or pull requests
kubernetes-dashboard配置文件
需要traefik-conf的配置文件添加
才能正常访问。
完整的traefik-conf配置如下
如果是只更新traefik-conf,还需要把traefik-ingress-controller重启一下。
希望对大家有所帮助,希望把
配置项添加进去
The text was updated successfully, but these errors were encountered: