kubernetes-configs/apps/prometheus/service.yaml

15 lines
218 B
YAML

apiVersion: v1
kind: Service
metadata:
name: prometheus
namespace: default
spec:
type: ClusterIP
selector:
app: prometheus
ports:
- name: web
port: 80
targetPort: 9090
protocol: TCP