argo-cd/resource_customizations/serving.kserve.io/InferenceService/testdata/degraded.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

30 lines
1,003 B
YAML

apiVersion: serving.kserve.io/v1beta1
kind: InferenceService
metadata:
name: helloworld
namespace: default
spec: {}
status:
conditions:
- lastTransitionTime: "2022-06-14T03:45:38Z"
reason: Predictor ingress not created
status: "False"
type: IngressReady
- lastTransitionTime: "2022-06-14T03:45:38Z"
message: 'Revision "helloworld-00002" failed with message: Container failed with: container exited with no error.'
reason: RevisionFailed
status: "False"
type: PredictorConfigurationReady
- lastTransitionTime: "2022-06-14T03:45:38Z"
message: 'Revision "helloworld-00002" failed with message: Container failed with: container exited with no error.'
reason: RevisionFailed
status: "False"
type: PredictorReady
- lastTransitionTime: "2022-06-14T03:45:38Z"
severity: Info
status: "True"
type: PredictorRouteReady
- lastTransitionTime: "2022-06-14T03:45:38Z"
reason: Predictor ingress not created
status: "False"
type: Ready