diff --git a/clusters/cl01tl/helm/blocky/values.yaml b/clusters/cl01tl/helm/blocky/values.yaml index 55e6683a4..709f9b6a5 100644 --- a/clusters/cl01tl/helm/blocky/values.yaml +++ b/clusters/cl01tl/helm/blocky/values.yaml @@ -144,8 +144,8 @@ blocky: omni-tools IN CNAME traefik-cl01tl paperless-ngx IN CNAME traefik-cl01tl plex IN CNAME traefik-cl01tl - postiz-temporal-web IN CNAME traefik-cl01tl - postiz-temporal-frontend IN CNAME traefik-cl01tl + postiz-spotlight IN CNAME traefik-cl01tl + postiz-temporal IN CNAME traefik-cl01tl prometheus IN CNAME traefik-cl01tl prowlarr IN CNAME traefik-cl01tl qbittorrent IN CNAME traefik-cl01tl diff --git a/clusters/cl01tl/helm/gatus/values.yaml b/clusters/cl01tl/helm/gatus/values.yaml index c02f9415c..cb2ecbbf6 100644 --- a/clusters/cl01tl/helm/gatus/values.yaml +++ b/clusters/cl01tl/helm/gatus/values.yaml @@ -173,11 +173,11 @@ gatus: - name: home-assistant-code-server url: https://home-assistant-code-server.alexlebens.net <<: *defaults - - name: postiz-temporal-web - url: https://postiz-temporal-web.alexlebens.net + - name: postiz-spotlight + url: https://postiz-spotlight.alexlebens.net <<: *defaults - - name: postiz-temporal-frontend - url: https://postiz-temporal-frontend.alexlebens.net + - name: postiz-temporal + url: https://postiz-temporal.alexlebens.net <<: *defaults - name: argocd url: https://argocd.alexlebens.net diff --git a/clusters/cl01tl/helm/homepage/values.yaml b/clusters/cl01tl/helm/homepage/values.yaml index 20f1cee41..9044ff678 100644 --- a/clusters/cl01tl/helm/homepage/values.yaml +++ b/clusters/cl01tl/helm/homepage/values.yaml @@ -344,17 +344,17 @@ homepage: href: https://home-assistant-code-server.alexlebens.net siteMonitor: http://home-assistant-code-server.home-assistant:8443 statusStyle: dot - - Temporal Web (Postiz): - icon: https://raw.githubusercontent.com/temporalio/documentation/47b489b69d7c7ee4c3a0880cc0faf11b5f4cdb2a/static/img/favicon.svg - description: Temporal Web - href: https://postiz-temporal-web.alexlebens.net - siteMonitor: http://postiz-temporal-web.postiz:8080 + - Spotlight (Postiz): + icon: https://raw.githubusercontent.com/getsentry/spotlight/c528fc752edde40f008282dc7c8ff1568e58c40b/packages/website/public/favicon.svg + description: Sentry monitoring for Postiz + href: https://postiz-spotlight.alexlebens.net + siteMonitor: http://postiz-spotlight.postiz:8969 statusStyle: dot - - Temporal Frontend (Postiz): + - Temporal (Postiz): icon: https://raw.githubusercontent.com/temporalio/documentation/47b489b69d7c7ee4c3a0880cc0faf11b5f4cdb2a/static/img/favicon.svg - description: Temporal Frontend - href: https://postiz-temporal-frontend.alexlebens.net - siteMonitor: http://postiz-temporal-frontend.postiz:7243 + description: Temporal monitoring for Postiz + href: https://postiz-temporal.alexlebens.net + siteMonitor: http://postiz-temporal-web.postiz:8080 statusStyle: dot - Automation: - Continuous Deployment: diff --git a/clusters/cl01tl/helm/postiz/templates/http-route.yaml b/clusters/cl01tl/helm/postiz/templates/http-route.yaml index f62142a8e..aa86d6bac 100644 --- a/clusters/cl01tl/helm/postiz/templates/http-route.yaml +++ b/clusters/cl01tl/helm/postiz/templates/http-route.yaml @@ -14,7 +14,7 @@ spec: name: traefik-gateway namespace: traefik hostnames: - - postiz-temporal-web.alexlebens.net + - postiz-temporal.alexlebens.net rules: - matches: - path: @@ -26,33 +26,3 @@ spec: name: postiz-temporal-web port: 8080 weight: 100 - ---- -apiVersion: gateway.networking.k8s.io/v1 -kind: HTTPRoute -metadata: - name: postiz-temporal-frontend - namespace: {{ .Release.Namespace }} - labels: - app.kubernetes.io/name: postiz-temporal-frontend - app.kubernetes.io/instance: {{ .Release.Name }} - app.kubernetes.io/part-of: {{ .Release.Name }} -spec: - parentRefs: - - group: gateway.networking.k8s.io - kind: Gateway - name: traefik-gateway - namespace: traefik - hostnames: - - postiz-temporal-frontend.alexlebens.net - rules: - - matches: - - path: - type: PathPrefix - value: / - backendRefs: - - group: '' - kind: Service - name: postiz-temporal-frontend - port: 7243 - weight: 100 diff --git a/clusters/cl01tl/helm/postiz/values.yaml b/clusters/cl01tl/helm/postiz/values.yaml index e7274c992..941b8e84f 100644 --- a/clusters/cl01tl/helm/postiz/values.yaml +++ b/clusters/cl01tl/helm/postiz/values.yaml @@ -74,9 +74,9 @@ postiz: - name: POSTIZ_OAUTH_SCOPE value: openid profile email - name: NEXT_PUBLIC_SENTRY_DSN - value: http://postiz-spotlight:8969/stream + value: http://key@postiz-spotlight.postiz:8969/1 - name: SENTRY_SPOTLIGHT - value: "1" + value: http://postiz-spotlight.postiz:8969/stream resources: requests: cpu: 10m @@ -92,8 +92,8 @@ postiz: tag: 4.11.3@sha256:be6eb5b5d0df882025dcef138c217d493e6dcb684aebc235bc1b2832eb347c7f resources: requests: - cpu: 10m - memory: 40Mi + cpu: 1m + memory: 100Mi service: main: controller: main @@ -107,6 +107,24 @@ postiz: http: port: 8969 targetPort: 8969 + route: + main: + kind: HTTPRoute + parentRefs: + - group: gateway.networking.k8s.io + kind: Gateway + name: traefik-gateway + namespace: traefik + hostnames: + - postiz-spotlight.alexlebens.net + rules: + - backendRefs: + - name: postiz-spotlight + port: 8969 + matches: + - path: + type: PathPrefix + value: / persistence: config: forceRename: postiz-config @@ -136,10 +154,6 @@ temporal: metrics: serviceMonitor: enabled: true - resources: - requests: - cpu: 10m - memory: 60Mi config: logLevel: "debug,info" persistence: @@ -168,6 +182,11 @@ temporal: secretKey: password tls: enabled: false + namespaces: + create: true + namespace: + - name: default + retention: 30d frontend: ingress: enabled: false @@ -177,7 +196,7 @@ temporal: resources: requests: cpu: 10m - memory: 60Mi + memory: 50Mi history: metrics: serviceMonitor: @@ -185,7 +204,7 @@ temporal: resources: requests: cpu: 10m - memory: 60Mi + memory: 200Mi matching: metrics: serviceMonitor: @@ -201,7 +220,7 @@ temporal: resources: requests: cpu: 10m - memory: 60Mi + memory: 50Mi admintools: image: repository: temporalio/admin-tools @@ -209,7 +228,7 @@ temporal: resources: requests: cpu: 10m - memory: 60Mi + memory: 10Mi web: image: repository: temporalio/ui @@ -217,7 +236,7 @@ temporal: resources: requests: cpu: 10m - memory: 60Mi + memory: 50Mi postgres-18-cluster: mode: standalone cluster: diff --git a/hosts/ps08rp/blocky/config.yml b/hosts/ps08rp/blocky/config.yml index 5e3cc25df..652bd4fb1 100644 --- a/hosts/ps08rp/blocky/config.yml +++ b/hosts/ps08rp/blocky/config.yml @@ -121,8 +121,8 @@ customDNS: omni-tools IN CNAME traefik-cl01tl paperless-ngx IN CNAME traefik-cl01tl plex IN CNAME traefik-cl01tl - postiz-temporal-web IN CNAME traefik-cl01tl - postiz-temporal-frontend IN CNAME traefik-cl01tl + postiz-spotlight IN CNAME traefik-cl01tl + postiz-temporal IN CNAME traefik-cl01tl prometheus IN CNAME traefik-cl01tl prowlarr IN CNAME traefik-cl01tl qbittorrent IN CNAME traefik-cl01tl diff --git a/hosts/ps09rp/blocky/config.yml b/hosts/ps09rp/blocky/config.yml index 168903ce3..e8f46e480 100644 --- a/hosts/ps09rp/blocky/config.yml +++ b/hosts/ps09rp/blocky/config.yml @@ -142,8 +142,8 @@ customDNS: omni-tools IN CNAME traefik-cl01tl paperless-ngx IN CNAME traefik-cl01tl plex IN CNAME traefik-cl01tl - postiz-temporal-web IN CNAME traefik-cl01tl - postiz-temporal-frontend IN CNAME traefik-cl01tl + postiz-spotlight IN CNAME traefik-cl01tl + postiz-temporal IN CNAME traefik-cl01tl prometheus IN CNAME traefik-cl01tl prowlarr IN CNAME traefik-cl01tl qbittorrent IN CNAME traefik-cl01tl