sklearn.ensemble.GradientBoostingClassifier
and upload it to the Hydrosphere cluster.requirements.txt
is a list of Python dependencies used during the process of building model image.serving.yaml
is a resource definition that describes how model should be built and uploaded to Hydrosphere platform.train.py
is used to generate a model.joblib
which is loaded from func_main.py
during model serving.python train.py
to generate model.joblib
func_main.py
is a script which serves requests and produces responses.python train.py
to generate model.joblib
!hs apply
from the command line.FOO
environment variable with value bar
.with_replicas
was successful by calling kubectl get deployment -A -o wide
and checking the READY
column.with_hpa
was successful you should get a list of all created Horizontal Pod Autoscaler Resources. You can do so by calling kubectl get hpa -A
kubectl exec my-model-1-tumbling-star -it /bin/bash
and then execute the printenv
command which prints ann system variables.