# HG changeset patch # User drewp@bigasterisk.com # Date 1688073142 25200 # Node ID eec015e90818c67a40598c7820ab311ef637a444 # Parent b15cfe483964966ba4507a9cac0b996e9330a87f reformat diff -r b15cfe483964 -r eec015e90818 alert_rules.py --- a/alert_rules.py Thu Jun 29 13:58:34 2023 -0700 +++ b/alert_rules.py Thu Jun 29 14:12:22 2023 -0700 @@ -11,8 +11,6 @@ import json -import yaml - def k8sRules(): # from https://awesome-prometheus-alerts.grep.to/rules.html diff -r b15cfe483964 -r eec015e90818 pyproject.toml --- a/pyproject.toml Thu Jun 29 13:58:34 2023 -0700 +++ b/pyproject.toml Thu Jun 29 14:12:22 2023 -0700 @@ -1,4 +1,3 @@ - [project] name = "" version = "" diff -r b15cfe483964 -r eec015e90818 tasks.py --- a/tasks.py Thu Jun 29 13:58:34 2023 -0700 +++ b/tasks.py Thu Jun 29 14:12:22 2023 -0700 @@ -1,11 +1,9 @@ -import json - import yaml from invoke import task from kubernetes import config -from k8s_ops import firstPodName, replaceCmap, refreshPodCmaps import alert_rules +from k8s_ops import firstPodName, refreshPodCmaps, replaceCmap config.load_kube_config()