Skip to content

Commit

Permalink
Merge pull request #33 from camilb/release-2
Browse files Browse the repository at this point in the history
Release 2.0
  • Loading branch information
camilb authored Nov 8, 2017
2 parents 1286336 + 8697a9b commit e651f49
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions deploy
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
#########################################################################################
#components default version
#########################################################################################
GRAFANA_DEFAULT_VERSION=4.6.0-beta3
PROMETHEUS_DEFAULT_VERSION=v2.0.0-rc.2
GRAFANA_DEFAULT_VERSION=4.6.1
PROMETHEUS_DEFAULT_VERSION=v2.0.0
PROMETHEUS_OPERATOR_DEFAULT_VERSION=v0.14.0
ALERTMANAGER_DEFAULT_VERSION=v0.9.1
NODE_EXPORTER_DEFAULT_VERSION=v0.15.0
NODE_EXPORTER_DEFAULT_VERSION=v0.15.1
KUBE_STATE_METRICS_DEFAULT_VERSION=v1.1.0

#########################################################################################
Expand Down
8 changes: 4 additions & 4 deletions manifests/prometheus/prometheus-k8s-rules.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -507,21 +507,21 @@ data:
description: '{{ $labels.node }} is under disk pressure.'
summary: Node is under disk pressure.
- alert: NodeCPUUsage
expr: (100 - (avg by (instance) (irate(node_cpu{job="node-exporter",mode="idle"}[5m])) * 100)) > 80
expr: (100 - (avg by (instance) (irate(node_cpu{job="node-exporter",mode="idle"}[5m])) * 100)) > 90
for: 30m
labels:
severity: warning
annotations:
summary: "{{$labels.instance}}: High CPU usage detected"
description: "{{$labels.instance}}: CPU usage is above 85% (current value is: {{ $value }})"
description: "{{$labels.instance}}: CPU usage is above 90% (current value is: {{ $value }})"
- alert: NodeMemoryUsage
expr: (((node_memory_MemTotal-node_memory_MemFree-node_memory_Cached)/(node_memory_MemTotal)*100)) > 85
expr: (((node_memory_MemTotal-node_memory_MemFree-node_memory_Cached)/(node_memory_MemTotal)*100)) > 90
for: 30m
labels:
severity: warning
annotations:
summary: "{{$labels.instance}}: High memory usage detected"
description: "{{$labels.instance}}: Memory usage is above 85% (current value is: {{ $value }})"
description: "{{$labels.instance}}: Memory usage is above 90% (current value is: {{ $value }})"
prometheus.rules: |+
groups:
- name: prometheus.rules
Expand Down
2 changes: 1 addition & 1 deletion release/download
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh

PROMKUBE_VERSION=${PROMKUBE_VERSION:-2.0.0-beta.5}
PROMKUBE_VERSION=${PROMKUBE_VERSION:-2.0.0}

NAME="prometheus-kubernetes"

Expand Down

0 comments on commit e651f49

Please sign in to comment.