Commit 6e9b330
committed
feat(health checks): implement new kubernetes 1.2 health check features
Added the following new functionalities
* HEALTHCHECK_PERIOD_SECONDS - How often (in seconds) to perform the probe
* HEALTHCHECK_SUCCESS_THRESHOLD - How many probe runs need to be done after failure to consider it a success again
* HEALTHCHECK_FAILURE_THRESHOLD - How many times a probe should fail before considered being down
These defaults are all copied from kubernetes but may have to be adjusted due to our high default timeout, or we bring the default timeout down
Closes #2511 parent 0702285 commit 6e9b330
2 files changed
Lines changed: 46 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
43 | 54 | | |
44 | 55 | | |
45 | 56 | | |
| |||
49 | 60 | | |
50 | 61 | | |
51 | 62 | | |
| 63 | + | |
| 64 | + | |
52 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
53 | 70 | | |
| 71 | + | |
| 72 | + | |
54 | 73 | | |
55 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
56 | 82 | | |
57 | 83 | | |
58 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
986 | 986 | | |
987 | 987 | | |
988 | 988 | | |
989 | | - | |
| 989 | + | |
| 990 | + | |
| 991 | + | |
| 992 | + | |
| 993 | + | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
| 997 | + | |
990 | 998 | | |
991 | 999 | | |
992 | 1000 | | |
| |||
1011 | 1019 | | |
1012 | 1020 | | |
1013 | 1021 | | |
1014 | | - | |
| 1022 | + | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
1015 | 1026 | | |
1016 | 1027 | | |
1017 | 1028 | | |
| |||
1022 | 1033 | | |
1023 | 1034 | | |
1024 | 1035 | | |
1025 | | - | |
| 1036 | + | |
| 1037 | + | |
| 1038 | + | |
| 1039 | + | |
1026 | 1040 | | |
1027 | 1041 | | |
1028 | 1042 | | |
| |||
0 commit comments