1234567891011121314151617181920212223242526272829303132333435363738 |
- ---
- ###################################################
- # Grafana Service
- ###################################################
- apiVersion: v1
- kind: Service
- metadata:
- name: grafana
- namespace: monitoring
- spec:
- type: ClusterIP
- ports:
- - port: 3000
- targetPort: 3000
- selector:
- app: grafana
- ---
- ###################################################
- # Grafana Ingres
- ###################################################
- kind: Ingress
- apiVersion: networking.k8s.io/v1beta1
- metadata:
- name: grafana
- namespace: monitoring
- annotations:
- traefik.ingress.kubernetes.io/router.entrypoints: web, websecure
- # traefik.ingress.kubernetes.io/router.tls.certresolver: letse
- spec:
- rules:
- - host: grafana.monteasua.com.br
- http:
- paths:
- - path: ""
- backend:
- serviceName: grafana
- servicePort: 3000
|