-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
Verifying SPD and DIR metrics for CLI
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: trustyai.opendatahub.io/v1alpha1 | ||
kind: TrustyAIService | ||
metadata: | ||
name: trustyai-service | ||
spec: | ||
storage: | ||
format: "PVC" | ||
folder: "/inputs" | ||
size: "1Gi" | ||
data: | ||
filename: "data.csv" | ||
format: "CSV" | ||
metrics: | ||
schedule: "5s" |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{"inputs": [{"name": "Func/StatefulPartitionedCall/input/_0:0", "shape": [1,30], "datatype": "FP32", "data": [[-0.81527562, -0.62780094, 1.18457726, -0.56138278, 1.97545981, -1.38669424, -0.03372776, -1.08378356, -0.46514641, -1.07813139, -2.98031409, 2.29087639, -2.82230106, 0.76695155, -5.65368683, 0.04526619, -4.77118557, -5.04520325, -3.02616084, 1.14274513, 0.35082495, 1.64467922, 0.38254332, 0.03085198, 0.83964697, -0.38594229, -0.51760032, 1.39294962, 0.22815041, 0.3301235]]}]} | ||
{"inputs": [{"name": "Func/StatefulPartitionedCall/input/_0:0", "shape": [1,30], "datatype": "FP32", "data": [[-0.81527562, -0.62780094, 1.18457726, -0.56138278, 1.97545981, -1.38669424, -0.03372776, -1.08378356, -0.46514641, -1.07813139, -2.98031409, 2.29087639, -2.82230106, 0.76695155, -5.65368683, 0.04526619, -4.77118557, -5.04520325, -3.02616084, 1.14274513, 0.35082495, 1.64467922, 0.38254332, 0.03085198, 0.83964697, -0.38594229, -0.51760032, 1.39294962, 0.22815041, 0.3301235]]}]} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: user-workload-monitoring-config | ||
namespace: openshift-user-workload-monitoring | ||
data: | ||
config.yaml: | | ||
prometheus: | ||
logLevel: debug | ||
retention: 15d #Change as needed | ||
volumeClaimTemplate: | ||
spec: | ||
resources: | ||
requests: | ||
storage: 40Gi |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
*** Settings *** | ||
Documentation Post install test cases that verify OCP KServe resources and objects | ||
Library OpenShiftLibrary | ||
|
||
|
||
*** Variables *** | ||
${TRUSTYAI_NS}= ${APPLICATIONS_NAMESPACE} | ||
|
||
|
||
*** Test Cases *** | ||
Verify TrustyAI Operator Installation | ||
[Documentation] Verifies that the TrustyAI operator has been | ||
... deployed in the ${APPLICATIONS_NAMESPACE} namespace in ODS | ||
[Tags] Smoke | ||
... Tier1 ODS-2481 | ||
Run Keyword And Continue On Failure Wait Until Keyword Succeeds 1 min 10 sec Verify TrustyAI Deployment | ||
Wait Until Keyword Succeeds 10 times 5s Verify TrustyAI ReplicaSets Info | ||
Wait Until Keyword Succeeds 10 times 5s Verify TrustyAI Container Names | ||
|
||
|
||
*** Keywords *** | ||
Verify trustyai-service-operator-controller-manager Deployment | ||
[Documentation] Verifies the deployment of the trustyai operator in the namespace | ||
Wait For Pods To Be Ready label_selector=app.kubernetes.io/created-by=trustyai-service-operator | ||
... namespace=${APPLICATIONS_NAMESPACE} exp_replicas=1 | ||
|
||
Verify TrustyAI ReplicaSets Info | ||
[Documentation] Fetches and verifies information from TrustyAI replicasets | ||
@{trustyai_replicasets_info} = Oc Get kind=ReplicaSet api_version=v1 namespace=${TRUSTYAI_NS} | ||
... label_selector=app.kubernetes.io/part-of=trustyai-service-operator | ||
OpenShift Resource Field Value Should Be Equal As Strings status.readyReplicas | ||
... 1 @{trustyai_replicasets_info} | ||
|
||
Verify TrustyAI Container Names | ||
[Documentation] Verifies RHODS TrustyAI deployment | ||
@{trustyai} = Oc Get kind=Pod namespace=${TRUSTYAI_NS} api_version=v1 | ||
... label_selector=app.kubernetes.io/part-of=kserve | ||
${containerNames} = Create List kube-rbac-proxy manager | ||
Verify Deployment ${trustyai} 1 1 ${containerNames} |