From 48346420d29d9e929b1372509758a8ca55a4f394 Mon Sep 17 00:00:00 2001 From: Aiman Ismail Date: Sat, 16 Sep 2023 17:55:05 +0800 Subject: [PATCH] test ingress with tailscale --- clusters/labsV2/system/kube-prometheus-stack.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/clusters/labsV2/system/kube-prometheus-stack.yaml b/clusters/labsV2/system/kube-prometheus-stack.yaml index 8b7fea4..101fc42 100644 --- a/clusters/labsV2/system/kube-prometheus-stack.yaml +++ b/clusters/labsV2/system/kube-prometheus-stack.yaml @@ -49,3 +49,18 @@ spec: service: annotations: external-dns.alpha.kubernetes.io/internal-hostname: alertmanager.k8s.pokgak.xyz +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: kube-prometheus-stack-prometheus +spec: + defaultBackend: + service: + name: kube-prometheus-stack-prometheus + port: + number: 9090 + ingressClassName: tailscale + tls: + - hosts: + - prometheus