Merge pull request #366 from 3dwardch3ng/infra/grafana/dashboard/16098-node-exporter-job-20240520
folder restructure for prometheus boards
This commit is contained in:
@@ -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:
|
||||
@@ -74,4 +91,23 @@ spec:
|
||||
- name: TZ
|
||||
value: Australia/Sydney
|
||||
imagePullPolicy: Always
|
||||
restartPolicy: 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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user