File tree Expand file tree Collapse file tree
infrastructure/scripts/spring-ai Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ spec:
113113 exec:
114114 command: ["sh", "-c", "sleep 10"]
115115 securityContext:
116- # runAsNonRoot: true
116+ runAsNonRoot: true
117117 allowPrivilegeEscalation: false
118118EOF
119119kubectl apply -f ~ /environment/unicorn-spring-ai-agent/k8s/deployment.yaml
171171kubectl apply -f ~ /environment/unicorn-spring-ai-agent/k8s/ingress.yaml
172172
173173echo " Checking the application status ..."
174- kubectl wait deployment unicorn-spring-ai-agent -n unicorn-spring-ai-agent --for condition=Available=True --timeout=120s
175- kubectl get deployment unicorn-spring-ai-agent -n unicorn-spring-ai-agent
174+ # kubectl wait deployment unicorn-spring-ai-agent -n unicorn-spring-ai-agent --for condition=Available=True --timeout=120s
175+ # kubectl get deployment unicorn-spring-ai-agent -n unicorn-spring-ai-agent
176176SVC_URL=http://$( kubectl get ingress unicorn-spring-ai-agent -n unicorn-spring-ai-agent -o jsonpath=' {.status.loadBalancer.ingress[0].hostname}' )
177- while [[ $( curl -s -o /dev/null -w " %{http_code}" $SVC_URL /) != " 200" ]]; do echo " Service not yet available ..." && sleep 5; done
177+ # while [[ $(curl -s -o /dev/null -w "%{http_code}" $SVC_URL/) != "200" ]]; do echo "Service not yet available ..." && sleep 5; done
178178echo $SVC_URL
179- echo Service is Ready!
179+ # echo Service is Ready!
You can’t perform that action at this time.
0 commit comments