// Module included in the following assemblies:
//
// * applications/idling-applications.adoc

:_mod-docs-content-type: PROCEDURE
[id="idle-idling-applications-multiple_{context}"]
= Idling multiple services

[role="_abstract"]
Scale multiple inactive services down to zero replicas to optimize cluster capacity.

Idling multiple services is helpful if an application spans across a set of services within a project, or when idling multiple services in conjunction with a script to idle multiple applications in bulk within the same project.

.Procedure

. Create a file containing a list of the services, each on their own line.

. Idle the services using the `--resource-names-file` option:
+
[source,terminal]
----
$ oc idle --resource-names-file <filename>
----
+
[NOTE]
====
The `idle` command is limited to a single project. For idling applications across
a cluster, run the `idle` command for each project individually.
====
