mirror of
https://github.com/carlosedp/cluster-monitoring.git
synced 2024-11-29 19:07:49 +01:00
17 lines
243 B
YAML
17 lines
243 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
labels:
|
|
prometheus: k8s
|
|
name: prometheus-k8s
|
|
spec:
|
|
type: NodePort
|
|
ports:
|
|
- name: web
|
|
nodePort: 30900
|
|
port: 9090
|
|
protocol: TCP
|
|
targetPort: web
|
|
selector:
|
|
prometheus: k8s
|