Upgrade¶
To upgrade, download the official release from the Enterprise Steam download page.
Upgrade on Hadoop¶
Backup¶
Backing up your Enterprise Steam installation before an upgrade is optional but highly recommended. Please backup the /opt/h2oai/steam/data
folder. To revert to a previous version, reinstall that version and restore the backup.
Upgrade Enterprise Steam service¶
Install the Enterprise Steam package.
yum install steam-1.9.13.x86_64.el6.rpm
sudo dpkg -i steam-1.9.13.x86_64.deb
Note: There is no need to stop the service before upgrading or restart the service after upgrading. Enterprise Steam will restart automatically.
Validate that the Enterprise Steam service is running.
sudo systemctl status steam
For troubleshooting, please review the logs (cat /opt/h2oai/steam/log/steam.log
).
Upgrade Python/R clients¶
After upgrading Enterprise Steam, users of Python and R need to upgrade their Steam API clients. See the Enterprise Steam download page.
pip install h2osteam-1.9.13-py2.py3-none-any.whl
conda install h2osteam-1.9.13-py2.py27_0.tar.bz2
conda install h2osteam-1.9.13-py2.py36_0.tar.bz2
conda install h2osteam-1.9.13-py2.py37_0.tar.bz2
R CMD INSTALL h2osteam_1.9.13.tar.gz
Upgrade on Kubernetes¶
Find the Enterprise Steam Deployment name. Make sure to search in the correct namespace.
In this example we are using the default
namespace.
kubectl get deployments --namespace default
We can see that the deployment name is enterprise-steam
NAME READY UP-TO-DATE AVAILABLE AGE enterprise-steam 1/1 1 1 55d
Now set the new Docker image. In this case we upgrade to release 1.9.13.
kubectl set image deployment/enterprise-steam enterprise-steam=h2oai/enterprise-steam:1.9.13 --namespace default
This should trigger a restart. If the deployment did not restart, you may do so manually.
kubectl scale --replicas=0 deployment/enterprise-steam --namespace default kubectl scale --replicas=1 deployment/enterprise-steam --namespace default
You can then monitor the deployment status here:
kubectl get deployment/enterprise-steam -o wide --namespace default