rpi.carlosedp.cluster-monit.../manifests/kube-state-metrics-service.yaml
2019-08-20 16:35:09 -03:00

19 lines
321 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: "8080"
- name: http-self
port: 8081
targetPort: "8081"
selector:
app: kube-state-metrics