问题描述
我按照官方文档 --- 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 (将#修改为@)