kubernetes_health_checker 0.0.0.12 → 0.0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/kubernetes_health_checker +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c048c375c3171ec2334ac62fb1c5351951db1b79f85668452e6113fce75ef3b0
|
4
|
+
data.tar.gz: 3ed2429dc9cff315f5698623ee97ef5af4ee36ae6fcd5644e3595c3b3f346cac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ef8ae2788a883c4c04778f5a539de82b174fab98574ff23e605b9b185a02412e541db21586e606f0d1fbb4ba2d6bc234d6362c92774b6de0e4b4a6fd88a17f4
|
7
|
+
data.tar.gz: 2d08bc88cdb46e987e18620e34836777e98ddb47d5c6173a643761020bdb8a2b7baea02fc97716a2636d258bb3714825b46ee8b78cfc1e79b9b067382193046b
|
@@ -101,7 +101,7 @@ module KubernetesHealthChecker
|
|
101
101
|
elsif TIMED_ALERT_STATUSES.keys.include?(new_status.downcase)
|
102
102
|
alert_threshold = TIMED_ALERT_STATUSES[new_status.downcase]
|
103
103
|
if age > alert_threshold
|
104
|
-
text = "Pod #{pod_name} has been in status: *#{new_status}* for #{age} seconds :grimacing
|
104
|
+
text = "Pod #{pod_name} has been in status: *#{new_status}* for #{age} seconds :grimacing:.\n"
|
105
105
|
end
|
106
106
|
elsif new_restarts > @alert_threshold
|
107
107
|
text = "Pod *#{pod_name}* has restarted *#{new_restarts}* times and has status: *#{new_status}*.\n"
|