Uploading a service

Overview

Hot-deploys one or more services to a cluster. All servers are updated automatically. If any service already exists, it will be replaced. Currently running instances of a service will not be stopped.

../../_images/upload.png

Uploading services is an asynchronous process - always check the server logs to find out if everything went fine. For each server, there must be as many confirmations of a successful deployment in server logs as there are main.gunicorn_workers configured.

INFO - 2774:Thread-4 - Uploaded package id:[1], payload_name:[sio_example.py]
INFO - 2775:Thread-4 - Uploaded package id:[1], payload_name:[sio_example.py]

Note

Only flat Python modules can be hot-deployed - visit here for information on how to make more complex service packages available to Zato.