diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-08 21:03:48 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-08 21:03:48 +0200 |
| commit | 68a3f29646a868b2f652dbcfdf59d85e93887b99 (patch) | |
| tree | e59e1ac8ccf7bdf69d3a5ee161f9d54b21f56f76 | |
| parent | 4de2f1166a1554d08e6284a5a7bf407ad2a36550 (diff) | |
Add NodePort service for Prometheus on port 30090
| -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 |
