diff options
| -rw-r--r-- | f3s/prometheus/manifests/prometheus-nodeport.yaml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/f3s/prometheus/manifests/prometheus-nodeport.yaml b/f3s/prometheus/manifests/prometheus-nodeport.yaml new file mode 100644 index 0000000..84a095a --- /dev/null +++ b/f3s/prometheus/manifests/prometheus-nodeport.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: Service +metadata: + name: prometheus-nodeport + namespace: monitoring + labels: + app: prometheus +spec: + type: NodePort + ports: + - port: 9090 + targetPort: 9090 + nodePort: 30090 + protocol: TCP + name: http + selector: + app.kubernetes.io/name: prometheus + prometheus: prometheus-kube-prometheus-prometheus |
