瀏覽代碼

prometheus lan ingressroute

Josh Bicking 5 月之前
父節點
當前提交
431b6d01db
共有 1 個文件被更改,包括 18 次插入0 次删除
  1. 18 0
      monitoring/prometheus/prometheus-ingressroute.yaml

+ 18 - 0
monitoring/prometheus/prometheus-ingressroute.yaml

@@ -0,0 +1,18 @@
+---
+apiVersion: traefik.containo.us/v1alpha1
+kind: IngressRoute
+metadata:
+  name: prometheus
+  namespace: monitoring
+spec:
+  entryPoints:
+  - websecure
+  routes:
+  - kind: Rule
+    match: Host(`prometheus.lan.jibby.org`)
+    services:
+    - kind: Service
+      name: prometheus
+      port: 9090
+
+