prepare for production

This commit is contained in:
Seth Call 2026-01-08 04:39:03 -06:00
parent fa516f9f2f
commit 77bbf20032
3 changed files with 11 additions and 4 deletions

View File

@ -10,10 +10,17 @@ spec:
- name: node.alerts - name: node.alerts
rules: rules:
- alert: NodeHighCPU - alert: NodeHighCPU
expr: (1 - avg without (cpu, mode) (rate(node_cpu_seconds_total{mode="idle"}[1m]))) * 100 > 1 expr: |
(
(1 - avg without (cpu, mode) (rate(node_cpu_seconds_total{mode="idle", workload="media"}[1m]))) * 100 > 65
)
or
(
(1 - avg without (cpu, mode) (rate(node_cpu_seconds_total{mode="idle", workload!="media"}[1m]))) * 100 > 80
)
for: 1m for: 1m
labels: labels:
severity: warning severity: warning
annotations: annotations:
summary: "High CPU usage on node {{ "{{" }} $labels.instance {{ "}}" }}" summary: "High CPU usage on node {{ "{{" }} $labels.instance {{ "}}" }}"
description: "Node {{ "{{" }} $labels.instance {{ "}}" }} has CPU usage above 1% (current value: {{ "{{" }} $value | printf \"%.2f\" {{ "}}" }}%)" description: "Node {{ "{{" }} $labels.instance {{ "}}" }} has CPU usage above threshold (current value: {{ "{{" }} $value | printf \"%.2f\" {{ "}}" }}%)"

View File

@ -6,7 +6,7 @@ grafana:
backendUrl: "https://www.jamkazam.com" backendUrl: "https://www.jamkazam.com"
auth: true auth: true
# Webrtc_be image version # Webrtc_be image version
webrtc_tag: 1.0.139 webrtc_tag: 1.0.157
unused_tag: 1.0.0 unused_tag: 1.0.0
enableDieEndpoint: false enableDieEndpoint: false
mediasoup: mediasoup:

View File

@ -71,7 +71,7 @@ resource "linode_lke_cluster" "prd-video-cluster" {
} }
# Coturn pool # Coturn pool
pool { pool {
type = "g6-standard-2" type = "g6-standard-4"
count = 3 count = 3
labels = { labels = {
workload = "media" workload = "media"