ElasticHQ / elasticsearch-HQ

Monitoring and Management Web Application for ElasticSearch instances and clusters.
http://www.elastichq.org
Other
4.96k stars 530 forks source link

Using Elasticsearch-HQ on Kubernetes with Ingress rules #473

Open niv0 opened 5 years ago

niv0 commented 5 years ago

General information

Issue Description

We are running Elastic cluster and Elasticsearch-HQ also single Kubernetes cluster. We ´would like to access the HQ UI thru https:///hq

We would like to configure Kubernetes Ingress to point hq to Elastic-HQ service (service is here Kubernetes service).

Here sample ingress.yml

apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: kibana-http-ingress annotations: namespace: common kubernetes.io/ingress.class: nginx nginx.ingress.kubernetes.io/rewrite-target: / spec: rules:

  • host: vlcrmed001.at.inside http: paths:
  • path: /app/kibana backend: serviceName: kibana servicePort: 30601
  • path: /auth backend: serviceName: keycloak servicePort: 30085
  • path: /hq backend: serviceName: elasticsearch-hq servicePort: 30201
ntsh999 commented 5 years ago

Any direction on how to accomplish exposing HQ through ingress?