如何解决无法使用路径前缀访问 kibana 服务
我按照官方文档 --- https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-quickstart.html
在我的本地机器上使用 Docker 桌面 for windows 创建了具有弹性搜索和 kibana 的集群。我还创建了Nginx入口控制器和入口资源。请在下面找到定义文件
kind: Ingress
Metadata:
annotations:
kubernetes.io/ingress.class: "Nginx"
Nginx.ingress.kubernetes.io/rewrite-target: / #new
Nginx.ingress.kubernetes.io/backend-protocol: https,http
name: example-app
namespace: example-app
spec:
tls:
- hosts:
- marcel.test
secretName: quickstart-es-http-certs-public
rules:
- host: shubham.test
http:
paths:
- path: /netflix
backend:
serviceName: example-service
servicePort: 2000
- path: /
backend:
serviceName: elasticsearch-kb-http
servicePort: 5601
The example-app that i created display hello world with the https://shubham.test/netflix but when I route traffic to kibana it says 503 error the path I hit is `https://shubham.test/` but kibana is accessible at localhost:5601
Please help me kNow why this is happening
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。