Skip to content

Commit

Permalink
Add new queries for Harbor and Proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
divergentluna committed Mar 5, 2024
1 parent ddb3753 commit 64990c4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
11 changes: 10 additions & 1 deletion deployment/charts/okd4-teh-1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,13 @@ configs:
queries:
disruption: 'sum(argocd_app_info{health_status="Progressing"}) >= (count(argocd_app_info)/2)'
outage: 'argocd_cluster_info == 0'

- order: 10
name: "Container Registry: Harbor"
queries:
disruption: 'rate(image_pulled_total[5m]) < 0.003 and rate(image_pulled_total[5m]) > 0'
outage: 'rate(image_pulled_total[5m]) == 0'
- order: 11
name: "Proxy"
queries:
disruption: 'rate(proxy_check_success[5m]) < 0.003 and rate(proxy_check_success[5m]) > 0'
outage: 'rate(proxy_check_success[5m]) == 0'
10 changes: 10 additions & 0 deletions deployment/charts/okd4-teh-2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,14 @@ configs:
queries:
disruption: 'sum(argocd_app_info{health_status="Progressing"}) >= (count(argocd_app_info)/2)'
outage: 'argocd_cluster_info == 0'
- order: 10
name: "Container Registry: Harbor"
queries:
disruption: 'rate(image_pulled_total[5m]) < 0.003 and rate(image_pulled_total[5m]) > 0'
outage: 'rate(image_pulled_total[5m]) == 0'
- order: 11
name: "Proxy"
queries:
disruption: 'rate(proxy_check_success[5m]) < 0.003 and rate(proxy_check_success[5m]) > 0'
outage: 'rate(proxy_check_success[5m]) == 0'

0 comments on commit 64990c4

Please sign in to comment.