mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-20 19:07:17 +01:00
bed566c8c5
Add TLS to ingress as an optional feature and also be able to provide own certificates.
18 lines
338 B
YAML
18 lines
338 B
YAML
apiVersion: extensions/v1beta1
|
|
kind: Ingress
|
|
metadata:
|
|
name: prometheus-k8s
|
|
namespace: monitoring
|
|
spec:
|
|
rules:
|
|
- host: prometheus.192.168.99.100.nip.io
|
|
http:
|
|
paths:
|
|
- backend:
|
|
serviceName: prometheus-k8s
|
|
servicePort: web
|
|
path: /
|
|
tls:
|
|
- hosts:
|
|
- prometheus.192.168.99.100.nip.io
|