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

19 lines
331 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: https-main
2018-03-02 01:03:53 +01:00
port: 8443
targetPort: https-main
- name: https-self
2018-03-02 01:03:53 +01:00
port: 9443
targetPort: https-self
2018-03-02 01:03:53 +01:00
selector:
app: kube-state-metrics