cv and coverletter
This commit is contained in:
40
badhouseplants/k8s/manifests/istio/monitoring-gateway.yaml
Normal file
40
badhouseplants/k8s/manifests/istio/monitoring-gateway.yaml
Normal file
@ -0,0 +1,40 @@
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: Gateway
|
||||
metadata:
|
||||
name: grafana
|
||||
namespace: prometheus
|
||||
spec:
|
||||
selector:
|
||||
# Which pods we want to expose as Istio router
|
||||
# This label points to the default one installed from file istio-demo.yaml
|
||||
istio: ingressgateway
|
||||
servers:
|
||||
- port:
|
||||
number: 80
|
||||
name: http
|
||||
protocol: HTTP
|
||||
# Here we specify which Kubernetes service names
|
||||
# we want to serve through this Gateway
|
||||
hosts:
|
||||
- "*"
|
||||
---
|
||||
apiVersion: networking.istio.io/v1alpha3
|
||||
kind: VirtualService
|
||||
metadata:
|
||||
name: grafana
|
||||
namespace: prometheus
|
||||
spec:
|
||||
hosts:
|
||||
- "*"
|
||||
gateways:
|
||||
- grafana
|
||||
http:
|
||||
- match:
|
||||
- uri:
|
||||
prefix: /
|
||||
route:
|
||||
- destination:
|
||||
host: prometheus-grafana
|
||||
port:
|
||||
number: 80
|
Reference in New Issue
Block a user