diff --git a/kubernetes/infrastructure/grafana-dashboards/dashboards/8919-deployment.yaml b/kubernetes/infrastructure/grafana-dashboards/dashboards/8919-node-exporter-20240520.yaml similarity index 75% rename from kubernetes/infrastructure/grafana-dashboards/dashboards/8919-deployment.yaml rename to kubernetes/infrastructure/grafana-dashboards/dashboards/8919-node-exporter-20240520.yaml index 948db92..182a109 100644 --- a/kubernetes/infrastructure/grafana-dashboards/dashboards/8919-deployment.yaml +++ b/kubernetes/infrastructure/grafana-dashboards/dashboards/8919-node-exporter-20240520.yaml @@ -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 \ No newline at end of file + 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 \ No newline at end of file diff --git a/kubernetes/infrastructure/grafana-dashboards/dashboards/8919-service.yaml b/kubernetes/infrastructure/grafana-dashboards/dashboards/8919-service.yaml deleted file mode 100644 index 587216e..0000000 --- a/kubernetes/infrastructure/grafana-dashboards/dashboards/8919-service.yaml +++ /dev/null @@ -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 \ No newline at end of file