Skip to content

Commit

Permalink
fix: add scroll-monitor production.yaml (#205)
Browse files Browse the repository at this point in the history
* fix: add scroll-monitor production

* update devnet l2geth

* clean up
  • Loading branch information
yiweichi authored Oct 29, 2024
1 parent 69edd28 commit 880f695
Show file tree
Hide file tree
Showing 26 changed files with 62 additions and 37,585 deletions.
2 changes: 1 addition & 1 deletion charts/scroll-monitor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: helm chart to deploy grafana, prometheus and loki to monitor scroll-sdk
name: scroll-monitor
version: 0.0.5
version: 0.0.6
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down
3 changes: 2 additions & 1 deletion charts/scroll-monitor/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# scroll-monitor

![Version: 0.0.5](https://img.shields.io/badge/Version-0.0.5-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.0.6](https://img.shields.io/badge/Version-0.0.6-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

helm chart to deploy grafana, prometheus and loki to monitor scroll-sdk

Expand Down Expand Up @@ -61,6 +61,7 @@ Kubernetes: `>=1.22.0-0`
| grafana.fullnameOverride | string | `"grafana"` | |
| grafana.ingress.enabled | bool | `true` | |
| grafana.ingress.hosts[0] | string | `"grafana.scrollsdk"` | |
| grafana.ingress.ingressClassName | string | `"nginx"` | |
| grafana.nameOverride | string | `"grafana"` | |
| kube-prometheus-stack.alertmanager.enabled | bool | `true` | |
| kube-prometheus-stack.enabled | bool | `true` | |
Expand Down
4 changes: 3 additions & 1 deletion charts/scroll-monitor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ grafana:
kubernetes: grafana-kubernetes-dashboards
ingress:
enabled: true
hosts: ["grafana.scrollsdk"]
ingressClassName: nginx
hosts:
- "grafana.scrollsdk"

loki:
enabled: true
Expand Down
26 changes: 26 additions & 0 deletions charts/scroll-monitor/values/production.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
grafana:
ingress:
enabled: true
ingressClassName: nginx
hosts:
- ""

kube-prometheus-stack:
alertmanager:
config:
global:
resolve_timeout: 5m
slack_api_url: "" # your webhook url
receivers:
- name: "slack-alerts"
slack_configs:
- channel: "" # your channel name
send_resolved: true
text: "{{ .CommonAnnotations.description }}"
title: "{{ .CommonAnnotations.summary }}"
route:
group_by: ["alertname"]
receiver: "slack-alerts"
routes:
- matchers: []
receiver: "slack-alerts"
4 changes: 2 additions & 2 deletions charts/scroll-sdk/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
apiVersion: v2
description: scroll helm charts to deploy scroll sdk
name: scroll-sdk
version: 0.0.56
version: 0.0.57
appVersion: v0.1.0
kubeVersion: ">=1.22.0-0"
maintainers:
Expand Down Expand Up @@ -98,7 +98,7 @@ dependencies:
repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm"
condition: scroll-common.enabled
- name: scroll-monitor
version: 0.0.5
version: 0.0.6
repository: "oci://ghcr.io/scroll-tech/scroll-sdk/helm"
condition: scroll-monitor.enabled
- name: admin-system-backend
Expand Down
5 changes: 3 additions & 2 deletions charts/scroll-sdk/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# scroll-sdk

![Version: 0.0.56](https://img.shields.io/badge/Version-0.0.56-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)
![Version: 0.0.57](https://img.shields.io/badge/Version-0.0.57-informational?style=flat-square) ![AppVersion: v0.1.0](https://img.shields.io/badge/AppVersion-v0.1.0-informational?style=flat-square)

scroll helm charts to deploy scroll sdk

Expand Down Expand Up @@ -41,7 +41,7 @@ Kubernetes: `>=1.22.0-0`
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | rollup-node | 0.0.14 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | rpc-gateway | 0.0.2 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | scroll-common | 0.0.5 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | scroll-monitor | 0.0.5 |
| oci://ghcr.io/scroll-tech/scroll-sdk/helm | scroll-monitor | 0.0.6 |
| oci://registry-1.docker.io/bitnamicharts | postgresql | 15.5.0 |

## Values
Expand Down Expand Up @@ -138,6 +138,7 @@ Kubernetes: `>=1.22.0-0`
| scroll-monitor.grafana.enabled | bool | `true` | |
| scroll-monitor.grafana.ingress.enabled | bool | `true` | |
| scroll-monitor.grafana.ingress.hosts[0] | string | `"grafana.scrollsdk"` | |
| scroll-monitor.grafana.ingress.ingressClassName | string | `"nginx"` | |
| scroll-monitor.kube-prometheus-stack.enabled | bool | `true` | |
| scroll-monitor.loki.enabled | bool | `true` | |
| scroll-monitor.promtail.enabled | bool | `true` | |
Expand Down
Loading

0 comments on commit 880f695

Please sign in to comment.