power-monitoring.svc.yaml 349 B

1234567891011121314151617181920
  1. apiVersion: v1
  2. kind: Service
  3. metadata:
  4. annotations: {}
  5. labels:
  6. app: power-monitoring
  7. name: power-monitoring
  8. namespace: power-monitoring
  9. spec:
  10. externalTrafficPolicy: Cluster
  11. ports:
  12. - nodePort: 31165
  13. port: 80
  14. protocol: TCP
  15. targetPort: 80
  16. selector:
  17. app: power-monitoring
  18. sessionAffinity: None
  19. type: LoadBalancer