diff --git a/manifests/prometheus/ingress.yaml b/manifests/prometheus/ingress.yaml new file mode 100644 index 0000000..63da815 --- /dev/null +++ b/manifests/prometheus/ingress.yaml @@ -0,0 +1,23 @@ +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: prometheus-ingress + namespace: monitoring + annotations: + kubernetes.io/ingress.class: "traefik-inter" +spec: + tls: + - secretName: prometheus-beta-tls + hosts: + - prometheus.beta.entos + rules: + - host: prometheus.beta.entos + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: prometheus-svc + port: + number: 9090 diff --git a/manifests/prometheus/kustomization.yaml b/manifests/prometheus/kustomization.yaml index 5dc83e0..da6d3f3 100644 --- a/manifests/prometheus/kustomization.yaml +++ b/manifests/prometheus/kustomization.yaml @@ -3,5 +3,6 @@ resources: - clusterrole.yaml - clusterrolebinding.yaml - service.yaml + - ingress.yaml - servicemonitor.yaml - prometheus.yaml