Enabling manual scaling with marker files
In this recipe, you will learn how you can disable autoscaling and add gears manually to a scalable application using the rhc
command-line tool.
Getting ready
To complete this recipe, you will need rhc
installed on your machine. This recipe will utilize the application created in the Creating scalable applications recipe.
How to do it…
Perform the following steps to manually add a new gear to a scalable application:
- Open a command-line terminal and navigate to the application directory created in the Creating scalable applications recipe.
- Create a new marker file with the name
disable_auto_scaling
in the.openshift/marker
directory inside your application director. On Mac and Linux machines, you can use the ...
Get OpenShift Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.