Viewing function scaling settings
Written by
Management console
CLI
API
Yandex Cloud Toolkit
- In the management console, select the folder containing your function.
- Select Cloud Functions.
- Select a function.
- Under Version history, mouse over the version tag of the function (such as,
$latest
) whose scaling settings you wish to view. - Information on these scaling settings will be displayed in a pop-up window:
- zone_instances_limit: Number of function instances in an availability zone.
- zone_requests_limit: Number of concurrent function calls in an availability zone.
- provisioned_instances_count: Number of provisioned instances.
If you don't have the Yandex Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
To view a function's scaling settings, run the command:
yc serverless function list-scaling-policies --id=d4eokpuol55h********
Where --id
: Function ID. To find out the ID, request a list of functions.
Result:
+----------------------+---------+----------------------+---------------------+-----------------------------+
| FUNCTION ID | TAG | ZONE INSTANCES LIMIT | ZONE REQUESTS LIMIT | PROVISIONED INSTANCES COUNT |
+----------------------+---------+----------------------+---------------------+-----------------------------+
| d4eokpuol55h******** | $latest | 1 | 2 | 3 |
+----------------------+---------+----------------------+---------------------+-----------------------------+
You can view a function's scaling settings using the listScalingPolicies.
You can view function scaling settings using the Yandex Cloud Toolkit plugin for the IDE family on the IntelliJ platform from JetBrains.