Merge pull request #366 from 3dwardch3ng/infra/grafana/dashboard/16098-node-exporter-job-20240520

folder restructure for prometheus boards
This commit is contained in:
2024-06-27 02:28:04 +10:00
committed by GitHub
2 changed files with 37 additions and 36 deletions

View File

@@ -46,6 +46,23 @@ spec:
imagePullPolicy: Always
restartPolicy: Always
---
kind: Service
apiVersion: v1
metadata:
name: flask-consul
namespace: consul
labels:
app: flask-consul
spec:
ports:
- name: http-2026
protocol: TCP
port: 2026
targetPort: 2026
selector:
app: flask-consul
type: ClusterIP
---
kind: Deployment
apiVersion: apps/v1
metadata:
@@ -75,3 +92,22 @@ spec:
value: Australia/Sydney
imagePullPolicy: Always
restartPolicy: Always
---
kind: Service
apiVersion: v1
metadata:
name: nginx-consul
namespace: consul
labels:
app: consul
spec:
ports:
- name: nginx-consul
protocol: TCP
port: 1026
targetPort: 1026
nodePort: 31026
selector:
app: nginx-consul
type: NodePort
externalTrafficPolicy: Cluster

View File

@@ -1,35 +0,0 @@
kind: Service
apiVersion: v1
metadata:
name: flask-consul
namespace: consul
labels:
app: flask-consul
spec:
ports:
- name: http-2026
protocol: TCP
port: 2026
targetPort: 2026
selector:
app: flask-consul
type: ClusterIP
---
kind: Service
apiVersion: v1
metadata:
name: nginx-consul
namespace: consul
labels:
app: consul
spec:
ports:
- name: nginx-consul
protocol: TCP
port: 1026
targetPort: 1026
nodePort: 31026
selector:
app: nginx-consul
type: NodePort
externalTrafficPolicy: Cluster