Viewing container scaling settings
Written by
Updated at February 12, 2025
Management console
CLI
API
- In the management console
, select the folder with your container. - Select Serverless Containers.
- Select the container. The number of provisioned instances is displayed under Revisions, in the row with the active container revision.
If you do not have the Yandex Cloud CLI yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder through the --folder-name
or --folder-id
parameter.
To view the container scaling settings, run this command:
yc serverless container revision get container-id=flhqle7d5oh2********
Where --container-id
is the container ID. To find out the ID, get a list of containers.
Result:
id: flhqle7d5oh2********
container_id: flhqle7d5oh2********
created_at: "2022-09-14T12:48:55.914Z"
image:
image_url: cr.yandex/crtrvt9l6fh2********/billing-test
image_digest: sha256:e3aaa4c9af7d99ea5e4e4236bc540a3cc826d1f1344a601ddb9cbch2********
resources:
memory: "134217728"
cores: "1"
core_fraction: "100"
execution_timeout: 10s
service_account_id: bfbdkhbl8fh2********
status: ACTIVE
provision_policy:
min_instances: "1"
The number of provisioned instances is displayed in the min_instances
field.
To view container scaling settings, use the getRevision REST API method for the Container resource or the ContainerService/GetRevision gRPC API call.