@@ -19,8 +19,8 @@ function install_gmc() {
19
19
kubectl apply -f $( pwd) /config/rbac/gmc-manager-rbac.yaml
20
20
kubectl create configmap gmcyaml -n $SYSTEM_NAMESPACE --from-file $( pwd) /config/manifests
21
21
kubectl apply -f $( pwd) /config/manager/gmc-manager.yaml
22
-
23
- # Wait until the gmc conroller pod is ready
22
+
23
+ # Wait until the gmc controller pod is ready
24
24
wait_until_pod_ready " gmc-controller" $SYSTEM_NAMESPACE " gmc-controller"
25
25
}
26
26
@@ -47,7 +47,7 @@ function validate_chatqna() {
47
47
kubectl create ns $APP_NAMESPACE
48
48
sed -i " s|namespace: chatqa|namespace: $APP_NAMESPACE |g" $( pwd) /config/samples/chatQnA_xeon.yaml
49
49
kubectl apply -f $( pwd) /config/samples/chatQnA_xeon.yaml
50
-
50
+
51
51
52
52
53
53
output=$( kubectl get pods)
@@ -59,13 +59,13 @@ function validate_chatqna() {
59
59
60
60
61
61
# deploy client pod for testing
62
- kubectl create deployment client-test -n $APP_NAMESPACE --image=python:3.8.13 -- sleep infinity
62
+ kubectl create deployment client-test -n $APP_NAMESPACE --image=python:3.8.13 -- sleep infinity
63
63
64
64
# wait for client pod ready
65
65
wait_until_pod_ready " client-test" $APP_NAMESPACE " client-test"
66
66
# giving time to populating data
67
67
sleep 180
68
- kubectl get pods -n $APP_NAMESPACE
68
+ kubectl get pods -n $APP_NAMESPACE
69
69
# send request to chatqnA
70
70
export CLIENT_POD=$( kubectl get pod -n $APP_NAMESPACE -l app=client-test -o jsonpath={.items..metadata.name})
71
71
echo " $CLIENT_POD "
0 commit comments