Setting up istio ingressgateway

12/17/2019

We're trying to set up the istio ingressgateway to expose Grafana. I'm following the guide and editing to suit and getting ERR_CONNECTION_TIMED_OUT. I know the address is working as on port 80 I have installed httpbin and exposed it.

We're running the following yaml:

   apiVersion: networking.istio.io/v1alpha3
kind: Gateway
metadata:
  name: grafana-gateway
  namespace: istio-system
spec:
  selector:
    istio: ingressgateway
  servers:
  - port:
      name: grafana
      number: 3000
      protocol: HTTP
    hosts:
    - "*"
---
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
  name: grafana-route
  namespace: istio-system
spec:
  hosts:
  - "*"
  gateways:
  - grafana-gateway
  http:
  - route:
    - destination:
        host: prometheus-grafana.monitoring.svc.cluster.local
        port:
          number: 3000

Does anyone have any ideas why it may not be working?

-- HandsDown
istio
kubernetes
prometheus-operator

0 Answers