enable prometheus ports, configure prometheus server
This commit is contained in:
parent
f7556d0e12
commit
242b70eb21
8 changed files with 272 additions and 158 deletions
20
manifests/prometheus/ingress.yaml
Normal file
20
manifests/prometheus/ingress.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: prometheus
|
||||
namespace: darkdork-dev
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: darkdork.prometheus.lan
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: prometheus
|
||||
port:
|
||||
number: 9090
|
||||
---
|
||||
Loading…
Add table
Add a link
Reference in a new issue