rpi.carlosedp.cluster-monit.../manifests/kube-state-metrics-service.yaml
2019-08-20 17:45:42 -03:00

19 lines
327 B
YAML

apiVersion: v1
kind: Service
metadata:
labels:
k8s-app: kube-state-metrics
name: kube-state-metrics
namespace: monitoring
spec:
clusterIP: None
ports:
- name: http-main
port: 8080
targetPort: http-main
- name: http-self
port: 8081
targetPort: http-self
selector:
app: kube-state-metrics