Pārlūkot izejas kodu

grafana lan ingressroute

Josh Bicking 5 mēneši atpakaļ
vecāks
revīzija
f9f114163b

+ 17 - 0
monitoring/grafana/grafana-ingressroute.yaml

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

+ 2 - 2
monitoring/grafana/grafana-service.yaml

@@ -6,8 +6,8 @@ metadata:
 spec:
   selector:
     app: grafana
-  type: LoadBalancer
+  type: ClusterIP
   ports:
   - name: http
     port: 3000
-    targetPort: http
+    targetPort: http