netflux-kubernetes/deploy/base/inflated/prometheus/templates/service.yaml

28 lines
691 B
YAML
Raw Normal View History

2022-05-11 01:10:22 +00:00
---
2022-12-20 08:02:41 +00:00
# Source: prometheus/templates/service.yaml
2022-05-11 01:10:22 +00:00
apiVersion: v1
kind: Service
metadata:
labels:
2023-07-16 06:22:33 +00:00
app.kubernetes.io/component: server
app.kubernetes.io/name: prometheus
app.kubernetes.io/instance: prometheus
app.kubernetes.io/version: v2.45.0
helm.sh/chart: prometheus-23.1.0
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/part-of: prometheus
2022-05-11 01:10:22 +00:00
name: prometheus-server
namespace: default
spec:
ports:
- name: http
port: 80
protocol: TCP
targetPort: 9090
selector:
2023-07-16 06:22:33 +00:00
app.kubernetes.io/component: server
app.kubernetes.io/name: prometheus
app.kubernetes.io/instance: prometheus
2022-05-11 01:10:22 +00:00
sessionAffinity: None
type: "ClusterIP"