V3: Multiple droplets for one app?


Nicholas Calugar
 

Hi,

Droplets are the result of [1] staging a package, they are only assigned to
an application when staging a package belonging to the same application.
You can assign a single droplet from the apps list of droplets as current.
The current droplet will be used for all processes and will be the default
for tasks, although tasks can specify a droplet from the list of the app’s
droplet instead of using the current droplet.


Hope that helps, let us know if we can clarify further,

Nick


[1]
http://v3-apidocs.cloudfoundry.org/version/3.3.0/index.html#create-a-droplet

--
Nicholas Calugar
Product Manager - Cloud Foundry API
Pivotal Software, Inc.

On December 23, 2016 at 7:38:18 AM, Kopecz, Klaus (klaus.kopecz(a)sap.com)
wrote:

Hi

I'm looking at the V3 controller API specification. It seems that an app
can have multiple droplets assigned. In the app creation sample response,
there is a "droplets" entry in the "links" section. While I see that it is
possible to set a "current" droplet, how to assign multiple droplets to an
app and what are the constraints and use cases for this (blue/green?).

The same multiplicity shines through when it comes to creating tasks.
There, a 'droplet_guid' can be assigned (defaults to the "current"
droplet). Can I assign any droplet here, or is the choice somehow limited
to droplets assigned to the app for which I'm creating the task?

Thanks

*Dr. Klaus Kopecz*
*SAP SE*


Kopecz, Klaus <klaus.kopecz@...>
 

Hi
I'm looking at the V3 controller API specification. It seems that an app can have multiple droplets assigned. In the app creation sample response, there is a "droplets" entry in the "links" section. While I see that it is possible to set a "current" droplet, how to assign multiple droplets to an app and what are the constraints and use cases for this (blue/green?).
The same multiplicity shines through when it comes to creating tasks. There, a 'droplet_guid' can be assigned (defaults to the "current" droplet). Can I assign any droplet here, or is the choice somehow limited to droplets assigned to the app for which I'm creating the task?
Thanks
Dr. Klaus Kopecz
SAP SE