service.yaml 277 B

123456789101112131415
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. labels:
  5. app.kubernetes.io/name: node-exporter
  6. name: node-exporter
  7. namespace: monitoring
  8. spec:
  9. clusterIP: None
  10. ports:
  11. - name: https
  12. port: 9100
  13. targetPort: https
  14. selector:
  15. app.kubernetes.io/name: node-exporter