mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-27 21:57:16 +00:00
46 lines
875 B
YAML
46 lines
875 B
YAML
|
apiVersion: networking.istio.io/v1alpha3
|
||
|
kind: Gateway
|
||
|
metadata:
|
||
|
name: grafana-gateway
|
||
|
namespace: istio-system
|
||
|
spec:
|
||
|
selector:
|
||
|
istio: ingressgateway
|
||
|
servers:
|
||
|
- port:
|
||
|
number: 15031
|
||
|
name: http2-grafana
|
||
|
protocol: HTTP2
|
||
|
hosts:
|
||
|
- "grafana.prylabs.net"
|
||
|
---
|
||
|
apiVersion: networking.istio.io/v1alpha3
|
||
|
kind: DestinationRule
|
||
|
metadata:
|
||
|
name: grafana
|
||
|
namespace: istio-system
|
||
|
spec:
|
||
|
host: grafana.istio-system.svc.cluster.local
|
||
|
trafficPolicy:
|
||
|
tls:
|
||
|
mode: DISABLE
|
||
|
---
|
||
|
apiVersion: networking.istio.io/v1alpha3
|
||
|
kind: VirtualService
|
||
|
metadata:
|
||
|
name: grafana-virtual-service
|
||
|
namespace: istio-system
|
||
|
spec:
|
||
|
hosts:
|
||
|
- "grafana.prylabs.net"
|
||
|
gateways:
|
||
|
- grafana-gateway
|
||
|
http:
|
||
|
- match:
|
||
|
- port: 15031
|
||
|
route:
|
||
|
- destination:
|
||
|
host: grafana.istio-system.svc.cluster.local
|
||
|
port:
|
||
|
number: 3000
|