elasticsearch-HQ icon indicating copy to clipboard operation
elasticsearch-HQ copied to clipboard

Using Elasticsearch-HQ on Kubernetes with Ingress rules

Open niv0 opened this issue 5 years ago • 1 comments

General information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Kubernetes on RedHat Enterprise
  • ElasticHQ Version: release-v3.5.0
  • Browser Vendor and Version (if applicable): Chrome latest

Issue Description

We are running Elastic cluster and Elasticsearch-HQ also single Kubernetes cluster. We ´would like to access the HQ UI thru https://<someClusterHostname>/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

niv0 avatar May 20 '19 09:05 niv0

Any direction on how to accomplish exposing HQ through ingress?

ntsh999 avatar Aug 06 '19 10:08 ntsh999