mirror of
https://github.com/clearml/clearml-helm-charts
synced 2025-02-12 07:26:14 +00:00
141 apiserver init check improvements (#142)
* Added: check also redis and mongo before starting apiserver * Changed: bump version
This commit is contained in:
parent
db325a95a0
commit
9aa1997ebd
@ -2,7 +2,7 @@ apiVersion: v2
|
|||||||
name: clearml
|
name: clearml
|
||||||
description: MLOps platform
|
description: MLOps platform
|
||||||
type: application
|
type: application
|
||||||
version: "5.5.0"
|
version: "5.5.1"
|
||||||
appVersion: "1.9.2"
|
appVersion: "1.9.2"
|
||||||
kubeVersion: ">= 1.21.0-0 < 1.27.0-0"
|
kubeVersion: ">= 1.21.0-0 < 1.27.0-0"
|
||||||
home: https://clear.ml
|
home: https://clear.ml
|
||||||
@ -32,5 +32,5 @@ dependencies:
|
|||||||
condition: elasticsearch.enabled
|
condition: elasticsearch.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: added
|
- kind: changed
|
||||||
description: support for fileserver static PVC
|
description: check redis and mongodb too before starting apiserver
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
# ClearML Ecosystem for Kubernetes
|
# ClearML Ecosystem for Kubernetes
|
||||||
|
|
||||||
![Version: 5.5.0](https://img.shields.io/badge/Version-5.5.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.9.2](https://img.shields.io/badge/AppVersion-1.9.2-informational?style=flat-square)
|
![Version: 5.5.1](https://img.shields.io/badge/Version-5.5.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.9.2](https://img.shields.io/badge/AppVersion-1.9.2-informational?style=flat-square)
|
||||||
|
|
||||||
MLOps platform
|
MLOps platform
|
||||||
|
|
||||||
|
@ -54,10 +54,24 @@ spec:
|
|||||||
- -c
|
- -c
|
||||||
- >
|
- >
|
||||||
set -x;
|
set -x;
|
||||||
|
{{- if .Values.elasticsearch.enabled }}
|
||||||
while [ $(curl -sw '%{http_code}' "http://{{ include "elasticsearch.servicename" . }}:{{ include "elasticsearch.serviceport" . }}/_cluster/health" -o /dev/null) -ne 200 ] ; do
|
while [ $(curl -sw '%{http_code}' "http://{{ include "elasticsearch.servicename" . }}:{{ include "elasticsearch.serviceport" . }}/_cluster/health" -o /dev/null) -ne 200 ] ; do
|
||||||
echo "waiting for elasticsearch" ;
|
echo "waiting for elasticsearch" ;
|
||||||
sleep 5 ;
|
sleep 5 ;
|
||||||
done
|
done ;
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.mongodb.enabled }}
|
||||||
|
while [ $(curl --telnet-option BOGUS --connect-timeout 2 -s "telnet://{{ .Release.Name }}-mongodb:27017" -o /dev/null; echo $?) -ne 49 ] ; do
|
||||||
|
echo "waiting for mongodb" ;
|
||||||
|
sleep 5 ;
|
||||||
|
done ;
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.redis.enabled }}
|
||||||
|
while [ $(curl --telnet-option BOGUS --connect-timeout 2 -s "telnet://{{ include "redis.servicename" . }}:{{ include "redis.serviceport" . }}" -o /dev/null; echo $?) -ne 49 ] ; do
|
||||||
|
echo "waiting for redis" ;
|
||||||
|
sleep 5 ;
|
||||||
|
done ;
|
||||||
|
{{- end }}
|
||||||
containers:
|
containers:
|
||||||
- name: clearml-apiserver
|
- name: clearml-apiserver
|
||||||
{{- if .Values.enterpriseFeatures.enabled }}
|
{{- if .Values.enterpriseFeatures.enabled }}
|
||||||
|
Loading…
Reference in New Issue
Block a user