mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-23 13:30:23 +00:00
24 lines
506 B
YAML
24 lines
506 B
YAML
|
apiVersion: v1
|
||
|
kind: Service
|
||
|
metadata:
|
||
|
name: kube-state-metrics
|
||
|
namespace: kube-system
|
||
|
labels:
|
||
|
kubernetes.io/cluster-service: "true"
|
||
|
addonmanager.kubernetes.io/mode: Reconcile
|
||
|
kubernetes.io/name: "kube-state-metrics"
|
||
|
annotations:
|
||
|
prometheus.io/scrape: 'true'
|
||
|
spec:
|
||
|
ports:
|
||
|
- name: http-metrics
|
||
|
port: 8080
|
||
|
targetPort: http-metrics
|
||
|
protocol: TCP
|
||
|
- name: telemetry
|
||
|
port: 8081
|
||
|
targetPort: telemetry
|
||
|
protocol: TCP
|
||
|
selector:
|
||
|
k8s-app: kube-state-metrics
|