23 lines
442 B
YAML
23 lines
442 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: prometheus-ingress
|
|
namespace: monitoring
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: prometheus.nhngpuaas.com
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: prometheus-server
|
|
port:
|
|
number: 80
|
|
path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- prometheus.nhngpuaas.com
|
|
secretName: nhngpuaas-ssl
|