Florent Delannoy and Kubernetes Prow Robot
52b019a467
[stable/elasticsearch-curator] Make restartPolicy configurable ( #17748 )
...
We're currently in a situation where our ES _sometimes_ fails to clear
up indexes, especially under load, but will eventually succeed when the
job is restarted.
There are two approaches to this kind of issues as far as I understand:
- Let the CronJob recreate a new Job resource, which will create a new
Pod and succeed
- Set the Job's restartPolicy to Always or OnFailure, and let the Job
finish
The first option is currently doable through this chart, but hits the
default Prometheus alerting rules that will warn you if a Job resource
has failed and is left in failed state for a while. This is of course a
spurious warning as the CronJob has eventually succeeded... But it's
there :(
By giving the user the possibility to change the restartPolicy, we make
that second option available to go around Prometheus' over-sensitivity.
Note: I relaise it's also possible to delete failed Jobs by setting the
`failedJobsHistoryLimit` to zero, but that would hide _actual_ failures
as well as temporary flakiness.
Signed-off-by: Florent Delannoy <florent.delannoy.external@ynap.com >
2019-10-16 06:25:42 -07:00
..
2019-10-09 05:23:50 -07:00
2019-10-01 22:15:06 -07:00
2019-10-11 15:28:37 -07:00
2019-10-11 10:15:43 -07:00
2019-06-27 15:49:46 -07:00
2019-09-11 10:28:49 -07:00
2019-09-03 05:50:28 -07:00
2019-06-17 02:20:10 -07:00
2019-09-23 00:47:22 -07:00
2019-10-15 03:05:53 -07:00
2019-08-10 10:41:12 -07:00
2019-07-17 06:10:35 -07:00
2019-10-13 12:26:35 -07:00
2019-08-19 08:37:30 -07:00
2019-09-12 02:32:28 -07:00
2019-08-13 02:22:05 -07:00
2019-10-10 05:51:43 -07:00
2019-09-30 03:37:37 -07:00
2019-10-11 09:49:40 -07:00
2019-09-10 05:58:55 -07:00
2019-10-15 06:43:53 -07:00
2019-10-10 23:59:50 -07:00
2019-10-01 01:09:33 -07:00
2019-05-14 14:26:41 -07:00
2019-05-14 23:10:17 -07:00
2019-09-07 22:57:17 -07:00
2019-08-24 22:12:22 -07:00
2019-09-30 07:09:39 -07:00
2019-10-08 13:19:49 -07:00
2019-10-07 07:25:09 -07:00
2019-10-03 19:49:55 -07:00
2019-10-09 00:11:49 -07:00
2019-09-22 04:23:22 -07:00
2019-10-07 01:11:10 -07:00
2019-10-07 10:31:11 -07:00
2019-08-23 04:57:17 -07:00
2019-06-26 16:07:20 -07:00
2019-10-07 04:33:08 -07:00
2019-10-16 06:25:42 -07:00
2019-10-15 01:29:51 -07:00
2019-09-28 05:33:39 -07:00
2019-09-20 09:13:47 -07:00
2019-05-14 23:10:29 -07:00
2019-07-20 11:18:53 -07:00
2019-09-08 10:35:17 -07:00
2019-10-11 01:53:38 -07:00
2019-05-14 23:10:41 -07:00
2019-10-09 12:39:50 -07:00
2019-10-03 19:59:56 -07:00
2019-10-09 12:17:49 -07:00
2019-09-20 10:13:48 -07:00
2019-10-03 01:46:09 -07:00
2019-05-31 18:17:00 -07:00
2019-10-14 23:55:52 -07:00
2019-10-05 12:23:11 -07:00
2019-10-08 02:47:12 -07:00
2019-10-14 22:17:51 -07:00
2019-10-14 06:44:35 -07:00
2019-06-27 14:13:53 -07:00
2019-09-23 00:21:23 -07:00
2019-07-25 00:23:51 -07:00
2019-07-25 05:03:51 -07:00
2019-08-15 16:28:34 -07:00
2019-08-12 03:57:11 -07:00
2019-10-14 06:28:35 -07:00
2019-08-12 03:19:48 -07:00
2019-08-12 03:19:24 -07:00
2019-10-14 06:44:43 -07:00
2019-10-15 03:06:00 -07:00
2019-10-07 07:37:09 -07:00
2019-08-25 09:44:21 -07:00
2019-10-08 19:25:50 -07:00
2019-10-15 14:10:12 -07:00
2019-07-29 11:00:25 -07:00
2019-08-15 01:56:36 -07:00
2019-06-27 15:49:34 -07:00
2019-10-07 23:35:11 -07:00
2019-10-16 04:11:40 -07:00
2019-10-04 01:45:58 -07:00
2019-06-04 23:55:54 -07:00
2019-09-17 05:44:24 -07:00
2019-09-16 13:28:38 -07:00
2019-06-27 16:51:46 -07:00
2019-08-07 00:14:52 -07:00
2019-08-26 06:04:20 -07:00
2019-10-04 17:47:13 -07:00
2019-10-01 06:19:33 -07:00
2019-10-15 15:14:13 -07:00
2019-08-13 02:35:42 -07:00
2019-07-03 08:52:32 -07:00
2019-06-27 16:51:22 -07:00
2019-06-15 22:18:08 -07:00
2019-10-09 09:53:51 -07:00
2019-07-08 14:27:35 -07:00
2019-09-30 13:39:32 -07:00
2019-06-27 16:24:07 -07:00
2019-10-01 23:39:06 -07:00
2019-07-29 10:50:25 -07:00
2019-09-20 01:02:59 -07:00
2019-07-02 12:50:30 -07:00
2019-07-16 03:25:23 -07:00
2019-10-03 22:03:56 -07:00
2019-06-10 07:11:10 -07:00
2019-05-20 14:52:14 -07:00
2019-10-15 02:47:51 -07:00
2019-05-15 00:41:01 -07:00
2019-10-07 23:13:12 -07:00
2019-10-03 22:49:55 -07:00
2019-07-24 00:54:15 -07:00
2019-09-14 23:16:38 -07:00
2019-08-15 01:36:34 -07:00
2019-06-20 08:28:49 -07:00
2019-10-07 10:31:19 -07:00
2019-10-13 13:32:36 -07:00
2019-10-04 18:07:23 -07:00
2019-10-14 23:45:52 -07:00
2019-09-18 08:27:30 -07:00
2019-10-09 00:56:06 -07:00
2019-08-19 11:53:29 -07:00
2019-10-04 03:22:03 -07:00
2019-08-14 06:42:25 -07:00
2019-10-04 03:02:15 -07:00
2019-09-26 14:21:36 -07:00
2019-10-04 03:22:18 -07:00
2019-09-01 11:47:41 -07:00
2019-06-17 01:20:08 -07:00
2019-09-13 09:36:28 -07:00
2019-10-10 09:25:46 -07:00
2019-09-30 03:29:37 -07:00
2019-10-15 01:05:54 -07:00
2019-10-15 00:23:52 -07:00
2019-10-15 07:41:54 -07:00
2019-10-15 06:51:53 -07:00
2019-10-04 03:02:31 -07:00
2019-10-14 16:25:51 -07:00
2019-09-14 23:06:37 -07:00
2019-10-03 11:45:56 -07:00
2019-10-09 00:56:18 -07:00
2019-10-04 03:02:45 -07:00
2019-10-09 08:07:58 -07:00
2019-05-17 02:36:05 -07:00
2019-10-04 03:02:53 -07:00
2019-10-10 23:59:39 -07:00
2019-09-19 13:40:57 -07:00
2019-10-16 03:07:40 -07:00
2019-10-04 03:03:00 -07:00
2019-10-04 03:03:08 -07:00
2019-09-23 23:57:26 -07:00
2019-10-08 19:55:51 -07:00
2019-10-11 01:07:40 -07:00
2019-10-09 00:55:50 -07:00
2019-05-15 01:15:11 -07:00
2019-10-05 22:33:11 -07:00
2019-10-15 09:19:53 -07:00
2019-10-02 05:15:08 -07:00
2019-10-03 11:15:58 -07:00
2019-06-27 16:51:57 -07:00
2019-06-18 10:56:21 -07:00
2019-09-27 07:59:36 -07:00
2019-07-09 07:00:05 -07:00
2019-10-12 08:54:37 -07:00
2019-10-10 13:53:19 -07:00
2019-10-13 00:02:36 -07:00
2019-10-10 23:59:58 -07:00
2019-08-03 12:22:02 -07:00
2019-09-14 22:58:37 -07:00
2019-10-03 03:26:08 -07:00
2019-06-27 15:49:22 -07:00
2019-10-02 08:19:08 -07:00
2019-10-09 22:30:53 -07:00
2019-10-10 07:27:43 -07:00
2019-10-09 01:35:50 -07:00
2019-10-09 00:30:02 -07:00
2019-10-09 00:55:58 -07:00
2019-10-10 06:27:44 -07:00
2019-05-15 02:26:47 -07:00
2019-10-08 04:21:12 -07:00
2019-05-15 03:22:30 -07:00
2019-10-02 07:29:12 -07:00
2019-10-02 13:08:08 -07:00
2019-09-18 11:17:31 -07:00
2019-05-15 05:44:20 -07:00
2019-10-08 08:21:12 -07:00
2019-07-14 16:59:04 -07:00
2019-05-15 02:54:56 -07:00
2019-10-09 10:15:52 -07:00
2019-07-29 01:25:53 -07:00
2019-05-15 03:22:42 -07:00
2019-09-29 20:05:37 -07:00
2019-05-15 03:23:06 -07:00
2019-10-09 05:57:51 -07:00
2019-05-14 19:20:31 -07:00
2019-09-10 12:02:55 -07:00
2019-09-04 09:47:00 -07:00
2019-09-28 14:43:38 -07:00
2019-10-09 08:07:50 -07:00
2019-05-14 22:40:31 -07:00
2019-09-17 14:53:14 -07:00
2019-07-26 11:51:19 -07:00
2019-10-16 01:43:40 -07:00
2019-10-09 18:20:51 -07:00
2019-10-04 18:25:12 -07:00
2019-10-04 18:25:24 -07:00
2019-07-29 02:31:54 -07:00
2019-10-07 00:01:09 -07:00
2019-10-15 09:05:53 -07:00
2019-09-18 09:23:31 -07:00
2019-09-30 14:25:44 -07:00
2019-06-27 18:23:22 -07:00
2019-10-02 23:54:08 -07:00
2019-09-10 02:26:55 -07:00
2019-10-11 06:33:40 -07:00