Fix fileserver check on Agent (#82)

* Fixed: fileserver check

* Changed: version bump
This commit is contained in:
Valeriano Manassero 2022-06-22 16:52:51 +02:00 committed by GitHub
parent 1d95f0c27f
commit 84a003b7bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@ apiVersion: v2
name: clearml-agent name: clearml-agent
description: MLOps platform description: MLOps platform
type: application type: application
version: "1.0.1" version: "1.0.2"
appVersion: "1.21" appVersion: "1.21"
kubeVersion: ">= 1.19.0-0 < 1.25.0-0" kubeVersion: ">= 1.19.0-0 < 1.25.0-0"
home: https://clear.ml home: https://clear.ml

View File

@ -1,6 +1,6 @@
# clearml-agent # clearml-agent
![Version: 1.0.1](https://img.shields.io/badge/Version-1.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.21](https://img.shields.io/badge/AppVersion-1.21-informational?style=flat-square) ![Version: 1.0.2](https://img.shields.io/badge/Version-1.0.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.21](https://img.shields.io/badge/AppVersion-1.21-informational?style=flat-square)
MLOps platform MLOps platform

View File

@ -36,7 +36,7 @@ spec:
echo "waiting for apiserver" ; echo "waiting for apiserver" ;
sleep 5 ; sleep 5 ;
done; done;
while [ $(curl -sw '%{http_code}' "{{.Values.agentk8sglue.fileServerUrlReference}}/" -o /dev/null) -ne 403 ] ; do while [ $(curl -sw '%{http_code}' "{{.Values.agentk8sglue.fileServerUrlReference}}/" -o /dev/null) =~ 403|405 ]] ; do
echo "waiting for fileserver" ; echo "waiting for fileserver" ;
sleep 5 ; sleep 5 ;
done; done;