summaryrefslogtreecommitdiff
path: root/contrib/k8s-emc/grafana-ingress.yml
blob: 8724a1d0f7d0fc7c6a2652ed59a79ac7a7ab38eb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  namespace: emc
  name: stats-grafana
  labels:
    app: grafana
    tier: stats
  annotations:
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  tls:
  - secretName: emc-stats-tls
    hosts:
    - emc-stats.elev8.at
  rules:
  - host: emc-stats.elev8.at
    http:
      paths:
      - path: /grafana
        backend:
          serviceName: stats-grafana
          servicePort: 3000