elasticsearch-HQ
elasticsearch-HQ copied to clipboard
Using Elasticsearch-HQ on Kubernetes with Ingress rules
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
Any direction on how to accomplish exposing HQ through ingress?