How to deploy an application in Vespa to a remote target using pyvespa?

207 Views Asked by At

I have Vespa running in a container (using Docker compose) and want to deploy my application package from another container in the same network using pyvespa. The vespa deploy command of Vespa CLI has a target option where I can provide a host, but I don't see such an option when using pyinvoke. Especially the Vespa class has no deploy method. Is this scenario not supported by pyvespa and do I have to use the Vespa CLI?

1

There are 1 best solutions below

0
Jo Kristian Bergum On BEST ANSWER

Prefer using Vespa CLI for control plane changes. The deploy support in pyvespa is for demonstration purposes (e.g. to demonstrate in a notebook).