Sanskar Jaiswal
757d90121b
scheduler: fail canary according to progress deadline
...
Modify `canary.IsPrimaryReady()` and `canary.Initialize()` to return a
boolean indicating if the error is retriable. Modify the scheduler to
rollback the analysis and mark the Canary object as failed if the above
two functions or `canary.IsCanaryRead()` returns false along with an
error.
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com >
2024-03-05 00:10:30 +05:30
Mahdi Dibaiee
8f50521435
[feat] primaryReadyThreshold: allow configuring threshold for primary
...
see #639
Signed-off-by: Mahdi Dibaiee <mdibaiee@pm.me >
2021-11-11 14:44:52 +00:00
Stefan Prodan
cd75c5fa25
Copyright Flux authors
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2020-12-21 19:44:52 +02:00
Stefan Prodan
90abb7ba5b
Rename imports to fluxcd/flagger
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com >
2020-12-21 19:02:23 +02:00
Forrest Thomas
364fd0db65
setup daemonset tests to allow configurable name, label and selector
2020-09-02 12:46:02 -07:00
mathetake
bbdac24ed3
pkg/canary: add unit test of isDeploymentReady
2020-04-04 10:48:29 +09:00
mathetake
65d4b28b58
pkg/{canary,controller}: remove unused skipLivenessChecks
2020-03-28 18:13:00 +09:00
mathetake
4242bf0f07
pkg/canary/daemonset: fix ready condition according to kubectl
2020-03-27 19:31:12 +09:00
mathetake
8e9b9a358f
pkg/canary: refator error handlings and enhance messages
2020-03-07 23:10:07 +09:00
mathetake
a616199b81
refactor tests: simplify assertion
2020-03-04 21:46:08 +09:00
mathetake
9c8b887d30
use LastTransitionTime for deadline calculation
...
and run goimports on several files
2020-02-26 12:57:26 +09:00
mathetake
a828b43463
pkg/canary: add daemonset target controller
2020-02-23 12:25:38 +09:00