yc managed-spark
Written by
Updated at December 1, 2025
Manage Spark clusters.
Command Usage
Syntax:
yc managed-spark <group>
Aliases:
spark
Command Tree
- yc managed-spark cluster — Manage Spark clusters
- yc managed-spark cluster add-access-binding — Add access binding for the specified Spark cluster
- yc managed-spark cluster create — Create Spark cluster
- yc managed-spark cluster delete — Delete the specified Spark cluster
- yc managed-spark cluster get — Show information about the specified Spark cluster
- yc managed-spark cluster list — List Spark clusters
- yc managed-spark cluster list-access-bindings — List access bindings for the specified Spark cluster
- yc managed-spark cluster list-operations — List operations for the specified Spark cluster
- yc managed-spark cluster remove-access-binding — Remove access binding for the specified Spark cluster
- yc managed-spark cluster set-access-bindings — Set access bindings for the specified Spark cluster and delete all existing access bindings if there were any
- yc managed-spark cluster start — Start the specified Spark cluster
- yc managed-spark cluster stop — Stop the specified Spark cluster
- yc managed-spark cluster update — Update the specified Spark cluster
- yc managed-spark job — Manage Spark jobs.
- yc managed-spark job cancel — Cancel Spark job.
- yc managed-spark job create-pyspark — Create PySpark job.
- yc managed-spark job create-spark — Create Spark job.
- yc managed-spark job create-spark-connect — Create Spark Connect job.
- yc managed-spark job get — Get information about a Spark job.
- yc managed-spark job list — List Spark jobs for a cluster.
- yc managed-spark job log — List logs for Spark job.
Global Flags
| Flag | Description |
|---|---|
--profile |
stringSet the custom configuration file. |
--debug |
Debug logging. |
--debug-grpc |
Debug gRPC logging. Very verbose, used for debugging connection problems. |
--no-user-output |
Disable printing user intended output to stderr. |
--retry |
intEnable gRPC retries. By default, retries are enabled with maximum 5 attempts. Pass 0 to disable retries. Pass any negative value for infinite retries. Even infinite retries are capped with 2 minutes timeout. |
--cloud-id |
stringSet the ID of the cloud to use. |
--folder-id |
stringSet the ID of the folder to use. |
--folder-name |
stringSet the name of the folder to use (will be resolved to id). |
--endpoint |
stringSet the Cloud API endpoint (host:port). |
--token |
stringSet the OAuth token to use. |
--impersonate-service-account-id |
stringSet the ID of the service account to impersonate. |
--no-browser |
Disable opening browser for authentication. |
--format |
stringSet the output format: text (default), yaml, json, json-rest. |
--jq |
stringQuery to select values from the response using jq syntax |
-h,--help |
Display help for the command. |