lib/app42/base/help.rb in app42-0.5.9 vs lib/app42/base/help.rb in app42-0.5.10
- old
+ new
@@ -50,10 +50,12 @@
createService # Creates a new service e.g. MySQL, MongoDB, CouchDB, PostgreSQL etc.
deleteService # Delete provisioned service
startService # Start the service
restartService # Restart the service
stopService # Stop the service
+ scaleService # Vertically scale service by number of Kontena(s)
+ descaleService # Vertically descale services by number of Kontena(s)
uploadBackup # Upload file data into a service
services # List all the provisioned services with their meta details
serviceInfo # Show meta information of the provisioned service
resetServicePassword # Reset password of provisioned service
bindIP # Bind IP to provisioned service
@@ -70,10 +72,11 @@
setupBPaaS # Setup App42 BPaaS by choosing required configuration
deleteSetup # Delete the setup
startBPaaS # Start the BPaaS
stopBPaaS # Stop the BPaaS
setupInfo # Show setup information
+ upgradeBPaas # Upgrade BPaaS by choosing required configuration
setups # List all the setups
Help
version # Show Ruby client gem version
help # List available commands and their description
@@ -411,11 +414,11 @@
1: Horizontal
2: Vertical
Choose Scale Type [Horizontal]: 2
- Vertical descale by kontena power(s) [1]:
+ Vertical scale by kontena power(s) [1]:
Scaling Application demo by kontena(s) 1... OK
Operation is in progress, Please wait...|
Scale completed successfully.
@@ -618,10 +621,54 @@
Service stopped successfully.
DESC
end
+ def scaleservice
+ print <<-DESC
+ Usage:
+ app42 scaleService
+ Vertically scale service by number of kontena(s)
+
+ Options:
+ [--service SERVICE] # Name of service, you want to scale
+
+ Example:
+ $app42 scaleService
+ Enter Service Name: mysqldb
+
+ Vertical scale by kontena power(s) [1]: 1
+ Scaling Service 'mysqldb' by kontena 1... OK
+
+ Operation is in progress, Please wait...|
+ Service scale completed successfully.
+ DESC
+
+ end
+
+ def descaleservice
+ print <<-DESC
+ Usage:
+ app42 descaleService
+ Vertically descale service by number of kontena(s)
+
+ Options:
+ [--service SERVICE] # Name of service, you want to scale
+
+ Example:
+ $app42 descaleService
+ Enter Service Name: mysqldb
+
+ Vertical descale by kontena power(s) [1]: 1
+ Descaling Service 'mysqldb' by kontena 1... OK
+
+ Operation is in progress, Please wait...|
+ Service descale completed successfully.
+ DESC
+
+ end
+
def restartservice
print <<-DESC
Usage:
app42 restartService
@@ -1017,9 +1064,34 @@
Stopping BPaaS Setup demo... OK
Operation is in progress, Please wait...|
BPaaS setup demo stopped successfully.
+
+ DESC
+ end
+
+ def upgradebpaas
+ print <<-DESC
+Usage:
+ app42 upgradeBPaaS
+
+ Upgrade BPaaS by choosing required configuration
+
+Example:
+ $app42 upgradeBPaaS
+ Enter Setup Name: demo
+
+ 1: Light
+ 2: Medium
+ 3: Heavy
+ Select Flavour [Light]: 2
+
+ Upgrading Setup... OK
+
+ Operation is in progress, Please wait...-
+
+ BPaaS setup demo upgraded successfully.
DESC
end
def version