29 lines
752 B
YAML
29 lines
752 B
YAML
|
---
|
||
|
# Source: prometheus/charts/kube-state-metrics/templates/service.yaml
|
||
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: prometheus-kube-state-metrics
|
||
|
namespace: default
|
||
|
labels:
|
||
|
helm.sh/chart: kube-state-metrics-4.7.0
|
||
|
app.kubernetes.io/managed-by: Helm
|
||
|
app.kubernetes.io/component: metrics
|
||
|
app.kubernetes.io/part-of: kube-state-metrics
|
||
|
app.kubernetes.io/name: kube-state-metrics
|
||
|
app.kubernetes.io/instance: prometheus
|
||
|
app.kubernetes.io/version: "2.4.1"
|
||
|
annotations:
|
||
|
prometheus.io/scrape: 'true'
|
||
|
spec:
|
||
|
type: "ClusterIP"
|
||
|
ports:
|
||
|
- name: "http"
|
||
|
protocol: TCP
|
||
|
port: 8080
|
||
|
targetPort: 8080
|
||
|
|
||
|
selector:
|
||
|
app.kubernetes.io/name: kube-state-metrics
|
||
|
app.kubernetes.io/instance: prometheus
|