[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Cartridges



HI,
on OpenShift, everything is a cartridge?
For example:
https://github.com/openshift/wordpress-example

rhc app create -a wordpress -t php-5.3

will create a brand new app with a "php-5.3" cartridge enabled, right?

rhc app cartridge add -a wordpress -c mysql-5.1

will *add* another cartridge to the same app.

So, php-5.3 and mysql-5.1 are both cartridge.

An app needs at least one cartridge?

why not change the CLI to something more uniform like:

rhc app create  -a wordpress --add-cartridge php-5.3
rhc app update -a wordpress --add-cartridge mysql-5.1
rhc app update -a wordpress --remove-cartridge mysql-5.1

?

What happens in case of scaling an app with a mysql cartridge loaded?
mysql will also be scaled? And if I scale to 7 gears? 7 mysql
instances will be deployed?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]