add infra app prometheus

This commit is contained in:
2024-07-18 23:15:45 +10:00
parent e6a7071f72
commit f868bc22cd
6 changed files with 160 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
apiVersion: v1
kind: Service
metadata:
name: prometheus
namespace: prometheus
annotations:
prometheus.io/scrape: 'true'
prometheus.io/port: '9999'
spec:
selector:
app: prometheus
type: NodePort
ports:
- port: 9999
targetPort: 9090
nodePort: 30999
protocol: TCP
name: http
- name: grafana-port
port: 3030
nodePort: 30303
targetPort: 3000