@leverege/build-tools 2.65.1 → 2.66.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +3 -3
- package/src/clone-cnpg-from-snapshot.mjs +5 -3
- package/src/helm-charts/cnpg-operator/cnpg-cleanup-cronjob.yaml.ovh +67 -0
- package/src/helm-charts/cnpg-operator/cnpg-cleanup-script.sh +73 -0
- package/src/helm-charts/cnpg-operator/gitignore +1 -0
- package/src/helm-charts/cnpg-operator/helmup-1.26.0-rc1.plugin +28 -0
- package/src/helm-charts/cnpg-operator/helmup.plugin +2 -3
- package/src/helm-charts/elasticsearch8/helmup.plugin +1 -1
- package/src/helm-charts/prom-operator/helmup.plugin +1 -1
- package/src/helm-charts/prom-operator/prometheus-stack.yaml.ovh +1 -1
- package/src/helm-charts/prom-operator/rules/awesome-base/elasticsearch-rules.yaml +219 -0
- package/src/helm-charts/prom-operator/rules/awesome-base/etcd-exporter.yaml +153 -0
- package/src/helm-charts/prom-operator/rules/awesome-base/google-cadvisor.yaml +108 -0
- package/src/helm-charts/prom-operator/rules/{new-awesome.yaml → awesome-base/kubestate-exporter.yaml} +2 -1
- package/src/helm-charts/prom-operator/rules/awesome-base/prometheus-rules.yaml +318 -0
- package/src/helm-charts/prom-operator/rules/awesome-base/redis-rules.yaml +142 -0
- package/src/helm-charts/prom-operator/rules/awesome-base/traefik-rules.yaml +43 -0
- package/src/helm-charts/prom-operator/rules/cadvisor-rules.yaml +109 -0
- package/src/helm-charts/prom-operator/rules/elasticsearch-rules.yaml +213 -95
- package/src/helm-charts/prom-operator/rules/etcd-rulte.yaml +153 -0
- package/src/helm-charts/prom-operator/rules/kubestate-rules.yaml +412 -0
- package/src/helm-charts/prom-operator/rules/prometheus-rules.yaml +312 -73
- package/src/helm-charts/prom-operator/rules/redis-rules.yaml +136 -75
- package/src/helm-charts/prom-operator/rules/traefik-rules.yaml +48 -21
- package/src/helm-charts/prom-operator/stackdriver-exporter.yaml.ovh +21 -1
- package/src/helm-charts/redis/helmup.plugin +1 -1
- package/src/helm-charts/traefik/helmup.plugin +1 -1
- package/src/helm-charts/velero/helmup.plugin +1 -1
- package/src/helm-charts/velero/{velero-local.yaml → values-local.yaml} +1 -1
- package/src/helmup.sh +43 -10
- package/src/templates/cloudBuildSteps.hbs +6 -2
- package/src/helm-charts/cnpg-operator/cnpg-cleanup-snapshot-cronjob.yaml +0 -73
- package/src/helm-charts/prom-operator/rules/awesome-k8s.yaml +0 -326
- package/src/helm-charts/prom-operator/rules/kubernetes-rules.yaml +0 -109
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
apiVersion: monitoring.coreos.com/v1
|
|
2
|
-
kind: PrometheusRule
|
|
3
|
-
metadata:
|
|
4
|
-
name: kubernetes-rules
|
|
5
|
-
namespace: prometheus
|
|
6
|
-
|
|
7
|
-
spec:
|
|
8
|
-
groups:
|
|
9
|
-
- name: Kubernetes
|
|
10
|
-
rules:
|
|
11
|
-
- alert: KubernetesNodeNotReady
|
|
12
|
-
expr: kube_node_status_condition{condition="Ready",status="true"} == 0
|
|
13
|
-
for: 5m
|
|
14
|
-
labels:
|
|
15
|
-
severity: page
|
|
16
|
-
priority: P3
|
|
17
|
-
annotations:
|
|
18
|
-
summary: "Kubernetes Node is not ready"
|
|
19
|
-
description: "Node {{ $labels.node }} is stuck in unready state for more than 5m"
|
|
20
|
-
dashboard: "Check GKE or EKS node status"
|
|
21
|
-
|
|
22
|
-
- alert: KubernetesMemoryPressure
|
|
23
|
-
expr: kube_node_status_condition{condition="MemoryPressure",status="true"} == 1
|
|
24
|
-
for: 5m
|
|
25
|
-
labels:
|
|
26
|
-
severity: error
|
|
27
|
-
annotations:
|
|
28
|
-
summary: "Kubernetes memory pressure"
|
|
29
|
-
description: "{{ $labels.node }} has a MemoryPressure condition"
|
|
30
|
-
dashboard: "Check GKE or EKS node status"
|
|
31
|
-
|
|
32
|
-
- alert: KubernetesDiskPressure
|
|
33
|
-
expr: kube_node_status_condition{condition="DiskPressure",status="true"} == 1
|
|
34
|
-
for: 5m
|
|
35
|
-
labels:
|
|
36
|
-
severity: error
|
|
37
|
-
annotations:
|
|
38
|
-
summary: "Kubernetes disk pressure"
|
|
39
|
-
description: "{{ $labels.node }} has DiskPressure condition"
|
|
40
|
-
dashboard: "Check GKE or EKS node status"
|
|
41
|
-
|
|
42
|
-
- alert: KubernetesOutOfDisk
|
|
43
|
-
expr: kube_node_status_condition{condition="OutOfDisk",status="true"} == 1
|
|
44
|
-
for: 5m
|
|
45
|
-
labels:
|
|
46
|
-
severity: error
|
|
47
|
-
annotations:
|
|
48
|
-
summary: "Kubernetes out of disk"
|
|
49
|
-
description: "{{ $labels.node }} has is out of disk space"
|
|
50
|
-
dashboard: "Check GKE or EKS node status"
|
|
51
|
-
|
|
52
|
-
- alert: KubernetesVolumeOutOfDiskSpace
|
|
53
|
-
expr: kubelet_volume_stats_available_bytes / kubelet_volume_stats_capacity_bytes * 100 < 10
|
|
54
|
-
for: 5m
|
|
55
|
-
labels:
|
|
56
|
-
severity: error
|
|
57
|
-
priority: P2
|
|
58
|
-
annotations:
|
|
59
|
-
summary: "Kubernetes PVC Free Space < 10%"
|
|
60
|
-
description: "PVC volume {{ $labels.persistentvolumeclaim }} is almost full - down to {{ $value | humanize }}% available"
|
|
61
|
-
|
|
62
|
-
# - alert: KubernetesVolumeFullInFourDays
|
|
63
|
-
# expr: predict_linear(kubelet_volume_stats_available_bytes[6h], 4 * 24 * 3600) < 0
|
|
64
|
-
# for: 5m
|
|
65
|
-
# labels:
|
|
66
|
-
# severity: error
|
|
67
|
-
# annotations:
|
|
68
|
-
# summary: "Kubernetes Volume full in four days "
|
|
69
|
-
# description: "{{ $labels.namespace }}/{{ $labels.persistentvolumeclaim }} is expected to fill up within four days. Currently {{ $value | humanize }}% is available."
|
|
70
|
-
|
|
71
|
-
- alert: KubernetesPersistentvolumeError
|
|
72
|
-
expr: kube_persistentvolume_status_phase{phase=~"Failed|Pending",job="kube-state-metrics"} > 0
|
|
73
|
-
for: 5m
|
|
74
|
-
labels:
|
|
75
|
-
severity: error
|
|
76
|
-
annotations:
|
|
77
|
-
summary: "Kubernetes PersistentVolume error "
|
|
78
|
-
description: "PersistentVolumeClaim {{ $labels.namespace }}/{{ $labels.persistentvolumeclaim }} is stuck pending"
|
|
79
|
-
dashboard: "Check GKE or EKS PVC/storage status"
|
|
80
|
-
|
|
81
|
-
- alert: KubernetesHpaScaleCapability
|
|
82
|
-
expr: kube_hpa_status_desired_replicas >= kube_hpa_spec_max_replicas
|
|
83
|
-
for: 15m
|
|
84
|
-
labels:
|
|
85
|
-
severity: warning
|
|
86
|
-
annotations:
|
|
87
|
-
summary: "Kubernetes HPA scale capability"
|
|
88
|
-
description: "Kubernetes has scaled {{ $labels.hpa }} to max number of scaled pods."
|
|
89
|
-
|
|
90
|
-
- alert: KubernetesPodNotHealthy
|
|
91
|
-
expr: kube_pod_status_phase{phase=~"Pending|Unknown|Failed"} == 1
|
|
92
|
-
for: 20m
|
|
93
|
-
labels:
|
|
94
|
-
severity: error
|
|
95
|
-
annotations:
|
|
96
|
-
summary: "Kubernetes Pod not healthy"
|
|
97
|
-
description: "Pod {{ $labels.pod }} has been in a non-ready state for longer than 20 minutes."
|
|
98
|
-
dashboard: "Check the pod status using the Kubernetes UI"
|
|
99
|
-
|
|
100
|
-
- alert: KubernetesPodCrashLooping
|
|
101
|
-
expr: rate(kube_pod_container_status_restarts_total[15m]) * 60 * 5 > 5
|
|
102
|
-
for: 5m
|
|
103
|
-
labels:
|
|
104
|
-
severity: page
|
|
105
|
-
priority: P2
|
|
106
|
-
annotations:
|
|
107
|
-
summary: "Kubernetes pod crash looping"
|
|
108
|
-
description: "{{ $labels.pod }} is in a crash loop"
|
|
109
|
-
dashboard: "Check the pod status using the Kubernetes UI"
|