Skip to content

Commit

Permalink
update helm charts
Browse files Browse the repository at this point in the history
Signed-off-by: Weifeng Wang <[email protected]>
  • Loading branch information
qclaogui committed May 31, 2024
1 parent 685508e commit bc6857b
Show file tree
Hide file tree
Showing 15 changed files with 505 additions and 481 deletions.
2 changes: 1 addition & 1 deletion kubernetes/common/alloy/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace: monitoring-system
helmCharts:
- name: alloy
repo: https://grafana.github.io/helm-charts
version: 0.3.1
version: 0.3.2
releaseName: alloy
namespace: monitoring-system
includeCRDs: false
Expand Down
50 changes: 26 additions & 24 deletions kubernetes/common/alloy/manifests/k8s-all-in-one.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: alloy
app.kubernetes.io/part-of: alloy
app.kubernetes.io/version: v1.1.0
helm.sh/chart: alloy-0.3.1
app.kubernetes.io/version: v1.1.1
helm.sh/chart: alloy-0.3.2
name: alloy
namespace: monitoring-system
---
Expand All @@ -21,8 +21,8 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: alloy
app.kubernetes.io/part-of: alloy
app.kubernetes.io/version: v1.1.0
helm.sh/chart: alloy-0.3.1
app.kubernetes.io/version: v1.1.1
helm.sh/chart: alloy-0.3.2
name: alloy
rules:
- apiGroups:
Expand Down Expand Up @@ -125,8 +125,8 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: alloy
app.kubernetes.io/part-of: alloy
app.kubernetes.io/version: v1.1.0
helm.sh/chart: alloy-0.3.1
app.kubernetes.io/version: v1.1.1
helm.sh/chart: alloy-0.3.2
name: alloy
roleRef:
apiGroup: rbac.authorization.k8s.io
Expand Down Expand Up @@ -4302,8 +4302,8 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: alloy
app.kubernetes.io/part-of: alloy
app.kubernetes.io/version: v1.1.0
helm.sh/chart: alloy-0.3.1
app.kubernetes.io/version: v1.1.1
helm.sh/chart: alloy-0.3.2
name: alloy
namespace: monitoring-system
spec:
Expand Down Expand Up @@ -4343,8 +4343,8 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: alloy
app.kubernetes.io/part-of: alloy
app.kubernetes.io/version: v1.1.0
helm.sh/chart: alloy-0.3.1
app.kubernetes.io/version: v1.1.1
helm.sh/chart: alloy-0.3.2
name: alloy-cluster
namespace: monitoring-system
spec:
Expand Down Expand Up @@ -4383,8 +4383,8 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: alloy
app.kubernetes.io/part-of: alloy
app.kubernetes.io/version: v1.1.0
helm.sh/chart: alloy-0.3.1
app.kubernetes.io/version: v1.1.1
helm.sh/chart: alloy-0.3.2
name: alloy
namespace: monitoring-system
spec:
Expand Down Expand Up @@ -4437,7 +4437,7 @@ spec:
- secretRef:
name: alloy-env
optional: true
image: docker.io/grafana/alloy:v1.1.0
image: docker.io/grafana/alloy:v1.1.1
imagePullPolicy: IfNotPresent
name: alloy
ports:
Expand Down Expand Up @@ -4508,7 +4508,7 @@ metadata:
namespace: monitoring-system
spec:
groups:
- name: clustering
- name: alloy_clustering
rules:
- alert: ClusterNotConverging
annotations:
Expand All @@ -4524,8 +4524,8 @@ spec:
split brain state.
expr: |
sum without (state) (cluster_node_peers) !=
on (cluster, namespace) group_left
count by (cluster, namespace) (cluster_node_info)
on (cluster, namespace, job) group_left
count by (cluster, namespace, job) (cluster_node_info)
for: 15m
- alert: ClusterNodeUnhealthy
annotations:
Expand All @@ -4551,7 +4551,7 @@ spec:
message: Cluster nodes are not using the same configuration file.
expr: |
count without (sha256) (
max by (cluster, namespace, sha256) (alloy_config_hash and on(cluster, namespace) cluster_node_info)
max by (cluster, namespace, sha256, job) (alloy_config_hash and on(cluster, namespace) cluster_node_info)
) > 1
for: 5m
- name: alloy_controller
Expand All @@ -4568,17 +4568,19 @@ spec:
expr: sum by (cluster, namespace) (alloy_component_controller_running_components{health_type!="healthy"})
> 0
for: 15m
- name: otelcol
- name: alloy_otelcol
rules:
- alert: OtelcolReceiverRefusedSpans
annotations:
message: The receiver could not push some spans to the pipeline.
expr: sum(rate(receiver_refused_spans_ratio_total{}[1m])) > 0
expr: sum by (cluster, namespace) (rate(receiver_refused_spans_ratio_total{}[1m]))
> 0
for: 5m
- alert: OtelcolExporterFailedSpans
annotations:
message: The exporter failed to send spans to their destination.
expr: sum(rate(exporter_send_failed_spans_ratio_total{}[1m])) > 0
expr: sum by (cluster, namespace) (rate(exporter_send_failed_spans_ratio_total{}[1m]))
> 0
for: 5m
---
apiVersion: monitoring.coreos.com/v1
Expand All @@ -4590,8 +4592,8 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: alloy
app.kubernetes.io/part-of: alloy
app.kubernetes.io/version: v1.1.0
helm.sh/chart: alloy-0.3.1
app.kubernetes.io/version: v1.1.1
helm.sh/chart: alloy-0.3.2
name: alloy
namespace: monitoring-system
spec:
Expand All @@ -4613,8 +4615,8 @@ metadata:
app.kubernetes.io/managed-by: Helm
app.kubernetes.io/name: alloy
app.kubernetes.io/part-of: alloy
app.kubernetes.io/version: v1.1.0
helm.sh/chart: alloy-0.3.1
app.kubernetes.io/version: v1.1.1
helm.sh/chart: alloy-0.3.2
name: alloy
namespace: monitoring-system
spec:
Expand Down
Loading

0 comments on commit bc6857b

Please sign in to comment.