#
YAML specificationTo generate a YAML configuration from a Deployment
Python object, use save_config()
.
Example YAML#
jtype: Deployment
with:
replicas: 2
uses: jinaai+docker://jina-ai/CLIPEncoder
Fields#
jtype
#
String that is always set to “Deployment”, indicating the corresponding Python class.
with
#
Keyword arguments are passed to a Deployment’s __init__()
method. You can pass your Deployment settings here: