rpi.carlosedp.cluster-monit.../manifests/kube-state-metrics-service.yaml

19 lines
321 B
YAML
Raw Normal View History

2018-03-02 01:03:53 +01:00
apiVersion: v1
kind: Service
metadata:
labels:
k8s-app: kube-state-metrics
name: kube-state-metrics
namespace: monitoring
2018-03-02 01:03:53 +01:00
spec:
clusterIP: None
ports:
- name: http-main
port: 8080
2019-08-20 21:35:09 +02:00
targetPort: "8080"
- name: http-self
port: 8081
2019-08-20 21:35:09 +02:00
targetPort: "8081"
2018-03-02 01:03:53 +01:00
selector:
app: kube-state-metrics