grafana.svc.yaml 354 B

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