@@ -135,6 +135,14 @@ controller:
135
135
# # Annotations to be added to the controller Deployment or DaemonSet
136
136
# #
137
137
annotations : {}
138
+ # keel.sh/pollSchedule: "@every 60m"
139
+
140
+ # # Labels to be added to the controller Deployment or DaemonSet
141
+ # #
142
+ labels : {}
143
+ # keel.sh/policy: patch
144
+ # keel.sh/trigger: poll
145
+
138
146
139
147
# The update strategy to apply to the Deployment or DaemonSet
140
148
# #
@@ -451,19 +459,35 @@ controller:
451
459
# namespace: ""
452
460
rules : []
453
461
# # These are just examples rules, please adapt them to your needs
454
- # - alert: TooMany500s
462
+ # - alert: NGINXConfigFailed
463
+ # expr: count(nginx_ingress_controller_config_last_reload_successful == 0) > 0
464
+ # for: 1s
465
+ # labels:
466
+ # severity: critical
467
+ # annotations:
468
+ # description: bad ingress config - nginx config test failed
469
+ # summary: uninstall the latest ingress changes to allow config reloads to resume
470
+ # - alert: NGINXCertificateExpiry
471
+ # expr: (avg(nginx_ingress_controller_ssl_expire_time_seconds) by (host) - time()) < 604800
472
+ # for: 1s
473
+ # labels:
474
+ # severity: critical
475
+ # annotations:
476
+ # description: ssl certificate(s) will expire in less then a week
477
+ # summary: renew expiring certificates to avoid downtime
478
+ # - alert: NGINXTooMany500s
455
479
# expr: 100 * ( sum( nginx_ingress_controller_requests{status=~"5.+"} ) / sum(nginx_ingress_controller_requests) ) > 5
456
480
# for: 1m
457
481
# labels:
458
- # severity: critical
482
+ # severity: warning
459
483
# annotations:
460
484
# description: Too many 5XXs
461
485
# summary: More than 5% of the all requests did return 5XX, this require your attention
462
- # - alert: TooMany400s
486
+ # - alert: NGINXTooMany400s
463
487
# expr: 100 * ( sum( nginx_ingress_controller_requests{status=~"4.+"} ) / sum(nginx_ingress_controller_requests) ) > 5
464
488
# for: 1m
465
489
# labels:
466
- # severity: critical
490
+ # severity: warning
467
491
# annotations:
468
492
# description: Too many 4XXs
469
493
# summary: More than 5% of the all requests did return 4XX, this require your attention
@@ -472,7 +496,7 @@ controller:
472
496
# # With this new hook, we increased the default terminationGracePeriodSeconds from 30 seconds
473
497
# # to 300, allowing the draining of connections up to five minutes.
474
498
# # If the active connections end before that, the pod will terminate gracefully at that time.
475
- # # To efectively take advantage of this feature, the Configmap feature
499
+ # # To effectively take advantage of this feature, the Configmap feature
476
500
# # worker-shutdown-timeout new value is 240s instead of 10s.
477
501
# #
478
502
lifecycle :
0 commit comments