Overview
Your applications can be scaled based on the Process Type. Scaling can be static, defining a fixed number of Optimized Container Units (OCUs), or automatic, defining a set of parameters where the application will increase or decrease the number of OCUs available to handle requests. One OCU represents a Container that uses 1GB of RAM and a proportionate CPU.
Solution
Static Scaling
Applying Static Scaling to your application will deploy the number of containers with the number of OCUs that you define. The number of OCUs and containers will not change regardless of demand.
- Login to the EYK Web Console
- You will arrive on the Applications page. Click on the application name that you want to modify Scaling for from your list of applications to open the Application's Dashboard
- Click on the Scaling tab
- Static Scaling is selected by default.
- Update the following fields to set your Static Scaling:
- Static Scale: Enter the number of Containers that you want running the Process
- OCUs each: Set the size of the Container based on the number of OCUs that are required
-
Click the Scale Up button to apply your changes
After applying your Static Scaling settings, your application will be redeployed with the new configuration, using a rolling deployment method so that there is no downtime.
Auto Scaling
Applying Auto Scaling to your application enables your application to be responsive to user demand by increasing or decreasing the number of containers that are deployed. By setting thresholds for CPU Utilization or Memory Usage, Kontainers will automatically add or remove containers when those limits are reached. Applications can only be scaled based on one metric.
- Login to the EYK Web Console
- You will arrive on the Applications page. Click on the application name that you want to modify Scaling for from your list of applications to open the Application's Dashboard
- Click on the Scaling tab
- Static Scaling is selected by default.
- Update the following fields to set your Auto Scaling:
- Scaling Method: Select Auto Scaling
- Minimum: Enter the Minimum number of Containers that you want running the Process
- Maximum: Enter the Maximum number of Containers that you want running the Process
- OCUs each: Set the size of each Container image based on the number of OCUs that are required in the 'OCUs each' field
- Metric: Select the Metric, CPU Utilization or Memory Usage, to monitor for Auto Scaling
- Target Acerage Value: Enter the threshold value at which the system should increase the number of Containers running your application. Containers are decreased to the Minimum value when activity falls below this value
-
Click the Auto Scale button to apply your changes
After applying your Static Scaling settings, your application will be redeployed with the new configuration, using a rolling deployment method so that there is no downtime.
Related Articles
- Configure Environment Variables with the Kontainers Web Console
- Security and Endpoint Administration in Kontainers
Comments
Article is closed for comments.