add infra app prometheus

This commit is contained in:
2024-06-26 14:35:22 +10:00
parent 9119f221ca
commit b6f00d0140
8 changed files with 287 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
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: 9999
nodePort: 30999