argo-cd/resource_customizations/serving.kserve.io/InferenceService/testdata/progressing.yaml
Rachit Chauhan 722f58d5ed
feat(health): Add custom health check for KServe Inference Service resources (#14177)
* Initial commit for ISVC health check

Signed-off-by: rachitchauhan43 <rachitchauhan43@gmail.com>

* Adding test for health check and incorporating review comment.

Signed-off-by: rachitchauhan43 <rachitchauhan43@gmail.com>

* Adding test for degraded state

Signed-off-by: rachitchauhan43 <rachitchauhan43@gmail.com>

* Testing only healthy scenario

Signed-off-by: rachitchauhan43 <rachitchauhan43@gmail.com>

* Update resource_customizations/serving.kserve.io/InferenceService/health.lua

Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
Signed-off-by: Rachit Chauhan <rachitchauhan43@gmail.com>

* Uncommenting rest fo the tests

Signed-off-by: rachitchauhan43 <rachitchauhan43@gmail.com>

---------

Signed-off-by: rachitchauhan43 <rachitchauhan43@gmail.com>
Signed-off-by: Rachit Chauhan <rachitchauhan43@gmail.com>
Co-authored-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
2023-06-22 22:18:59 -04:00

28 lines
953 B
YAML

apiVersion: serving.kserve.io/v1beta1
kind: InferenceService
metadata:
name: helloworld
namespace: default
spec: {}
status:
conditions:
- lastTransitionTime: "2023-06-21T22:25:58Z"
severity: Info
status: Unknown
type: PredictorConfigurationReady
- lastTransitionTime: "2023-06-21T22:25:58Z"
message: 'Configuration "hello-world-predictor-default" is waiting for a Revision to become ready.'
reason: RevisionMissing
status: Unknown
type: PredictorReady
- lastTransitionTime: "2023-06-21T22:25:58Z"
message: 'Configuration "hello-world-predictor-default" is waiting for a Revision to become ready.'
reason: RevisionMissing
severity: Info
status: Unknown
type: PredictorRouteReady
- lastTransitionTime: "2023-06-21T22:25:58Z"
message: 'Configuration "hello-world-predictor-default" is waiting for a Revision to become ready.'
reason: RevisionMissing
status: Unknown
type: Ready